XV_HDMIRXSS_HANDLER_STREAM_INIT - 3.1 English

HDMI 1.4/2.0 Receiver Subsystem Product Guide (PG236)

Document ID
PG236
Release Date
2020-12-11
Version
3.1 English

This interrupt is triggered every time a stream is detected and the Video PHY Controller /HDMI GT Subsystem is stabilized for the HDMI 1.4/2.0 RX Subsystem to start stream locking.

The callback function must perform the following steps:

  1. Check the event is for cable connected or cable disconnected.
    XV_HdmiRxSs *HdmiRxSsPtr = (XV_HdmiRxSs *)CallbackRef;
    HdmiRxSsPtr->IsStreamConnected
    • 1 - Connected
    • 0 - Disconnected
  2. Retrieve the video stream information.
    XVidC_VideoStream *XV_HdmiRxSs_GetVideoStream(XV_HdmiRxSs *InstancePtr);
  3. Calculate the HDMI MMCM parameter based on the video stream information received.
    u32 XVphy_HdmiCfgCalcMmcmParam(XVphy *InstancePtr, 
                                   u8 QuadId,
                                   XVphy_ChannelId ChId, 
                                   XVphy_DirectionType Dir,
                                   XVidC_PixelsPerClock Ppc, 
                                   XVidC_ColorDepth Bpc);
  4. Enable the Video PHY Controller /HDMI GT Subsystem to start the MMCM.
    void XVphy_MmcmStart(XVphy *InstancePtr,
                         u8 QuadId,
                         XVphy_DirectionType Dir);

    where,

    • InstancePtr is a pointer to the XVphy core instance.
    • QuadId is the GT quad ID to operate on.
    • Dir is an indicator for TX or RX.
    Note: QuadId is not used and should be set to 0.

    For example:

    XVphy_MmcmStart(&Vphy, 0, XVPHY_DIR_RX);