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,174 次查看
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,157 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport
0 项奖励
回复