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.

CC3220S-LAUNCHXL: FreeRTOS version of the trigger mode application?

Part Number: CC3220S-LAUNCHXL


I was playing with the no-RTOS trigger mode application, which was pretty instructive. I need to incorporate some of the trigger mode functionality into a FreeRTOS-based application, though. Is there a FreeRTOS version of the trigger mode app anywhere?  I couldn't find any within the sample code tree, but I thought I'd ask anyway.

Failing that, are there any particular caveats that I need to keep an eye out for?  

  • Hi V Velasco,

    There is no FreeRTOS version (nor is there a TIRTOS version) of the trigger mode app, unfortunately. You will have to take the code and migrate it to FreeRTOS.

    The things you have to keep in mind will be the differences in the program flow between nonOS and RTOS. For example, instead of calling sl_Task(NULL) during your loop to check for and handle aync NWP events, you spawn the sl_task thread at the start of the application, which will watch for the aync events.

    See the power management example for nonOS vs freeRTOS for an idea of the differences that you have to keep in mind.

    Regards,
    Michael