I2C Device Type Detection via Bus Address Lookup
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for determining the type of a device connected to an inter-integrated circuit (I2C) require a circuit diagram to identify bus addresses and assume a device's presence, failing to verify if unconnected addresses are truly empty.
Innovation Solution
A method involving a processor that transmits requests to multiple I2C bus addresses, receives response messages, and uses a lookup table to determine device types without relying on circuit diagrams or prior knowledge of bus addresses, allowing for flexible identification of connected devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If a circuit diagram is used to identify device types and bus addresses, then device information can be obtained, but the system lacks flexibility and cannot verify actual device presence
Solution Approach 1:
The system performs self-diagnosis by automatically transmitting requests to bus addresses and analyzing response messages to determine device presence and types, eliminating the need for external circuit diagrams and manual verification
Solution Approach 2:
The system transmits requests to bus addresses and analyzes the feedback response messages to determine device presence and types, creating a closed-loop verification system that confirms actual device connectivity
2Adaptability or versatility
If bus addresses are predetermined based on circuit diagrams, then device communication can be established, but the system cannot adapt to actual device connections
Solution Approach 1:
The system pre-transmits requests to multiple bus addresses to proactively identify device presence and types before actual communication is needed, eliminating the need for time-consuming device identification during operation
Solution Approach 2:
The system creates a dynamic mapping between bus addresses and device types by analyzing response messages, replacing the static circuit diagram with an actual device connection map
3Reliability
If IPMI commands are transmitted to verify device connections, then device presence can be confirmed, but the process requires prior knowledge of device types and instruction sets
Solution Approach 1:
Instead of transmitting complex IPMI commands that require prior knowledge of device types, the system transmits simplified requests and determines device types by analyzing the response messages, inverting the traditional verification approach
Data Source
AI summary
A method for determining a type of a device connected to an inter-integrated circuit (I2C) includes steps of: a) transmitting requests to bus addresses of the I2C, respectively; b) upon receipt of a response message transmitted by a device in response to receipt of one of the requests from one of the bus addresses, determining that the device is connected to said one of the bus addresses; and c) according to a lookup table that includes plural of entries, each of which has a corresponding device type and respective address set consisting of at least one reference address conforming with one of the bus addresses, determining a type of the device as one of the device types in the lookup table with reference to said one of the bus addresses.


