687
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
(7)
CnLEC - CANn module last error information register
The CnLEC register provides the error information of the CAN protocol.
Note
1.
The contents of the CnLEC register are not cleared when the CAN module
changes from an operation mode to the initialization mode.
2.
If an attempt is made to write a value other than 00H to the CnLEC register
by software, the access is ignored.
After reset: 00H
R/W
Address: CnLEC <CnRBaseAddr> + 052
H
7
6
5
4
3
2
1
0
CnLEC
0
0
0
0
0
LEC2
LEC1
LEC0
LEC2
LEC1
LEC0
Last CAN protocol error information
0
0
0
No error
0
0
1
Stuff error
0
1
0
Form error
0
1
1
ACK error
1
0
0
Bit error. (The CAN module tried to transmit a recessive-level bit as part of a
transmit message (except the arbitration field), but the value on the CAN bus
is a dominant-level bit.)
1
0
1
Bit error. (The CAN module tried to transmit a dominant-level bit as part of a
transmit message, ACK bit, error frame, or overload frame, but the value on
the CAN bus is a recessive-level bit.)
1
1
0
CRC error
1
1
1
Undefined
electronic components distributor