Magnometer Absolute Registers

By edmundsj , 28 July 2016

Hello,

I'm trying to access the magnometer registers of the MPU9250 over I2C. I understand the MP9250 is (at least) two separate ICs: the AK8963N magnometer, and the gyroscope I don't much care about. I read through the MP9250 datasheet and the register description, and the magnometer registers are listed separately, with their own indices, from the gyroscope and accelerometer with no clear indication that I could find of an offset for those magnometer registers. Given there is only one I2C interface (ok, you got me, there's technically a primary one and an auxiliary one), how do I access the magnometer registers? How do I discriminate between register 0 in the magnometer space and register 0 in the gyro/accel space? Is there an absolute address map anywhere, or a special protocol for accessing one IC instead of the other?

phpbb Topic ID
34922