MIPI CSI-2 Bandwidth
Size a MIPI CSI-2 camera link: from resolution, frame rate and pixel format get the required data rate and check whether the D-PHY lanes can carry it. Demonstration tool.
1 · Sensor
D-PHY interface
Combined percentage added to the image-data stream for transport overhead and your chosen headroom. Use 0 for payload alone, or a value derived from the sensor and link configuration.
Result
dataRate = width · height · fps · bits/pixel. Capacity = lanes · lane rate. Demonstration tool — bandwidth sizing only, does not validate timing, clock training or ISP.
How is the bandwidth computed?
Net rate is width × height × fps × bits/pixel. The tool applies the entered combined percentage for overhead and headroom and compares the result with lanes × lane rate. Its 80% headroom threshold is a tool convention, not a MIPI requirement or a check of sensor bursts or timing.
A sensor’s raw video stream is a sequence of pixels. The required bandwidth is the product of the pixel rate and the number of bits per pixel:
The 80% threshold indicates the headroom chosen by the tool; it does not certify link operation. Above 100%, the calculated rate exceeds nominal capacity. Check actual sensor burst rate, overhead and timing separately when choosing lanes and lane rate.
What are D-PHY lanes and lane rate?
On D-PHY data travels over one or more differential lanes in parallel, typically 1, 2 or 4, each at a given lane rate (for example 800, 1500 or 2500 Mbps). The total capacity is the sum of the lanes: doubling the lanes or the lane rate doubles the available bandwidth.
Pixel formats and bits/pixel
| Format | bit/pixel | Notes |
|---|---|---|
| RAW8 / 10 / 12 / 14 | 8 / 10 / 12 / 14 | sensor Bayer output (pre-ISP) |
| YUV422 | 16 | luma + subsampled chroma |
| RGB888 | 24 | full RGB (post-ISP) |
Which overhead counts, blanking or packets?
Packet overhead depends on payload and packet count, with a larger proportion for short rows. Link margin also depends on sensor timing and transmission mode. Enter a combined percentage for overhead and headroom consistent with the datasheet, distinguishing average rate from rate during bursts.
Real CSI-2 throughput is slightly higher than the pure pixel data rate: each packet carries a header/footer, plus line/frame start-end markers and ECC. The tool shows the net rate and, if you enter a percentage for overhead and headroom, the increased rate used to calculate lane utilization.
What are the tool’s limitations?
- It is a bandwidth calculation: it tells whether the stream fits in the lanes, it does not validate timing, clock training, skew, equalization or continuous/discontinuous clock.
- Net rate uses the active area only. Enter the combined percentage for overhead from the datasheet and your chosen headroom, accounting for blanking, transmission mode and buffering. The tool does not model the ISP or compression.
- It assumes symmetric D-PHY lanes; it does not cover C-PHY (trio/symbol) nor multi-virtual-channel cases.
- Demonstration tool: real camera-link sizing requires the sensor and SoC datasheets and the MIPI specification.
References
- MIPI Alliance — mipi.org (CSI-2 and D-PHY specifications).