CC Blog • Quick Bits • Resources

MIPI I3C Bus

Written by Andrew Levido

You are no doubt familiar with the I2C two-wire communications bus. Originally developed by Philips Semiconductors in the early 1980s, this bus is used in a truly huge variety of microcontrollers and peripherals. It uses just two  bidirectional open-drain lines, each pulled up by an external resistor.

The  MIPI Alliance has developed an updated specification known as I3C which addresses some of the limitations of the I2C bus and brings it up to date. I3C is backward compatible with I2C but introduces some new features including higher data rates and dynamic addressing (and much more.). Although it was introduced in 2016, we are just now starting to see I3C equipped devices hit the mainstream market.

The I2C bus is limited in bandwidth due to the open-drain nature of the bus drivers.  The bus is driven low but is pulled high passively.  This limits its speed to 400kHz typically (topping out at 3.4MHz for a few devices supporting high speed mode), meaning an effective data rate of around 0.3Mbps (or 3Mbps).

The I3C bus is capable of effective data rates of 11Mbps in standard data rate mode (and up to 33Mbps in some more exotic modes). This data rate is achieved by using a 12.5MHz clock and push-pull drivers  on both SCL and SDA. However, an I3C bus starts each transaction at a lower clock speed and with a passive pull-up on the SDA pin as we shall see below. The I3C SCL line, on the other hand, is always driven with a push-pull driver (which means I3C does not support clock-stretching).

Both I3C and classic I2C devices can exist on the bus at the same time. I3C takes advantage of the 50µs glitch filters that I2C devices are required to have in their SDA and SCL pins. When communicating with I3C devices the clock duty cycle is controlled such that the clock high pulses are always shorter than 45µs, so I2C devices completely ignore these transactions. The controller switches its clock to 50% duty cycle when it wants to communicate with the I2C devices on the bus.

In SDR mode, I3C transactions look a lot like I2C transactions. Figure 1 shows I2C and I3C writes for comparison. In both cases the transaction begins with the controller issuing a start or restart condition, followed by a 7-bit device address and zero bit to indicate a write. The target responds with an ACK by pulling the SDA line low for one clock.

Figure 1
A Standard Data Rate I3C write transaction looks a lot like a classic I2C one. The key difference is that data bytes sent from the controller (green) are followed by a parity bit (T-bit) rather than and acknowledge from the receiving device.

In the case of I2C, the data bytes are clocked out by the controller and the target acknowledges (ACKs) each one by pulling the SDA line low on the clock cycle following the data. In the case of I3C the data is sent similarly but, instead of the ACK signal provided by the target, a “T-bit” is provided by the controller. For writes, the T-bit is a parity bit for the preceding byte.

Reading data is similar (Figure 2). After writing the register address, a restart is signalled and the device address and read flag are sent by the controller. The target acknowledges the address. For the I2C case, the device then begins sending data bytes, each of which is acknowledged by the controller. I3C works the same way, except that the T-bit, sent by the target, replaces the ACK bit after each data byte. In the case of reads, the T-bit is used by the target to indicate whether or not there are further data bytes to follow.

Figure 2
Just like the write transaction, an I3C read looks a lot like its I2C equivalent. The T-bit following data written by the target (purple) is a 1 if there is more data to follow and a zero if all data has been sent.

You will probably have noticed that once the address is acknowledged the T-bit is sent by the device writing data on the bus – the opposite to the I2C scenario where the ACK bit comes from the receiving device. This is because the I3C bus switches to push-pull drivers after the address is acknowledged.

Figure 3 shows this is in some detail. After the start condition, the SDA line is configured in open-drain mode and the SCL frequency is set to 4MHz, the maximum that can be achieved with passive pull-up on SDA. Once the address is ACKed, the SDA line is switched to push-pull drivers and the SCL frequency upped to 12.5MHz for fast data transfer. You can see in Figure 3 that in both open-drain and push-pull cases the SCL high pulse is limited to 45µs to ensure any I2C devices on the bus do not react to the transaction.

