March 10th, 2016, 04:25 PM
Interfacing MPU6050 with Tiva C
Im trying to have the MPU 6050 IMU sensor interfaced through I2C communication. My problem is when going through the setup process as outlined in the data sheet, the I2C1_MDR_R register is always zero or always 255.
Here's link to my code:
Tiva C I2C configuration problem - TM4C Microcontrollers Forum - TM4C Microcontrollers - TI E2E Community
I originally posted my code on TI forum but I couldn't get the answer I wanted so Im here.
All I am trying to achieve here is to read a single value from the MPU 6050 using only register and not the predefined libraries provided by TI.