Communication method suitable for serial peripheral equipment interface bus

A communication method and equipment interface technology, applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of low efficiency, not supporting full-duplex transmission, high overhead, etc., to achieve efficient transmission and improve transmission efficiency

Inactive Publication Date: 2009-07-01
VIMICRO CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The disadvantage of this high-level protocol is that it does not support full-duplex transmission; it does not support SPI interrupt transmission, that is, the SSN must be kept low during the entire frame transmission; The overhead of data is large and the efficiency is low

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 suitable for serial peripheral equipment interface bus
  • Communication method suitable for serial peripheral equipment interface bus
  • Communication method suitable for serial peripheral equipment interface bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In the following description, well-known functions or structures will not be described in detail to avoid unnecessary confusion with the content of the present invention.

[0036] A communication method suitable for data transmission on a serial peripheral device interface bus, characterized in that:

[0037] Define a variable-length data frame, including frame header and payload, and the length change is defined by the frame header;

[0038] The synchronous transmission mode is adopted between the master device and the slave device;

[0039] All transmissions are initiated by the master device, and the frame header of the data frame is always sent from the master device to the slave device.

[0040] Among them, the data frame is composed of frame header and payload. The payload is the data to be transmitted, and its length can be changed. Such as figure 2 shown. Because it carries variable data volume services, in order to improve transmission efficiency, a variab...

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 communication method suitable for data transmission on a serial peripheral device interface bus: a variable-length data frame is defined, including a frame header and a payload, and the change of the length is defined by the frame header; the master device and the slave The synchronous transmission mode is adopted between the devices; all transmissions are initiated by the master device, and the frame header of the data frame is always sent from the master device to the slave device. The method of the present invention can support data transmission with addressing requirements between the master device and the slave device; by adopting a subframe header and a variable-length frame structure scheme in the frame structure of the method of the present invention, the method can Efficiently support full-duplex or half-duplex communication between the master device and the slave device, and improve transmission efficiency; in the communication method of the present invention, a joint synchronization scheme combining self-synchronization and forced synchronization is adopted to ensure reliable The performance and the burden of the main equipment can achieve the best results.

Description

technical field [0001] The invention relates to master-slave communication between electronic devices, in particular to a communication method suitable for data transmission on a serial peripheral device interface bus. Background technique [0002] Serial communication is a very important data communication method between the master device and the external device. Fewer data lines are required compared to a parallel communication bus. Serial Peripheral Interface (SPI) is a synchronous serial bus proposed by Motorola, which is used for data exchange between a master device and a peripheral device. [0003] The SPI bus is a master-slave communication mechanism, the master device is the master device, and the peripheral device is the slave device. It consists of 4 buses, namely the serial clock line (SCK), the master input / slave output data line (MISO), the master output / slave input data line (MOSI) and the slave active selection line (SSN) ). Compared with other buses, the...

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/42
Inventor 王军金传恩谢律
Owner VIMICRO CORP
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