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

BLE accelerometer

Greetings,

I'm using nRF52 DK to transfer LIS3DH accelerometer data in Bluetooth. I successfully managed to establish an I2C connection with my sensor, I get my XYZ values. Now I want to send the data in Bluetooth, I'm a bit confused about what to do next. Is there any example program in SDK that will help me? or if you can suggest to me some tutorial that would be helpful too. I'm a beginner, so any advice or suggestions are welcome. Thank you.

Parents Reply
  • Hi,

    I tried the BLE UART example to send my TWI sensor data. I'm having trouble with sdk_config. In my TWI program, im using the nrf_drv_twi legacy driver. I think it is creating some compatibility problems. So as per the article in devzone, I'm migrating from nrf_drv_twi to nrfx_twim driver. I have a doubt in it. What is this NRFX_TWIM_DESC_TX macro? I don't understand what is this descriptor means. I searched for other functions in nrfx_twim, but the functions are not advised to use. Please help me to understand this, I'm a t lost here. What are the functions or macros I need to migrate to this new nrfx_twim driver? For your information, I'm reading 3axis accelerometer LIS3DH using I2C communication. Please let me know my approach is correct.

Children
No Data
Related