ArticleslgStudy

science

I2C

I2C is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand I2C rather than just read about it. In short: 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 co…

I2C — main illustration
I2C — illustration

Key takeaways

  • I2C belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect I2C to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of I2C from memory before moving on to harder problems.

Reference excerpt

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.

Illustrations

I2C illustration
I2C: Microchip MCP23008 8-bit I2C I/O expander in DIP-18 package[2]
Microchip MCP23008 8-bit I2C I/O expander in DIP-18 package[2]
I2C: An example schematic with one controller (a microcontroller), three target nodes (an ADC, a DAC, and a microcontroller), and pull-up resistors Rp
An example schematic with one controller (a microcontroller), three target nodes (an ADC, a DAC, and a microcontroller), and pull-up resistors Rp
I2C: STMicroelectronics M24C08-BN6: serial EEPROM with I2C bus[6]
STMicroelectronics M24C08-BN6: serial EEPROM with I2C bus[6]
I2C: I2C bus: Rp are pull-up resistors, Rs are optional series resistors.[3]
I2C bus: Rp are pull-up resistors, Rs are optional series resistors.[3]

Worked examples

Example 1 — a first encounter with I2C

Start with the simplest possible case. Write down what I2C claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to I2C before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about I2C ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of I2C

In research
I2C appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses I2C in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
I2C is common in secondary-school and first-year university syllabi. It links to neighbouring topics Serial buses, so understanding it makes those chapters shorter.
In everyday life
Look for I2C outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “I2C” →

How to study I2C in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what I2C means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain I2C out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is I2C in simple terms?

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 attachi…

Why does I2C matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study I2C?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on I2C.

Tags

  • Serial buses

Keep exploring