This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is best practice for implementing long timers in RTX with a short tick?

My system:
Cortex-M0 at 60 MHz.
RTX RTOS with 1ms tick.

Since os_tmr_create only takes a U16 timer length, the longest timer I can create with a 1ms tick is 65,535 ms which is just over 1 minute. What does the user community do in this situation where you would like to to use an OS timer and all its built-in functionality, but you want, say a 15 minute timer or a 4 hour timer? Notice that even if I increased my tick to 10ms, it would not even satisfy the need for a 15 minute timer. I would have to increase to 100ms, which is too long for my application.

Otherwise I think RTX is very convenient to configure and use.

0