Accel/Gyro : Inverted data?

hi,

I connected a MPU 9250 to a Raspberry, the component is detected via i2c at 0x68

I try to read data from addresses seen in specification : 0x3B for 3 axes acceleration (6 bytes) and 0x43 for gyroscope (6 bytes)

After checking many times, I’m pretty sure I read inverted data : I get accelerations at 0x43 and gyro positions at 0x3B.

I tried another component (I purchased 3 of them) and the script works fine for it. But my first one keep on sending me inverted data. How can this be? :slight_smile:

Could it be an initialisation problem?

jerome

That is how the manufacturer defined the axes… see the [datasheet (see section 9.1).](https://cdn.sparkfun.com/assets/learn_tutorials/5/5/0/MPU9250REV1.0.pdf)