English
Language : 

LM3S8962 Datasheet, PDF (428/620 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
This is the type of the last error to occur on the CAN bus.
Value Definition
0x0 No Error
0x1 Stuff Error
More than 5 equal bits in a sequence have occurred in a part
of a received message where this is not allowed.
0x2 Form Error
A fixed format part of the received frame has the wrong format.
0x3 ACK Error
The message transmitted was not acknowledged by another
node.
0x4 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).
0x5 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.
0x6 CRC Error
The CRC checksum was incorrect in the received message,
indicating that the calculated value received did not match the
calculated CRC of the data.
0x7 Unused
When the LEC bit shows this value, no CAN bus event was
detected since the CPU wrote this value to LEC.
428
September 02, 2007
Preliminary