Hello Team,
I am working on a project where I use the ADV7613 to bridge HDMI input signals to LVDS output for a LCD display. However, I am facing an issue where no video signals are appearing on the LCD display, despite having configured the ADV7613 according to the script provided by ADI for ADV7613.
Configurations:
HDMI Input:
TMDS clock: 65 MHz (from the HDMI source).
Display Specifications:
Pixel resolution: 1024 x 768 XGA.
Pixel clock: 65 MHz.
Display type: RGB 4:4:4 or YCrCb 4:4:4.
LVDS Interface: 30-pin, 1-channel LVDS interface.
Process Followed (asper the Analog Devices script for ADV7613):
I configured the ADV7613 I2C registers for HDMI Input_LVDS Output Port A script, TMDS CLK Greater Than 27MHz
1) 98 FF 80 ; default 0x00, I2C reset
98 F4 80 ; default 0x00, CEC Map Address set to 0x80
98 F5 7C ; default 0x00, Infoframe Map Address set to 0x7C
98 F8 4C ; default 0x00, DPLL Map Address set to 0x4C
98 F9 64 ; default 0x00, KSV Map Address set to 0x64
98 FA 6C ; default 0x00, EDID Map Address set to 0x6C
98 FB 68 ; default 0x00, HDMI Map Address set to 0x68
98 FD 44 ; default 0x00, CP Map Address set to 0x44
98 E9 C0 ; default 0x00, LVDS Map Address set to 0xC0
2) I wrote the EDID contents of the LCD to the ADV7613’s internal EDID RAM via external MCU:
64 74 00 ; Disable the Internal EDID
6C 00 00 ;
6C 01 FF ;
.
.
.
.
64 71 00 ; Set the Most Significant Bit of the SPA location to 0 (Is this register necessary to configure for ADV7613?)
64 74 01 ; Enable the Internal EDID for ports
3) ADI recommended write & custom register settings
98 00 0C ; default 0x08, [5:0] - VID_STD[5:0] = 6'b010010 - WXGA 1360x768p@60Hz
98 01 06 ; default 0x06, [3:0] - Prim_Mode[3:0] = 4'b0110 - HDMI-Gr
98 02 F2 ; default 0xF0, [7:4] - INP_COLOR_SPACE[3:0] = 4'b1111 - color space determined by HDMI block, [1] RGB_OUT - 1'b1 - RGB color space output
98 03 42 ; default 0x00, [7:0] - OP_FORMAT_SEL[7:0] = 8'b01000010 - 36-bit 4:4:4 SDR Mode 0
98 04 63 ; ADI Recommended write
98 05 20 ; ADI Recommended write
44 8B 40 ; ADI Recommended write
44 8C 01 ; ADI Recommended write
44 8D 01 ; ADI Recommended write
98 0C 42 ; default 0x62, [5] - POWER_DOWN = 1'b0 - Powers up part
98 15 AE ; default 0xBE, [4] - TRI_AUDIO = 1'b0 = untristate Audio , {3] - TRI_LLC = 1'b1 = tristate LLC, Bit{1] - TRI_PIX = 1'b1 = Tristate Pixel Pads
44 6C 00 ; default 0x10, ADI Recommended write
64 40 81 ; default 0x83, BCAPS[7:0] - Disable HDCP 1.1 features
68 03 98 ; default 0x18, ADI Recommended write
68 10 A5 ; default 0x25, ADI Recommended write
68 1B 08 ; default 0x18, ADI Recommended write
68 45 04 ; default 0x00, ADI Recommended write
68 97 C0 ; default 0x80, ADI Recommended write
68 3D 10 ; default 0x00, ADI Recommended write
68 3E 7B ; default 0x79, ADI recommended write
68 3F 5E ; default 0x63, ADI Recommended Write
68 4E FE ; default 0x7B, ADI recommended write
68 4F 08 ; default 0x63, ADI recommended write
68 57 A3 ; default 0x30, ADI recommended write
68 58 07 ; default 0x01, ADI recommended write
68 6F 08 ; default 0x00, ADI Recommended write
68 83 FE ; default 0xFF, ADI recommended write
68 85 10 ; default 0x16, ADI recommended write
68 86 9B ; default 0x00, ADI recommended write
68 89 01 ; default 0x00, ADI recommended write
68 9B 03 ; default 0x0B, ADI Recommended write
68 9C 80 ; default 0x08, ADI Recommended write
68 9C C0 ; default 0x08, ADI Recommended write
68 9C 00 ; default 0x08, ADI Recommended write
C0 40 08 ; default 0x02
C0 43 03 ; default 0x00, ADI Recommended write
C0 44 02 ; default 0x00, ADI Recommended write
C0 45 04 ; default 0x1E, ADI Recommended write
C0 46 53 ; default 0x77, ADI Recommended write
C0 47 03 ; default 0x02, ADI Recommended write
C0 4C 11 ; default 0x71
C0 4E 24 ; default 0x08
Despite following this configuration process, no video signal is appearing on the LCD, and I’m encountering the following register values:
Registers Readback:
VCLK_CHNG_RAW = 1 (indicating a change in the TMDS clock frequency).
NEW_TMDS_FRQ_RAW = 1 (indicating the detection of a new TMDS frequency).
HDMI_MODE = 0 (HDMI mode not set).
KSV_LIST_READY = 0 (KSV list not ready for HDCP).
HDMI Map register values:
0x51 = 00001010
0x52 = 10101011
Questions:
1) Could you please correct me, if steps followed to configure ADV7613 are correct or not?
2) Is there any other registers I have to write?
3) What are the correct LVDS Configurations?
Issue Diagnosis:
The HDMI Map register values at 0x51 and 0x52 seem to be incorrect for a 65 MHz TMDS clock input:
0x51 = 00001010 (this should correspond to the TMDS frequency in MHz).
0x52 = 10101011 (fractional bits).
Could you please explain why these values are not consistent with my input clock frequency of 65 MHz, and how I can correct or interpret these register values?
I appreciate any insights or suggestions you may have to resolve the issue.
Thanks & Regards,
Rupesh