AnsweredAssumed Answered

Problems with VGA input to ADV7604

Question asked by shitali on Jan 9, 2013
Latest reply on Jan 24, 2013 by joe.triggs

Hi ,


In our system we are using adv7604 to get input from HDMI as well as VGA.  when we connect VGA we are facing issues ,


We dont observe CH1_STDI_VALID bit CP->b1[7] , and lcvs register b3 in cp core are set to zero.


the configuration for VGA testing that i am using are .  The script is the same one as

Graphics-2.3 800x600 _@ 60  Autodetecting sync source found in





WRITE_REG(ADCHIP, 0x0C, 0x42 );//// Power up part and Power down VDP

    WRITE_REG(40,0x00, 0x07 );// Auto DETECT

    WRITE_REG(40, 0x01, 0x80);// //Disable Simultaneous Mode ,Prim_Mode =0010b for GR

    WRITE_REG(40, 0x02, 0xF0 );//// Auto CSC , RGB Out

    WRITE_REG(40, 0x03, 0x80 );// //36 Bit SDR

    WRITE_REG(40, 0x05, 0x28 );// //TURN OFF EAV & SAV CODES & Enable Freerun

    WRITE_REG(40, 0x06, 0xA0 );// //Invert Hs and Vs to match spec

    WRITE_REG(40, 0x0B, 0x44 );// //Power down ESDP block

    WRITE_REG(40, 0x14, 0x77 );// //Drive strength adjustment

    WRITE_REG(40, 0x15, 0x90 );// //Disable Tristate of Pins except for Audio pins

    WRITE_REG(40, 0x33, 0x60 );// //LLC DLL Mux Enable

    WRITE_REG(44, 0x3E, 0x04 );// //Enable gain control for CP

    WRITE_REG(44, 0x40, 0x5C );// Adjust CP gain for PGA gain of 1.4

    WRITE_REG(44, 0x69, 0x30 );// Enable CP CSC

    WRITE_REG(44, 0x85, 0x0b);// Disable Autodetectmode for Sync_Source for CH1. Force CH1 to use seperate HS & VS.

    WRITE_REG(44, 0xC3, 0x39 );// ADI recommended write

    WRITE_REG(44, 0xCF, 0x01 );// Power off macrovision

    WRITE_REG(4C, 0x13, 0x93 );// Set LLC DLL Phase

    WRITE_REG(4C, 0x02, 0x00 );// AIN0 1 2

    WRITE_REG(4C, 0x05 ,0x07 );// AA filter Enable

    WRITE_REG(4C, 0x06, 0x20 );// Set AA_filt_high_BW to 11

    WRITE_REG(4C, 0x07, 0xA0 );// Set AA_filt_high_BW to 11 & aa_filt_prog_bw to 01

    WRITE_REG(4C, 0x12 ,0x63 );// Turn Noise shaping OFF

    WRITE_REG(4C, 0x0C ,0x1F );// Set PGA gain to 1.4

    WRITE_REG(4C, 0x30 ,0x80 );

    WRITE_REG(4C, 0xC6 ,0x5F );// Disable Audio Core