I2C (Inter-Integrated Circuit; pronounced as "eye-squared-see" or "eye-two-see"), alternatively known as I2C and IIC, is a synchronous, multi-master/multi-slave, single-ended, serial communication bus invented in 1980 by Philips Semiconductors (now NXP Semiconductors). It is widely used for attaching lower-speed peripheral integrated circuits (ICs) to processors and microcontrollers in short-distance, intra-board communication. The I2C bus can be found in a wide range of electronics applications where simplicity and low manufacturing cost are more important than speed. PC components and systems which involve I2C include serial presence detect (SPD) EEPROMs on dual in-line memory modules (DIMMs) and Extended Display Identification Data (EDID) for monitors via VGA, DVI, and HDMI connectors. Common I2C applications include reading hardware monitors, sensors, real-time clocks, controlling actuators, accessing low-speed DACs and ADCs, controlling simple LCD or OLED displays, changing computer display settings (e.g., backlight, contrast, hue, color balance) via Display Data Channel, and changing speaker volume. A particular strength of I2C is the capability of a microcontroller to control a network of device chips with just two general-purpose I/O pins. Many other bus technologies used in similar applications, such as Serial Peripheral Interface Bus (SPI), require more pins and signals to connect multiple devices. System Management Bus (SMBus), defined by Intel and Duracell in 1994, is a subset of I2C, defining a stricter usage. One purpose of SMBus is to promote robustness and interoperability. Accordingly, modern I2C systems incorporate some policies and rules from SMBus, sometimes supporting both I2C and SMBus, requiring only minimal reconfiguration either by commanding or output pin use. System management for PC systems uses SMBus, whose pins are allocated in both conventional PCI and PCI Express connectors.
Invention In the European Patent EP0051332B1 Ad P.M.M. Moelands and Herman Schutte are named as inventors of the I2C bus. Both were working in 1980 as development engineers in the central application laboratory CAB of Philips in Eindhoven, where the I2C bus was developed as "Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations". The US patent was granted under number US 4689740A . The internal development name of the bus was first COMIC, which was later changed to I2C. The patent was transferred to Koninklijke Philips NV.
Design I2C patents and specifications used the terms master/slave between 1980 and 2021. In 2021, revision 7 of the I2C specification changed the terms to controller/target. The technical definitions of such devices, and their roles on an I2C bus, remain unchanged. I2C uses only two signals: serial data line (SDA) and serial clock line (SCL). Both are bidirectional and pulled up with resistors. Typical voltages used are +5 V or +3.3 V, although systems with other voltages are permitted. The I2C reference design has a 7-bit address space, with a rarely used 10-bit extension. Some vendors report 8-bit and 11-bit addresses instead, as the lowest bit in the first address byte is used to differentiate between write and read commands. Common I2C bus speeds are the 100 kbit/s standard mode and the 400 kbit/s fast mode. There is also a 10 kbit/s low-speed mode, but arbitrarily low clock frequencies are also allowed. Later revisions of I2C can host more nodes and run at faster speeds (400 kbit/s fast mode, 1 Mbit/s fast mode plus, 3.4 Mbit/s high-speed mode, and 5 Mbit/s ultra-fast mode). These speeds are more widely used on embedded systems than on PCs. Note that the bit rates are quoted for the transfers between controller (master) and target (slave) without clock stretching or other hardware overhead. Protocol overheads include a target address and perhaps a register address within the target device, as well as per-byte ACK/NACK bits. Thus the actual transfer rate of user data is lower than those peak bit rates alone would imply. For example, if each interaction with a target inefficiently allows only 1 byte of data to be transferred, the data rate will be less than half the peak bit rate. The number of nodes that can exist on a given I2C bus is limited by the address space and also by the total bus capacitance of 400 pF, which restricts practical communication distances to a few meters. The relatively high impedance and low noise immunity require a common ground potential, which again restricts practical use to communication within the same PC board or small system of boards.
Reference design The aforementioned reference design is a bus with a clock (SCL) and data (SDA) lines with 7-bit addressing. The bus has two roles for nodes, either controller (master) or target (slave):
Controller (master) node: Node that generates the clock and initiates communication with targets (slaves). Target (slave) node: Node that receives the clock and responds when addressed by the controller (master). The bus is a multi-controller bus, which means that any number of controller nodes can be present. Additionally, controller and target roles may be changed between messages (after a STOP is sent). There may be four potential modes of operation for a given bus device, although most devices only use a single role and its two modes:
… excerpt ends here. Continue reading the full article.


![I2C: Microchip MCP23008 8-bit I2C I/O expander in DIP-18 package[2]](https://thumb.wikimedia.org/wikipedia/commons/thumb/8/87/I_O_Expander_-_MCP23008_%2846357574392%29.jpg/500px-I_O_Expander_-_MCP23008_%2846357574392%29.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)

![I2C: STMicroelectronics M24C08-BN6: serial EEPROM with I2C bus[6]](https://thumb.wikimedia.org/wikipedia/commons/thumb/3/34/Medion_MD8910_-_STMicroelectronics_24C08-8003.jpg/1280px-Medion_MD8910_-_STMicroelectronics_24C08-8003.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![I2C: I2C bus: Rp are pull-up resistors, Rs are optional series resistors.[3]](https://thumb.wikimedia.org/wikipedia/commons/thumb/2/27/Iicrp.png/330px-Iicrp.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)