cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS, preemption priorities and IRQ response time

MK..1
Associate III

Hi

in my project I have enabled FreeRTOS, so the NVIC prios 0-4 are reserved for FreeRTOS.

I need to generate a highly accurate 1 sec timer interrupt.

Is it correct that FreeRTOS interrupts might delay my (cortex) timer intterupt handlers to be called?

Is there a way to figure out what the jitter of my timer will be?

Thx

 

2 REPLIES 2
TDK
Guru

You can still use interrupts with high priority, they just can't call FreeRTOS functions. If this is critical to your application, there should be a way to make that work. If the 1sec timer is the most important things, set it to priority 0 and have everything else be 1+.

If you feel a post has answered your question, please click "Accept as Solution".
MK..1
Associate III

Well, Freertos/cube Reserves priorities 0-4. So the Timer Interrupt will have prio 5.  Right?