TC1796
Peripheral Units (Vol. 2 of 2)
Controller Area Network (MultiCAN) Controller
User’s Manual
22-86
V2.0, 2007-07
MultiCAN, V2.0
The Node Error Counter Register NECNTRx 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-3)
Node x Error Counter Register
(214
H
+x*100
H
)
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 determines the threshold value
(warning level, default 96) to be reached in order to
set the corresponding error warning bit EWRN.
LETD
24
rh
Last Error Transfer Direction
0
B
The last error occurred while the CAN node x
was receiver (REC has been incremented).
1
B
The last error occurred while the CAN node x
was transmitter (TEC has been incremented).
LEINC
25
rh
Last Error Increment
0
B
The last error led to an error counter increment
of 1.
1
B
The last error led to an error counter increment
of 8.