ECAN-200-FD (Ethernet to 2-port CAN FD Converter) User Manual
Version 1.0.0
Page
:
47
Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
6.3. Ethernet command Examples
Example 1:
Transmit a CAN message from CAN1 of ECAN-200-FD which frame format is
listed below
Standard CAN frame which CAN ID is 0x123
CAN Data length is 4 with data 0x11, 0x22, 0x33, 0x44
Transmitted Ethernet command will like below table.
Command
Data Content (Hexadecimal)
Note
Command Header Field
Header
0x55
Type
0x01
CAN1
Data Length
0x00 0x50
80
Command Data Field - Data1
CAN Message ID
0x00 0x00 0x01 0x23
CAN Message Format
0x00 0x00
CAN Data Length Code
0x00 0x04
CAN Data
0x11 0x22 0x33 0x44 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
4 bytes
data valid
Timestamp (sec)
0x00 0x00 0x00 0x00
Reserved
Timestamp (micro-sec)
0x00 0x00 0x00 0x00
Reserved