Is there a script to configure the ADV7611 to free run?
ADV7611
Recommended for New Designs
The ADV7611 is offered in automotive, professional (no HDCP), and industrial versions. The operating temperature range is -40°C to +85°C.
The UG-180 contains...
Datasheet
ADV7611 on Analog.com
Is there a script to configure the ADV7611 to free run?
Hi,
By reading the TMDS clock detection registers "tmds_clk_a_raw", we came to know whether HDMI cable is plugged in or not .
And also by using "cable_det_a_raw" register, we can able to know…
At the moment my software does not read back any registers in the ADV7611. Not very clever but that is how it is at the moment.
I was expecting to be able to set a blue screen when the HDMI video was not…
Interesting: I found a script that when dropped in to the 7611. Kicked everything off. The one location that is different from my script is x98,x05. Mine is x08 where as the script that causes free run is x28.
Bit 5 of this location is not defined anywhere.
However setting it stops my picture being displayed on the screen.
Even in free run the screen is still blank - no default blue screen.
Sounds like a bit of a duffer?
Anyone any ideas on how to get the blue screen up in this un-documented mode??
Hi,
Could you please try with below script and it can configures the ADV7611 to free-run (blue screen) in 1080p60 and the ADV7511 to output as RGB 444.
Kindly note that, If you are not using ADV7511 as Tx chip then please ignore '0x72' writes.
Also please refer freerun related configuration at ADV7611 Reference Manual (UG-180)
:Force 1080p60 free-run on EVAL-ADV7611EB1Z:
98 FF 80 # I2C reset
98 FD 44 # CP
98 00 1E # VID_STD = 1080P60 @ 60Hz
98 01 05 # Prim_Mode =101b HDMI-COMP
98 03 42 # 36 bit SDR 444 Mode 0
98 05 28 # AV Codes Off
98 0B 44 # Power up part
98 0C 42 # Power up part
98 14 7F # Max Drive Strength
98 15 80 # Disable tristate
98 19 83 # LLC DLL phase
98 33 40 # LLC DLL enable
44 BA 01 # Set HDMI FreeRun
44 BF 17 # FORCE FREE RUN; Manual color settings
44 C0 00 # Manual color: Green channel
44 C1 00 # Manual color: Red channel
44 C2 A0 # Manual color: Blue channel
44 C9 05 # Disable auto buffering of free-run parameters
72 01 00 ; Set N Value(6144)
72 02 18 ; Set N Value(6144)
72 03 00 ; Set N Value(6144)
72 15 00 ; Input 444 (RGB or YCrCb) with Separate Syncs, 44.1kHz fs
72 16 70 ; Output format 444, 24-bit input
72 18 46 ; CSC disabled
72 40 80 ; General Control packet enable
72 41 10 ; Power down control
72 48 08 ; Data right justified
72 49 A8 ; Set Dither_mode - 12-to-10 bit
72 4C 00 ; 8 bit Output
72 55 00 ; Set RGB 444 in AVinfo Frame
72 56 08 ; Set active format Aspect
72 96 20 ; HPD Interrupt clear
72 98 03 ; ADI Recommended Write
72 99 02 ; ADI Recommended Write
72 9C 30 ; PLL Filter R1 Value
72 9D 61 ; Set clock divide
72 A2 A4 ; ADI Recommended Write
72 A3 A4 ; ADI Recommended Write
72 A5 04 ; ADI Recommended Write
72 AB 40 ; ADI Recommended Write
72 AF 16 ; Set HDMI Mode
72 BA 60 ; No clock delay
72 D1 FF ; ADI Recommended Write
72 DE D8 ; ADI Recommended Write
72 E4 60 ; VCO_Swing_Reference_Voltage
72 FA 7D ; Nbr of times to search for good phase
End
Thanks,
Poornima
Thanks for that.
I now get a blue screen. However it will no longer display a video signal from the HDMI input.
Changing location 98 05 back from 28 to 08 makes it switch back to my video source.
With the 28, 44x ff shows free run.
with 08x, 44x ff shows not free running.
Any other suggestions?
I am running at 800 x 600 at 60hz and 70hz
Geoffrey
Hi,
Please note that, We need to rerun the script whenever we are reconnecting or disconnecting the cable.
Also, '98 05' register doesn't impact the free run mode.
Kindly refer our ADV7611 recommended configuration at ADV7611_Script
Thanks,
Poornima
Strange that 98 05 controls free run on my part. Works every time. The high order bits are un documented so I have no idea what it is trying to do.
Any good ideas on what register to check for hdmi connectedor not.
I will toggle 98 05 bit 5 to control the free run.
Hi,
By reading the TMDS clock detection registers "tmds_clk_a_raw", we came to know whether HDMI cable is plugged in or not .
And also by using "cable_det_a_raw" register, we can able to know whether 5V signal is detected on the HDMI port(HDMI plug-out/plug in).
At the moment my software does not read back any registers in the ADV7611. Not very clever but that is how it is at the moment.
I was expecting to be able to set a blue screen when the HDMI video was not present and the cable was plugged in.
Without continuously checking registers this does not look possible.
At least I have seen a blue screen on the display now even though my end user will not.
Thanks for your help
Geoffrey