38.12.2 Recovery from Bus Off State
If the TEC exceeds 255, the TXBO (CxTREC[21]) and CERRIF (CxINT[13]) bits will be set. The module will go to bus off and start the bus off recovery sequence.
The bus off recovery sequence starts automatically. The module will transition out of the Bus Off state only after the detection of 128 Idle conditions (see “ISO11898-1:2015: Bus Off Management”). The module will set FRESET for all transmit FIFOs when entering the Bus Off state to ensure that the module does not try to retransmit indefinitely. The application will be notified by CERRIF and has the option to queue new messages for transmission.
The module signals the exit from the Bus Off state with the CERRIF bit and by setting the TXBOERR bit (CxBDIAG1[23]). Additionally, C1TREC will be Reset.