MPC5604P CAN interrupts.

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

MPC5604P CAN interrupts.

1,827件の閲覧回数
pramodukirde
Contributor I

One observation we are seeing is even if IMASK (0xFFFC0028) is cleared, the Rx interrupts are still coming to core. Is this possible? Or are we missing some step in disabling the interrupts?

0 件の賞賛
返信
3 返答(返信)

1,698件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

if you have set IMASK register to 0, interrupts will be still signaled in IFLAG register. But if IMASK is cleared, any interrupts will not be executed even if interrupt handler is created and correctly set.

Regards,

Martin

0 件の賞賛
返信

1,698件の閲覧回数
pramodukirde
Contributor I

Martin,

We have set the IMASK to 0, and still receiving CAN interrupts. Is there any additional step expected for disabling CAN interrupts here?

0 件の賞賛
返信

1,698件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

could you please provide me any simple project which demonstrates the behavior?

If the whole IMASK is set to zero for appropriate CAN module, it is not possible that interrupt handler for any message buffer is executed.

I hope you do not POLL any flag from IFLAG register. Flags for appropriate message buffer in IFLAG register will be set even if IMASK register is set to 0.

Regards,

Martin

0 件の賞賛
返信