XC886/888CLM
Controller Area Network (MultiCAN) Controller
User’s Manual
15-71
V1.3, 2010-02
MultiCAN, V1.0
The Node Error Counter Register NECNTx contains the CAN receive and transmit error
counter as well as some additional bits to ease error analysis. NECNTx can be written
only if bit NCRx.CCE is set.
NECNTx (x = 0-1)
Node x Error Counter Register
Reset Value: 0060 0000
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
LEIN
C
LET
D
EWRNLVL
r
rh
rh
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TEC
REC
rwh
rwh
Field
Bits
Type Description
REC
[7:0]
rwh
Receive Error Counter
Bit field REC contains the value of the receive error
counter of CAN node x.
TEC
[15:8]
rwh
Transmit Error Counter
Bit field TEC contains the value of the transmit error
counter of CAN node x.
EWRNLVL
[23:16] rw
Error Warning Level
Bit field EWRNLVL defines the threshold value
(warning level, default 96) to be reached in order to
set the corresponding error warning bit NSRx.EWRN.
LETD
24
rh
Last Error Transfer Direction
0
The last error occurred while the CAN node x
was receiver (REC has been incremented).
1
The last error occurred while the CAN node x
was transmitter (TEC has been incremented).
LEINC
25
rh
Last Error Increment
0
The last error led to an error counter increment
of 1.
1
The last error led to an error counter increment
of 8.
*