when i read the Gyro & Acc sensor i am always getting zero

By anfegori91 , 27 August 2014

I stuck in very strange issue working with the MPU 6050
If i read 0×75 register i get 0×68 which is correct also if i write any register of mpu & read it back i get correct data that menace my connection & driver is correct
but now the issue is if i read the Gyro or Acclerometer data i always get 0 i checked power management register it is correct i am making SLEEP bit zero
i have checked this same behavior on the two sensors
I am using my own initialization routine & micro controller is microchip make
I have tried all the codes which are on internet but its not working I am always getting Zero for Gyro & Acc
If i write & read the other configuration register i can read correct data that mean my connection is 100% correct I2C line also looks normal i have checked it on DSO it is good
I think i am missing something while initializing the MPU6050 sensor & can anyone just tell me list of register i need to write to start reading the sensor

phpbb Topic ID
16521