Flexcan stall status

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flexcan stall status

1,102件の閲覧回数
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!

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,029件の閲覧回数
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 件の賞賛
返信