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

SPI bus multi-master-multi-slave expansion control method and device

A technology of SPI bus and control method, which is applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of difficult wiring, complex control logic, and high design cost, and achieve the effect of reducing design cost and wiring complexity

Inactive Publication Date: 2019-11-26
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

To meet the redundant design requirements of the server / switch system, a large number of switching chips are often required to switch the SPI bus. The design cost is high, the control logic is complicated, and the wiring is very difficult.

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 bus multi-master-multi-slave expansion control method and device
  • SPI bus multi-master-multi-slave expansion control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Although the present invention can be implemented in various forms, some exemplary and non-limiting embodiments are shown in the accompanying drawings and described below, but it should be understood that the present disclosure will be regarded as an example of the present invention and not It is intended to limit the invention to the specific embodiments described.

[0046] figure 1 A schematic block diagram of an embodiment of a control method for SPI bus multi-master-multi-slave expansion according to the present invention is shown. Such as figure 1 As shown, the method according to the present invention at least includes executing the following steps based on the main control chip:

[0047] S1: Assign priority to each master device of the SPI bus according to preset priority parameters;

[0048] S2: In response to the master device requesting the control right, the control right is assigned to one of the requested master devices according to the priority, and the master d...

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 an SPI bus multi-master-multi-slave expansion control method and device. The method comprises the following steps executed on the basis of a main control chip: allocating priorities to master devices of an SPI bus according to preset priority parameters; in response to the request of the master device for the control right, allocating the control right to one of the requested master devices according to the priority, and taking the master device obtaining the control right as the current master device; receiving a priority parameter and a channel selection parameter sent by the current master device, and setting the corresponding slave device as the current slave device according to the channel selection parameter so as to perform master-slave data transmission; and in response to the fact that the current master device gives up the control right, resetting the priority of the master device according to the priority parameter, and performing subsequent controlright distribution according to the reset priority. According to the method, the single master device can access the multiple slave devices, the multiple master devices can access the multiple slave devices, extra control chips / pins are not needed, and the design cost and the wiring complexity are greatly reduced.

Description

Technical field [0001] The invention relates to the technical field of server switch bus. The invention further relates to a control method and device for SPI bus multi-master-multi-slave expansion. Background technique [0002] The SPI bus is the abbreviation of Serial Peripheral Interface (Serial Peripheral Interface). It is a high-speed, full-duplex, and synchronous communication bus that can transmit data in the form of master-slave point-to-point. Using the SPI bus, only four signal lines are occupied on the pins of the chip for bus communication, which not only saves the pins of the chip, but also saves the PCB wiring space of the printed circuit board. It is because of this simple and easy-to-use feature Nowadays, more and more chips integrate this communication protocol. [0003] In the current server / switch system design, the SPI bus is mostly used for data transmission between the chip and the FLASH chip. The server / switch system mostly adopts redundant design, that is...

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): G06F13/42G06F13/368
CPCG06F13/368G06F13/4282
Inventor 张广乐薛广营郭月俊
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD