FreeRTOS Start timer

Beside the Timer-app.c, can you share a demo that would test the software timers from FreeRTOS (xTimerCreate, xTimerStart) ?
With a very simple App, it looks like the callback that should be executed at the expiration of a previously created timer is never executed.
Do we need to configure something to have the FreeRTOS timers work ?

Nevermind if found the issue: the timer callback is an interrupt routine. So its body should not contain “printf” ( for example ) but “printf_isr”.
Would be great to let us know is some documentations or examples that callbacks are run as interrupt routines, not as a function of the task who initially created and started the timer.
Thank You .

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.