eCAN_UserManual_Eng_DM v1.0.1

eCAN
User Manual
32
LEC
It is Last Error Code, displaying the last error.
Value
Description
0
No Error
1
Stuff Error. occurs when a message containing the same 5 consecutive bits is received
2
Form Error. occurs when a message is received outside the specified format
3
Ack Error. occurs when the relative device did not Ack for the message sent
4
Bit Error. occurs when a High (Bit1) value is sent but the level of the bus is LOW
5
Bit Error. occurs when a High (Bit0) value is sent but the level of the bus is HIGH
6
CRC Error. Occurs when the CRC value of the received message and the inspected value
do not match
The table below summarizes the explanation above.
TYPE
Status
REC
TEC
LEC
1Byte
1Byte
1Byte
1Byte
1Byte
VCP Mode
Frames in VCP Mode are configured differently from frames in Ethernet Mode.
The eCAN Frame can be broadly divided into eCAN Data Frame and eCAN Error Frame.
eCAN Data Frame defines STD DATA, STD REMOTE, EXT DATA, EXT REMOTE.
The eCAN Error Frame is the definition of an Error Frame.
eCAN Frame
CAN Frame TYPE
VALUE
eCAN Data Frame
STD DATA
0x74 (t)
STD REMOTE
0x54 (T)
EXT DATA
0x65 (e)
EXT REMOTE
0x45 (E)
eCAN Error Frame
Error Frame
0x21 (!)
eCAN Data Frame
The total length of the eCAN Error Frame is 9bytes and consists of TYPE(1) · Status(1) · REC(2) · TEC(2) · LEC(2)
· CR(1).
When Request, it request ‘!’(0x21) 1byte.
Ex) 0x21 (! ASCII)