Triggering can interrupt failed

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

Triggering can interrupt failed

ソリューションへジャンプ
2,207件の閲覧回数
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,127件の閲覧回数
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,128件の閲覧回数
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,127件の閲覧回数
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 件の賞賛
返信