AnsweredAssumed Answered

ADV7604 Register setting

Question asked by SteveChen on Feb 5, 2013
Latest reply on Mar 19, 2013 by joe.triggs

Hi,

 

Currently we are using ADV7604 with TI's DM365 for a VGA video recording purpose. Our DM365 side is expecting a YUV 4:2:2 16-bit separate sync video input. I've follow the "ADV7604-output-pixel-port-mapping-revH.XLS" by mapping (setting OP_FORMAT_SEL to 80) P16~P23 to Y input of DM365 and P4~P11 to CbCr input of DM365. We hook up a laptop VGA output to ADV7604 AIN7, 8, 9 and sync 3 as the Eval board did. However the raw data we captured from DM365 show that the input color (output from ADV7604) is all wrong. If I input Green , it will show a darker green. If I input blue, it will show purple-ish. If I input red, it will show white-greyish color. Please help if you see problems with my configuration setup. Thank you!

 

We have used the recommended register setting from the ADI Eval board script as follow:

 

##Graphics - XGA, 1024x768##

:Graphics-3.1 1024x768 _@ 60 65.000MHz Out through DAC:

40 0C 42 ; Power up part and Power down VDP

40 00 0C ; VID_STD=01100b for 1024x768 _@ 60

40 01 82 ; Enable Simultaneous Mode ,Prim_Mode =0010b for GR

40 02 F2 ; Auto CSC , RGB Out

40 03 42 ; 36 Bit SDR

40 05 28 ; TURN OFF EAV & SAV CODES & Enable Freerun

40 0B 44 ; Power down ESDP block

40 14 7F ; Drive strength adjustment

40 15 90 ; Disable Tristate of Pins except for Audio pins

40 33 60 ; LLC DLL Mux Enable

44 3E 04 ; Enable gain control for CP

44 40 5C ; Adjust CP gain for PGA gain of 1.4

44 69 30 ; Enable CP CSC

44 85 0B ; Disable Autodetectmode for Sync_Source for CH1. Force CH1 to use seperate HS & VS.

44 C3 39 ; ADI recommended write

44 CF 01 ; Power off macrovision

4C 13 93 ; Set LLC DLL Phase

4C 02 02 ; Ain_Sel to 010. (Ain 7,8,9)

4C 05 07 ; AA filter Enable

4C 06 20 ; Set AA_filt_high_BW to 11

4C 07 A0 ; Set AA_filt_high_BW to 11 & aa_filt_prog_bw to 01

4C 12 63 ; Turn Noise shaping OFF

4C 0C 1F ; Set PGA gain to 1.4

4C C6 5F ; Disable Audio Core

50 10 00 ; Mux

End

Outcomes