-
Notifications
You must be signed in to change notification settings - Fork 488
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
I2C communication between NRF52832 hangs #771
Labels
Comments
I see the Wire_nRF52.cpp does not have timeout implemented endTransmission() and requestFrom() If i take reference from Arduino library it has the timeout https://github.com/arduino/ArduinoCore-avr/blob/master/libraries/Wire/src/utility/twi.c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating System
MacOS
IDE version
Arduino 2.1.0
Board
Feather 52832
BSP version
1.4.0
Sketch
Receiver:
Sender:
What happened ?
Two NRF52832 Feather is connected via I2C port. When sender is running without the receiver attached, the sketch is running fine. But when the receiver is attached, the sender hangs on endTramission.
How to reproduce ?
Connect Sender SCL, SDA to another NRF52832 SCL and SDA port. Connect a 2.2k Pull up resistor between SCL and VCC, SDA and VCC. Once receiver is attached, the sender will hang.
Debug Log
No response
Screenshots
I2C bus scope capture:
The text was updated successfully, but these errors were encountered: