SPMI Bus Arbitration Switching for Stable External Slave Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems using the System Power Management Interface (SPMI) bus cannot stably control data exchange between a master and a slave using an external device.
Innovation Solution
An integrated circuit device with a bus monitoring module, data supplementation module, and switch control module is introduced to monitor communication data, determine the working state, and switch between paths to enable stable data exchange and control, including bus arbitration simulations to preempt the bus when necessary.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data exchange between master and slave is controlled using the SPMI bus with master control, then the system can maintain simple architecture and ease of operation, but the system cannot achieve stable control when using external devices
Solution Approach 1:
An integrated circuit device is introduced as an intermediary between the master and slave on the SPMI bus. This device includes a bus monitoring module to detect communication data, a data supplementation module to generate supplementary data, and a switch control module to control switching between direct master-slave communication and communication through the integrated circuit device. The intermediary enables stable external control while maintaining the simplicity of the SPMI bus architecture.
2Reliability
If the integrated circuit device continuously monitors and preempts the bus to ensure stable control, then data exchange stability is improved, but bus arbitration complexity and processing time increase
Solution Approach 1:
The integrated circuit device performs preliminary actions by monitoring bus communication data in advance to determine working states. The bus monitoring module continuously observes the bus to detect when the integrated circuit device needs to preempt the bus for data supplementation. This preliminary monitoring allows the device to prepare for bus preemption in advance, reducing actual arbitration time when preemption is needed.
3Adaptability or versatility
If the system uses master control for SPMI bus operations, then the architecture remains simple and ease of operation is maintained, but adaptability to external control devices is limited
Solution Approach 1:
The control architecture is made dynamic through the switch control module, which can switch between two operational modes: direct master-slave communication and communication through the integrated circuit device. This dynamic switching capability allows the system to adapt to different control requirements without permanently increasing architectural complexity. The integrated circuit device can dynamically take control when external device control is needed and release control when it is not required.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
This application relates to a bus monitoring and controlling method, an electronic device, a chip, and a storage medium. The method is applied to an integrated circuit device. The integrated circuit device monitors communication data between a master and a slave on an SPMI bus. If it is determined based on the communication data that a working state of the integrated circuit device is a first working state, and the SPMI bus is in an idle state, the integrated circuit device performs bus arbitration on the master by simulating the slave, performs bus arbitration on the slave by simulating the master, and controls switching of a switch module, so that the integrated circuit device is separately connected to the master and the slave. When it is determined that the master with the highest priority preempts the SPMI bus, the integrated circuit device sends supplementary data to the slave. After performing bus arbitration on the master and the slave, the integrated circuit device performs switching on the switch module. In this way, the following case can be avoided: A spike generated in a switching process of the switch module affects running of the SPMI bus. An external integrated circuit device implements control on data of the slave.