I²C (2-wire), alternatively I²C is spelled I2C (pronounced I-square-C) or IIC (pronounced I-I-C), is a multi-master, multi-slave, packet switched, single-ended, serial computer bus invented in 1982 by Philips Semiconductor (now NXP Semiconductors). I2C is a serial communication protocol, so data is transferred bit by bit along a single wire (the SDA line). It is widely used for attaching lower-speed peripheral ICs to processors and microcontrollers in short-distance, intra-board communication. I2C is synchronous, so the output of bits is synchronized to the sampling of bits by a clock signal shared between the master and the slave. The clock signal is always controlled by the master.
The I2C bus is currently still a common communication peripheral used by various circuits and is simple to implement. In I2C, both buses are bidirectional, which means the master able to send and receive the data from the slave. The clock bus is controlled by the master but in some situations slave is also able to suppress the clock signal, but we will discuss it later. No matter how many devices are connected to the bus, only two signal lines (clock SCL and data SDA) are needed. The I2C multi-master bus is superior to the SPI (Serial Peripheral Interface) four wire-based full-duplex communication protocol.
The I2C interface is allows for it to communicate with slow devices while also having high-speed modes to transmit large data. The transmission rate can reach 100kbit/s in standard mode, 400kbit/s in fast mode, and 3.4Mbit/s in high-speed mode. I2C remains as one of the best communication peripheral to connect devices.
I2C data is transferred in messages. Messages are broken up into frames of data. Each message has an address frame that contains the binary address of the slave, and one or more data frames that contain the data being transmitted. The message also includes start and stop conditions, read/write bits, and ACK/NACK bits between each data frame.
Advantages of I2C communication protocol
- It is the synchronous communication protocol, so no need of precise oscillators for the master and slave.
- It requires only two-wire, one wire for the data (SDA), and other wire for the clock (SCL).
- It provides the flexibility to the user to select the transmission rate as per the requirements.
- In I2C Bus, each device on the bus is independently addressable.
- It follows the master and slave relationships.
- It has the capability to handle multiple masters and multiple slaves on the I2C Bus.
- I2C has some important features like arbitration, clock synchronization, and clock stretching.
- I2C provides ACK/NACK (acknowledgment/ Not-acknowledgement) features that provide help in error handling.
Limitations of I2C communication protocol
- It consumes more power than other serial communication busses due to open-drain topology.
- It is good only for a short distance.
- I2C protocol has some limitation for the number of slaves, the number of the slave depends on the capacitance of the I2C bus.
- It only provides a few limited communication speed like 100 kbit/s,400 kbit/s, etc.
- In I2c, devices can set their communication speed, slower operational devices can delay the operation of faster speed devices.
List of known I²C’s used for memory cards
- Atmel (now Microchip): AT24C01A, AT24C02, AT24C04, AT24C08, AT24C1024, AT24C128, AT24C16, AT24C164, AT24C256, AT24C32, AT24C512, AT24C64, AT24CS128, AT24CS256
- Microchip: 24LC01SC, 24LC02SC, 24LC04SC, 24LC08SC, 24LC16SC, 24LC32SC, 24LC64SC, 24LC128SC, 24LC256SC, 24LC512SC, 24LC1024SC
- Gemalto (GemPlus): GFM2K,GFM32K,GFM4K
- NXP Semiconductors: TDA8004 and TDA8002
- ST-Microelectronics: M14128, M14256, M14C04, M14C16, M14C32, M14C64, ST14C02C,S T14C04C, ST14E32
- Teridian Semiconductor: 73S8010R and 73S8010C
Related Products
Related Articles
NXP Simplifies NFC Security Applications with New MIFARE DUOX
November 26, 2024 -- NXP’s new MIFARE DUOX is the first contactless NFC IC in its class to combine asymmetric and symmetric cryptography in a single chip, enabling simplified key management and fast asymmetric authentication for EV charging authentication, secure
Thales Releases SafeNet IDPrime 940C/3940C Smart Cards
September 30th, 2024 -- Thales is excited to release the SafeNet IDPrime 940C/3940C smart card. The SafeNet IDPrime 940C is a contact interface smart card and the SafeNet IDPrime 3940C is a dual-interface smart card, allowing communication either via a
How is Agilia “The Game Changer” in the retransfer market?
04 Mar 2024 -- Agilia, the brand-new Evolis card printer featuring retransfer printing technology, aims to be “The Game Changer” in this market. With this strong, assertive positioning, Evolis intends to shake up the established order, and has given
DASCOM Americas Announces DC-240 Value-Priced Direct-to-Card Printer with Bundled Supplies
MAY 28, 2024 -- DASCOM Americas, a Virginia-based subsidiary of DASCOM, a recognized global leader in business document print solutions announces its latest addition to its card printer line. The DC-240 is a value-priced, single-sided, direct-to-card printer that will be sold
DASCOM Americas Unveils Revolutionary PatchIM™ Solution at Global Securities Exchange Show in Dallas
SEPTEMBER 11, 2023 -- (Dallas, TX) DASCOM Americas, a recognized industry leader in business technology print solutions, today unveiled PatchIM™, a unique smart card printer innovation that allows users to laminate cards without the need for a separate laminator. DASCOM is
Evolis shareholders intend to sell Evolis to HID Group, a subsidiary of Assa Abloy
20 Jul 2023 -- The co-founders and the Board of Directors of Evolis are pleased to inform you that the shareholders of edys & Co, which holds approximately 84.43% of the share capital and voting rights of Evolis (i.e. 4,407,707 shares),