tuupola/micropython-mpu9250

AK8963 - [Errno 5] EIO

serdaraltin opened this issue · 3 comments

I am using sensor model MPU9250 + BMP280 and I cannot read the magnetometer sensor.
I can read the data of all other sensors, but the sensor named AK8963 gives the error in the picture.
2022-11-12_02-33
2022-11-12_02-35

The sensor I use:
MPU9250-BMP280

i2c Configuration:
2022-11-12_02-44

i2c Scan Result:
2022-11-12_02-39

Thanks

The i2c.scan() finds 104 ie 0x68 which is default i2c address for MPU-6500 and 118 ie 0x76 which is default i2c address for BME280.

When I turn off data reading from AK8963 sensor other sensors work fine.
Why is this so?
2022-11-12_15-10_1
2022-11-12_15-10_2
2022-11-12_15-10

There is no AK8963 in the i2c bus. There is only BME280 and MPU-6500. So my guess is that your sensor is not MPU-9250 but a plain MPU-6500 instead.

MPU-9250 is a System in Package (SiP) which combines two chips: MPU-6500 and AK8963.