Chengdu Ebyte Electronic Technology Co.,Ltd.
ECAN-401 User Manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
22
field
Data 2
Frame ID0
Data 3
Data field
Data 0
Data 4
Data 1
Data 5
...
Data 6
Data 6
Data 7
Data 7
Data 8
Serial end
of frame
User configuration
Convert CAN messages to serial frames
Conversion example:
Serial frame to CAN message (custom protocol).
CAN configuration parameters configured in this example. Conversion mode: custom protocol, frame header AA, frame
end: FF, conversion direction: bidirectional. Frame ID: No need to configure, Frame type: No need to configure, the data
before and after conversion is as follows.
CAN message to serial frame: the reverse form of serial frame to CAN message.
Serial frame
CAN Message
Serial frame
header
AA
Frame
informatio
n
00
Frame length
07
Frame ID
01
Frame
information
00
23
Frame ID
01
Data field
11
23
22
Data field
11
33
22
44
33
44
Serial end of
frame
FF