ADV7480 : HDMI input (1920x1080p@30) , MIPI-CSI output (YUV422, 1920x1080p@30)

Hi ADI pals, 

We would like to design ADV7480 for HDMI to MIPI

1. Please share script file for in/out setting below 

HDMI in : 1920x1080p@30Hz, 

MIPI-CSI out : 1920x1080p@30Hz 

Format : YUV 422 8bit or 10bit

2. which register can enable/disable MIPI-CSI out when HDMI has input data?

when HDMI input data to ADV7480, MIPI-CSI can be controlled output or not 

3. ADV7480 Interrup setting / status

4. Is there register can set ADV7480 device ID ?

5. Which INTRQx is for audio interrupt? 

    Which INTRQx is for video interrupt?

Thanks.

BRs, 



Create one question for INTRQ
[edited by: gen at 7:18 AM (GMT -4) on 16 Apr 2021]
  • 0
    •  Analog Employees 
    on Apr 16, 2021 11:56 AM

    Hi,

      Please note that, we have never tested it at 1080p30 nor do we have any scripts that would support this. 1080p30 is 74MHz so it should be able to handle this.  This is one of those case where you may have to develope your own scripts and verify this format.

      Please refer Table 80 & Table 81 in page no 208 and 209 of ADV7480 hardware manual - Resolutions and Formats Supported on CSI-TXA in 2-Lane Output Mode & CSI-TXA in 4-Lane Output Mode.

      Refer design support file for configuring the YUV 422 8bit or 10bit.

    Which register can enable/disable MIPI-CSI out when HDMI has input data?

       We can configure the MIPI using below register

        mipi_pll_en -The register enables/disables MIPI PLL.  

           0 (default) Power down MIPI PLL

           1 Power up MIPI PLL

    94 00 82 ; Enable 2-lane MIPI

    94 00 84 ; Enable 4-lane MIPI

    ADV7480 Interrupt setting / status

         ADV7480 features three interrupt request pins. INTRQ1 and INTRQ2 can be programmed to trigger interrupts based on various selectable events related to the HDMI/MHL receiver (video and audio related) and the CP. INTRQ3 is dedicated to events related to the MHL CBUS.

    Please refer page no 225 in hardware manual for more information 

    Reference:UG-747 (Rev. 0) (analog.com)

    Is there register can set ADV7480 device ID ?

     I beleive, No - rd_info[15:0], IO Map, Address 0xDF[7:0]; Address 0xE0[7:0] (Read Only) This readback indicates the chip revision.

    Thanks,

    Poornima

  • Hi , 

    Thank you to provide suggestions. 

    The section 01-24 in script files I have, can I modify IO map , address 0x05 , value is 0x5E for 1920x1080@30 ?

    ; Supported Formats For Script Below - 1920x1080p50, 1600x1200(UXGA)@60
    :01-24 HDMI to MIPI TxA CSI 4-Lane - YUV422 10-Bit, Over 600Mbps:
    E0 FF FF ; SW reset
    delay 5 ;
    E0 01 76 ; ADI Required Write
    E0 05 96 ; Setting Vid_Std to 1600x1200(UXGA)@60   // E0 05 5E for 1920x1080 active resolution

     
    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

  • 0
    •  Analog Employees 
    on Apr 19, 2021 11:49 AM in reply to gen

    Hi,

      Yes the configuration is correct for 1920x1080p - E0 05 5E. 

      Please make sure with the register CP_V_FREQ[2:0] to select the frame rate as 30Hz

      CP_V_FREQ[2:0] Address 0x03[6:4]  - This signal selects the vertical frequency for the video through CP
          000 = 60 Hz
          001 = 50 Hz
          010 = 30 Hz
          011 = 25 Hz
          100 = 24 Hz

    Thanks,

    Poornima

  • Hi Poornima, 

    1) I want to define Device name in EDID of ADV7482.

    How to program EDID of ADV7482?  Through I2C as as below?

    Is there simple source code for reference?

    2) 28.63636Hz Crystal spec?

    3) DB0P/DB0N/CLKBP/CLKBN and video pixel port (P0~P7/LLC) and AINXDIAGX

    above pins, if unused, connect to GND or keep floating?

     

    Thanks. 

  • 0
    •  Analog Employees 
    on Apr 30, 2021 7:05 PM in reply to gen

    Hi,

    1) I want to define Device name in EDID of ADV7482.

       How to program EDID of ADV7482?  Through I2C as as below?

       Is there simple source code for reference ?

            In our software driver we are having the command like "edidmod on" to replace the EDID data in ADV7842 - (+) Advantiv EVAL-ADV7842-7511 Video Evaluation Board - Documents - Video - EngineerZone (analog.com)

    Device name should be change in the VESA block(First block). Refer CEA Spec for more details to know about which bytes is corresponds to changing the device name in VESA block.

      Source devices don't always detect new EDID correctly, So to be safe we should power-up the source device and connect to ADV7842 RxA only after the new EDID data is available.

    Please follow the below steps to update the EDID in source devices,

    1. Power-up EVAL-ADV7842-7511 with your display connected to the TX (J1) and nothing connected to RxA (J8) or RxB (J9).
    2. Type "edidmod on" and hit the Enter key.
    3. Disconnect the display (J1) and reconnect the display (J1).
    4. The software driver will parse the new EDID  and load into ADV7842 EDID memory.
    5. Connect the HDMI source device to RxA (J8).
    6. HDMI source device should see the new EDID data.

    2) 28.63636Hz Crystal spec?

           Yes, ADV748x uses a 28.63636 MHz crystal.

    3) DB0P/DB0N/CLKBP/CLKBN and video pixel port (P0~P7/LLC) and AINX,DIAGX

    above pins, if unused, connect to GND or keep floating?

        Please refer hardware manual in APPENDIX D – UNUSED PINS SECTION - Page No 247.

    Thanks,

    Poornima