TC1796
Peripheral Units (Vol. 2 of 2)
Controller Area Network (MultiCAN) Controller
User’s Manual 22-77 V2.0, 2007-07
MultiCAN, V2.0
The Node Status Register NSRx reports errors as well as successfully transferred CAN
frames.
NSRx (x = 0-3)
Node x Status Register (204
H
+x*100
H
) Reset Value: 0000 0000
H
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0
r
1514131211109876543210
0
SUS
ACK
LOE LLE
BOF
F
EWR
N
ALE
RT
RXO
K
TXO
K
LEC
r rh rwh rwh rh rh rwh rwh rwh rwh
Field Bits Type Description
LEC [2:0] rwh Last Error Code
This bit field indicates the type of the last (most
recent) CAN error. The encoding of this bit field is
described in Table 22-7.
TXOK 3rwhMessage Transmitted Successfully
0
B
No successful transmission since the last (most
recent) clearance of the flag.
1
B
A message has been transmitted successfully
(error-free and acknowledged by at least
another node).
TXOK must be cleared by software (write 0). Writing
1 has no effect.
RXOK 4rwhMessage Received Successfully
0
B
No successful reception since the last (most
recent) clearance of the flag.
1
B
A message has been received successfully.
RXOK must be cleared by software (write 0). Writing
1 has no effect.