11.6.10 Error Status Register

Status indicators are provided to report the CAN controller error state, receive error count, and transmit error count. Special flags to report error counter values equal to or in excess of 96 errors are available to indicate heavily disturbed bus situations.

The following table provides ERROR_STATUS register bit descriptions.

Table 11-27. ERROR_STATUS
Bit NumberNameReset ValueDescription
[31:20]Reserved0Reserved
19rxgte960The receive error counter is greater than or equal to 96 dec.
18txgte960The transmit error counter is greater than or equal to 96 dec.
[17:16]error_state[1:0]0The error state of the CAN mode:

00: error active (normal operation)

01: error passive

1x: bus off

[15:8]rx_err_cnt[7:0]0The receive error counter as defined in CAN 2.0 specification.

When in bus-off state, this counter is used to count 128 groups of 11 receive bits.

[7:0]tx_err_cnt[7:0]0The transmit error counter as defined in CAN 2.0 specification.

When it is greater than 255 dec, it is fixed at 255 dec.