XV_HDMITXSS_HANDLER_CONNECT - 3.2 English

HDMI 1.4/2.0 Transmitter Subsystem Product Guide (PG235)

Document ID
PG235
Release Date
2023-10-18
Version
3.2 English

This interrupt is triggered every time an HDMI TX cable connection or disconnection (HPD level transition) occurs. The callback function must perform the following:

  1. Check if the event is cable connected or cable disconnected:
    XV_HdmiTxSs *HdmiTxSsPtr = (XV_HdmiTxSs *)CallbackRef;
    
    HdmiTxSsPtr->IsStreamConnected
    1 - Connected
    0 - Disconnected
  2. Enable or disable the differential input clock buffer depending on if cable connection or disconnection occurs, respectively.
    void XVphy_IBufDsEnable(XVphy *InstancePtr, 
                            u8 QuadId, 
                            XVphy_DirectionType Dir,
                            u8 Enable);
  3. Detect if the HDMI sink connected is HDMI 2.0 capable and if cable is connected.
    int XV_HdmiTxSs_DetectHdmi20(XV_HdmiTxSs *InstancePtr); 
  4. Now, the HDMI sink has been detected, retrieve the sink EDID information, and store it in a local buffer (256 bytes) using the following API:
    int XV_HdmiTxSs_ReadEdid(XV_HdmiTxSs *InstancePtr, u8 *Buffer);