Flexcan stall status

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

Flexcan stall status

458 Views
LArmstrong1985
Contributor III

Hi,

I am using the FlexCAN on the FRDM-K64 demo board starting from the example.

It happened several times that the internal controller stall on TxBusy status and I am no longer able to send any packets. How should this situation be managed and restore the correct functioning of the CAN controller inside the micro? In the example the callback only manages the RxIdle and TxIdle states.

Thank you very much!

Labels (1)
Tags (1)
0 Kudos
1 Reply

385 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Fabio Benevento

The TxBusy can be caused because the Tx is not being listened. It could be helpful if you detail me the value of the CANx_ESR1 register.

Also, make sure that the loopback mode is active, the ID from Rx and Tx needs to match.

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 Kudos