CANFDNET-400U
High-performance Four-channel CANFD Bus-to-Ethernet Converter User Manual
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
19
User Manual
a length of 14, and the closest value can only be 12. Therefore, a CANFD message with a
data length of 12 is split.
Finally, the remaining 2 bytes of data are converted into a
CANFD message with a data length of 2.
To sum up, the 62-byte serial frame will be split
into three CANFD messages.
If the number of bytes of the serial frame is greater than 64, the processor fills the
data field of the CANFD message with 64 characters for the first time, starting from the
first character of the serial frame. After the data is sent to the CANFD bus, the remaining
serial frame data is converted and filled into the data field of the CANFD message until the
data is converted.
Table 4.3 Conversion of serial frames into CANFD messages (transparent conversion)
CANFD message (standard
frame)
Frame
information
User Profile
Serial frame
Frame ID
User Profile
Address
Data
User Profile
0
Data 1
Data field
Data 1
1
Data 2
Data 2
2
Data 3
Data 3
3
Data 4
Data 4
…
…
…
45
Data 46
Data 46
46
Data 47
Data 47
47
Data 48
Data 48
2. Converting CAN (CANFD) messages to serial frames
For CAN (CANFD) bus messages, one frame is immediately forwarded upon
receiving one frame. For CAN messages, the corresponding data format is listed in Table
4.4. For CANFD messages, the corresponding data format is listed in Table 4.5.
In the conversion, convert all the data in the CAN (CANFD) message data field into
serial frames in sequence. If "Enable" is selected for "frame information conversion
enable" during configuration, the converter will directly fill the "frame information" byte of
the CAN (CANFD) message into the serial frame.
If "Enable" is selected for "Enable Frame ID Conversion", the "Frame ID" bytes of
CAN (CANFD) messages are also filled into serial frames.
Table 4.4 Conversion of CAN messages into serial frames (transparent conversion)
Serial frame
CAN message (standard
frame)
Frame
information
Frame
information
Frame information
Frame ID1
Frame ID
Frame ID1
Frame ID0
Frame ID0