MIPI CSI-2 and DSI Camera and Display Interfaces
MIPI CSI-2 connects camera sensors to processors and MIPI DSI connects processors to display panels. Both usually run on the MIPI D-PHY: a differential clock lane and one to four data lanes that switch between a fast, low-swing high-speed (HS) mode for pixels and a slow, 1.2 V low-power (LP) mode for control. A logic analyser cannot follow HS video, but it can capture and decode the LP-mode traffic, which is where DSI panel initialisation commands, lane state sequences and many bring-up faults live.
How a CSI-2 or DSI Link Is Built
Each D-PHY lane is a differential pair. In HS mode the transmitter drives a small differential signal into a terminated receiver at hundreds of Mbit/s to several Gbit/s per lane. In LP mode the two wires of the pair are driven separately as 1.2 V CMOS signals. LP-11 is the stop state, and short sequences of LP-11, LP-10, LP-01 and LP-00 request HS mode (LP-11, LP-01, LP-00), enter escape mode (LP-11, LP-10, LP-00, LP-01, LP-00) or turn the bus around. CSI-2 cameras are configured over a separate two-wire camera control interface (CCI) that is compatible with I2C. DSI displays take their configuration over the DSI link itself, usually in LP mode, where commands go on data lane 0 only; commands sent in HS mode are spread across all the data lanes like pixel data.
CSI-2 from version 1.3, and DSI-2, the successor to DSI, also run on the MIPI C-PHY, which uses three-wire trios instead of differential pairs. C-PHY has LP modes too, but the decoders listed below are described by their makers for D-PHY low-power traffic, so check with us before buying for a C-PHY design.
Packets, Data Types and Commands
- Short packets carry events and small commands: in CSI-2, frame start (data type 0x00), frame end (0x01), line start and line end; in DSI, DCS short writes (0x05 with no parameter, 0x15 with one) and reads (0x06).
- Long packets carry a line of pixels in CSI-2, identified by data types such as RAW8 (0x2A), RAW10 (0x2B) or YUV422 8-bit (0x1E), and multi-byte commands in DSI, such as a DCS long write (0x39).
- ECC and checksum: the header ECC corrects single-bit errors and detects double-bit errors; the 16-bit checksum protects the payload.
- Virtual channels let one link carry several streams, for example image data and embedded statistics from one sensor, or two sensors through an aggregator.
DSI Commands You Will See During Panel Bring-Up
| DCS Command | Code | What It Does |
|---|---|---|
| exit_sleep_mode | 0x11 | Wakes the panel driver; most datasheets require a delay before the next command |
| set_display_on | 0x29 | Turns the display output on after initialisation |
| set_display_off | 0x28 | Blanks the display |
| enter_sleep_mode | 0x10 | Puts the panel driver into sleep |
| write_memory_start | 0x2C | Starts a frame-memory write in command mode panels |
| Set maximum return packet size | 0x37 (data type) | Sent before a read so the panel knows how many bytes it may return |
Panel vendors add many manufacturer-specific commands for gamma, power and timing, sent as generic or DCS long writes. A decoded capture of the LP traffic is the quickest way to compare your initialisation sequence with the one in the panel datasheet.
Where CSI-2 and DSI Are Used
- Phones, tablets and wearables: almost every camera module and display panel.
- Automotive: surround view, driver monitoring and dashboard displays, often with a serialiser carrying CSI-2 over a longer cable.
- Embedded vision: single-board computers and machine-vision modules with CSI-2 camera connectors.
- Medical and industrial displays: small DSI panels on handheld instruments and control panels.
Common CSI-2 and DSI Faults and How to Find Them
| Symptom | Likely Cause | What to Check |
|---|---|---|
| DSI panel stays blank | Initialisation sequence wrong, out of order, or missing a delay after exit_sleep_mode | Decode the LP commands and compare codes, parameters and gaps with the panel datasheet |
| Panel reads return nothing | No bus turnaround, or maximum return packet size not set | Look for the BTA sequence and the 0x37 packet before the read |
| Camera never streams | Sensor not configured over CCI, or wrong address | Decode the CCI bus with an I2C decoder: address, register writes, acknowledges |
| Lanes stuck in LP-11 | Transmitter never requests HS mode; clock lane not started | Capture LP states on the clock lane and data lane 0 after the stream-on command |
| Image corrupted or ECC errors | Lane order or polarity swapped, or skew between lanes | Check the schematic lane mapping; HS signal quality needs an oscilloscope with suitable bandwidth |
Tools for Decoding MIPI CSI-2 and DSI
Watch tools record the lanes single-ended and decode the low-power traffic: LP state changes, escape mode and packets sent in LP data transmission. They do not capture HS-mode pixel data, which needs a dedicated D-PHY protocol analyser. Probe close to the receiver with short leads, and set the logic threshold for 1.2 V LP signalling.
| Product | Role | Capability | Price ex VAT |
|---|---|---|---|
| Acute TravelLogic 34-Channel | Watch | Logic analyser running Acute's decoder library, which includes MIPI DSI LP; the MIPI CSI LP decoder is supplied on request from Acute | £1,260 |
| ZeroPlus LAP-C Pro Series | Watch | Logic analyser with MIPI CSI-2 and MIPI DSI decoders for LP mode in ZeroPlus's decoder library; ask us to confirm which decoders come with your LAP-C Pro model | £925 |
The CCI camera control bus is I2C, so any of the tools in our I2C guide will decode it. Not sure what you need for an HS-mode problem? Tell us the sensor or panel and the lane rate.
Frequently Asked Questions
Can a Logic Analyser Decode MIPI CSI-2 Video?
Not the video itself. Pixel data travels in HS mode at hundreds of Mbit/s or more per lane with a swing of about 200 mV, which a logic analyser cannot follow. It can decode the 1.2 V low-power traffic: lane states, escape mode and LP packets. For CSI-2, decode the CCI control bus with an I2C decoder as well.
What Is the Difference Between CSI-2 and DSI?
They share the packet structure and usually the D-PHY, but CSI-2 carries image data from a camera to a processor and DSI carries image data and commands from a processor to a display. DSI sends panel commands over the display link itself, often in LP mode on data lane 0; CSI-2 uses a separate I2C-compatible bus for camera control.
What Are LP-11 and LP-00?
They are the low-power line states of a D-PHY lane, naming the level of each wire of the pair. LP-11, both high, is the stop state between transmissions. Sequences of LP-11, LP-01 and LP-00 request HS mode; other sequences enter escape mode or turn the bus around.
Why Does My DSI Panel Work on One Board and Not Another?
Most often the initialisation sequence or its timing differs: a missing delay after exit_sleep_mode, a command sent in HS mode that the panel expects in LP mode, or a different lane count. Capture both boards and compare the decoded LP commands.
Do These Decoders Work on C-PHY?
The makers describe their decoders for D-PHY LP mode. Check with us before relying on them for a C-PHY link.
More Protocols
By John Legg CEng, Director, Debug Store. Updated 24 November 2026.