When I create a task, it seems to run just fine. But as soon as I call any blocking function (vTaskDelay), the app never seems to re-enter the Ready state. I have configTICK_RATE_HZ is defined in FreeRTOSConfig.h. Is there anything else I can look at?
Hi @Sunny, Can you let us know the value you provided to the vTaskDelay function?
There is a hook to the tick interrupt you can use that to verify if the tick interrupt is occurring (configUSE_TICK_HOOK ). Check FreeRTOS documentation for details.
The best way is to make a simple blinking led task.... turn off all of the others... then run it.
Then turn task at a time back on.
I always start from a simple freertos template that I have built into Modus Toolbox ... I program it to make sure that everything is working... then I start adding tasks back.