AnsweredAssumed Answered

STM32 Interrupt Priority

Question asked by MK.ShaSha on Jan 15, 2016
Latest reply on Jan 20, 2016 by MK.ShaSha

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?