Post Go back to editing

About EDID Problem

Category: Software
Product Number: ADV7480

Hello,

I am developing a driver on the Nvidia platform for a custom circuit that converts HDMI to CSI with ADV7480.

I am using the "01-21 HDMI to MIPI TxA CSI 4-Lane - YUV422 8-Bit, Up to 600Mbps" configuration from the recommended registers of the ADV7480.

The main usage scenario is to get an image from an HDMI camera, but I could not get an image with HDMI camera. For this reason, I use the HDMI output of my computer to perform detailed debugging.

When I use an EDID table which I found in old kernel archives, my computer sees different resolution values ​​than the resolution values ​​set in EDID.

However, when I select only 1280x720 among these values ​​and start the image, I can run it without any problems.

In my experiments with the EDID tables previously shared in the forum, my computer recognizes the resolutions it should see, but I cannot get an image.

Is my problem in the EDID table or is there something I need to check regarding timings?

Best regards.

  • Hi,

      Below are the resolution which are supported in the 4 lane output, Please confirm from your end.

      For more details refer Page 209 in ADV748x Hardware Manual.

    Also kindly note that, PC/Laptop generally do not work unless they see a valid EDID & PC will only recognize a sink device only when they detect a valid EDID.
    So please make sure whether you are configuring with a valid EDID.

    Please make sure with below when bringing up the board.
    1) Disconnect PC from ADV748x
    2) Run your script
    3) Configure EDID
    4) Configure SPA registers
    5) Plug PC into ADV748x this should cause the PC to read the EDID
    Please refer below thread, Here it contains an EDID initialization script,
    https://ez.analog.com/message/31879#31879

    Thanks,

    Poornima

  • Hello, 

    Unfortunately the URL you shared didn't work for me, it redirects to the EngineerZone homepage.

    When I checked, I did not encounter a problem with the settings. Actually, the problem I have is as follows,
    With the EDID table I found in the kernel archive and used, I can get valid stream only at 1280x720p@59.74Hz.
    I cannot get any other resolution and refresh rate. I can see only a green screen. Is my problem in pixel clock or EDID table?

    I will try to get 1920x1080p@60Hz in the first step. Can you make suggestions for this?

    Best.

  • Hi,

      Could you please do the below configuration for '1920x1080p60' and let us know your observation on this.

    :01-30 HDMI to MIPI TxA CSI 4-Lane - RGB888, Over 600Mbps:
    E0 FF FF ; SW reset
    delay 5 ;
    E0 01 76 ; ADI Required Write
    E0 05 5E ; Setting Vid_Std to 1920x1080p@60
    E0 F2 01 ; Enable I2C Read Auto-Increment
    E0 F3 4C ; DPLL Map Address Set to 0x4C
    E0 F4 44 ; CP Map Address Set to 0x44
    E0 F5 68 ; HDMI RX Map Address Set to 0x68
    E0 F6 6C ; EDID Map Address Set to 0x6C
    E0 F7 64 ; HDMI RX Repeater Map Address Set to 0x64
    E0 F8 62 ; HDMI RX Infoframe Map Address Set to 0x62
    E0 F9 F0 ; CBUS Map Address Set to 0xF0
    E0 FA 82 ; CEC Map Address Set to 0x82
    E0 FB F2 ; SDP Main Map Address Set to 0xF2
    E0 FC 90 ; CSI-TXB Map Address Set to 0x90
    E0 FD 94 ; CSI-TXA Map Address Set to 0x94
    E0 00 40 ; Disable chip powerdown & Enable HDMI Rx block
    64 40 83 ; Enable HDCP 1.1
    68 00 08 ; Foreground Channel = A
    68 98 FF ; ADI Required Write
    68 99 A3 ; ADI Required Write
    68 9A 00 ; ADI Required Write
    68 9B 0A ; ADI Required Write
    68 9D 40 ; ADI Required Write
    68 CB 09 ; ADI Required Write
    68 3D 10 ; ADI Required Write
    68 3E 7B ; ADI Required Write
    68 3F 5E ; ADI Required Write
    68 4E FE ; ADI Required Write
    68 4F 18 ; ADI Required Write
    68 57 A3 ; ADI Required Write
    68 58 04 ; ADI Required Write
    68 85 10 ; ADI Required Write
    68 83 00 ; Enable All Terminations
    68 A3 01 ; ADI Required Write
    68 BE 00 ; ADI Required Write
    68 6C 01 ; HPA Manual Enable
    68 F8 01 ; HPA Asserted
    68 0F 00 ; Audio Mute Speed Set to Fastest (Smallest Step Size)
    E0 04 02 ; RGB Out of CP
    E0 12 F0 ; CSC Depends on ip Packets - SDR 444
    E0 17 80 ; Luma & Chroma Values Can Reach 254d
    E0 03 86 ; CP-Insert_AV_Code
    44 7C 00 ; ADI Required Write
    E0 0C E0 ; Enable LLC_DLL & Double LLC Timing
    E0 0E DD ; LLC/PIX/SPI PINS TRISTATED AUD Outputs Enabled
    E0 10 A0 ; Enable 4-lane CSI Tx & Pixel Port
    94 00 84 ; Enable 4-lane MIPI
    94 00 A4 ; Set Auto DPHY Timing
    94 DB 13 ; ADI Required Write
    94 D6 07 ; ADI Required Write
    94 C4 0A ; ADI Required Write
    94 71 33 ; ADI Required Write
    94 72 11 ; ADI Required Write
    94 F0 00 ; i2c_dphy_pwdn - 1'b0
    94 31 82 ; ADI Required Write
    94 1E 40 ; ADI Required Write
    94 DA 01 ; i2c_mipi_pll_en - 1'b1
    delay 2 ;
    94 00 24 ; Power-up CSI-TX
    delay 1 ;
    94 C1 2B ; ADI Required Write
    delay 1 ;
    94 31 80 ; ADI Required Write
    End

    Thanks,

    Poornima

  • Hello,

    Unfortunately, it didn't work. The green window I mentioned in the previous message is gone, now I can get a black window.

    I've used  "01-21 HDMI to MIPI TxA CSI 4-Lane - YUV422 8-Bit, Up to 600Mbps" before. 

    Do you have any suggestions for debug?

    Best.

  • Dear Melsis,

    What board are you using?

    -Matt

  • Hi,

    It's custom design with ADV7480 and Nvidia Orin NX.

    Best.