S32K146 flex can, can message can not be send to can bus

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

S32K146 flex can, can message can not be send to can bus

1,180 Views
KDB_beginer
Contributor II

hi 

i write a program which want to send can message and receive can message.

I referred to an article and then adapted it. but when i debug it, i find my program can not send message .

according to the reference manual, each successful transmission or reception sets the corresponding IFLAG1 bit. But when i send message, the IFLAG1 bit not be set. So the message send failed.

I do not kown how to solve it, so pleace help me

Thanks, best wishes!

My program and my reference program are attached below https://www.programmerall.com/article/39671163824/ (my reference program)

Tags (1)
0 Kudos
Reply
1 Reply

1,163 Views
Robin_Shen
NXP TechSupport
NXP TechSupport
0 Kudos
Reply