
22. 16-Slot CAN Module
22.1.9
CANi Transmit Error Count Register (CiTEC Register) (i = 0, 1)
Figure 22.12
C0TEC and C1TEC Registers
In an error active and an error passive state, a transmit error count value is stored into the CiTEC register. The
count is decremented when a transmit operation is successfully completed and incremented when a transmit
error occurs.
In a bus-off state, the value in the CiTEC register is undefined. The CiTEC register becomes 00h when the
CAN module is placed in an error active state again.
22.1.10 CANi Receive Error Count Register (CiREC Register) (i = 0, 1)
Figure 22.13
C0REC and C1REC Registers
In an error active and an error passive state, a receive error count value is stored into the CiREC register. The
count is decremented when a receive operation is successfully completed and incremented when a receive error
occurs.
The CiREC register becomes 127 when a receive operation is successfully completed while the CiREC register
equals or exceeds 128 (in an error passive state).
In a bus-off state, the value in the CiREC register is undefined. The CiREC register becomes 00h when the
CAN module is placed in an error active state again.
b7
Symbol
C0TEC
C1TEC
Address
020Ah
028Ah
After Reset(1)
00h
b0
Function
RW
CANi Transmit Error Count Register (i = 0, 1)
RO
Transmit error count value
NOTE:
1. The value is obtained by setting the SLEEP bit in the CiSLPR register to 1 (sleep mode exited) after reset and supplying the clock
to the CAN module.
b7
Symbol
C0REC
C1REC
Address
020Bh
028Bh
After Reset(1)
00h
b0
Function
RW
CANi Receive Error Count Register (i = 0, 1)
RO
Receive error count value
NOTE:
1. The value is obtained by setting the SLEEP bit in the CiSLPR register to 1 (sleep mode exited) after reset and supplying the
clock to the CAN module.