Skip to content
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

drivers/radio/nrf24l01: Properly handle timeout. #954

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcsello
Copy link

The timeout condition was not handled before. Upon timeout, this caused the chip to stay active until another send command changed it's state.

Sometimes when it was unable to transmit the data, it got stuck in the tx fifo causing it to fill up over time, which set the TX_FULL flag in the STATUS register.

Since there was no exceptions raised, the user code could not differentiate a successful send or a timeout condition.


Note: timeout condition almost always indicate HW failure or improper control of the chip.

The timeout condition was not handled before. Upon timeout, this
caused the chip to stay active until another send command changed
it's state.

Sometimes when it was unable to transmit the data, it got stuck
in the tx fifo causing it to fill up over time, which set the
TX_FULL flag in the STATUS register.

Since there was no exceptions raised, the user code could not
differentiate a successful send or a timeout condition.

Signed-off-by: Marcell Pünkösd <[email protected]>
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.

1 participant