689
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
(9)
CnERC - CANn module error counter register
The CnERC register indicates the count value of the transmission/reception
error counter.
Note
The REC6 to REC0 bits of the reception error counter are invalid in the
reception error passive status (CnINFO.RECS1, CnINFO.RECS0 bit = 11B).
Note
The TEC7 to TEC0 bits of the transmission error counter are invalid in the bus-
off status (CnINFO.BOFF bit = 1).
After reset: 0000H
R
Address: CnERC <CnRBaseAddr> + 054H
15
14
13
12
11
10
9
8
CnERC
REPS
REC6
REC5
REC4
REC3
REC2
REC1
REC0
7
6
5
4
3
2
1
0
TEC7
TEC6
TEC5
TEC4
TEC3
TEC2
TEC1
TEC0
REPS
Reception error passive status bit
0
The value of the reception error counter is not error passive (< 128)
1
The value of the reception error counter is in the error passive range
(
≥
128)
REC6 to
REC0
Reception error counter bit
0 to 127
Number of reception errors. These bits reflect the status of the
reception error counter. The number of errors is defined by the CAN
protocol.
TEC7 to
TEC0
Transmission error counter bit
0 to 255
Number of transmission errors. These bits reflect the status of
the transmission error counter. The number of errors is
defined by the CAN protocol.
electronic components distributor