Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This guidance applies to Windows 11, version 25H2 and later.
The MIPI I3C protocol was originally based on the I2C protocol and designed with some level of backwards compatibility to I2C in mind. This means that certain existing I2C devices can be wired to an I3C HostController-Instance with minimal driver changes and can function as if it was connected to an I2C Host.
The i3chost.sys driver serves as a SpbCx client. I2C IO originates from SpbCx client connection.
Important
Although I2C is supported, native I3C Targets are recommended because they support:
- Faster bus speed support (12.5 MHz vs. 1 MHz)
- Reduced interrupt latency and power savings with IBIs
- Full-stack in-box I3C driver support (
i3chost.sys,hidi3c.dll,wini3ctarget.sys, etc.) - Protocol-level Quality of Service features not included in I2C
Limitations
From the MIPI I3C specification, there are crucial restrictions on the types of I2C devices that can be connected to the I3C HostController-Device.
An I2C Target connected to an I3C HostController-Device shall:
- Not perform clock stretching
- Not require HS and UFm timings (only Fm and Fm+ supported)
- Not use an I3C Reserved Address as its I2C static address
- 0x00, 0x01, 0x02, 0x7E, 0x7F are all reserved for I3C functionality
- 0x3E, 0x5E, 0x6E, 0x76, 0x7A, 0x7C, 0x7F as another I3C Target on the bus can interrupt as a malformed 0x7E I3C Broadcast Address
Additionally, any I3C HostController-Instance with an I2C Target attached may have some additional bus-wide limitations to maintain compatibility:
- If an I2C device does not have a 50 ns Spike Filter, HDR is disabled for the entire bus.
- If the I2C device does not have a 50 ns Spike Filter and cannot handle faster bus speeds, the entire bus is also slowed to 1 MHz.
If an I2C device must connect to an I3C HostController-Device, determine whether these limitations apply. If they do, connect the device to a dedicated HostController-Instance to avoid affecting the performance of other I3C devices on the bus.
ACPI requirements
For the I3C HostController-Instance to correctly recognize and associate the I2C device, there are some important ACPI definitions that are required.
Target requirements
When connecting to an I3C HostController-Instance, I2C Targets use a similar ACPI structure as was used for connecting to an I2C Host. The ACPI resource I2CSerialBusV2 should be used, with the following parameters:
| Parameter | Requirements |
|---|---|
| SlaveAddress | I2C static address for the device |
| SlaveMode | Only ControllerInitiated supported |
| ConnectionSpeed | Only 1000000 (1 MHz) and 400000 (400 kHz) supported |
| AddressingMode | Only AddressingMode7Bit supported |
| ResourceSource | ACPI string path to the I3C HostController-Device that is connected |
| ResourceSourceIndex | The I3C HostController-Instance of the matching I3C HostController-Device that is connected |
Example
I2CSerialBusV2 (0x13, ControllerInitiated, 1000000, AddressingMode7Bit, "\\_SB.I3C0", 0,,,)
Note
While the I3C DisCo specification may define the LVR and how to inject it, it is currently ignored as other ACPI DisCo definitions match or supersede the content.
Host requirements
The I3C HostController-Instance that the I2C device is connected to also needs ACPI definitions for proper compatibility.
The required additions are as follows:
| Definition | Options |
|---|---|
| mipi-i3c-i2c-devices-present | Value shall be based on the least compatible I2C device on the bus. The following options are:- 1 if the I2C device has a 50 ns spike filter and can ignore bus traffic occurring at I3C speeds (faster than 1 MHz) 2 if the I2C device lacks a 50 ns spike or cannot ignore I3C HDR traffic, but can still tolerate bus traffic at I3C speeds (faster than 1 MHz) 3 if the I2C device lacks a 50 ns spike and cannot tolerate bus traffic at I3C speeds (must be 1 MHz or slower) |
| mipi-i3c-i2c-modes-supported | A bitmask of I2C capabilities of the HostController-Instance. If absent, Fm and Fm+ are assumed supported. UDR1-3 is not currently supported. Bit 0: Fm Bit 1: Fm+ Bit 2: UDR1 Bit 3: UDR2 Bit 4: UDR3 |
| mipi-i3c-reserved-addresses | A Package list of the static address(es) for the I2C device(s) attached |
The following example is a template. Supply the other required DisCo properties for your system.
// I3C HostController-Instance 0
Name(CTR0, Package() {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties UUID
Package ()
{
Package (2) { "mipi-i3c-i2c-devices-present", 1 }, // I2C Targets are present that have a 50 ns Spike Filter
Package (2) { "mipi-i3c-i2c-modes-supported", 0x03 }, // Fm, Fm+
Package (2) { "mipi-i3c-reserved-addresses", Package() {0x12, 0x13} }, // Static address 0x12 and 0x13 must be reserved
<Any other required DisCo properties independent of I2C devices>
}
}) // End CTR0