Post Go back to editing

ADV7611: Internal EDID stays disabled

Hello,

I'm trying to setup the ADV7611 to use the internal EDID just like this thread describes http://ez.analog.com/thread/9106

After the initialization sequence I always read the flag EDID_A_ENABLE_CPU = 0x0, which means that the internal EDID stays disabled.

I can read back the loaded EDID at address 0xA0, but not over the HDMI cable.

Is there any contraint (like timing) which has to be met to get the internal EDID enabled? I already ensured that no other device is connected to the DDC bus.

On our hardware the ADV7611 receiver passes the RGB video signal to an FPGA for further processing.

Here is the initialization sequence I use

98 FF 80 ; I2C reset

98 F4 80 ; CEC

98 F5 7C ; INFOFRAME

98 F8 4C ; DPLL

98 F9 64 ; KSV

98 FA 6C ; EDID

98 FB 68 ; HDMI

98 FD 44 ; CP

64 77 00 ; Disable the Internal EDID

0x6C 00 ... followed by 256 edid bytes

64 77 00 ; Set the Most Significant Bit of the SPA location to 0

64 52 20 ; Set the SPA for port B.

64 53 00 ; Set the SPA for port B.

64 70 9E ; Set the Least Significant Byte of the SPA location

64 74 03 ; Enable the Internal EDID for Ports

98 01 06 ; Prim_Mode =110b HDMI-GR

98 00 01 ; Set VID_STD to SVGA 800x600@60Hz

98 02 F2 ; RGB

98 03 40 ; 24 bit SDR 444 Mode 0

98 05 28 ; AV Codes Off

98 06 A6 ; Positive VS & HS polarity

98 0B 44 ; Power up part

98 0C 42 ; Power up part

98 14 7F ; Max Drive Strength

98 15 80 ; Disable Tristate of Pins

98 19 83 ; LLC DLL phase

98 33 40 ; LLC DLL enable

44 BA 01 ; Set HDMI FreeRun

64 40 81 ; Disable HDCP 1.1 features

68 9B 03 ; ADI recommended setting

68 C1 01 ; ADI recommended setting

68 C2 01 ; ADI recommended setting

68 C3 01 ; ADI recommended setting

68 C4 01 ; ADI recommended setting

68 C5 01 ; ADI recommended setting

68 C6 01 ; ADI recommended setting

68 C7 01 ; ADI recommended setting

68 C8 01 ; ADI recommended setting

68 C9 01 ; ADI recommended setting

68 CA 01 ; ADI recommended setting

68 CB 01 ; ADI recommended setting

68 CC 01 ; ADI recommended setting

68 00 00 ; Set HDMI Input Port A

68 83 FE ; Enable clock terminator for port A

68 6F 0C ; ADI recommended setting

68 85 1F ; ADI recommended setting

68 87 70 ; ADI recommended setting

68 8D 04 ; LFG

68 8E 1E ; HFG

68 1A 8A ; unmute audio

68 57 DA ; ADI recommended setting

68 58 01 ; ADI recommended setting

68 75 10 ; DDC drive strength

Thanks

Konstantin

  • Are you using our ADV7611 evaluation board ( EVAL-ADV7611EB1Z / EVAL-ADV7611EB2Z )?

    -Matt

  • Hi Konstantin,

    Are you using our example scripts for ADV7611?  If you look in ADV7611-VER.2.9c.txt, you will find the following script which will configure the ADV7611 with internal EDID data.

    :ADV7611 EDID 8 bit only NO DSD or HBR Support:

    Then if you reconnect your source it should detect this new EDID.

    -Matt

  • Hi Matt,

    finaly we figured out what the problems were. The edid was loaded via too long i2c commands. After switching to a single byte loading of the edid it worked. The second problem was a hardware issue, which caused the HPA line to remain high once the source is connected leadig to a situation where the source never requested the newly loaded edid after startup.

    Thanks & regards

    Konstantin

  • Thanks for posting the solution for your issue!

    -Matt

  • Matt,

    I am using the eval board and used the script you refer to above.

    My display is detected by the computer and I have forced free run but when I go to the HDMI tab the front porch, back porch, etc values don't change to those values in my EDID.

    What settings do I need to have to show my specific timing characteristics in the HDMI values?

    Thank you,

    MS.

  • I have a problem with this. I cannot get EDID working on ADV7611, but the scripts I find around this website have references to undocumented registers. Looking at the ADV7604 linux driver source I've found on the web, it looks like these regs actually apply to ADV7604, not ADV7611.  

    Specifically:

    64 77 00 ; Disable the Internal EDID ==> ADV7611 shows EDID ena reg at 74, not 77

    ...

    64 77 00 ; Set the Most Significant Bit of the SPA location to 0 ==> Same command as above, different behaviour?

    64 52 20 ; Set the SPA for port B.  ==> ADV7611 doesn't define reg 52 in REPEATER bank

    64 53 00 ; Set the SPA for port B. ==> ADV7611 doesn't define reg 53 in REPEATERbank

    64 70 9E ; Set the Least Significant Byte of the SPA location  ==> ADV7611 doesn't define reg 70 in REPEATER bank

    64 74 03 ; Enable the Internal EDID for Ports ==> ADV7611 only specifies b0 as EDID_A_ENABLE

     

    It also mentions KSV a lot, although n the 7611 UM the same virtual IIC slave refers to REPEATER, not KSV.

     

    All in all, it is incredibly confusing, and frustrating (because I can't get it running).  Perhaps they 'work anyway', but it isn't helping me understand what is going on, nor help me get my system up and running.

     

    Any help would be appreciated.

     

    Thanks in advance.

     

    Edit: typos

  • Hi,

      Yes, EDID enable bit is 0x74 but not 0x77
       Please refer below link
              ADV7630 internal EDID issue 


    ADV7611 doesn't define reg 52 in REPEATER bank?
      Ans : This is not mentioned in adv7611 documentation,Please refer this in other HDMI receiver chipset in ADV7619 design support file.Refer SPA or EDID details in ADV7619 Design Support file
               Did you refer this thread?
               ADV7619 EDID on Port B 

               Beleive that this would be helpful.

    Thanks,

    Poornima

  • Thanks Poornima. 

    I'm not sure at which point we are expected to assume that 7630 and 7619 have compatible registers with 7611; I didn't even know about those parts until this morning.  Regardless, there seems to be helpful info there, although I haven't seen an EDID response from 7611 at this point (still working on it).

    Note that my specific configuration using 7611 uses internal EDID RAM (I don't think there is an external EEPROM option / SPI bus), that I stuff using IIC writes to slave dev 6C.  Given my lack of success, do you know where I can find details of which things can prevent a response on the DDC bus?  Is there a working set of regs anywhere specific to this part? None of the scripts, in part or whole, seem to have worked for me.

    Needless to say, I will post my solution when I finally have one.

    Thank you

    Rhys.

    P.S. I'm particularly interested in this line from this page: ADV7630 internal EDID issue

    64 77 04 ; Default 0x00 - Recalculate checksums

    I haven't seen that documented anywhere either.

    Nor this: 

    64 7D 00 ; Default 0x00 - second EDID image access not enabled on Ports A, B, C, D

    It seems like it would be practically impossible to get this running without the 'magic scripts' provided by Analog engineers.  That is concerning.

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin