第 23 页 共 60 页
Figure 3.14 CAN frame to UART frame (transparent conversion, frame information enabled)
(2) Frame ID conversion enable
The frame ID is the "ID" of the CAN frame.
The frame conversion is enabled, that is, when the CAN frame is converted into UART frame, the ID of the
CAN frame is forwarded to the UART interface in 2 bytes (standard frame) or 4 bytes (extended frame) at the
same time, and the ID byte is sent before the data byte, with the high bit of the ID byte in front. When the
frame ID conversion is enabled, the frame information conversion is enabled by default. The frame type is
sent first, then the frame ID is sent, and finally the data is sent. If the user enables frame ID conversion, the
converted data format is shown in Figure 3.15.
Figure 3.15 CAN frame to UART frame (transparent conversion, frame ID conversion enabled)