Interrupt Pre-emption in S32K146

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupt Pre-emption in S32K146

603 Views
jayashreepasane
Contributor III

I am using S32K146 controller for my project. I have integrated CANFD stack and using systick to generate timer interrupt at every 1ms.

I see that when CAN interrupt is executing, systick is not able to preempt the CAN interrupt. I want to know what other settings need to be done so that higher priority interrupt can preempt lower priority.

 

 

0 Kudos
1 Reply

579 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

If SysTick has a higher priority than the FlexCAN, the Systick must preempts the FlexCAN interrupts, unless the interrupts are masked in the FlexCAN interrupt handler.

Can you double check the priorities?

Is Systick pending while the FlexCAN interrupt is acive?

Please read PRIMASK in the FlexCAN handler.

 

Regards,

Daniel

0 Kudos