CAN send failed

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

CAN send failed

719 Views
海亭刘
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 Kudos
4 Replies

609 Views
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 Kudos

609 Views
海亭刘
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 Kudos

609 Views
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 Kudos

609 Views
海亭刘
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 Kudos