Chengdu Ebyte Electronic Technology Co.,Ltd.
ECAN-401 User Manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
16
Frame ID
ID1
ID0
ID0
Data 1
Data field
Data 1
Data 2
Data 2
Data 3
Data 3
Data 4
Data 4
Data 5
Data 5
Data 5
Data 5
Data 7
Data 7
Data 8
Data 8
Convert CAN messages to serial frames
Conversion example:
CAN configuration parameters configured in this example. Conversion mode: Transparent conversion with logo, starting
address 2, length 3. Frame type: extended frame, frame type: data frame. Conversion direction: two-way. Send identifier:
0x00000123, then the data before and after conversion is as follows.
CAN Message
Serial frame
Frame
informatio
n
88
99
Frame ID
00
88
00
00
01
01
23
23
Data field
99
77
88
66
77
55
66
44
55
33
44
22
33
Example of CAN message conversion to serial frame (transparent with information conversion)
4.1.3 Protocol mode
The fixed 13 bytes of CAN format conversion represent a CAN frame data, and the content of 13 bytes includes CAN
frame infor frame ID + frame data. In this conversion mode, the CANID set is invalid, because the identifier
(frame ID) sent at this time is filled with the frame ID data in the serial frame of the above format. The configured frame
type is also invalid. The frame type is determined by the frame information in the format serial frame. The format is as
follows:
CAN fixed format serial frame (13 bytes)
Frame
informati
Frame
ID
Frame
Data