ECAN-200-FD (Ethernet to 2-port CAN FD Converter) User Manual
Version 1.0.0
Page
:
51
Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
Example 4:
Receive two CAN FD messages from CAN2 of ECAN-200-FD at 10s.000us and
10s.1000us which frame format is listed below
CAN message #1
Standard CAN FD frame which CAN ID is 0x123
CAN Data length is 4 with data 0x01, 0x02, 0x03, 0x04
CAN FD bit rate switch is enabled
CAN message #2
Extended CAN FD frame which CAN ID is 0x12345678
CAN Data length is 12 with data 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,
0x0A, 0x0B, 0x0C
CAN FD bit rate switch is enabled
Received 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
0x00 0x00 0x01 0x23
CAN Message Format
0x00 0x09
CAN Data Length Code
0x00 0x04
CAN Data
0x01 0x02 0x03 0x04 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 0x0A
10 s
Timestamp (micro-sec)
0x00 0x00 0x00 0x00
000 us