I2C Host Switching Through Automatic Bus Control Handoff
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing I2C bus systems require cumbersome manual switching operations when multiple hosts are involved, lacking an efficient method for automatic host switching.
Innovation Solution
A method and device for serial communication devices that automatically detect connection and disconnection signals to release and acquire control rights of the serial bus, allowing seamless switching between hosts without manual intervention, using voltage divider devices and switching mechanisms to determine connection states.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If manual switching is used when switching between hosts in an I2C system, then the system can support multiple hosts, but the operation becomes cumbersome and complex
Solution Approach 1:
The system automatically detects the presence of hosts and performs switching operations without manual intervention. The controller monitors the bus for host presence signals and autonomously transfers control between hosts, eliminating the need for manual switching operations while maintaining multi-host capability
Solution Approach 2:
The system uses feedback signals from hosts indicating their presence or absence on the bus. The controller continuously monitors these feedback signals and automatically adjusts bus control accordingly, enabling seamless automatic switching between hosts without requiring manual operation
2Extent of automation
If automatic detection of connection states is implemented, then switching between hosts becomes seamless, but the system complexity increases
Solution Approach 1:
The controller performs multiple functions using the same I2C bus infrastructure: normal data communication and automatic host detection. By utilizing existing bidirectional communication capabilities for dual purposes, the system achieves automatic switching without adding separate detection hardware or significantly increasing complexity
Solution Approach 2:
The system uses predetermined signals as intermediaries to convey host presence information. These signals act as a mediator between the physical connection state and the controller's switching decision, simplifying the detection mechanism by using standardized signal protocols rather than complex sensing circuits
Data Source
AI summary
A switching method and a switching device of a serial communication device, and a diagnostic device are provided. The serial communication device includes a host and at least one slave connected to the host through a serial bus. The method is applied to a controller of the host and includes: when detecting a predetermined signal, releasing a control right of the serial bus, such that a target device acquires the control right and transmits data with the at least one slave. The predetermined signal includes at least one of a first signal and a second signal. The first signal is a signal indicating that the target device is connected to the serial communication device. The second signal is a signal indicating that the host is disconnected from the serial bus. The target device is a non-slave device connected to the serial bus.


