ADV7619 Required Settings Manual
ADV7619 Reference Manual
Rev. 1.8 | Page 9 of 14
5
NEW TMDS FREQUENCY DETECTION
A change in TMDS frequency can be detected using the flow illustrated on Figure 3.
Figure 3: Example algorithm to monitor changes of TMDS frequency.
Refer to Hardware User Guide UG-237 (TMDS Measurement section) for details on register addresses.
START
ENABLE TMDS_CLK_X_ST INTERRUPT FOR
1
THE HDMI PORTS THAT ARE USED
ENABLE TMDSPLL_LCK_X_ST INTERRUPT
BY SETTING TMDSPLL_LCK_X_MB1 or
TMDSPLL_LCK_X_MB2 = 1
ENABLE NEW_TMDS_FRQ_ST INTERRUPT
BY SETTING NEW_TMDS_FRQ_MB1 or
NEW_TMDS_FRQ_MB2
TMDS FREQUENCY READ BACK
NOT VALID OR STABLE
READ THE TMDS FREQUENCY
TMDSFREQ
IS
NEW_TMDS_FRQ_ST
SET?
CLEAR TMDS_CLK_X_ST BY
SETTING TMDS_CLK_X_CLR TO 1
CLEAR TMDS_PLL_LCK_X_ST BY
SETTING TMDS_PLL_LCK_X_CLR TO 1
CLEAR NEW_TMDS_FRQ_ST BY
SETTING NEW_TMDS_FRQ_ST_CLR TO 1
TMDS FREQUENCY READ BACK VALID
AND STABLE
IS
TMDS_CLK_X_RAW
SET?
NO
YES
YES
YES
NO
NO
NO
YES
YES
NO
IS
TMDS_PLL_LCK_RAW
SET ?
1
1
1
IS
TMDS_CLK_X_ST
SET?
1
IS
TMDS_PLL_LCK_X_ST
SET?
1
1
1
1
1
1
Where X = An active port selected by HDMI_PORT_SELECT (HDMI Map, REG 0x00 bits [3:0])