Hardware Arbitration for I2C Multi-Master Bus Integrity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The I2C bus arbitration mechanism is insufficient for ensuring data integrity during write operations to paged target devices like EEPROMs, leading to potential data corruption due to premature bus access by other master devices before the completion of write operations.
Innovation Solution
Implementing a secondary arbitration signal on a separate connection for master devices to assert ownership of the bus, ensuring that only the master device completing its transactions maintains control until all operations are finished, thereby preventing premature bus access by other devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If native I2C arbitration procedures are used, then the bus can be shared among multiple master devices, but data corruption can occur when other masters access the bus before completion of multi-page write operations
Solution Approach 1:
The patent introduces a separate arbitration connection as an intermediary channel between master devices. This arbitration connection operates independently from the I2C bus, allowing masters to negotiate bus ownership without interfering with ongoing I2C transactions. The intermediary arbitration mechanism prevents other masters from accessing the bus during critical multi-page write operations, thereby maintaining data integrity while preserving multi-master capability.
Solution Approach 2:
The patent segments the arbitration function from the data transmission function. By separating the arbitration connection from the I2C bus, the system allows independent control of bus access rights. This segmentation enables the arbitration mechanism to track and protect ongoing transactions across multiple I2C packets, preventing premature bus access by other masters while maintaining the standard I2C communication protocol.
2Reliability
If a separate arbitration connection is implemented, then bus ownership can be reliably tracked during multi-page writes, but the device complexity increases
Solution Approach 1:
The separate arbitration connection serves as a dedicated intermediary channel that simplifies the arbitration logic. Instead of complex software protocols or modifications to the I2C standard itself, the patent uses a dedicated physical connection for arbitration signals. This intermediary approach provides reliable bus ownership tracking through a simple, dedicated channel that operates parallel to the I2C bus without adding complexity to the I2C protocol stack.
3Adaptability or versatility
If software arbitration schemes are used, then flexibility in handling arbitration logic is improved, but the system becomes more complex and slower
Solution Approach 1:
The patent replaces software-based arbitration schemes with a hardware-based arbitration mechanism. The separate arbitration connection uses dedicated hardware circuits to detect and respond to arbitration signals, providing deterministic and timely bus ownership determination. This hardware substitution eliminates the overhead and complexity of software arbitration loops, polling, and context switching, while providing sufficient flexibility through configurable arbitration signal handling.
Data Source
AI summary
In accordance with embodiments of the present disclosure, an information handling system may include a communications bus, at least one target device communicatively coupled to the communications bus, and a plurality of master devices communicatively coupled to the communications bus and communicatively coupled to one another via a secondary arbitration connection. Each of the plurality of master devices may be configured to assert a respective secondary arbitration signal of the master device on the secondary arbitration connection to indicate ownership of the communications bus and deassert the respective secondary arbitration signal of the master device on the secondary arbitration connection to indicate non-ownership of the communications bus.


