14.4.15 CAN Bus Diagnostics Register 0

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 the nominal and data bit rate phases separately, which helps to determine whether errors occur during the arbitration or data transmission phase.
  3. These counters are always incremented by 1 for any bus error.
Name: C1BDIAG0
Offset: 0x2638

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

Bits 23:16 – DRERRCNT[7:0] Data Bit Rate Receive Error Counter bits

Bits 15:8 – NTERRCNT[7:0] Nominal Bit Rate Transmit Error Counter bits

Bits 7:0 – NRERRCNT[7:0] Nominal Bit Rate Receive Error Counter bits