MPC5746 CAN bus off

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

MPC5746 CAN bus off

310 Views
xuan
Contributor I

What is the self-recovery time of the CAN bus?

0 Kudos
1 Reply

297 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

a time is dependent on bus state, CAN bit timing setting and recovery mode.

In case the automatic recovery mode is disabled (BOFF_REC = 1), the module remains in bus off state until the bit is negated by the user. The recovery from bus-off starts after both independent events have become true:

  • 128 occurrences of 11 consecutive recessive bits on the CAN bus have been monitored
  • BOFF_REC  has been cleared by the user

So if negation happens

- before 128 sequences of 11 recessive bits are detected on the CAN bus, then Bus Off recovery happens in similar way as in automatic recovery mode.

- after 128 sequences of 11 recessive bits occurred, then FlexCAN will resynchronize to the bus by waiting for 11 recessive bits before joining the bus.

 

In automatic Bus-off recovery mode the behavior is the same, you just do not clear BOFF_REC, soo… after 128 sequences of 11 recessive bits occurred, then FlexCAN will resynchronize to the bus by waiting for 11 recessive bits before joining the bus.

 

BR, Petr

 

0 Kudos