This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Periodic function calling versus Tasks

Other Parts Discussed in Thread: CC1352R

Hi all,

Currently I am trying to decide between the usage of RTOS tasks and periodic function calling using the clock events.
The system I am designing has to listen to both UARTs and monitor some GPIO pins etc. It will monitor status and send that info to a remote location.

However, I am not sure what the exact differences are between creating multiple tasks or simply using the clock to periodically call functions to provide the functionality. From what I gather: periodic function calling will not be pre-emptive, which could perhaps lead to problems when data is coming in on for example one of the UARTs?

I would really appreciate some insight! Thanks in advance.