
CAN-Logger series CAN Bus data logger devices User Manual (version 1.0.1)
Page: 43
Copyright © 2015 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
7. Appendix
7.1. CAN
Status
Register
Bit Symbol Value
Description
Last error code
Type of the last error to occur on the CAN bus.The LEC field holds
a code which indicates the type of the last error to occur on the CAN
bus.
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 a received frame has the wrong
format.
0x3
AckError
: The message this CAN core transmitted was not
acknowledged.
0x4
Bit1Error
: During the transmission of a message (with the
exception of the arbitration field), the device wanted to send a
HIGH/recessive level (bit of logical value ‘1’), but the monitored bus
value was LOW/dominant.
0x5
Bit0Error
: During the transmission of a message (or acknowledge
bit, or active error flag, or overload flag), the device wanted to send
a LOW/dominant level (data or identifier bit logical value ‘0’), but the
monitored Bus value was HIGH/recessive.
0x6
CRCError
: The CRC checksum was incorrect in the message
received.
2:0 LEC
0x7
Unused
: No CAN bus event was detected
Transmitted a message successfully.
0
No message has been successfully transmitted.
3 TXOK
1
A message has been successfully transmitted.
Received a message successfully
0
No message has been successfully received
4 RXOK
1
A message has been successfully received independent of the
result of acceptance filtering.
Error
passive
0
The CAN controller is in the error active state.
5 EPASS
1
The CAN controller is in the error passive state as defined in the
CAN 2.0 specification.
Warning
status
0
Both error counters are below the error warning limit of 96.
6 EWARN
1
At least one of the error counters in the Error Counter Register has
reached the error warning limit of 96.
Busoff
status
0
The CAN module is not in busoff state.
7 BOFF
1
The CAN controller is in busoff state.
31:8 -
- Reserved