Communication method, device and equipment based on serial peripheral interface
A serial peripheral interface and communication device technology, applied in the field of data transmission, can solve the problem of low bandwidth utilization, achieve the effect of improving bandwidth utilization, avoiding bandwidth, and shortening response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Refer to Figure 4 The shown flow chart of the communication method based on the serial peripheral interface is described in detail through the following specific steps:
[0056] S401a: The first communication device sends first target data to the second communication device through the serial peripheral interface.
[0057] The first communication device and the second communication device are connected through a serial peripheral interface. The standard protocol of the existing serial peripheral interface includes a clock signal line, a data output data line, a data input data line, and a chip select. Signal line. The first communication device may send the first target data to the second communication device through the data output data line in the existing serial peripheral interface standard protocol.
[0058] The first target data is not limited to a specific type of data, and may be in the form of a file, for example.
[0059] S402a: The second communication device check...
Embodiment 2
[0075] The difference between this embodiment and the first embodiment is that the function of error retransmission is further realized. Refer to Figure 5 As shown in the flowchart of the communication method based on the serial peripheral interface, steps S501a to S503a, and steps S501b to S503b can refer to steps S401a to S403a, and steps S401b to S403b in the first embodiment. The different steps of the first embodiment, specifically, the following steps may be included after step S503a:
[0076] S504a: When the hardware signal indicates that the first target data is in error, the first communication device resends the first target data to the second communication device through the serial peripheral interface.
[0077] There are many reasons for the error of the first target data, for example, it may be one or more of transmission error, data packet packing error, and data packet decoding error.
[0078] In a specific implementation, the second communication device may further v...
Embodiment 3
[0085] The difference between this embodiment and the first embodiment is that the hardware signals of the first transmission request signal line, the first reception preparation signal line, the second transmission request signal line, and the second reception preparation signal line are further used to indicate the first Data transmission is performed between a communication device and a second communication device through the data output data line and the data input data line of the serial peripheral interface. The following describes in detail the steps different from the first embodiment:
[0086] The first communication device and the second communication device are respectively connected via a first transmission request signal line, a first reception preparation signal line, a second transmission request signal line, and a second reception preparation signal line, and the method includes:
[0087] The first sending request signal line is used to determine whether the first co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


