Data transmission method and data transmission system based on serial peripheral interface (SPI) data transmission timing sequences

A technology of data transmission and timing, applied in the field of communication, can solve the problem of low communication efficiency, and achieve the effect of improving communication efficiency, preventing data loss and improving speed

Inactive Publication Date: 2013-05-08
HISENSE BROADBAND MULTIMEDIA TECH
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] However, the inventors of the present invention have found that in practical applications, the communication efficiency of the existing SPI-based communication method is not high, and there is a need to improve communication efficiency

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
  • Data transmission method and data transmission system based on serial peripheral interface (SPI) data transmission timing sequences
  • Data transmission method and data transmission system based on serial peripheral interface (SPI) data transmission timing sequences
  • Data transmission method and data transmission system based on serial peripheral interface (SPI) data transmission timing sequences

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many of the details listed in the specification are only for readers to have a thorough understanding of one or more aspects of the present invention, and these aspects of the present invention can be implemented even without these specific details.

[0051] Terms such as "module" and "system" used in this application are intended to include entities related to computers or chips or programmable logic devices, such as but not limited to hardware, firmware, a combination of hardware and software, software, or software in execution.

[0052] The inventor of the present invention analyzes the existing communication methods based on SPI: since only 2 bytes of data are transmitted in one frame of data; The next fra...

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 data transmission method and a data transmission system based on serial peripheral interface (SPI) data transmission timing sequences. The data transmission method based on the SPI data transmission timing sequences comprises the following steps: outputting SPI clock in effective status by a main device and sending a read\write mark of 1 byte, a start address (SA) of 2 byte and read\write data length (Len) of the 2 byte, receiving the read\write mark, SA and Len by a secondary device according to the SPI clock output by the main device and the SPI data transmission timing sequences, and sending data with SA and Len byte as a first address to the main device according to the SPI data transmission timing sequences and the read\write mark or storing the data of the Len byte received by the main device to local storage space with SA as the first address. Due to the fact that the Len byte is sent continuously in one frame data, and the data of the Len byte do not need to be sent by being placed on Len frame data like the prior art, transmission effects are improved largely.

Description

technical field [0001] The present invention relates to communication technology, in particular to a data transmission method and system based on SPI data transmission timing. Background technique [0002] SPI (Serial Peripheral Interface, Serial Peripheral Interface) was first defined by Motorola on its MC68HCXX series processors. The SPI interface is widely used between the CPU and peripheral low-speed devices for synchronous serial data transmission. The SPI interface works in a master-slave mode. This mode usually has one master device and one or more slave devices. The interface can include the following four signals: [0003] (1) MOSI-Master-out-slave-in data line, that is, the data line for the data output of the master device and the data input of the slave device; [0004] (2) MISO – master input slave output data line, that is, the data line for the data input of the master device and the data output of the slave device; [0005] (3) SCLK - clock signal, generat...

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
Inventor 孙黎明
Owner HISENSE BROADBAND MULTIMEDIA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products