cancel
Showing results for 
Search instead for 
Did you mean: 

NVIC problem

bfeixas
Associate II
Posted on July 13, 2010 at 16:54

NVIC problem

1 REPLY 1
jgoldberg
Associate II
Posted on May 17, 2011 at 13:58

Yes, this is possible.  In your example, TIM2 will have the highest priority and cannot be preempted.  TIM4 has the next highest priority and can be preempted by TIM2.  USART3 has the lowest priority and can be preempted by TIM2 and by TIM4.

Be sure to take care if you are sharing data between these interrupt routines.  Race conditions are tricky bugs to catch and fix.