Post Go back to editing

[ADV7613] TX_PLL_GEAR register setting when HDMI input :1280x720p60, ADV7613 output : Dual LVDS.

Category: Hardware
Product Number: ADV7613

Hi,

I have a question about a setting of TX_PLL_GEAR register (OpenLDI Tx map, Address 0x44[2:0]) of ADV7613.

The UG-907 says as follows on the page 161:
---------------------------<Begin of excerpt>---------------------------
The ADV7613 LVDS transmitter can output a maximum clock frequency of 92 MHz. The PLL gear must be set based on the output clock frequency.
This is done by setting the following control.

TX_PLL_GEAR[2:0], OpenLDI Tx, Address 0x44[2:0]
TX_PLL_GEAR[2:0] sets the PLL gear to be used based on the LVDS output clock frequency.

The ADV7613 can output graphics resolutions with clock frequency 25MHz to 92 MHz.
For this range of graphics resolutions and frequencies mentioned, the PLL gear must be set as follows:
• From 25 MHz to 40 MHz: TX_PLL_GEAR[2:0] must be set to 000.
• From 40 MHz to 92 MHz: TX_PLL_GEAR[2:0] must be set to 010.
---------------------------<End of Excerpt>---------------------------

So, the UG-907 says the TX_PLL_GEAR[2:0] should be set based on the "LVDS output clock frequency".


However, the script file "ADV7613-VER.1.1c.txt" includes following setting:
---------------------------<Begin of excerpt>---------------------------
##01 Full Scripts - HDMI Input_LVDS Output script TMDS CLK Less Than or Equal to 27MHz##
:01-03 HDMI Input_LVDS Output Port A and B:
=> This script doesn't include the setting of "C0 44" register.
so, this register keeps the default value "0x00".

##02 Full Scripts - HDMI Input_LVDS Output script TMDS CLK Greater Than 27MHz##
:02-03 HDMI Input_LVDS Output Port A and B:
...
C0 44 02 ; default 0x00, ADI Recommended write
...
---------------------------<End of Excerpt>---------------------------

So, the script says the TX_PLL_GEAR[2:0] should be set based on the "TMDS CLK".
I think that the "TMDS CLK" means HDMI input clock.

Question:
HDMI input : 1280x720p60.
ADV7613 output : Dual oLDI output.
In this case, the input and output clock frequency is as follows:
Input clock: 74.25MHz (TMDS CLK)
Output clock: 37.125MHz (LVDS output clock)

According to the UG-907, I think we should set "TX_PLL_GEAR = 000" because the LVDS output clock frequency is within from 25 MHz to 40 MHz.
According to the script, I think we should set "TX_PLL_GEAR = 010" because the TMDS CLK Greater Than 27MHz.

In this case (HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output),
Which should we set "TX_PLL_GEAR = 000" or "TX_PLL_GEAR = 010"?
And which should we use the script ":01-03 HDMI Input_LVDS Output Port A or B:" or ":02-03 HDMI Input_LVDS Output Port A and B:"?

Also, I had already read a following thread:
ez.analog.com/.../344079
But the content of this thread does not answer my question.
Could you answer for my question?

Thank you!
Best regards.
Tamu

Parents
  • Hi Tamu San,

            Please find the below comments,

    According to the UG-907, I think we should set "TX_PLL_GEAR = 000" because the LVDS output clock frequency is within from 25 MHz to 40 MHz.
    According to the script, I think we should set "TX_PLL_GEAR = 010" because the TMDS CLK Greater Than 27MHz.

    In this case (HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output),
    Which should we set "TX_PLL_GEAR = 000" or "TX_PLL_GEAR = 010"?
    And which should we use the script ":01-03 HDMI Input_LVDS Output Port A or B:" or ":02-03 HDMI Input_LVDS Output Port A and B:" ?

           In reference script, they might mention the TMDS CLK in terms of generic way for example   >27Mhz Or < 27Mhz.

          We need to set 'TX_PLL_GEAR' register according to UG-907 So please choose script ":01-03 HDMI Input_LVDS Output Port A or B:"  (i.e  25 MHz to 40 MHz: TX_PLL_GEAR[2:0] must be set to 000 ) and let us know if any issues.

    ##01 Full Scripts - HDMI Input_LVDS Output script TMDS CLK Less Than or Equal to 27MHz##
    :01-03 HDMI Input_LVDS Output Port A and B:
    => This script doesn't include the setting of "C0 44" register.
    so, this register keeps the default value "0x00".

             By default, 'TX_PLL_GEAR' register will keep "0x00" value & this is the reason the respective script doesn't include "C0 44" register settings.

    Thanks,

    Poornima

