MIPI DSI-2 IP User Guide

ID 869461
Date 11/21/2025
Public
Document Table of Contents

3.2.1.2.2. Timing Calculation Examples

The following are examples of how the video parameters are calculated:

Example 1

Table 12.  Settings Examples for Timing Parameters
Parameter Settings
MIPI data rate 2500 Mbps
MIPI lanes 1
DSI-2 data types YCbCr-20bit Loose (24 bits per pixel)
Video interface pixels in parallel 2
Active video dimensions 1280 pixels × 800 lines
Frame rate 90 Hz
Vertical front porch (VFP) 5 lines (e.g. panel recommendation)
Vertical back porch (VBP) 5 lines (e.g. panel recommendation)
Vertical sync active (VSA) 5 lines (e.g. panel recommendation)
Common video + MIPI clocks Disabled
Video clock rate 250 MHz
  1. Calculate the vertical parameters. If VFP, VSA, and VBP values are not specified by the panel manufacturer, these values can typically be a small value between 2 and 30.
    Parameter Calculation Value
    V1B_START Fixed 0
    V1S_VSTART VFP 5
    V1S_VEND VFP + VSA = 5+5 = 10
    V1B_END VFP + VSA + VBP = 5+5+5 = 15
    VTOTAL V1B_END + VACTIVE = 15+800 = 815
  2. Perform sanity checks to ensure the link is able to support the required bandwidth.
    The MIPI output channel has around 11% additional bandwidth, which is likely to be sufficient to support the MIPI signaling overheads.
  3. Calculate the horizontal total line length.
  4. Check that the calculated HTOTAL complies with HTOTALmin.
    As the calculated HTOTAL, 6816.6, is greater than the minimum, 4611, this complies with the minimum. However, all the horizontal parameters must be an integer multiple of the video input pixels in parallel, in this case 2. Therefore, the number must be rounded to the nearest multiple of pixels in parallel, i.e. 6816.
  5. Calculate the other horizontal parameters. Horizontal sync positions are often flexible and can be spread evenly within the blanking period between pixels 0 and HB_END. If these are specified by the panel manufacturer, take this information into consideration.If the video input is configured with multiple pixels in parallel, the horizontal sync positions (HS_START, HS_END, V1S_HSTART, V1S_HEND) should be multiplied by the number of pixels in parallel.
    Parameter Calculation Value
    HB_END HTOTAL-HACTIVE = 6816-1280 = 5536
    HS_START 0< HS_START< HB_END e.g. 200
    HS_END HS_START < HS_END < HB_END e.g. 400
    V1S_HSTART Align with HS_START 200
    V1S_HEND Align with HS_START 200
    HTOTAL As calculated above 6816

Example 2

Table 13.  Settings Examples for Timing Parameters
Parameter Settings
MIPI data rate 900 Mbps
MIPI lanes 4
DSI-2 data types RGB888 (24 bits per pixel)
Video interface pixels in parallel 2
Active video dimensions 1920 pixels × 1080 lines
Frame rate 60 Hz
Vertical front porch (VFP) 10 lines (e.g. panel recommendation)
Vertical back porch (VBP) 10 lines (e.g. panel recommendation)
Vertical sync active (VSA) 5 lines (e.g. panel recommendation)
Common video + MIPI clocks Enabled
  1. Calculate the vertical parameters. If VFP, VSA, and VBP values are not specified by the panel manufacturer, these values can typically be a small value between 2 and 30.
    Parameter Calculation Value
    V1B_START Fixed 0
    V1S_VSTART VFP 10
    V1S_VEND VFP + VSA = 10+5 = 15
    V1B_END VFP + VSA + VBP = 10+5+10 = 25
    VTOTAL V1B_END + VACTIVE = 25+1080 = 1105
  2. Perform sanity checks to ensure the link is able to support the required bandwidth.
    The MIPI output channel has around 18% additional bandwidth, which is likely to be sufficient to support the MIPI signaling overheads.
  3. Calculate the horizontal total line length. As the common video and MIPI clock are enabled, the video AXI4-Stream clock is the same rate as the MIPI PPI interface:
  4. Check that the calculated HTOTAL complies with HTOTALmin.
    As the calculated HTOTAL 3394 is greater than the minimum 3124, this is a valid configuration.
  5. Calculate the other horizontal parameters. Horizontal sync positions are often flexible and can be spread evenly within the blanking period between pixels 0 and HB_END. If these are specified by the panel manufacturer, take this information into consideration. If the video input is configured with multiple pixels in parallel, the horizontal sync positions (HS_START, HS_END, V1S_HSTART, V1S_HEND) should be multiplied by the number of pixels in parallel to convert from clock cycles to pixels.
    Parameter Calculation Value
    HB_END HTOTAL-HACTIVE = 3124-1920 = 1204
    HS_START 0< HS_START< HB_END e.g. 200
    HS_END HS_START < HS_END < HB_END e.g. 400
    V1S_HSTART Align with HS_START 200
    V1S_HEND Align with HS_START 200
    HTOTAL As calculated above 3394