Triggering can interrupt failed

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

Triggering can interrupt failed

跳至解决方案
2,186 次查看
shengzhibing
Contributor II

There is no trigger interrupt after sending the message. Is there any problem with my can initialization?

SOFT:  S32DS for ARM 2018 R1.

CHIP:S32K118

pastedImage_1.png

send first message(Success):

pastedImage_2.png

send second message(Failure):

pastedImage_3.png

Thank you for your reply!!!

标记 (1)
0 项奖励
回复
1 解答
2,106 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi  Zhibing,

Seems that you forgot set the corresponding IMASK1 bit.

IFLAG1.png

pastedImage_2 - Copy.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
2,107 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi  Zhibing,

Seems that you forgot set the corresponding IMASK1 bit.

IFLAG1.png

pastedImage_2 - Copy.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,106 次查看
shengzhibing
Contributor II

HI Robin_Shen:

Thank you for your reply!

My problem has been solved,I forgot to enable FlexCAN interrupts (^_^) and I did not set imask bit .

Best Wishes

Sheng

0 项奖励
回复