DisplayPort RX Programming Sequence with DP159 - 2.1 English

DisplayPort RX Subsystem LogiCORE IP Product Guide (PG233)

Document ID
PG233
Release Date
2023-05-25
Version
2.1 English
The sequence for programming DisplayPort RX with DP159 is summarized in the following steps:
  1. Reset the DP159.
  2. Initialize interrupt handler in the system.
  3. Initialize IIC controller. The IIC controller is used to program the DP159.
  4. Remove reset over the DP159.
  5. Initialize the DP159. For details, see the DP159 Initialization.
  6. Initialize DisplayPort RX. The initialization sequence is handled by the DisplayPort RX driver.
    1. Disable the main link.
    2. Apply GT (CPLL and PHY) reset.
    3. Set the AUX clock divider (number of AXI clocks for the 1 MHz AUX clock generation).
    4. Set the RX Voltage Swing and pre-emphasis training setting (0x1445 in offset 0x214). Training requests Vswing start at level1 and fixed pre-emphasis at level1.
    5. Configure the tDLOCK period to 10 µs (Offset 0x21C).
    6. Remove the DisplayPort RX out of GT reset.
    7. Wait for PHY ready (CPLL lock and rest done status).
    8. Enable the DisplayPort receiver link.
    9. Enable the DTG.
    10. Apply and remove the soft reset.
  7. DisplayPort RX receives the training pattern 1 (TP1) as the source initiates the training sequence after reading the RX capabilities. DisplayPort RX generates TP1 start interrupt.
  8. TP1 interrupt handler. For details, see the TP1 Interrupt Handler (TP1_Handler).
    1. After the completion of DP159 TP1 programming, power down the unused lanes of DisplayPort based on the lane count.
    2. Apply GT (CPLL and PHY) reset.
    3. Follow the DisplayPort reset sequencing and remove the reset.
  9. DisplayPort RX receives training pattern 2 (TP2)/ training pattern 3 (TP3), as the source initiates the training sequence based on RX DPCD capabilities once the clock recovery is complete. DisplayPort RX generates TP2/TP3 start interrupt.
  10. TP23 interrupt handler. For details, see the TP23 Interrupt Handler (TP23_Handler).
  11. Monitor the training done or the training lost interrupts for the training status.
  12. In case of a cable unplug, re-initialize the DP159 by following the re-initialize sequence details provided in DP159 Re-Initialization.

A graphical representation of the DisplayPort RX programming sequence with DP159 is shown in the following table.

Figure 1. DisplayPort RX Programming Sequence with DP159