CN209118268U - A kind of high robust spi bus driving circuit - Google Patents
A kind of high robust spi bus driving circuit Download PDFInfo
- Publication number
- CN209118268U CN209118268U CN201821841431.0U CN201821841431U CN209118268U CN 209118268 U CN209118268 U CN 209118268U CN 201821841431 U CN201821841431 U CN 201821841431U CN 209118268 U CN209118268 U CN 209118268U
- Authority
- CN
- China
- Prior art keywords
- spi
- equipment
- port
- sclk
- main equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
The utility model relates to a kind of high robust spi bus driving circuits, including a SPI main equipment and N number of SPI from equipment, N >=1, SPI main equipment is connected with N number of SPI from equipment via MOSI signal wire and MISO signal wire, the port CS of SPI main equipment is connected with N number of SPI from the port CS of equipment via different CS signal wires respectively, it is characterized in that, it further include N number of Schmidt trigger, SPI main equipment and N number of SPI are when n-th of SPI is connected from equipment from the device, n=1, ..., N, the port SCLK of SPI main equipment is connected with n-th of SPI from the port SCLK of equipment via SCLK signal line and the n Schmidt trigger on SCLK signal line.Driving SPI is from equipment after the spi bus clock signal that SPI main equipment generates is overturn by Schmidt trigger, to improve the robustness of spi bus driving circuit.
Description
Technical field
The utility model relates to a kind of spi bus driving circuits.
Background technique
SPI is the abbreviation of Serial Peripheral Interface (SPI) (Serial Peripheral Interface).SPI be a kind of high speed,
Full duplex, synchronization communication bus, and only take up four lines on the pin of chip, saved the pin of chip, be simultaneously
The layout of PCB saves space.Exactly for this characteristic easy to use, nowadays more and more integrated chips are this logical
Believe agreement, such as STM32F207.SPI is communicated with master-slave mode, this mode usually have a main equipment and it is one or more from
Equipment needs at least 4 signal wires, as shown in Figure 1, they are respectively:
(1) MOSI signal wire --- host output/slave input (Master Output/Slave Input);
(2) MISO signal wire --- host input/slave output (Master Input/Slave Output);
(3) SCLK signal line --- clock signal is generated by main equipment;
(4) CS signal wire --- from equipment enable signal, (Chip select) is controlled by main equipment.
Wherein CS signal wire is whether control chip is selected, that is to say, that only chip selection signal is prespecified makes
It is just effective to the operation of this chip when energy signal (high potential or low potential).This allows for connecting multiple SPI on same bus
Equipment is possibly realized.
SPI is serial communication bus, that is to say, that data are one one transmission.Here it is the presence of SCLK signal line
The reason of, clock pulses is provided by SCLK signal line, MOSI signal wire and MISO signal wire are then based on this pulse and complete data biography
It is defeated.By MOSI signal wire, data change in rising edge clock or failing edge for data output, back to back failing edge or on
Edge is risen to be read.A data transmission is completed, input also uses same principle.In this way, in the change of at least 8 times clock signals
(above edge and lower edge are primary), so that it may complete the transmission of 8 data.
SPI main equipment should be consistent with polarity with the clock phase of the slave equipment communicated.First, when main equipment SPI
Clock and polar configuration should be determined by peripheral hardware;Second, the configuration of the two should be consistent, i.e. the MOSI of main equipment with from
The MOSI configuration consistency of equipment, the MISO of main equipment is the same as the MISO configuration consistency from equipment.Because master-slave equipment is in SCLK
Under control, while data are sent and received, and exchanges data by 2 bidirectional shift registers.
Existing main equipment and the mode robustness communicated from equipment utilization SPI are poor, have not been able to satisfy special want
The application for the occasion asked.
Summary of the invention
The purpose of this utility model is: providing a kind of spi bus driving circuit with high robust.
In order to achieve the above object, there is provided a kind of high robust spi bus to drive for the technical solution of the utility model
Circuit, including a SPI main equipment and N number of SPI, from equipment, N >=1, SPI main equipment is via MOSI signal wire and MISO signal wire
It is connected with N number of SPI from equipment, the port CS of SPI main equipment is respectively via different CS signal wire and N number of SPI from the CS of equipment
Port is connected, which is characterized in that further include N number of Schmidt trigger, SPI main equipment and N number of SPI from the device n-th of SPI from
When equipment is connected, n=1 ... ..., N, the port SCLK of SPI main equipment is via SCLK signal line and the n on SCLK signal line
A Schmidt trigger is connected with n-th of SPI from the port SCLK of equipment.
In the present invention, the spi bus clock signal that SPI main equipment generates overturns rear-guard by Schmidt trigger
SPI is moved from equipment, to improve the robustness of spi bus driving circuit, and the clock of SPI main equipment is compareed from equipment
Spi bus timing realizes the correct configuration of SPI main equipment clock.
Detailed description of the invention
Fig. 1 is the circuit diagram of existing spi bus driving circuit;
Fig. 2 is the circuit diagram of the utility model.
Specific embodiment
The present invention will be further illustrated below in conjunction with specific embodiments.It should be understood that these embodiments are merely to illustrate this
Utility model rather than limitation the scope of the utility model.In addition, it should also be understood that, in the content for having read the utility model instruction
Later, those skilled in the art can make various changes or modifications the utility model, and such equivalent forms equally fall within this Shen
It please the appended claims limited range.
As shown in Fig. 2, a kind of high robust spi bus driving circuit disclosed in the present embodiment, including a SPI main equipment
And three SPI are from equipment.SPI main equipment and three SPI are same from passing through between the data transmission port of the spi bus of equipment
MOSI signal wire and MISO signal wire are connected.
The port CS of SPI main equipment is connected with first SPI from the port CS of equipment via CS signal wire 0.SPI main equipment
The port CS be connected with second SPI from the port CS of equipment via CS signal wire 1.Believe via CS the port CS of SPI main equipment
Number line 2 is connected with third SPI from the port CS of equipment.
The port SCLK of SPI main equipment is via SCLK signal line and a Schmidt trigger and first SPI from equipment
The port SCLK be connected.The port SCLK of SPI main equipment is via SCLK signal line and two Schmidt triggers and second SPI
It is connected from the port SCLK of equipment.The port SCLK of SPI main equipment is via SCLK signal line and three Schmidt triggers and
Three SPI are connected from the port SCLK of equipment.
Claims (1)
1. a kind of high robust spi bus driving circuit, including a SPI main equipment and N number of SPI are from equipment, N >=1, SPI master
Equipment is connected with N number of SPI from equipment via MOSI signal wire and MISO signal wire, and the port CS of SPI main equipment is not respectively via
Same CS signal wire is connected with N number of SPI from the port CS of equipment, which is characterized in that further includes N number of Schmidt trigger, SPI master
Equipment and N number of SPI are when n-th of SPI is connected from equipment from the device, n=1 ... ..., N, the port SCLK of SPI main equipment via
SCLK signal line and the n Schmidt trigger on SCLK signal line are connected with n-th of SPI from the port SCLK of equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821841431.0U CN209118268U (en) | 2018-11-08 | 2018-11-08 | A kind of high robust spi bus driving circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821841431.0U CN209118268U (en) | 2018-11-08 | 2018-11-08 | A kind of high robust spi bus driving circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209118268U true CN209118268U (en) | 2019-07-16 |
Family
ID=67204449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821841431.0U Active CN209118268U (en) | 2018-11-08 | 2018-11-08 | A kind of high robust spi bus driving circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209118268U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11550749B2 (en) | 2020-02-11 | 2023-01-10 | Stmicroelectronics International N.V. | Serial data interface with reduced loop delay |
CN116841939A (en) * | 2023-06-30 | 2023-10-03 | 珠海市凌珑宇芯科技有限公司 | SPI slave interface circuit and chip |
-
2018
- 2018-11-08 CN CN201821841431.0U patent/CN209118268U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11550749B2 (en) | 2020-02-11 | 2023-01-10 | Stmicroelectronics International N.V. | Serial data interface with reduced loop delay |
CN116841939A (en) * | 2023-06-30 | 2023-10-03 | 珠海市凌珑宇芯科技有限公司 | SPI slave interface circuit and chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101329663B (en) | Apparatus and method for implementing pin time-sharing multiplexing | |
US10169282B2 (en) | Bus serialization for devices without multi-device support | |
US20140115229A1 (en) | Method and system to reduce system boot loader download time for spi based flash memories | |
EP2849079A1 (en) | Universal SPI (Serial Peripheral Interface) | |
EP3859542A1 (en) | Spi broadcast mode | |
CN209118268U (en) | A kind of high robust spi bus driving circuit | |
CN104834620A (en) | SPI (serial peripheral interface) bus circuit, realization method and electronic equipment | |
CN107643993B (en) | Bus conversion interface, working method of bus conversion interface and communication equipment | |
WO2014031257A1 (en) | Systems and methods for concatenating multiple devices | |
CN114911743B (en) | SPI slave device, SPI master device and related communication method | |
Liu et al. | IP design of universal multiple devices SPI interface | |
CN113722259A (en) | RS-485 and RS-232 shared interface circuit | |
KR20210075878A (en) | I3c hub promoting backward compatibility with i2c | |
CN112395143B (en) | Apply to I 3 Device and method for detecting start and end of C bus | |
CN103873031A (en) | Non-clock trigger register | |
CN111221769A (en) | Single wire read-write communication method | |
CN107370651A (en) | A kind of communication means between SPI slaves | |
CN107229589B (en) | TTL communication bus sub-module expansion circuit | |
JP2024508592A (en) | USB interface multiplexing method, circuit, electronic equipment and storage medium | |
CN103019994B (en) | Variable Baud rate serial communication interface circuit based on FPGA (field programmable gate array) | |
CN106936518B (en) | Measuring device with bidirectional IO function | |
CN104978294A (en) | Compatible device of serial peripheral interface, serial peripheral interface and host device | |
US20240232101A9 (en) | Logic control device of serial peripheral interface, master-slave system, and master-slave switchover method therfor | |
US20240134807A1 (en) | Logic control device of serial peripheral interface, master-slave system, and master-slave switchover method therfor | |
CN112292673A (en) | I3C slave interface, integrated circuit with I3C slave interface and method for operating I3C slave interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |