English
Language : 

LM3S2671 Datasheet, PDF (612/764 Pages) Texas Instruments – Stellaris® LM3S2671 Microcontroller
Controller Area Network (CAN) Module
Bit/Field
4
3
2:0
612
Name
RXOK
TXOK
LEC
Type
R/W
R/W
R/W
Reset
0
0
0x0
Description
Received a Message Successfully
0: Since this bit was last cleared, no message has been successfully
received.
1: Since this bit was last cleared, a message has been successfully
received, independent of the result of the acceptance filtering.
This bit is never cleared by the CAN module.
Transmitted a Message Successfully
0: Since this bit was last cleared, no message has been successfully
transmitted.
1: Since this bit was last cleared, a message has been successfully
transmitted error-free and acknowledged by at least one other node.
This bit is never cleared by the CAN module.
Last Error Code
This is the type of the last error to occur on the CAN bus.
Value
0x0
0x1
0x2
0x3
0x4
0x5
0x6
0x7
Definition
No Error
Stuff Error
More than 5 equal bits in a sequence have occurred in a part
of a received message where this is not allowed.
Format Error
A fixed format part of the received frame has the wrong
format.
ACK Error
The message transmitted was not acknowledged by another
node.
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).
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.
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.
No Event
When the LEC bit shows this value, no CAN bus event was
detected since the CPU wrote this value to LEC.
Texas Instruments-Production Data
November 17, 2011