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
Tom Hope, CardLogix: “digital identity stored in a mobile phone carries the highest risk”
We carry our IDs and credit cards with us everywhere and assume that since they aren’t completely digital, they don't need much security. But this isn’t completely true. Regular users resort to using Virtual Private Networks for guarding their
CardLogix introduce the BIOSID PRO: Mobile Biometric Enrollment / Validation / Verification tablet.
The BIOSID PRO is a biometric enrollment, validation (AFIS) and verification tablet with the capability to store and verify the enrollee information on a smart card, on the cloud, or through the device regardless of if it is connected to
Aspects’ new software functionality saves time and money for wireless test engineers
Aspects is announcing 3G and GSM Tools 5.1, the latest release of their leading suite of wireless testing tools at the 3GSM World Congress in Barcelona. These complement their market leading test tool suite and will work in conjunction with
BIO-key Announces New MobilePOS Pro Android All-in-one Terminal Enabling Convenient Biometric-Secured Commerce
WALL, N.J., Aug. 18, 2021 -- BIO-key International, Inc. (NASDAQ: BKYI), an innovative provider of civil, workforce and customer identity and access management (IAM) solutions featuring Identity-Bound Biometrics, today announced the availability of BIO-key MobilePOS Pro, a handheld, biometrically-enabled, rugged
Thales Biometric Payment Card: a Secure Innovation in Your Pocket
PARIS LA DÉFENSE--Jul 20, 2021-- Payment cards are familiar products, which are part of our daily lives. They have evolved quickly over recent years with the emergence of contactless technology. At the heart of this move, Thales has helped banks
Thales Supports Mobile Operators With Advanced Voice Biometric Authentication
July 07, 2021 -- PARIS LA DÉFENSE -- Thales announces a new voice biometric solution which is part of Thales Trusted Digital Identity Service Platform for onboarding and authentication. It meets the growing demand from mobile operator call centres to fight identity