Figure 3
IN an I3C transaction the address byte is sent with the bus in open-drain mode, but once the target acknowledges it, the SDA line switches to push-pull mode and the clock frequency is stepped up to 12.5MHz. Note that at all times the SCL high pulse is less than 45µs long so it will be ignored by legacy I2C devices on the bus.

The 7-bit (or rarely used 10-bit) address limit on classic I2C devices means there are plenty of different devices out there with overlapping addresses. This can be a real problem with low-pin count devices that don’t offer configurable device addresses. I3C supports dynamic addressing which allows the controller to assign each target a unique 7-bit address more or less arbitrarily. Of course, devices with fixed 7-bit addresses are also supported. Devices with 10-bit addresses are not supported.

Each I3C device does have a unique 48-bit address, but this is only used when the controller assigns the device a dynamic address (typically at power-up) which will be used thereafter. The I3C standard uses the reserved I2C address, 0x7E  to indicate to all targets that a command byte is about to be sent. One of these commands tells the devices on the bus (which do not have already have dynamic addresses assigned) to be ready to be assigned one.

Each assignment cycle begins with another reserved byte (0x7E), then all devices not already having a dynamic address simultaneously acknowledge and begin sending out their unique 48-bit addresses. The SDA pin is open drain during this exercise, so an automatic arbitration process takes place and the device with the lowest address “wins”. The controller then assigns this device a 7-bit address, then resends the reserved byte. The next lowest-addressed target is likewise allocated a dynamic address and so on, until there are no devices left.

Figure 4 shows how this arbitration works using an 8-bit example for simplicity. In this case device 1 and device 2 are simultaneously sending their addresses (0x3D and 0x32 respectively) MSB-first. For the first 4 bits (bits 7 to 4), the device addresses are identical, and the bits placed onto the bus match those of each device’s address, so both devices are still in the running.

Figure 4
This example shows how address arbitration works. Each device puts its address on the SDA line at the same time, starting with the MSB. If there is a mismatch, the device with a zero bit will dominate since drivers are open drain with a passive pull-up. The device outputting a one (device 1 in this case) loses the arbitration and stops sending its address.

On bit 3 however, device 1 will assert a one and device 2 will assert a zero on the bus. The zero will dominate since the bus is open drain and actively driven low.  Device 1 will detect that the bus level is different from its address and will concede the arbitration and stop sending its address. Device 1 will continue the process until bit 0 at which point it will have won the arbitration.

This has been a very quick taster of what I3C has to offer. There are some other very interesting features including in-band interrupts, allowing devices to interrupt the controller, for example when new data is ready, without requiring a dedicated interrupt signal. The reference material below is a good place to start exploring.

As of today, only a limited number of microcontrollers and peripherals support I3C but it does seem to be gaining traction. I suspect it won’t be too long before we see it more widely deployed.

Bibliography

“I2C-Bus Specification and User Manual” 2021 (2021). https://www.nxp.com/docs/en/user-guide/UM10204.pdf.

“I3C and I3C Basic | MIPI.” Accessed January 19, 2024. https://www.mipi.org/specifications/i3c-sensor-specification.

“Mipi-I3C-v1-1-1-and-I3C-Basic-v1-1-1-FAQ-v1.1-Public.Pdf.” Accessed January 26, 2024. https://2384176.fs1.hubspotusercontent-na1.net/hubfs/2384176/FAQs/mipi-I3C-v1-1-1-and-I3C-Basic-v1-1-1-FAQ-v1.1-Public.pdf.

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the Dec 2022 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

Sponsor this Article
+ posts

Andrew Levido (andrew.levido@gmail.com) earned a bachelor’s degree in Electrical Engineering in Sydney, Australia, in 1986. He worked for several years in R&D for power electronics and telecommunication companies before moving into management roles. Andrew has maintained a hands-on interest in electronics, particularly embedded systems, power electronics, and control theory in his free time. Over the years he has written a number of articles for various electronics publications and occasionally provides consulting services as time allows.

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2026 KCK Media Corp.

MIPI I3C Bus

by Andrew Levido time to read: 6 min