AnsweredAssumed Answered

how to implement a high prio timer interrupt in parallel or as freertos thread with ~100 ns accuracy

Question asked by dieter 123 on Jun 16, 2017
Latest reply on Jun 18, 2017 by Clive One

Hi

basically I am using freertos in my project and I need a highest prio timer interrupt driven task which needs to be executed in a granularity of 100 ns. (every n* 100 nsec like 100ns, 1500ns,....)

In Cube MX I sat up a timer interrupt(TIM5), but cube will not allow me to have an interrupt lower than level 5. CUBE MX comes with a warrning: 

""""preemption priotity of interrupts should be >=5 if their handlers call system functions. see FREERTOS LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY parameter""""

So how can I have a timer interrupt with this granularity when using freertos?

Outcomes