This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ADXL345 and nRF52832

Hello! I am trying to connect my nrf52832 with an adxl345.
I want to retrieve the sensor data so I can wake up with one action, do something else with another and put it to sleep with another but I'm completely lost! I have already looked at the questions on this topic on the blog but it lost me even more: no clear and precise answer, no corresponding question either.
Can you help me? I can connect it in i2c or SPI (TWI on the nrf it seems to me?)
Thank you very much for your future help

Parents Reply
  • Sorry ^^


    I looked at the examples in the SDK and I wanted to focus on the "twi_sensor", this one seems to me the closest to what I wish (maybe I am wrong?)
    I looked at the many files ADXL345_I2C present on the blog, but nothing allows me to make the connection between TWI_SENSOR and the main of the ADXL
    I code on Eclipse

    I will look your link for interfacing

Children
Related