ECAN-200-FD (Ethernet to 2-port CAN FD Converter) User Manual
Version 1.0.0
Page
:
48
Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
Example 2:
Transmit one CAN message and one CAN FD message from CAN2 of
ECAN-200-FD by using one command which frame format is listed below
CAN message #1
Extended CAN frame which CAN ID is 0x12345678
CAN Data length is 2 with data 0x11, 0x22
CAN message #2
Standard CAN FD frame which CAN ID is 0x123
CAN Data length is 16 with data 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,
0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10
Transmit this CAN FD message with bit rate switch enable
Transmitted Ethernet command will like below table.
Command
Data Content (Hexadecimal)
Note
Command Header Field
Header
0x55
Type
0x02
CAN2
Data Length
0x00 0xA0
160
Command Data Field - Data1
CAN Message ID
0x12 0x34 0x56 0x78
CAN Message Format
0x00 0x04
CAN Data Length Code
0x00 0x02
CAN Data
0x11 0x22 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 0x00 0x00
2 bytes
data valid
Timestamp (sec)
0x00 0x00 0x00 0x00
Reserved
Timestamp (micro-sec)
0x00 0x00 0x00 0x00
Reserved
Command Data Field - Data2