
23. 32-Slot CAN Module
23.1.10 CAN2 Transmit Error Count Register (C2TEC Register)
Figure 23.13
C2TEC Register
In an error active and an error passive state, a transmit error count value is stored into the C2TEC 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 C2TEC register is undefined. The C2TEC register becomes 00h when the
CAN module is placed in an error active state again.
23.1.11 CAN2 Receive Error Count Register (C2REC Register)
Figure 23.14
C2REC Register
In an error active and an error passive state, a receive error count value is stored into the C2REC register. The
count is decremented when a receive operation is successfully completed and incremented when a receive error
occurs.
The C2REC register becomes 127 when a receive operation is successfully completed while the C2REC
register equals or exceeds 128 (in an error passive state).
In a bus-off state, the value in the C2REC register is undefined. The C2REC register becomes 00h when the
CAN module is placed in an error active state again.
b15
b7
Symbol
C2TEC
Address
050Ah
After Reset(1)
00h
b0
Function
RW
CAN2 Transmit Error Count Register
RO
Transmit error count value
NOTE:
1. The value is obtained by setting the SLEEP bit in the C2SLPR register to 1 (sleep mode exited) after reset and supplying the
clock to the CAN module.
b8
b15
b7
Symbol
C2REC
Address
050Bh
After Reset(1)
00h
b0
Function
RW
CAN2 Receive Error Count Register
RO
Receive error count value
NOTE:
1. Value is obtained by setting the SLEEP bit in the C2SLPR register to 1 (sleep mode exited) after reset and supplying the clock to
the CAN module.
b8