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

Multi-thread SPI communication data transmission method

A technology of communication data and transmission method, which is applied in the field of communication systems, can solve problems such as increased data bit error rate, waste, large communication board data, etc., to increase the amount of data transmission and processing, increase the amount of transmitted and received data, The effect of saving material costs

Active Publication Date: 2020-08-11
成都天箭科技股份有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of science and technology, various software and hardware devices are updated faster, with more functions, and more and more data to be processed, especially for upgrading old systems. In order to meet the data processing requirements of new systems, All hardware circuit boards may need to be replaced, and the cost of R&D and production of hardware equipment is relatively high, which will cause relatively large waste
[0003] In the prior art, data is transmitted through a standard SPI (as attached figure 1 (shown) uses a full-duplex synchronous serial port protocol, and controls data transmission through a synchronous clock. The frequency of the synchronous clock will affect the data transmission rate, and the frequency of the synchronous clock cannot be amplified a lot, otherwise it will cause data errors rate increase
In the process of communication signal processing, the data transmitted between communication boards will be very large, and the standard SPI transmission data cannot meet large-scale data transmission

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
  • Multi-thread SPI communication data transmission method
  • Multi-thread SPI communication data transmission method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0026] Such as Figure 1 to Figure 2 Shown, a kind of multi-thread SPI communication data transmission method comprises the following steps:

[0027] Step 1: Reconnect the FPGA spare pin lines or idle pin lines in the old circuit board, add TDO or TDI lines in SPI communication, and keep other CS and SCLK lines unchanged;

[0028] Step 2: Write a program, if adding a TDI line, change the input parallel data to serial data, and then store and call; if adding a TDO line, increase the clock rate for processing serial data, and convert the data into parallel output;

[0029] Step 3: Connect the communication between hardware circuit boards with standard communication plugs;

[0030] Step 4: When sending data, the SCLK rate is set to a low rate. If two sending lines are used, the data to be sent is converted into two parallel data in an alternate manner in advance, that is, the system clock rate for processing data serial to parallel is the SCLK clock 2 times, you can send 2 time...

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 discloses a multi-thread SPI communication data transmission method. A standard SPI protocol is improved without changing a SCLK rate, a TXD thread is added, when data is sent, two TXD transmitting lines are used, before the TXD data is sent, one path of serial data is converted into two paths of parallel data in an alternating mode, then the parallel data is transmitted through theTXD lines, and therefore the system clock rate for processing data serial-to-parallel conversion is two times that of an SCLK clock. In this way, under the condition that the SCLK rate is not changed,two times of data volume can be sent, and once one line is added, one time of data transmitting volume can be increased. By applying the multi-thread SPI communication data transmission mode, the data transmission amount and the processing amount can be increased, the system efficiency is improved, and the material cost and the time cost of re-research and development are saved.

Description

technical field [0001] The invention relates to the technical field of communication systems, in particular to a multi-thread SPI communication data transmission method. Background technique [0002] With the rapid development of science and technology, various software and hardware devices are updated faster, with more functions, and more and more data to be processed, especially for upgrading old systems. In order to meet the data processing requirements of new systems, It is possible that all hardware circuit boards need to be replaced, and the R&D and production costs of hardware equipment are relatively high, which will cause relatively large waste. [0003] In the prior art, data is transmitted through a standard SPI (as attached figure 1 (shown) uses a full-duplex synchronous serial port protocol, and controls data transmission through a synchronous clock. The frequency of the synchronous clock will affect the data transmission rate, and the frequency of the synchron...

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 Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4282G06F13/4208Y02D10/00
Inventor 龚玉明
Owner 成都天箭科技股份有限公司