-
Notifications
You must be signed in to change notification settings - Fork 36
No pull up found on SDA or SCL when using Feather RP2040 with example/bno08x_simpletest.py #33
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
Comments
probably a clockstretch thingy tweak for RP2040 - the BNO080 is kinda terrible in its i2c implemenation |
In the meantime, try using |
I tried using Finally, I switched back to I found that once I had too short of a timeout the BNO08x would not recover by just changing the timeout and I ended up power cycling it. It's possible that a reset would also work but I did not test that. |
The "no pull ups found" message is most commonly some kind of connection issue. Either due to wiring or specifying an incorrect I2C port (to which nothing is attached). Just tested with a BNO085 connected via a STEMMA QT cable and can not reproduce: Adafruit CircuitPython 7.3.3 on 2022-08-29; Adafruit Feather RP2040 with rp2040
>>> import board
>>> from adafruit_bno08x.i2c import BNO08X_I2C
>>> bno = BNO08X_I2C(board.STEMMA_I2C())
>>> @dwitt If you're still monitoring this issue thread, can you try the above simple check and see if you are still getting the "no pull ups" message. |
Just to add, I was doing the test for PR #39 . And the simpletest worked for me using I2C. Adafruit CircuitPython 8.0.2 on 2023-02-14; Adafruit Feather RP2040 with rp2040
>>> import c
Acceleration:
X: -0.496094 Y: 2.375000 Z: -9.578125 m/s^2
Gyro:
X: 0.000000 Y: 0.001953 Z: -0.001953 rads/s
Magnetometer:
X: -19.250000 Y: 5.875000 Z: -28.125000 uT
Rotation Vector Quaternion:
I: 0.031494 J: 0.991333 K: 0.122009 Real: 0.036682 |
Closing this. It appears it was resolved by using the |
I cannot get the simpltest.py example to work with the Feather RP2040. I have tried several feathers and a section BNO08X. I have had this board work fine with both a Feather M4 and Feather M4 CAN. As far as I know the BNO08X has pull ups. I have tried this both on a breadboard as well as using the STEMMA interface. Any suggestions? I have used the I2C from the Feather RP2040 successfully with other devices such as Honeywell pressure sensors.
The text was updated successfully, but these errors were encountered: