Research Careers Contact

GlossaryMIPI CSI-2

MIPI CSI-2

MIPI CSI-2, the Camera Serial Interface 2 from the MIPI Alliance, is the standard high-speed interface that connects image sensors to processors in phones, robots, drones and embedded vision systems. It carries pixel data over a few differential lanes with low power and few wires.

How it works

CSI-2 defines the protocol: how pixel data is packed into packets, how frames and lines are marked and how several image streams share one link through virtual channels. It runs over a physical layer, usually MIPI D-PHY or MIPI C-PHY.

D-PHY uses a clock lane and one to four data lanes, each a differential pair, with data rates of several gigabits per second per lane in newer versions. It switches between a high-speed mode for pixel data and a low-power mode between transfers. C-PHY uses three-wire trios with an embedded clock, carrying more data per wire.

Camera control, such as exposure and gain settings, runs over a separate low-speed control bus, usually I2C. The processor's camera receiver collects lanes into frames and passes them to the image signal processor.

CSI-2 links are short, usually tens of centimeters, inside a device or over a flexible cable. Longer runs use serializer and deserializer chips that convert CSI-2 to a single coaxial or twisted-pair link.

Image signal processor

The image signal processor, or ISP, turns raw sensor data into usable frames. Its pipeline runs black level, defect and lens shading correction, demosaicing, white balance, color correction, tone mapping, noise reduction and sharpening, and it runs auto exposure and white balance from each frame's statistics. For perception, tune it for consistent, accurate images rather than pleasing ones, and log exposure settings with each frame. ISP capacity also limits how many cameras a processor handles at once.

MIPI CSI-2 vs USB cameras

A USB camera has its own processing and sends frames over a standard USB link, so it works on almost any computer with a driver. A CSI-2 camera connects the raw sensor directly to the processor, which handles image processing. CSI-2 gives lower latency, lower power, smaller size and control over timing and processing, but needs a processor with a CSI-2 receiver and matching software.

Why it matters

Robot and drone vision depends on getting frames from sensors to the AI processor quickly and reliably. CSI-2 is the interface most embedded processors and image sensors support, so it sets which cameras and processors work together and how many cameras a design can carry.

How to get it right

  • Match lane count and data rate to the sensor's resolution, frame rate and bit depth.
  • Route each lane as a 100 ohm differential pair with tight length matching.
  • Keep lanes on a solid reference plane and away from switching power.
  • Pick flexible cables and connectors rated for the data rate and length.
  • Use serializer and deserializer links for cameras far from the processor.
  • Check that the processor's driver supports the sensor before choosing it.

MIPI CSI-2 in robotics and drone hardware

Drones and robots often carry several cameras: forward vision, downward optical flow, stereo pairs. Each uses lanes on the processor's camera receivers, so processor choice limits camera count. Long cable runs to cameras on arms or masts use serializer links, and vibration and noise from motors set cable and routing choices.

Learn more