S12G192, can transmit, after set CANXTFLG = CANXTBSEL, busoff, synch lost

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

S12G192, can transmit, after set CANXTFLG = CANXTBSEL, busoff, synch lost

673 Views
xiujuantang
Contributor II


Hi,

 

I have no idea how I can get busoff state after CANXTFLG = CANXTBSEL to set TXE as full.

 

Br

Cindy

Labels (1)
0 Kudos
Reply
1 Reply

598 Views
RadekS
NXP Employee
NXP Employee

Hi Cindy,

The MSCAN module will go into busoff state when TX error counter reach value 255. Several types of error could increase TX error counter, but the simplest way how to get busoff state is transmitting any CAN message while we short CANH and CANL lines.

I hope it helps you.


Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply