I have attached a project for interfacing the tm4c123gh6pm launchpad with imu mpu6050 via i2c
Configurations are as follows:
From data sheets of both launchpad and imu, the configs needed
- Bus rate: 400khz
- Accelerometer data register addresses : from 3B to 40 in hex ( 6 locations of memory for x,y,z values)
- Temperature data register address: 41 and 42 in hex ( 2 location for temperature)
- Gyro data register addresses: from 43 to 48 in hex ( 6 locations of memory for values of x,y,z values )
when I ran th code it's error free, but it seems the imu seems not operating at all. Is there a problem with my configuration ?