Communication system and method based on SPI bus

A technology of SPI bus and communication system, applied in the direction of bus network, transmission system, digital transmission system, etc., can solve the problems of low recognition efficiency and lack of slave station feedback, and achieve the effect of ensuring recognition efficiency and accuracy

Pending Publication Date: 2022-06-07
山东新松工业软件研究院股份有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a communication system and method based on the SPI bus to at least solve the technical problems that

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 system and method based on SPI bus
  • Communication system and method based on SPI bus
  • Communication system and method based on SPI bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] According to another embodiment of the present invention, a communication system based on an SPI bus is provided, see Figure 1 to Figure 3 ,include:

[0048] A master station and at least one slave station connected to the master station in a daisy-chain manner;

[0049] The master station is used to send a start frame to the slave station;

[0050] After the slave station receives the start frame, it generates and outputs the response frame corresponding to the start frame;

[0051] The master is also used to acknowledge the number of slaves based on all the reply frames when the master receives the start frame as well as all the reply frames.

[0052] In this embodiment, a daisy chain represents a wiring scheme. For example, device A and device B are connected by cables, device B is connected to device C by cables, and device C is connected to device D by cables. In this connection method A mesh topology will not be formed, and only adjacent devices can communicat...

Embodiment 2

[0087] According to another embodiment of the present invention, a communication method based on SPI bus is provided, see Figure 4 , Figure 7 as well as Figure 8 , including the following steps:

[0088] S1: The master sends a start frame to the slave.

[0089] In this embodiment, a daisy chain represents a wiring scheme. For example, device A and device B are connected by cables, device B is connected to device C by cables, and device C is connected to device D by cables. In this connection method A mesh topology will not be formed, and only adjacent devices can communicate directly. For example, in the above example, device A cannot communicate directly with device C, and they must be relayed through device B.

[0090] Further, the startup frame is a transmission unit containing startup data.

[0091] Specifically, in this embodiment, the master station is connected to at least one slave station in a daisy-chain manner. In order to ensure that data can be transmitted ...

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 the technical field of backplane bus communication, in particular to a communication system and method based on an SPI bus. According to the system and the method, a master station and at least one slave station connected with the master station in a daisy chain mode are adopted; the master station is used for sending a starting frame to the slave station; the slave station is used for generating and outputting a response frame corresponding to the starting frame after receiving the starting frame; the master station is further used for confirming the number of the slave stations based on all the response frames when the master station receives the starting frame and all the response frames, the communication system and method based on the SPI bus can achieve a slave station feedback mechanism, and the recognition efficiency and accuracy of the number of the connected slave stations are guaranteed.

Description

technical field [0001] The present invention relates to the technical field of backplane bus communication, in particular, to a communication system and method based on an SPI bus. Background technique [0002] Most of the existing SPI interface daisy-chain buses use the information frame to send only the length of the SPI shift register, and the transmission direction is mostly from the SPI master station to the SPI slave station. Before the daisy-chain connection, it is necessary to know how many slaves the master is connected to, and it is impossible to identify how many slaves are connected in real time, and such a daisy-chain connection does not support the scanning topology of the slaves, which is difficult to meet some occasions. the requirements below. SUMMARY OF THE INVENTION [0003] Embodiments of the present invention provide a communication system and method based on an SPI bus, so as to at least solve the technical problems that the existing SPI interface bu...

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
IPC IPC(8): H04L12/40H04L12/403G06F13/42
CPCH04L12/40006H04L12/403G06F13/4256Y02P90/02
Inventor 刘世昌崔可夫栾显晔宗津诚刘洋李佺威
Owner 山东新松工业软件研究院股份有限公司
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