ZLG CANFDNET-400U Product User Manual page 24

Rs232/485/422-can fd-bus intelligent protocol converter
Hide thumbs Also See for CANFDNET-400U:
Table of Contents

Advertisement

CANFDNET-400U
High-performance Four-channel CANFD Bus-to-Ethernet Converter User Manual
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
2. Converting serial frames to CANFD messages
Suppose the configuration CAN type is CANFD, the frame information is "standard
frame", the baud rate acceleration is enabled, the frame ID1 and ID0 are "0x01, 0x23"
respectively, the serial frame data is 0x01-0x46, a total of 70 data, the conversion format
is listed in Table 4.7. The frame ID of the CAN message is 0x0123 (configured by the user),
the frame information is a standard frame (configured by the user), the EDL bit
corresponding to the CANFD message is 1, the BRS bit corresponding to baud rate
acceleration is 1, and the data in the serial frame part will be converted into CANFD
message without any modification. Because there are 70 bytes of data and the maximum
data size of one CANFD message is 64 bytes, it is divided into two CANFD messages.
Table 4.7 Example of converting serial frames to CANFD messages (transparent mode)
Serial frame
0x01
0x02
0x03
0x04
0x05
0x06
0x07
...
0x42
0x43
0x44
0x45
0x46
3. Converting CAN messages to serial frames
This example configures the CAN message "frame information" conversion and
"frame ID" conversion. Assuming that the frame ID1 in the CAN message is 0x01, the
frame ID0 is 0x23, and the data is 0x12, 0x34, 0x56, 0x78, 0xab, 0xcd, 0xef, 0xff, the CAN
message and the converted serial frame are listed in Table 4.8.
CANFD
message 1
Frame
information
Frame ID
Data field
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
21
User Manual
0x02
0x0A
0x03
0x0B
0x04
0x0C
0x05
0x06
0x07
0x08
CANFD
message 2
0x3F
0x36
0x01
0x01
0x23
0x23
0x01
0x41
0x02
0x42
0x03
0x43
0x04
0x44
0x05
0x45
0x06
0x46
...
0x3E
0x3F
0x40

Advertisement

Table of Contents
loading

Table of Contents