Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

nRF52-DK with Bosch Sensortec BHI160B I2C?

Hi, 

I'm new to embedded systems and would love to learn how to use I2C protocol to read data from my bhi160b sensor. I'm using nRF52-DK board to read data and the IDE I used is Segger Embedded for ARM 7.11 with nRF5 SDK. I was following a tutorial on how to read data from MPU6050 sensor but now I want to read from BHI160B. The tutorial included given MPU6050.c and .h files and what they did was rather simple because everything was built-in. 

For BHI160B, here's the supporting document for BHy1: https://github.com/boschsensortec/BHy1_driver_and_MCU_solution 

However, I'm really confused on how to link this with my project and what I should modify from MPU6050 example. I would like at least to know how one should approach to do this or what an embedded engineer would do in this case :) Any insight is helpful to me since I really want to learn. Thank you so much in advance!

Related