14.4.15 CAN Bus Diagnostics Register 0(1)

Note:
  1. The individual bytes in this multibyte register can be accessed with the following register names:
    • CxBDIAG0T: Accesses the top byte BDIAG0[31:24].
    • CxBDIAG0U: Accesses the upper byte BDIAG0[23:16].
    • CxBDIAG0: Accesses the byte BDIAG0[31:0].
  2. The register bits keep track of bus errors during nominal and data bit rate phases separately, which helps to determine whether errors occur during arbitration or during data transmission phase.
  3. These counters are always incremented by 1 on any bus error. Note that these counters are not decremented unlike the TX/RX error counters in the CxTREC register.
Name: CxBDIAG0
Offset: 0x2638, 0x2928

Bit 3130292827262524 
 DTERRCNT[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 DRERRCNT[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 NTERRCNT[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 NRERRCNT[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:24 – DTERRCNT[7:0]  Data Bit Rate Transmit Error Counter bits(2,3)

Bits 23:16 – DRERRCNT[7:0]  Data Bit Rate Receive Error Counter bits(2,3)

Bits 15:8 – NTERRCNT[7:0]  Nominal Bit Rate Transmit Error Counter bits(2,3)

Bits 7:0 – NRERRCNT[7:0]  Nominal Bit Rate Receive Error Counter bits(2,3)