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

How to use MPU 6050 Driver?

Hello,

I am trying to interface an MPU 6050 with an NRF52 with sdk vs 12.0. I noticed in the mpu6050.c file that it uses a twi_master.h file in the sdk in folder labeled as "deprecated". Should I change the mpu6050.c file to read to the nrf_drv_twi.h file.

Thanks

Parents Reply
  • Hi again. I was tried using "nrf5-ble-mpu-simple" project. I successfully uploaded to the NRF52 and I was able to connect to it using my iphone. However, there is no data coming from the UART interface and the real time terminal did not seem to display anything. I connected the SCL line to P0.03 and the SDA line to P0.04 pins on the NRF52 with a buad rate of 115200. I did not connect INT to anything on the board.

    Any advice?

Children
No Data
Related