English
Language : 

LM3S2739 Datasheet, PDF (412/532 Pages) List of Unclassifed Manufacturers – Microcontroller
Controller Area Network (CAN) Module
Bit/Field
2:0
Name
LEC
Type
R/W
Reset
0x0
Description
Last Error Code (type of the last error to occur on the CAN bus)
Value Definition
000 No Error
001 Stuff Error
More than 5 equal bits in a sequence have occurred in a part
of a received message where this is not allowed.
010 Form Error
A fixed format part of the received frame has the wrong format.
011 ACK Error
The message transmitted was not acknowledged by another
node.
100 Bit 1 Error
When a message is transmitted, the CAN controller monitors
the data lines to detect any conflicts. When the arbitration field
is transmitted, data conflicts are a part of the arbitration protocol.
When other frame fields are transmitted, data conflicts are
considered errors.
A Bit 1 Error indicates that the device wanted to send a High
level (logical 1) but the monitored bus value was Low (logical
0).
101 Bit 0 Error
A Bit 0 Error indicates that the device wanted to send a Low
level (logical 0) but the monitored bus value was High (logical
1).
During bus-off recovery, this status is set each time a sequence
of 11 High bits has been monitored. This enables the CPU to
monitor the proceeding of the bus-off recovery sequence without
any disturbances to the bus.
110 CRC Error
The CRC checksum was incorrect in the received message
indicate that the calculated value received did not match the
calculated CRC of the data.
111 Unused
When the LEC bit shows this value, no CAN bus event was
detected since the CPU wrote this value to LEC.
412
June 04, 2007
Preliminary