CAN send failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN send failed

1,688 次查看
海亭刘
Contributor I

if CAN send data,but don't have a receive,now the code can't  run normal. My question is what can i do

0 项奖励
回复
4 回复数

1,578 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

can you tell us the part number you are using? what is the tools? do you use the demo example or the code you developed yourself?

BR

Xiangjun Rong

0 项奖励
回复

1,578 次查看
海亭刘
Contributor I

I don't know how to use "byte CAN1_GetError(CAN1_TError *Err)", can you gave me a demo code, thanks!

02.bmp

0 项奖励
回复

1,578 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, 海亭 刘,

This is the CAN example based on the MC56F84789 and CodeWarrior for mcu tools, pls refer to it.

BR

Xiangjun rong

0 项奖励
回复

1,578 次查看
海亭刘
Contributor I

MC56F84763,when start, send data

01.bmp

but, if don't have a receiver, it while into:void CAN1_InterruptTxWarning(void),   and not into "while(1)".

last, i didn't find a demo code

my english is so poor,  please, gave me a help about my question.

 

THANKS!

0 项奖励
回复