Post Go back to editing

ADV7401 Blocky Video

Greetings,

We are using a ADV7401 on a new video board to perform VGA to 24-bit RGB conversion, however the video after the conversion looks jumbled up.  The board is converting a VGA input to a Composite output.  At this point I am not sure if the problem is with the ADV7401 that is the analog front end or our digital decoder that is performing the 24-bit TTL to Composite conversion.  I could use some advice for debugging.

So far I have verified that the HS (pin 4), VS (pin 99) and LLC1 (pin 36) frequencies are accurate look and signals look good.  They were 48.363 KHz, 60 HZ and 65 MHz respectively .  We only need to use 1024x768 at 60 HZ so the software is configuring the ADV7401 using the provided script from the datasheet, which are the following register value pairs.

0x05, 0x02, // ; Prim_Mode =010b for GR
0x06, 0x0C, // ; VID_STD=1100b for 1024x768 _@ 60
0x1D, 0x47, // ; Enable 28MHz Crystal
0x3A, 0x21, // ; set latch clock settings to 010b (55 MHz - 111 MHz), Power Down ADC3
0x3B, 0x80, // ; Enable External Bias
0x3C, 0x5D, // ; PLL_QPUMP to 101b (500 uA)
0x6A, 0x00, // ; DLL Phase Adjust
0x6B, 0xC2, // ; HSync out, Field Signal, Swap Pr & Pb
0x73, 0x90, // ; Set man_gain
0x7B, 0x1D, // ; TURN OFF EAV & SAV CODES Set BLANK_RGB_SEL
0x85, 0x03, // ; Synchronous VS, Enable DS_OUT
0x86, 0x0B, // ; Enable stdi_line_count_mode
0xF4, 0x3F, // ; Max Drive Strength
0x0E, 0x80, // ; ADI Recommended Setting
0x52, 0x46, // ; ADI Recommended Setting
0x54, 0x00, // ; ADI Recommended Setting
0x0E, 0x00  // ; ADI Recommended Setting

To me the this looks like a digital problem and not analog.  I have tried inverting the sync signal polarities (with reg 0x7C) out of the ADV7401 and tested with a 800x600 60 HZ resolution (instead of XGA 60 HZ), but the video quality looked the same.  Also, on our pattern generator I have gated the R, G, B to show each primary the colors individually, but problem is in each path.

I didn't see it in the datasheet, but is there any debug modes to output test patterns out of the ADV7401?  This would be a great way to isolate the problem to the digital side. Below are images of a focus test pattern showing the issue and a page of our schematic with the ADV7401.  Any advice is welcome!

Video Through ADV7401.  Note the broken video.

Video through ADV7401

PATTERN REFERENCE (Composite from Pattern Generator direct to TV)

Composite Into TV



edit to schematic image
[edited by: MatthewDSE at 9:03 PM (GMT 0) on 29 Oct 2019]
Parents
  • Hi,

     Are you able to get free run output without any issues?

     Are you giving input in video pixel input port?

    Thanks,

    Poornima

  • Hello Poornima,

    Thank you for taking a look at my post.

    I haven't check the freerun or sync signals after input video is not present.  Our software is set to blank the digital decoder output when the ADV7401 doesn't detect a valid input.

    We are not using the video pixel input port.  I am not sure why the DE_IN net was brought out.  Sorry if this was misleading. 

    Something we were not sure about is how to set unused pins.  There is a note for Table 4 that list a handful of analog pins and says to tie them to AGND.  However, what is the recommend way to set the digital?   Could leaving DCLK_IN and some of the other digital floating cause issues?

    Thank you,
    Matthew

  • Update:

    Freerun works as expected. 

    We jumped AGND to the all the floating analog pins as recommended, but this didn't improve the video quality.

    Something else we noticed besides the choppy video is mosquito noise.  In other words, white dots appear randomly in the video.  I think this is coming from the ADV7401 out of the digital output because with a black VGA video input there are random digital pulses.  I would expect to see all 24 pixel data lines low.  Is there something I can look at to improve the analog to digital conversion? 

    The analog red, green and blue look fairly clean on a scope.  I only observed a minor periodic 140mV peak-to-peak pulse that is probably from a switching regulator.  Cold spray does clear the sparkles up for a while.

  • Hi,

    Please refer below expert comment for unused pins at ez.analog.com/.../17677
        DE_IN,DCLK_IN can be weakly pulled low.
        Output port pins can be left float open or floating
        Input pixel ports can be left floating

    Note: There are specific layout guide lines for using the ADV7401 other than normal good layout  practice.
    -           Keep trace lengths as  short as possible
    -           Keep the XTAL close to  the package and XTAL traces as short as possible
    -           Keep the external loop  filter components (connected to ELPF) on the same side of the board and as close  as possible to the part
    -           Ensure that power  supply design minimizes EMC possibility
    -           Use decoupling caps  near to the part on each supply to reduce low, mid and high freq  noise
    I’ve attached our eval note for the ADV7401 board which includes schematics, layout and bill of  materials. You should use this as a reference when working on the  ADV7401 layout.ADV7403_EVAL_NOTE_MINI_REVA_aug_07.pdf

    Refer here for Video drifting - https://ez.analog.com/video/f/q-a/7892/adv7401-video-drifting-rising-gnd-reference/13603#13603

    Thanks,

    Poornima

Reply
  • Hi,

    Please refer below expert comment for unused pins at ez.analog.com/.../17677
        DE_IN,DCLK_IN can be weakly pulled low.
        Output port pins can be left float open or floating
        Input pixel ports can be left floating

    Note: There are specific layout guide lines for using the ADV7401 other than normal good layout  practice.
    -           Keep trace lengths as  short as possible
    -           Keep the XTAL close to  the package and XTAL traces as short as possible
    -           Keep the external loop  filter components (connected to ELPF) on the same side of the board and as close  as possible to the part
    -           Ensure that power  supply design minimizes EMC possibility
    -           Use decoupling caps  near to the part on each supply to reduce low, mid and high freq  noise
    I’ve attached our eval note for the ADV7401 board which includes schematics, layout and bill of  materials. You should use this as a reference when working on the  ADV7401 layout.ADV7403_EVAL_NOTE_MINI_REVA_aug_07.pdf

    Refer here for Video drifting - https://ez.analog.com/video/f/q-a/7892/adv7401-video-drifting-rising-gnd-reference/13603#13603

    Thanks,

    Poornima

Children
No Data