cancel
Showing results for 
Search instead for 
Did you mean: 

Code wait and stay alway.

zeke.huang
Associate III

Hi,

The demo I use is SPC560BCxx_RLA CAN Test Applicaiont

Debug LOOP Mode is OK.

In Normal Mode, when I use can_lld_transmit to send CAN messages, the status returned is always CAN_MSG_WAIT. Can you help me analyze this problem?

A preliminary confirmation is that can_lld_is_tx_empty returns FALSE causing the whole problem.

The configuration inside Demo is just to remove the FlexCAN Enable LoopBack.

0690X000008wTdOQAU.png0690X000008wTd4QAE.png

Below is SFR:0690X000008wTdTQAU.png

1 ACCEPTED SOLUTION

Accepted Solutions
prashanth.mohan22
Associate III

Did you check connecting it with a CAN network? As well, if you are using a discovery board, you might need CAN transceiver in order to get CANH & CANL signals.

View solution in original post

2 REPLIES 2
prashanth.mohan22
Associate III

Did you check connecting it with a CAN network? As well, if you are using a discovery board, you might need CAN transceiver in order to get CANH & CANL signals.

ok, thanks, i will check the CAN transceiver.