Interrupt Pre-emption in S32K146

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupt Pre-emption in S32K146

634件の閲覧回数
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 件の賞賛
1 返信

610件の閲覧回数
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 件の賞賛