-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Version
1.0.9
Describe the bug
When setting the I2C rate on a Raspberry Pi 5 to 1MHz (dtparam=i2c_arm_baudrate=1000000), the mpu9250 fails with:
$ ./build/mpu9250 -e read
iic: read failed.
: Resource temporarily unavailable
mpu9250: mag read who am i failed.
mpu9250: mag init failed.
mpu9250: run failed.
It works with 400kHz (dtparam=i2c_arm_baudrate=400000).
Reproduce
In /boot/firmware/config.txt, set:
[all]
# I2C 1MHz
dtparam=i2c_arm_baudrate=1000000
Expected behavior
The library should still work.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels