Can Message To Serial Frame - Ebyte ECAN-401S User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
7
...
N
Address
N
Serial frame is converted into CAN message (transparent transmission with identification)
Conversion example:
Serial frame to CAN message (transparent with logo).
CAN configuration parameters configured in this example. Conversion mode: Transparent conversion with logo, starting
address 2, length 3. Frame type: extended frame, frame ID: no configuration required, conversion direction: two-way.
The data before and after conversion is as follows.
Serial
frame
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10

2. CAN message to serial frame

For CAN messages, a frame is immediately forwarded after a frame is received. Each time it is forwarded, the ID in the
received CAN message is corresponding to the position and length of the CAN frame ID configured in advance in the
serial frame. Conversion. Other data are forwarded in order. It is worth noting that the frame format (standard frame or
extended frame) of both serial frame and CAN message in application should meet the pre-configured frame format
requirements, otherwise it may cause the communication to be unsuccessful.
informati
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
Data 8
...
Data N
Data N
Frame
informatio
n
Frame ID
Data field
CAN Message
Frame
Frame
information
on
Data 7
Data 8
Data 9
Data 10
CAN Message
2
Frame
88
informatio
n
00
03
Frame ID
04
05
01
02
06
07
Data field
08
09
0A
0B
Serial frame
ID1
ECAN-401S User Manual
CAN Message
2
85
00
03
04
05
0C
0D
0E
0F
10
15

Advertisement

Table of Contents
loading

Table of Contents