Hi,
I am trying to write a driver for MPU6050 on i2c for a custom university board (SJOne). I am getting correct value for Who Am I register but when I am trying to get X, Y and Z values for GYRO and ACC. it is always reading 0 from their register.
I'm writing 0x00 to 0x6B (PWR_MGMT_1), 0x1B (GYRO_CONFIG) and 0x1C (ACCEL_CONFIG) registers in initialization and then reading X,Y and Z values and WhoAmI register values. And I'm getting WhoAmI register values right but X,Y and Z values as 0.
Can anyone help what I'm doing wrong here?