Hi, I’m trying to determine a proper tick rate for the RTOS kernel…
I have two tasks which need to iterate periodically. The first task needs to run every 1mS; the second task needs to run every 6mS. I cannot set either to run from a dedicated timer ISR - they both must be controlled by the RTOS.
Processor is an ARM @ 300MHz.
I understand the RTOS can tick at frequencies greater than 1kHz. But I am wanting the minimal RTOS overhead possible, while still achieving my timing needs…
Would 1KHz work? That would require the RTOS to kick-off the 1mS loop every iteration - but what about the 6mS loop then? If >1kHz is needed, I understand that it needs to be an even multiple, which gives a (partial) option of 0.5mS, 0.25mS, 0.1mS ticks.
What is the ideal tick time for my requirements?