Reply
  • Hi Tamu San,

            Please find the below comments,

    According to the UG-907, I think we should set "TX_PLL_GEAR = 000" because the LVDS output clock frequency is within from 25 MHz to 40 MHz.
    According to the script, I think we should set "TX_PLL_GEAR = 010" because the TMDS CLK Greater Than 27MHz.

    In this case (HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output),
    Which should we set "TX_PLL_GEAR = 000" or "TX_PLL_GEAR = 010"?
    And which should we use the script ":01-03 HDMI Input_LVDS Output Port A or B:" or ":02-03 HDMI Input_LVDS Output Port A and B:" ?

           In reference script, they might mention the TMDS CLK in terms of generic way for example   >27Mhz Or < 27Mhz.

          We need to set 'TX_PLL_GEAR' register according to UG-907 So please choose script ":01-03 HDMI Input_LVDS Output Port A or B:"  (i.e  25 MHz to 40 MHz: TX_PLL_GEAR[2:0] must be set to 000 ) and let us know if any issues.

    ##01 Full Scripts - HDMI Input_LVDS Output script TMDS CLK Less Than or Equal to 27MHz##
    :01-03 HDMI Input_LVDS Output Port A and B:
    => This script doesn't include the setting of "C0 44" register.
    so, this register keeps the default value "0x00".

             By default, 'TX_PLL_GEAR' register will keep "0x00" value & this is the reason the respective script doesn't include "C0 44" register settings.

    Thanks,

    Poornima

Children
  • Hi Poornima-san,

    Thank you for your reply.

    >>In this case (HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output),
    >>Which should we set "TX_PLL_GEAR = 000" or "TX_PLL_GEAR = 010"?
    >>And which should we use the script ":01-03 HDMI Input_LVDS Output Port A or B:" or ":02-03 HDMI Input_LVDS Output Port A and B:" ?
    >In reference script, they might mention the TMDS CLK terms in generic way for example >27Mhz Or < 27Mhz.
    >But According to UG-907, We need to set 'TX_PLL_GEAR' register So please choose script ":01-03 HDMI Input_LVDS Output Port A or B:" (i.e 25 MHz to 40 MHz: TX_PLL_GEAR[2:0] must be set to 000 ) and let us know if any issues.

    So, I think we should use the script ":01-03 HDMI Input_LVDS Output Port A or B:" when HDMI input is 1280x720p60 and ADV7613 output is Dual oLDI output.
    Is this right?
    For example, there is a method that we use ":02-03 HDMI Input_LVDS Output Port A and B:" removing "C0 44 02 ; default 0x00, ADI Recommended write" or changing to "C0 44 00 ;".
    I think this method is not good for the case "HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output".
    And I think we should use ":01-03 HDMI Input_LVDS Output Port A or B:" for "HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output".
    Are these right?

    As a side note, there are some differences between the script "01-03" and "02-03" except "C0 44" register setting as follows:
    0x68 0x85
    0x68 0x93
    0x68 0x5A
    I don't know whether these settings included in the script "01-03" are suitable for HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output.

    If your answer for above questions are yes, I will tell it to my customer and this question will be closed.

    Thank you!
    Best regards.
    Tamu

  • Hi Tamu San,

             Please find the below comments,

    So, I think we should use the script ":01-03 HDMI Input_LVDS Output Port A or B:" when HDMI input is 1280x720p60 and ADV7613 output is Dual oLDI output.  Is this right?

           >> YES please use the script '01-03', Since the output clock of 1280x720p is "37.125MHz (LVDS output clock)".

    For example, there is a method that we use ":02-03 HDMI Input_LVDS Output Port A and B:" removing "C0 44 02 ; default 0x00, ADI Recommended write" or changing to "C0 44 00 ;".
    I think this method is not good for the case "HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output".
    And I think we should use ":01-03 HDMI Input_LVDS Output Port A or B:" for "HDMI input : 1280x720p60, ADV7613 output : Dual oLDI output".
    Are these right?

          >> Yes, it's not recommended to use "02-03" script for 1280x720p60 resolution.

               Also if customer want to add "C0 44 00" register settings then inform them to add but it is not required. 

    As a side note, there are some differences between the script "01-03" and "02-03" except "C0 44" register setting as follows:
      0x68 0x85
      0x68 0x93
      0x68 0x5A
    I don't know whether these settings included in the script "01-03" are suitable for HDMI input : 1280x720p60, ADV7613 output: Dual oLDI output.

       >> Please include the register settings whatever available in the "01-03" script even the respective script may or may not include some ADI recommended settings.

    Thanks,

    Poornima