Unlock instant, AI-driven research and patent intelligence for your innovation.

SPI-based token ring networking method

A token ring and token technology, applied in network interconnection, data exchange network, data exchange through path configuration, etc. The effect of foot burden

Inactive Publication Date: 2018-08-17
ZHEJIANG UNIV
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This communication method has obvious disadvantages: first, if communication between slave devices is required, it needs to go through the master device, which increases the burden on the master device; second, multiple pins are required to control chip select signals of different slave devices, This makes the pin usage of the master device limited

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-based token ring networking method
  • SPI-based token ring networking method
  • SPI-based token ring networking method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0017] The token ring networking method based on SPI in the present invention makes the master device and the slave device connected into a ring through the SPI input and output lines, and the output of the previous device is connected with the input of the latter device; all the SPI clock lines of the slave device are connected with the master The SPI clock line of the device is connected, and the clock is provided by the master device; all the chip select pins of the slave device are connected to the SPI chip select pins of the master device, and all slave devices have only two states: all selected and all unselected.

[0018] When the system is initialized, write 0 into the SPI sending registers of all slave devices, and the master device is responsible...

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 an SPI-based token ring networking method. An SPI is used as a token ring network communication protocol, the network contains one master device and multiple slave devices, alldevices form a ring shape through an SPI output and input line, SPI clock signals of all slave devices are provided by the master device, SPI chip selection signals of all slave devices are providedby the master device, the same SPI chip selection signal is adopted, the master device initiates a round of transfer of a token, and the slave devices judge whether to process information according totoken ring contents. According to the token ring networking method disclosed by the invention, token ring networking can be performed on the multiple slave devices and the master device just by usingone chip selection signal so as to perform token exchange, the slave devices can communicate with each other, the pin burden of the master device in the SPI communication is reduced, and the SPI-based token ring networking method is especially suitable for the networking of single chip microcomputers with insufficient on-chip pin resources.

Description

technical field [0001] The invention belongs to the technical field of embedded system communication, and in particular relates to an SPI-based token ring networking method. Background technique [0002] SPI (Serial Peripheral Interface) is a serial peripheral interface, which is a full-duplex, high-speed communication protocol. Most embedded chips have SPI functions, which only occupy four wires, saving the pins of the chip. A very efficient and universal means of communication. [0003] The token ring network refers to physically connecting the communication nodes into a ring structure, and sequentially transmitting a data packet called a token on the ring node set, and each node judges whether it needs to receive or modify the token data, and if necessary If it is received or modified, otherwise, the token will continue to be transmitted to the subsequent node, so that the token moves in a directional ring on the ring node set. [0004] Traditionally, in the case of mul...

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): H04L12/433H04L12/46
Inventor 李红吕攀黄雷钱广一杨国青吴朝晖
Owner ZHEJIANG UNIV