How MIPI CSI-2 works
MIPI CSI-2, the Camera Serial Interface 2, is the specification that defines how an image sensor sends pictures to a processor. It is published by the MIPI Alliance, the industry body formed to standardise interfaces inside mobile devices (MIPI stands for Mobile Industry Processor Interface). The first version appeared in 2005, and it is now the usual camera input on smartphone processors and on embedded processors such as NVIDIA Jetson, NXP i.MX, Rockchip and Raspberry Pi.
A CSI-2 link is one-way and packet based. The sensor splits each frame into lines and each line into packets with a header and error checking, then sends them over one to four high-speed data lanes alongside a clock. A separate low-speed control channel, compatible with I²C, lets the processor set exposure, gain and frame rate. Virtual channels let one link carry several streams, such as two exposures for high dynamic range or the outputs of several sensors behind a serialiser.
Because the link is so direct, there is very little in the way: the raw sensor data goes straight into the processor’s image signal processor (ISP) for demosaicing, noise reduction and colour correction, with low latency and low power.
D-PHY, C-PHY and A-PHY
CSI-2 sets the protocol. The electrical signalling underneath comes from separate MIPI physical layer specifications, and the choice sets the speed and the distance.
-
//
D-PHY. The most common layer: one clock lane plus one to four data lanes, each a differential pair. Current versions run at up to about 4.5 Gb/s per lane.
-
//
C-PHY. Uses three-wire trios with an embedded clock and encodes more bits per symbol, giving higher bandwidth for the same pin count. Supported by Jetson Orin and many phone processors.
-
//
A-PHY. A long-reach layer for vehicles that carries CSI-2 over cable runs of up to around 15 m, competing with proprietary serial links.
-
//
Lanes and bandwidth. A 4K sensor at 30 fps usually needs two to four D-PHY lanes, so lane count limits how many cameras a processor can take.
Cable length and connectors
The main limit of MIPI CSI-2 is distance. D-PHY was designed for the few centimetres inside a phone, so in embedded systems the camera normally sits on a flat flexible cable of around 30 cm, and some interface boards stretch that to about 50 cm with careful design. Connectors are fine-pitch FPC or board-to-board types; the Raspberry Pi’s 15-pin and 22-pin ribbon connectors are the best-known examples.
For longer runs, the CSI-2 stream is serialised onto coax or fibre and converted back near the processor. GMSL from Analog Devices and FPD-Link from Texas Instruments both work this way, and the processor still sees an ordinary CSI-2 input. Our GMSL cameras use that approach to reach 15 m on a vehicle or robot, and our guide to GMSL technology for industrial edge AI explains the serialiser chain in detail.
How MIPI CSI-2 compares with GMSL, GigE and USB3 cameras
CSI-2 is one of four camera interfaces commonly found on industrial and edge AI computers. The right one depends mostly on the distance between camera and computer and how many cameras the system needs.
| Interface | Typical reach | Bandwidth per camera | Cable | Best suited to |
|---|---|---|---|---|
| MIPI CSI-2 (D-PHY) | Around 30 cm | Up to about 4.5 Gb/s per lane, 1–4 lanes | Flat flex cable | Compact devices with the camera close to the board |
| GMSL2 or FPD-Link | Up to around 15 m | Up to 6 Gb/s (GMSL2) | Coax with Fakra, power over coax | Vehicles, robots, multi-camera rigs |
| GigE Vision | Up to 100 m | 1 Gb/s, or 10 Gb/s on 10GigE | Ethernet, often with PoE | Factory lines and long cable runs |
| USB3 Vision | Around 3–5 m passive | About 5 Gb/s, roughly 3.6 Gb/s usable | USB 3 cable, often locking | Lab systems and quick integration |
CSI-2 has the lowest latency, power and cost per camera, but it ties the camera to the processor’s own interface and drivers. GigE and USB cameras are interchangeable between computers, while a CSI-2 sensor needs a driver written for that processor. Whatever the interface, sensor choice matters as much; our article on global shutter vs rolling shutter covers the effect on moving objects.
MIPI CSI-2 on NVIDIA Jetson
NVIDIA Jetson modules have CSI-2 inputs built in, so they are the most common home for MIPI cameras in edge AI. Depending on the carrier board, Jetson AGX Orin and Jetson Thor expose up to 16 lanes, and Orin NX and Orin Nano up to 8, enough for several cameras with virtual channels. Our Jetson Orin carrier boards list the lane count and camera connectors for each design, and compact computers such as the JCO-1000-ORN series include internal MIPI CSI-2 connectors.
A MIPI camera only works if the Jetson software knows the sensor. Each one needs a kernel driver and device tree entries in the board support package, and raw sensors are tuned for the Jetson ISP. Camera makers supply these for specific modules and JetPack releases, so match the camera, carrier board and JetPack version before you build.
Quick answers on MIPI CSI-2
MIPI CSI-2: common questions
What does MIPI stand for?
Mobile Industry Processor Interface. The MIPI Alliance was formed in 2003 to standardise the interfaces between processors, cameras and displays in phones. Its specifications are now used in vehicles, IoT and industrial devices.
Is MIPI CSI the same as CSI-2?
In practice, yes. CSI-1 is long obsolete and CSI-3 never saw wide use, so “MIPI CSI” almost always means CSI-2.
How long can a MIPI CSI-2 cable be?
Usually around 30 cm. Some designs reach about 50 cm. Beyond that, use a serialiser such as GMSL or FPD-Link, or a network camera.
Can a MIPI camera connect over USB?
Only through a bridge board. A bridge converts the CSI-2 stream to a USB Video Class device. A computer without CSI-2 inputs then sees a standard USB webcam.
What is the difference between MIPI CSI-2 and MIPI DSI?
Direction and device. CSI-2 brings images in from a camera. DSI, the Display Serial Interface, sends images out to a display panel. Both can use the same D-PHY signalling.
We supply our Jetson computers with cameras, drivers and the JetPack image matched and fitted as standard, and check every camera input before the system ships.