AnsweredAssumed Answered

ADV7611 configuration problems

Question asked by ChristianBarth on Jul 16, 2013
Latest reply on Jul 23, 2013 by GuenterL

Hi,

 

I have a custom board with an ADV7611 without any muxer. The ADV7611 should deliver a RGB Signal to a FPGA.

I want to capture the same resolution/colorspace from our source at the ADV7611-output. All I tried, results in "freerun-test-picture" or wrong resolutions or nothing at the output. I dont need audio, freerun or hdcp at this time, only an conversation from HDMI to VGA in any resolution up to 1080p.

 

My i2c-config:

i2cset -y 1 0x4c 0xff 0x80 #reset to default

#Map Registers (Write in IO Map)
i2cset -y 1 0x4c 0xf4 0x80 #CEC MAP       Address: 0x40
i2cset -y 1 0x4c 0xf5 0x7C #INFOFRAME MAP Address: 0x3E
i2cset -y 1 0x4c 0xf8 0x4C #DPLL MAP      Address: 0x26
i2cset -y 1 0x4c 0xf9 0x64 #REPEATER MAP  Address: 0x32
i2cset -y 1 0x4c 0xfa 0x6C #EDID MAP      Address: 0x36
i2cset -y 1 0x4c 0xfb 0x68 #HDMI MAP      Address: 0x34
i2cset -y 1 0x4c 0xfd 0x44 #CP MAP        Address: 0x22

 

echo "Configuration ADV7611 General Settings"
i2cset -y 1 0x4C 0x00 0x1E
i2cset -y 1 0x4C 0x01 0x06 #Primary Mode = 110b HDMI GR
i2cset -y 1 0x4C 0x02 0xF2 #Auto CSC, RGB In/Out
i2cset -y 1 0x4C 0x03 0x40 #24bit 444 SDR mode
i2cset -y 1 0x4C 0x05 0x28 #AVCode off
i2cset -y 1 0x4C 0x06 0xA0 #Invert VS,HS pins
i2cset -y 1 0x4C 0x0B 0x44 #Power up part
i2cset -y 1 0x4C 0x0C 0x42 #Power up part
i2cset -y 1 0x4C 0x14 0x7F #Max Drive Strength
i2cset -y 1 0x4C 0x15 0x80 #Disable Tristate of Pins
i2cset -y 1 0x4C 0x19 0x83 #LLC DLL phase
i2cset -y 1 0x4C 0x33 0x40 #LLC DLL enable

i2cset -y 1 0x22 0xBA 0x01 #Set HDMI FreeRun
i2cset -y 1 0x32 0x40 0x81 #Disable HDCP 1.1 features

 

I wrote the edid at this point ...

i2cset -y 1 0x32 0x74 0x01 #Enable E-EDID = enable

 

echo "Configuration ADV7611 recommend settings"
i2cset -y 1 0x34 0x9B 0x03 #ADI recommended
i2cset -y 1 0x34 0xC1 0x01 #ADI recommended
i2cset -y 1 0x34 0xC2 0x01 #ADI recommended
i2cset -y 1 0x34 0xC3 0x01 #ADI recommended
i2cset -y 1 0x34 0xC4 0x01 #ADI recommended
i2cset -y 1 0x34 0xC5 0x01 #ADI recommended
i2cset -y 1 0x34 0xC6 0x01 #ADI recommended
i2cset -y 1 0x34 0xC7 0x01 #ADI recommended
i2cset -y 1 0x34 0xC8 0x01 #ADI recommended
i2cset -y 1 0x34 0xC9 0x01 #ADI recommended
i2cset -y 1 0x34 0xCA 0x01 #ADI recommended
i2cset -y 1 0x34 0xCB 0x01 #ADI recommended
i2cset -y 1 0x34 0xCC 0x01 #ADI recommended
i2cset -y 1 0x34 0x00 0x00 #Set HDMI Input Port A
i2cset -y 1 0x34 0x83 0xFE #Enable clock terminator for port A
i2cset -y 1 0x34 0x6D 0x80 #Enable TDM Mode
i2cset -y 1 0x34 0x6F 0x0C #ADI recommended setting
i2cset -y 1 0x34 0x85 0x1F #ADI recommended setting
i2cset -y 1 0x34 0x87 0x70 #ADI recommended setting
i2cset -y 1 0x34 0x8D 0x04 #LFG
i2cset -y 1 0x34 0x8E 0x1E #HFG
i2cset -y 1 0x34 0x1A 0x8A #unmute audio
i2cset -y 1 0x34 0x57 0xDA #ADI recommended setting
i2cset -y 1 0x34 0x58 0x01 #ADI recommended setting
i2cset -y 1 0x34 0x75 0x10 #DDC drive strength

Outcomes