Inter-Integrated Circuit
I²C is an addressed serial bus that uses a data line and clock line, with defined signaling, acknowledgment and arbitration behavior.
Not independently verified. References are provided for review; their presence does not certify every claim.
I²C is an addressed serial bus that uses a data line and clock line, with defined signaling, acknowledgment and arbitration behavior.
Sharing two signal lines
SDA carries data and SCL carries the clock. Conventional I²C uses open-drain signaling with pull-up resistors. A controller starts a transaction, addresses a target, transfers bytes and observes acknowledgments.
The address identifies a target on the bus; it is not an IP address. Check whether documentation writes an address as a seven-bit value or includes a read/write bit in an eight-bit notation.
Sensor example
A register read may require writing a register pointer followed by a repeated START and read. The exact sequence belongs to the target's documented protocol. An acknowledgment does not prove the device is the expected model or that every command is safe.
Common failures
Wrong pull-up values, incompatible voltage levels, address collisions and excessive capacitance can cause unreliable transactions. A device can hold a line low after an interrupted transaction; recovery must follow the component and controller documentation.
I²C typically provides no cryptographic authentication. Physical bus access may expose data or device control.
Practice
Inspect an owned sensor's datasheet, address selection pins and voltage requirements. Capture a known transaction and identify START, address, acknowledgments and STOP. Assessment: distinguish an electrical fault from a wrong register transaction. Compare wiring and addressing trade-offs with SPI.
References and verification
These sources are provided for claim review. This article is Needs review; no verification date is asserted. Original research ranges, where available, are retained in the catalog.
- UM10204 — I2C-bus specification and user manual — NXP Semiconductors.
- Raspberry Pi Pico-series documentation — Raspberry Pi.
- ESP-IDF Programming Guide — Espressif.
References & provenance
NXP Semiconductors · Specification · Needs review · Access date not recorded
- I2C transactions, addressing and electrical requirements
Raspberry Pi · Official documentation · Needs review · Access date not recorded
- Board variants, SDKs and peripheral programming
Espressif · Official documentation · Needs review · Access date not recorded
- ESP32 programming and target-specific peripheral behavior
Original research context, including questions and later corrections:
Research lines 9815–10019My learning
Your learning
Saved in this browser. Status and proficiency are independent.
Loading your saved workspace…