MPC5604P CAN interrupts.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5604P CAN interrupts.

1,910 次查看
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,781 次查看
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,781 次查看
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,781 次查看
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 项奖励
回复