Full-duplex communication device based on SPI and method thereof

A communication method and full-duplex technology, applied in the fields of instruments, electrical digital data processing, etc., can solve the problems of no response mechanism, no specified flow control, and reduced system response speed, so as to ensure the integrity and accuracy, and improve the system. The effect of improving response time and data throughput

Active Publication Date: 2012-12-12
HUIZHOU DESAY SV AUTOMOTIVE
View PDF5 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is because of this easy-to-use and fast data transmission characteristics that more and more chips now integrate this communication protocol. At present, SPI communication is generally half-duplex communication mode. This communication mode operates at the same rate, The amount of data sent per unit time is limited, which will cause a large amount of communication delay, consume communication resources, reduce the response speed of the system, and affect the use of users.
Even if some SPI communication achieves full-duplex communication, there are still disadvantages such as no specified flow control, no response mechanism to confirm whether data is received, etc.

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
  • Full-duplex communication device based on SPI and method thereof
  • Full-duplex communication device based on SPI and method thereof
  • Full-duplex communication device based on SPI and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to facilitate the understanding of those skilled in the art, the present invention will be further described in detail below with reference to the drawings and embodiments.

[0036] The present invention discloses a full-duplex communication device based on SPI, such as figure 1 As shown, it includes a master device and a slave device, and a signal line provided between the master device and the slave device for mutual communication between the master device and the slave device. The signal lines include: data lines MISO and MOSI, a synchronous clock signal line CLK, a slave device selection signal line CS, a signal line M_REQ for the master device to request the slave device to receive data, and a signal line S_REQ for the slave device to request the master device to receive data.

[0037] The signal line M_REQ is connected between the I / O port of the master device and the interrupt trigger port of the slave device, controlled by the master device, and the sig...

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 relates to a full-duplex communication device based on an SPI (serial peripheral interface) and a method thereof. The device comprises a main component, a slave component, a data line used for the mutual communication between the main component and the slave component, a synchronous clock signal line, a slave component selecting signal line and a signal line which is used for requesting the slave component to receive data by the main component and requesting the main component to receive data by the slave component, and the lines are arranged between the main component and the slave component. The communication method comprises the steps that data are sent simultaneously by the main component and the slave component to each other, data are sent from the main component to the slave component, data are sent from the slave component to the main component, and data frames are used for the communication between the main component and the slave component. According to the full-duplex communication device based on the SPI and the method thereof, a full-duplex communication mode is realized, under the condition that the communication rate is invariable, communication efficiency is improved, system response time is improved, and communication data throughput is increased by one time in an ideal condition; and the integrality and the accuracy of respective data frame when data are sent by both of the SPI communication sides at the same time are guaranteed through data verification and the like.

Description

[0001] technical field [0002] The invention relates to a communication device and a method thereof, in particular to an SPI-based full-duplex communication device and a method thereof. Background technique [0003] The SPI (Serial Peripheral Interface--Serial Peripheral Interface) bus system is a synchronous serial peripheral interface, which enables the MCU to communicate with various peripheral devices in a serial manner to exchange information. SPI generally uses 4 lines: clock signal line (CLK), master input / slave output data line MISO, master output / slave input data line MOSI and active low slave select line CS, because SPI is in the chip Only four wires are occupied on the pins, which saves the pins of the chip, and at the same time saves space for the layout of the PCB and provides convenience. At the same time, the data transmission speed is relatively fast, and the maximum speed can reach several Mbps. It is because of this easy-to-use and fast data transmission ...

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/38
Inventor 张裁会秦青春
Owner HUIZHOU DESAY SV AUTOMOTIVE
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