Skip to content

Conversation

@kalkyl
Copy link
Contributor

@kalkyl kalkyl commented Jun 30, 2020

Twim would hang if writing or reading if no slave ACKs the address (ie slave is missing or sleeping).
This PR adds a check in the lasttx/lastrx wait loops to exit if an address NACK is received and return an AddressNack error.
Tested and verified to be working on nRF52840-DK

@jonas-schievink jonas-schievink merged commit 3291f6e into nrf-rs:master Jul 10, 2020
@kalkyl kalkyl deleted the twim_anack branch September 4, 2020 13:40
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

Successfully merging this pull request may close these issues.

2 participants