第 40 页 共 60 页
Conversion instance:
Example 1: Assume that the serial frame header configured by the user is 0x40 and the frame trailer is
0x1A. Example of conversion is shown in Figure 3.34.
Figure 3.34 Example of Can frame to SPI frame (custom protocol conversion)
4. Product configuration
4.1 Configuration parameter
4.1.1 Conversion parameter
1. Conversion mode
The data conversion mode of TD5 (3)USPCAN refers to the basic rules of data conversion between serial
bus and can bus. At the same time, the product can only work in one data conversion mode. If you need to
change the data conversion mode, you need to change the configuration. When the product is configured
with a conversion mode, it acts on SPI to CAN mode and UART to CAN mode at the same time.
There are three ways of data conversion: transparent conversion, transparent conversion with
identification and custom protocol conversion.Transparent conversion means that as soon as any side bus