Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2017-06-30
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention solves the technical problem that the communication method based on the serial peripheral interface in the prior art causes low bandwidth utilization in order to realize the function of receiving status reply

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method, device and equipment based on serial peripheral interface
  • Communication method, device and equipment based on serial peripheral interface
  • Communication method, device and equipment based on serial peripheral interface

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a communication method, communication devices and equipment based on an SPI (Serial Peripheral Interface). The method comprises the following steps of: sending target data through the SPI and receiving hardware signals through a state response signal wire, wherein the hardware signals correspond to a checking result showing whether the target data is correct or not. The state response signal wire is set; a data receiving state response function during the communication based on the SPI is realized through the hardware signals of the state response signal wire; and the bandwidth occupied by the transmission of a great number of response packets can be avoided, so that the band width utilization rate during the communication based on the SPI is improved. The hardware signals can be detected at the microsecond level, so the data receiving state response responding time is shortened.

Description

Technical field [0001] The present invention relates to the field of data transmission technology, in particular to a communication method, device and equipment based on a serial peripheral interface. Background technique [0002] The serial peripheral interface (Serial Peripheral Interface, SPI) works in a master-slave mode, and usually includes an SPI master (SPI Master) and at least one SPI slave (SPI Slave). The existing SPI standard protocol includes the connection The four wires of the SPI master device and the SPI slave device are clock signal line (SCK), data output data line (SDO), data input data line (SDI) and chip select signal line (CS), respectively. The clock signal line is used to provide timing implementation standards for the device, the data output data line is used for the SPI master device to transmit data to the SPI slave device, and the data input data line is used for the SPI slave device to transmit data to the SPI slave device. The SPI master device tra...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/38H04L29/06
CPCG06F13/4282
Inventor 杨攀
Owner SPREADTRUM COMM (SHANGHAI) CO LTD