Skip to content

MPU exception during startup with RPi Pico #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xdthegreat opened this issue Jun 10, 2022 · 1 comment
Closed

MPU exception during startup with RPi Pico #24

xdthegreat opened this issue Jun 10, 2022 · 1 comment

Comments

@xdthegreat
Copy link

Hardware: Raspberry Pi Pico, MPU-6050

Error message:
Traceback (most recent call last):
File "", line 33, in
File "imu.py", line 105, in init
File "imu.py", line 159, in chip_id
MPUException: I2C failure when communicating with IMU

Suspected bug is in _read() class function. Why try cell is not used in chip_id, following error message is recorded:
Traceback (most recent call last):
File "", line 33, in
File "imu.py", line 105, in init
File "imu.py", line 157, in chip_id
File "imu.py", line 117, in _read
OSError: [Errno 5] EIO

Not sure if issue is with hardware or code

@xdthegreat
Copy link
Author

Rebooting the whole thing somehow fixed the system. I apologize for not trying the nuclear option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant