I²C

abbreviationStandard termElectronics

A two-wire serial communication protocol used to connect low-speed peripherals to a processor.

Inter-Integrated Circuit is a synchronous, multi-master, multi-slave packet switched serial bus. It uses only two bidirectional open-drain lines, Serial Data and Serial Clock, pulled up with resistors. Designers use it extensively to attach sensors, EEPROMs, and real-time clocks to microcontrollers because it requires minimal pin count and traces on the printed circuit board.

Heard on the job

Check the pull-up resistors on the I²C bus, the clock line looks like a shark fin instead of a square wave.

Do not mix it up with

  • SPI: I²C uses two wires and supports multiple masters, while SPI uses four wires and is strictly single-master but operates at much higher speeds.