Bus – MIPI Alliance

The MIPI Alliance’s protocol stack is quite extensive, which can indeed be confusing. Below, I will create a detailed comparison table and explain it in simple terms to help you quickly understand the differences and uses of these protocols.

Quick Guide to the MIPI Protocol Family

You can think of the MIPI protocols as different departments within a company (or project), each with its own area of expertise, but they also collaborate with each other.

1.Physical Layer (PHY) – Like the “logistics and transportation department”: Responsible for the lowest level of physical connections, defining how wires, voltages, and signals are transmitted. Any protocol with -PHY in its name falls under this category.

2.High-Level Protocols/Application Layer – Like the “sales, marketing, design, etc. departments”: These are built on top of the physical layer and are responsible for defining the format and purpose of the data (e.g., whether the data being transmitted is from a camera or a display).

3.Control/Interface Protocols – Like the “administrative and logistics departments”: Responsible for managing low-speed communication and control between devices.

MIPI Protocol Comparison Table

Protocol Name

Main Uses and Positioning

Protocol Layer

Key Features

Typical Application Scenarios

MIPI A-PHY

Long-distance, high-reliability asymmetric serial communication. Specifically designed for automotive applications.

Physical Layer (PHY)

Ultra-long distance: Up to 15 meters or moreHigh interference resistance: Optimized for harsh automotive electromagnetic environmentsHigh bandwidth: Future-proofed for up to 16 Gbps and beyondAsymmetric architecture: High-speed from controller to device, low-speed return channel

Automotive cameras, in-car displays, radar/LiDAR sensors

MIPI C-PHY

High-speed data transmission, three-wire architecture pursuing high bandwidth efficiency and noise immunity.

Physical Layer (PHY)

Three-wire (Triple Lane): No clock line, data is encoded through three linesHigh bandwidth efficiency: Typically higher bandwidth per line thanD-PHYStrong common-mode noise immunity capability

Main camera of smartphones/tablets, high-resolution displays

MIPI D-PHY

Classic, general-purpose high-speed data transmission, simple structure, widely used.

Physical Layer (PHY)

Four-wire (Dual Lane): 1 pair of clock lines + 1 or more pairs of data linesTwo modes: High-speed mode (data transmission) and low-power mode (control)Mature and stable, well-established ecosystem

Front cameras, secondary cameras, displays in smartphones

MIPI M-PHY

Ultra-high-speed, high-efficiency serial communication, supporting various advanced protocols as a foundational layer.

Physical Layer (PHY)

Extremely high rates (Gear 4 up to 11.6 Gbps per lane)Excellent scalability and power efficiencySupports multiple operating modes (PWM and SYS)– Typically not used directly, but as a foundation for UniPro, SSIC, etc.

UFS (Universal Flash Storage) flash memory, inter-chip connectivity

MIPI RFFE

Controls RF front-end components (such as power amplifiers, antenna tuners, switches, etc.).

Control Protocol

Two-wire (SCLK, SDATA)Ultra-low cost, very few pinsMaster-slave architecture: One master device can control multiple slave devices

RF module control in smartphones, tablets

MIPI I3C

Improves and unifies traditionalI²C and SPI buses for sensor control and medium-low speed data transmission.

Control/Interface Protocol

Two-wire (SCL, SDA), compatible withI²CFaster thanI²C, lower power consumptionIn-band interrupts, dynamic address allocation and other advanced features– Aimed at replacing I²C and SPI

Various sensors in smartphones (accelerometers, gyroscopes, ambient light sensors, etc.)

MIPI UniPro

General-purpose high-speed communication protocol stack for inter-chip connections.

High-Level Protocol Stack

– Built onM-PHY – Provides packet switching, flow control, error management and other functions– Like a miniature network connecting various chips within a smartphone

UFS flash memory, potentially for connecting application processors and modems in the future

MIPI CSI-2

Transmits camera image data to the processor using an industry-standard protocol.

Application Layer Protocol

Not a physical layer! It operates on top ofC-PHY/D-PHY/A-PHY– Defines the format, packaging, and transmission rules for image data – Supports various data formats (RAW, RGB, YUV)– Can bundle multiple data streams

Any camera module connection to the main chip

MIPI DSI-2

Transmits display data to the screen using an industry-standard protocol.

Application Layer Protocol

Not a physical layer! It operates on top ofC-PHY/D-PHY/A-PHY– Defines the transmission rules for display commands and pixel data – Supports video mode and command mode

Any display module (LCD, OLED) connection to the main chip

MIPI SoundWire

Transmits digital audio data and control commands, simplifying audio interface wiring.

Audio Protocol

1 clock line + 1 data line (up to 4 data lines)High bandwidth, low latency, low pin count– Integrates control and data channels

Audio codecs, speakers, amplifiers in smartphones, tablets, laptops

MIPI SLIMbus

Transmits digital audio data and control commands (the predecessor of SoundWire, now being replaced).

Audio Protocol

Two wires (clock + data)– More efficient than I²S, but complexity and power consumption are higher than SoundWire– Mainly used for multi-component audio systems

Audio subsystems in older smartphones (gradually being replaced by SoundWire)

MIPI Debug & Trace

Used for chip debugging and real-time tracking of internal operating states, assisting development.

Debug Toolset

– Not a functional protocol, but a set of development and testing tools– Provides non-intrusive debugging methods that do not affect chip operation– Helps engineers discover and resolve deep hardware/software issues

Chip and system development stages, used for performance analysis, troubleshooting

How to Understand and Choose? — A Simple Analogy

Suppose you want to build a logistics center (smartphone/automobile):

1.A-PHY, C-PHY, D-PHY, M-PHY: These are different specifications of highways and railways. Some roads are wide and fast (M-PHY), suitable for urban express delivery; others are particularly sturdy and long (A-PHY), suitable for interprovincial transport.

2.CSI-2 and DSI-2: These are standard containers for transporting goods. CSI-2 is a dedicated container for carrying camera images, while DSI-2 is a dedicated container for carrying display images. They can be transported on different “roads” (PHY).

3.I3C and RFFE: These are electric tricycles and motorcycles for urban express delivery. They are not fast, but very flexible and cheap, responsible for delivering commands and retrieving small amounts of data to various small departments (sensors, RF units).

4.UniPro: This is a set of advanced automated sorting and warehouse management systems, built on the fastest “railways” (M-PHY), efficiently managing the goods in and out of the core warehouse (flash memory).

5.SoundWire: This is a dedicated pipeline system for transporting “sound” as a special type of cargo, efficient and space-saving.

6.Debug & Trace: This is the monitoring system and operational log of the entire logistics center, used to identify where traffic jams occur and which links are inefficient, facilitating optimization by engineers.

Summary and Relationship Diagram

  • Hierarchical Relationships: Application Layer Protocols (e.g., CSI-2, DSI-2) -> High-Level Protocols (e.g., UniPro) -> Physical Layer (PHY). Upper-layer protocols require lower-layer protocols as carriers.

  • Selection Criteria:

  • For transmitting images/display: Preferably CSI-2 / DSI-2, paired with C-PHY or D-PHY (use C for efficiency, D for versatility and cost), while automotive applications use A-PHY.

  • For transmitting audio: Modern designs prefer SoundWire.

  • For controlling sensors: Modern designs prefer I3C.

  • For controlling RF: Must use RFFE.

  • For connecting ultra-high-speed storage: Use UFS, which is based on UniPro + M-PHY.

I hope this comparison table and explanation help you clearly understand the vast MIPI protocol family!

Leave a Comment