This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PGE: MPU-6050 Interfacing to tm4c123gh6pge microcontroller

Part Number: TM4C123GH6PGE

Hello everyone,

         I want start to implement my new project based on MPU-6050 interfacing to TM4C123GH6PGE microcontroller using I2C for measuring the angle using X, Y and Z values. But i am not able to understand How to interface these module to the microcontroller using I2C for getting x,y,z values.

         I am requesting you to please suggest me any reference code available to implement this project.

Thanks,

Regards,

Srinu.V.

  • If you have not already done so, download the latest TivaWare library. There are drivers for the MPU6050 in the "C:\ti\TivaWare_C_Series-2.1.4.178\sensorlib" directory. The source is in the file "C:\ti\TivaWare_C_Series-2.1.4.178\sensorlib\mpu6050.c". Take a look at the example in "C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c123gxl-boostxl-senshub\compdcm_mpu9150". It uses similar function calls.