Triggering can interrupt failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Triggering can interrupt failed

Jump to solution
1,146 Views
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!!!

Tags (1)
0 Kudos
1 Solution
1,066 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
1,067 Views
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!
-----------------------------------------------------------------------------------------------------------------------

1,066 Views
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 Kudos