MIPI D-PHY IP User Guide: Agilex™ 5 FPGAs

ID 817561
Date 7/08/2024
Public
Document Table of Contents

3.4. Calibration

The Agilex™ 5 MIPI D-PHY IP is provided for the following types of calibration:

  • Initial skew calibration
    • Required for bit rate > 1.5Gbps; optional for bit rates below 1.5Gbps.
    • Data pattern used is 1010… clock pattern.
    • Minimum duration of 2015 UI (maximum at 100us)
  • Alternate calibration
    • Required for bit rate > 2.5Gbps; optional for bit rates below 2.5Gbps .
    • Data pattern used in PRBS9.
    • Minimum duration of 2015 UI (maximum at 100us).
  • Periodic skew calibration
    • Optional at any bit rate.
    • Data pattern used is 1010…
    • Minimum duration of 210 UIs (maximum of 10us).
  • Preamble
    • Required for bit rate > 2.5Gbps; optional for bit rates below 2.5Gbps.
    • Preamble data pattern of 1010… precedes every HS data packet.
    • Minimum duration of 32 UI (max of 512 UI).
The following table provides the Agilex™ 5 D-PHY IP calibration support matrix.
Table 4.  Calibration Support Matrix
Calibration Type Support Comment
Initial skew calibration Supported

Agilex 5 MIPI D-PHY IP configurable

Rx: Adjust clock delay to center data window

Tx: Auto calibration logic starts when all lanes go to INIT done state calibration (protocol side can also initiate this using PPI. TxSkewCalHS)

Alternate calibration Supported

Agilex 5 MIPI D-PHY IP configurable

Rx: Adjust clock delay to center data window; determine data dependent window edge shifts

Tx: Auto calibration logic starts after initial skew calibration (protocol side can also initiate this using PPI.TxAlternateCalHS)
Periodic skew calibration Supported

Agilex 5 MIPI D-PHY IP configurable

Rx: Minor adjustment on window edges

Tx: Protocol controlled (using PPI.TxSkewCalHS)
Preamble Supported

Agilex 5 MIPI D-PHY IP configurable

Rx: recognize preamble but will not make any adjustments

Tx: automatically inserts PREAMBLE for every HS transfer