You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a timeout but correct i2c bus handling, In this case NAK (SLA+W/SLA+R) should be triggered.
xfer.status = I2C_STATUS_NAK will be returned and xfer.txSz should be not changed.
A code may hang in this state only if i2c interface has no pullup resistors or something is disturbing lines.
This mostly happens when the selected address is wrong, making the LPCOpen function hangs in the following loop:
A solution would be to implement a timeout on this function
The text was updated successfully, but these errors were encountered: