AnsweredAssumed Answered

ADV7842 losing first few columns in VGA 1080p@60Hz

Question asked by Neera-Yu on Mar 8, 2017
Latest reply on Mar 9, 2017 by JeyasudhaMuthuPerumal

I'm building a video system with ADV7842 on my own board (along with Xilinx 7 series FPGA). 

Finding out that the first few columns (about four?) of output video are lost when using laptop (Intel Display Card) VGA output(1920*1080@60Hz, 148.5MHz - 6.7ns), I made a picture with stripes of pixels on the left side, each stripe is one pixel wide, part of which is as below:

on  oscilloscope I found that Y7 (MSB of YUV output) becomes high after about 56ns(7-8 pixels)  when de becomes high. so it seemed that adv7842 is losing the first few pixels of each line?


below are my configurations for VGA 1920*1080@60Hz:

ADV7842_REG adv7842_iic_VGA_1920x1080_60[NUMBER_OF_ADV7842_VGA_1920x1080_60_REGS] =
{0x40, 0x00, 0x07, 0x00},
{0x40, 0x01, 0x82, 0x00},
{0x40, 0x02, 0xF0, 0x00},
{0x40, 0x03, 0x90, 0x00},
{0x40, 0x05, 0x28, 0x00},
{0x40, 0x06, 0xA6, 0x00},
{0x40, 0x0C, 0x40, 0x00},
{0x40, 0x15, 0xB0, 0x00},
{0x40, 0x16, 0xC8, 0x00},
{0x40, 0x17, 0x98, 0x00},
{0x40, 0x19, 0x90, 0x00},//FIXME 80
{0x40, 0x33, 0x40, 0x00},
{0x44, 0x73, 0xEA, 0x00},
{0x44, 0x74, 0x8A, 0x00},
{0x44, 0x75, 0xA2, 0x00},
{0x44, 0x76, 0xA8, 0x00},
{0x44, 0x7C, 0xC0, 0x00},
{0x44, 0x7E, 0x00, 0x00},
{0x44, 0x7C, 0xC3, 0x00},
{0x44, 0x7D, 0xFF, 0x00},
{0x44, 0x85, 0x0B, 0x00},
{0x44, 0x8B, 0x4F, 0x00},
{0x44, 0x8C, 0xED, 0x00},
{0x44, 0x8B, 0x4F, 0x00},
{0x44, 0x8D, 0x20, 0x00},
{0x44, 0x8F, 0x41, 0x00},
{0x44, 0x90, 0xA8, 0x00},
{0x44, 0x91, 0x00, 0x00},
{0x44, 0xAB, 0x46, 0x00},
{0x44, 0xAC, 0x50, 0x00},
{0x44, 0xA5, 0x46, 0x00},
{0x44, 0xA6, 0x20, 0x00},
{0x44, 0xA7, 0x2A, 0x00},
{0x44, 0xBE, 0x02, 0x00},
{0x44, 0xBF, 0x32, 0x00},
{0x44, 0xC3, 0x39, 0x00},
{0x4C, 0x0C, 0x1F, 0x00},
{0x4C, 0x12, 0x63, 0x00},
{0x4C, 0x00, 0x80, 0x00},
{0x4C, 0x02, 0x00, 0x00},
{0x4C, 0xC8, 0x33, 0x00}