Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to use libuarte+app_timer on FreeRTOS

Currently in FreeRTOS environment app_timer cannot be used for libuarte timeout.
Alternatively, it is possible to use RTC or TIMER.

I want to use UARTE0/UARTE1.
Then,  libuarte use RTC x 1, TIMER x 3.
SoftDevice use RTC x 1, TIMER x 1
FreeRTOS use RTC x 1
for a total of RTC x 3/ TIMER x 4 is required.
Only TIMER x 1 remains.

If libuarte can use app_timer for timeout, the rest is TIMER x 3.

How to use app_timer for libuarte timeout in FreeRTOS environment?

Related