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.
Which device is this? Best Regards, Yordan
Please make sure you read the forum guidelines first.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Yordan Kovachev:
Thank you for your response. It is a custom board featuring the CC1352R.
In reply to user5943842:
Well, if the periodic function runs in a task, it will be pre-emptive. I suggest you target task based periodic clock.
NB! The user J Lindh is out of office until September 23rd.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.