EV_MPU6050_A unable to read Gyro data

By berkeley42 , 6 September 2012

Hi,
I am trying to read raw sensor data from EV_MPU6050_A kit. I get some values for Accelerometer and temperature. But Gyro always reads 0. Is there any missing setting or IO I need to connect ?

Following is my flow.

Hardware :
Connect SDA, SCL, AD0(=GND), VCC, GND to Micro

Software:
Initialization : -
Reset sleep bit in PWR_MGMT_1
Write 0x08 to SMPRT_DIV_REG (1Khz smapling)

Read data : -
Bulk read 14 bytes from ACC_REG (0x3B)
I get data on first 8 bytes but all zeros for the rest 6 bytes.

Please help me debug.

Regards,
Harsha

phpbb Topic ID
14652