Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF serial abstraction layer clarification

Can someone please explain the below line mentioned in NRF5 Serial port abstraction layer documentation.

Do not use synchronous API (timeout_ms parameter > 0) in IRQ context. It may lead to a deadlock because the timeout interrupt cannot preempt the current IRQ context.

Link: infocenter.nordicsemi.com/index.jsp

Related