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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

