Question
STM32 Interrupt Priority
Posted on January 15, 2016 at 09:16
Hello!
I am using a STM32F302 custom made board. When I set TIM2, CAN_TX and CAN_RX at the same priority, CAN_TX and CAN_RX interfere with the performance and interrupt timer of TIM2. I checked the user manual and I noticed that TIM2 had a lower priority than the CAN interrupts. I also tried setting a higher priority for TIM2 using the NVIC_SetPriority function but it did not help. Is there any way I can configure such that TIM2 has higher priority so it is not affected by the CAN_TX and CAN_RX interrupts?