Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SPI (serial peripheral interface) bus driving method and system and electronic equipment

A technology of SPI bus and drive system, applied in the field of communication, can solve the problems of low anti-interference ability, poor SPI bus signal driving ability, limited communication distance, etc., to extend the data transmission distance, improve the driving ability and anti-interference effect.

Inactive Publication Date: 2016-04-20
PHICOMM (SHANGHAI) CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned shortcoming of prior art, the object of the present invention is to provide a kind of drive method of SPI bus, system and electronic equipment, be used to solve the problem that using SPI bus can only communicate inside electronic equipment in the prior art, does not use electronic equipment. The communication between devices results in limited communication distance, and the signal drive ability of the SPI bus output is poor, and the anti-interference ability 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
  • SPI (serial peripheral interface) bus driving method and system and electronic equipment
  • SPI (serial peripheral interface) bus driving method and system and electronic equipment
  • SPI (serial peripheral interface) bus driving method and system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] This embodiment provides a method for driving an SPI bus, which is applied to a communication network composed of a master communication device and at least one slave communication device that communicates through the SPI bus. The communication of the SPI bus is based on the master-slave working mode. The master-slave working mode usually has a master device and one or more slave devices, and requires at least 4 wires. In fact, 3 wires are also possible (in one-way transmission). It is also common to all SPI-based devices, they are SDI (data input), SDO (data output), SCLK (clock), CS (chip select). Among them, CS is the chip select pin of the chip. When the SPI bus transmits data, SCLK provides a clock pulse, and SDI and SDO complete data transmission based on this pulse. The data output is through the SDO line, the data changes on the rising or falling edge of the clock, and is read on the following falling or rising edge. Complete one-bit data transmission, input a...

Embodiment 2

[0045] The present embodiment provides a driving system of the SPI bus, which is applied to a communication network composed of a master communication device and at least one slave communication device for communicating through the SPI bus. The driving system of the SPI bus includes: a conversion module for Converting the master / slave communication device to output a TTL level signal through the SPI bus into a differential signal for long-distance transmission;

[0046] An inverse conversion module, configured to inversely convert the differential signal to recover the TTL level signal, and transmit the recovered TTL level signal to the slave / master communication device.

[0047]The driving system of the SPI bus described in this embodiment will be described in detail below with reference to the drawings. The communication of described SPI bus is based on master-slave mode, and master-slave mode usually has a master device and one or more slave devices, needs at least 4 wires,...

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 an SPI (serial peripheral interface) bus driving method and system and electronic equipment. The SPI bus driving system is applied to communication through an SPI bus, is a communication network comprising a master communication device and at least one slave communication device and comprises a first conversion module and a second conversion module, wherein the first conversion module is used for converting TTL (transistor-transistor logic) level signals output by the master / slave communication device through the SPI bus into differential signals for long-distance transmission; the second conversion module is used for inversely conversing the differential signals into the TTL level signals and transmitting the recovered TTL signals to the master / slave communication device. The SPI bus driving system has the advantages that the signal output driving capacity and anti-interference of the SPI bus are improved while the workload of a central processing unit is not increased, and the data transmission distance is lengthened.

Description

technical field [0001] The invention belongs to the technical field of communications, and relates to a driving method and system, in particular to a driving method, system and electronic equipment of an SPI bus. Background technique [0002] SPI is the abbreviation of Serial Peripheral Interface (SerialPeripheralInterface). SPI is a high-speed, full-duplex, synchronous communication bus. The SPI bus is widely used in electronic devices due to its low cost and simplicity of use. Since the SPI bus adopts TTL level, the driving ability and anti-interference ability are poor, and the transmission distance is very limited, so it is mainly used for internal communication of electronic equipment, and is not suitable for communication between electronic equipment. However, in recent years, more and more sensors have adopted the SPI bus for inter-device communication with electronic devices. [0003] However, in the prior art, the use of the SPI bus can only communicate within th...

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/4282
Inventor 王振
Owner PHICOMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products