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

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

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

1,182件の閲覧回数
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)

タグ(1)
0 件の賞賛
返信
1 返信

1,165件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信