Post Go back to editing

ADV7611 - Force output to 4:2:2

Hi.

I have a board with ADV7611, and the output video must be in 4:2:2 format.

However the input video can be 4:2:2 and 4:4:4.

In ADV7611 Reference Manual, in page 86 said:

     For a 4:4:4 HDMI input stream to the ADV7611

          The DPP section filters and downsamples the video data from 4:4:4 to 4:2:2 format if DS_WITHOUT_FILTER is set to 0. The DPP section only downsamples, without filtering, the video data from the HDMI section if DS_WITHOUT_FILTER is set to 1.

So, for 4:4:4 input video, configure register 0xe0[7] (in addr 0x98 (hope this is correct because in the pdf said addr 40)) to 0, but don't have any video in output.

If the input video is 4:2:2 all is fine.

Can you help me with this issue. Need to do any other configuration?

Above are the configuration that I have to ADV7611.

{0x98 ,0x00 ,0x02},

{0x98 ,0x01 ,0x06},  //; Prim_Mode =110b HDMI-GR

{0x98 ,0x02 ,0xF5},  //; Auto CSC, YCrCb out, Set op_656 bit

{0x98 ,0x03 ,0x80},  //; 16 bit SDR 422 Mode 0

{0x98 ,0x04 ,0x42},  //; P[23:16] U/CrCb/B, P[15:8] Y/G, P[7:0] V/R

{0x98 ,0x05 ,0x2C},  //; AV Codes On

{0x98 ,0x06 ,0xA6},  //; Invert VS,HS pins

{0x98 ,0x0B ,0x44},  //; Power up part

{0x98 ,0x0C ,0x42},  //; Power up part

{0x98 ,0x14 ,0x7F},  //; Max Drive Strength

{0x98 ,0x15 ,0x80},  //; Disable Tristate of Pins

{0x98 ,0x19 ,0x83},  //; LLC DLL phase

{0x98 ,0x33 ,0x40},  //; LLC DLL enable

{0x44 ,0xBA ,0x01},  //; Set HDMI FreeRun

{0x64 ,0x40 ,0x81},  //; Disable HDCP 1.1 features

{0x68 ,0x9B ,0x03},  //; ADI recommended setting

{0x68 ,0xC1 ,0x01},  //; ADI recommended setting

{0x68 ,0xC2 ,0x01},  //; ADI recommended setting

{0x68 ,0xC3 ,0x01},  //; ADI recommended setting

{0x68 ,0xC4 ,0x01},  //; ADI recommended setting

{0x68 ,0xC5 ,0x01},  //; ADI recommended setting

{0x68 ,0xC6 ,0x01},  //; ADI recommended setting

{0x68 ,0xC7 ,0x01},  //; ADI recommended setting

{0x68 ,0xC8 ,0x01},  //; ADI recommended setting

{0x68 ,0xC9 ,0x01},  //; ADI recommended setting

{0x68 ,0xCA ,0x01},  //; ADI recommended setting

{0x68 ,0xCB ,0x01},  //; ADI recommended setting

{0x68 ,0xCC ,0x01},  //; ADI recommended setting

{0x68 ,0x00 ,0x00},  //; Set HDMI Input Port A

{0x68 ,0x83 ,0xFE},  //; Enable clock terminator for port A

{0x68 ,0x6F ,0x0C},  //; ADI recommended setting

{0x68 ,0x85 ,0x1F},  //; ADI recommended setting

{0x68 ,0x87 ,0x70},  //; ADI recommended setting

{0x68 ,0x8D ,0x04},  //; LFG

{0x68 ,0x8E ,0x1E},  //; HFG

{0x68 ,0x1A ,0x8A},  //; unmute audio

{0x68 ,0x57 ,0xDA},  //; ADI recommended setting

{0x68 ,0x58 ,0x01},  //; ADI recommended setting

{0x68 ,0x03 ,0x98},  //; DIS_I2C_ZERO_COMPR

{0x68 ,0x75 ,0x10},  //; DDC drive strength

{0x68, 0x6E, 0x0A}, // Mux SPDIF into I2S pins

{0x68, 0x03, 0xF8}, // ; DIS_I2C_ZERO_COMPR

{0x68, 0x4c, 0x04}}; // ; Set NEW_VS_PARAM 0x44[2]=1  To process the low frame rate video formats such as 720p24, 720p25, 720p30, 1080p23, 1080p24, 1080p30,

The edid configuration is:

{0x64 , 0x74 ,0x00},

{0x6C , 0x00 ,0x00},

{0x6C , 0x01 ,0xFF},

{0x6C , 0x02 ,0xFF},

{0x6C , 0x03 ,0xFF},

{0x6C , 0x04 ,0xFF},

{0x6C , 0x05 ,0xFF},

{0x6C , 0x06 ,0xFF},

{0x6C , 0x07 ,0x00},

{0x6C , 0x08 ,0x06},

{0x6C , 0x09 ,0x8F},

{0x6C , 0x0A ,0x07},

{0x6C , 0x0B ,0x11},

{0x6C , 0x0C ,0x01},

{0x6C , 0x0D ,0x00},

{0x6C , 0x0E ,0x00},

{0x6C , 0x0F ,0x00},

{0x6C , 0x10 ,0x17},

{0x6C , 0x11 ,0x11},

{0x6C , 0x12 ,0x01},

{0x6C , 0x13 ,0x04},

{0x6C , 0x14 ,0x80},

{0x6C , 0x15 ,0x0C},

{0x6C , 0x16 ,0x09},

{0x6C , 0x17 ,0x78},

{0x6C , 0x18 ,0x0A},

{0x6C , 0x19 ,0x1E},

{0x6C , 0x1A ,0xAC},

{0x6C , 0x1B ,0x98},

{0x6C , 0x1C ,0x59},

{0x6C , 0x1D ,0x56},

{0x6C , 0x1E ,0x85},

{0x6C , 0x1F ,0x28},

{0x6C , 0x20 ,0x29},

{0x6C , 0x21 ,0x52},

{0x6C , 0x22 ,0x57},

{0x6C , 0x23 ,0x00},

{0x6C , 0x24 ,0x00},

{0x6C , 0x25 ,0x00},

{0x6C , 0x26 ,0x01},

{0x6C , 0x27 ,0x01},

{0x6C , 0x28 ,0x01},

{0x6C , 0x29 ,0x01},

{0x6C , 0x2A ,0x01},

{0x6C , 0x2B ,0x01},

{0x6C , 0x2C ,0x01},

{0x6C , 0x2D ,0x01},

{0x6C , 0x2E ,0x01},

{0x6C , 0x2F ,0x01},

{0x6C , 0x30 ,0x01},

{0x6C , 0x31 ,0x01},

{0x6C , 0x32 ,0x01},

{0x6C , 0x33 ,0x01},

{0x6C , 0x34 ,0x01},

{0x6C , 0x35 ,0x01},

{0x6C , 0x36 ,0x8C},

{0x6C , 0x37 ,0x0A},

{0x6C , 0x38 ,0xD0},

{0x6C , 0x39 ,0x8A},

{0x6C , 0x3A ,0x20},

{0x6C , 0x3B ,0xE0},

{0x6C , 0x3C ,0x2D},

{0x6C , 0x3D ,0x10},

{0x6C , 0x3E ,0x10},

{0x6C , 0x3F ,0x3E},

{0x6C , 0x40 ,0x96},

{0x6C , 0x41 ,0x00},

{0x6C , 0x42 ,0x81},

{0x6C , 0x43 ,0x60},

{0x6C , 0x44 ,0x00},

{0x6C , 0x45 ,0x00},

{0x6C , 0x46 ,0x00},

{0x6C , 0x47 ,0x18},

{0x6C , 0x48 ,0x01},

{0x6C , 0x49 ,0x1D},

{0x6C , 0x4A ,0x80},

{0x6C , 0x4B ,0x18},

{0x6C , 0x4C ,0x70},

{0x6C , 0x4D ,0x1C},

{0x6C , 0x4E ,0x16},

{0x6C , 0x4F ,0x20},

{0x6C , 0x50 ,0x58},

{0x6C , 0x51 ,0x2C},

{0x6C , 0x52 ,0x25},

{0x6C , 0x53 ,0x00},

{0x6C , 0x54 ,0x81},

{0x6C , 0x55 ,0x49},

{0x6C , 0x56 ,0x00},

{0x6C , 0x57 ,0x00},

{0x6C , 0x58 ,0x00},

{0x6C , 0x59 ,0x9E},

{0x6C , 0x5A ,0x00},

{0x6C , 0x5B ,0x00},

{0x6C , 0x5C ,0x00},

{0x6C , 0x5D ,0xFC},

{0x6C , 0x5E ,0x00},

{0x6C , 0x5F ,0x56},

{0x6C , 0x60 ,0x41},

{0x6C , 0x61 ,0x2D},

{0x6C , 0x62 ,0x31},

{0x6C , 0x63 ,0x38},

{0x6C , 0x64 ,0x30},

{0x6C , 0x65 ,0x39},

{0x6C , 0x66 ,0x41},

{0x6C , 0x67 ,0x0A},

{0x6C , 0x68 ,0x20},

{0x6C , 0x69 ,0x20},

{0x6C , 0x6A ,0x20},

{0x6C , 0x6B ,0x20},

{0x6C , 0x6C ,0x00},

{0x6C , 0x6D ,0x00},

{0x6C , 0x6E ,0x00},

{0x6C , 0x6F ,0xFD},

{0x6C , 0x70 ,0x00},

{0x6C , 0x71 ,0x17},

{0x6C , 0x72 ,0x3D},

{0x6C , 0x73 ,0x0D},

{0x6C , 0x74 ,0x2E},

{0x6C , 0x75 ,0x11},

{0x6C , 0x76 ,0x00},

{0x6C , 0x77 ,0x0A},

{0x6C , 0x78 ,0x20},

{0x6C , 0x79 ,0x20},

{0x6C , 0x7A ,0x20},

{0x6C , 0x7B ,0x20},

{0x6C , 0x7C ,0x20},

{0x6C , 0x7D ,0x20},

{0x6C , 0x7E ,0x01},

{0x6C , 0x7F ,0x1C},

{0x6C , 0x80 ,0x02},

{0x6C , 0x81 ,0x03},

{0x6C , 0x82 ,0x45},

{0x6C , 0x83 ,0x7F},

{0x6C , 0x84 ,0x5E},

{0x6C , 0x85 ,0x81},

{0x6C , 0x86 ,0x82},

{0x6C , 0x87 ,0x83},

{0x6C , 0x88 ,0x84},

{0x6C , 0x89 ,0x85},

{0x6C , 0x8A ,0x86},

{0x6C , 0x8B ,0x87},

{0x6C , 0x8C ,0x8A},

{0x6C , 0x8D ,0x8B},

{0x6C , 0x8E ,0x8E},

{0x6C , 0x8F ,0x8F},

{0x6C , 0x90 ,0x91},

{0x6C , 0x91 ,0x92},

{0x6C , 0x92 ,0x93},

{0x6C , 0x93 ,0x94},

{0x6C , 0x94 ,0x95},

{0x6C , 0x95 ,0x96},

{0x6C , 0x96 ,0x99},

{0x6C , 0x97 ,0x9A},

{0x6C , 0x98 ,0x9D},

{0x6C , 0x99 ,0x9E},

{0x6C , 0x9A ,0xA0},

{0x6C , 0x9B ,0xA1},

{0x6C , 0x9C ,0xA2},

{0x6C , 0x9D ,0xA3},

{0x6C , 0x9E ,0xA4},

{0x6C , 0x9F ,0xA5},

{0x6C , 0xA0 ,0xA6},

{0x6C , 0xA1 ,0xA7},

{0x6C , 0xA2 ,0x9C},

{0x6C , 0xA3 ,0x35},

{0x6C , 0xA4 ,0x0F},

{0x6C , 0xA5 ,0x7F},

{0x6C , 0xA6 ,0x07},

{0x6C , 0xA7 ,0x17},

{0x6C , 0xA8 ,0x1F},

{0x6C , 0xA9 ,0x38},

{0x6C , 0xAA ,0x1F},

{0x6C , 0xAB ,0x07},

{0x6C , 0xAC ,0x30},

{0x6C , 0xAD ,0x2F},

{0x6C , 0xAE ,0x07},

{0x6C , 0xAF ,0x72},

{0x6C , 0xB0 ,0x3F},

{0x6C , 0xB1 ,0x7F},

{0x6C , 0xB2 ,0x72},

{0x6C , 0xB3 ,0x57},

{0x6C , 0xB4 ,0x7F},

{0x6C , 0xB5 ,0x00},

{0x6C , 0xB6 ,0x37},

{0x6C , 0xB7 ,0x7F},

{0x6C , 0xB8 ,0x72},

{0x6C , 0xB9 ,0x83},

{0x6C , 0xBA ,0x4F},

{0x6C , 0xBB ,0x00},

{0x6C , 0xBC ,0x00},

{0x6C , 0xBD ,0x67},

{0x6C , 0xBE ,0x03},

{0x6C , 0xBF ,0x0C},

{0x6C , 0xC0 ,0x00},

{0x6C , 0xC1 ,0x10},

{0x6C , 0xC2 ,0x00},

{0x6C , 0xC3 ,0x88},

{0x6C , 0xC4 ,0x2D},

{0x6C , 0xC5 ,0x00},

{0x6C , 0xC6 ,0x00},

{0x6C , 0xC7 ,0x00},

{0x6C , 0xC8 ,0x00},

{0x6C , 0xC9 ,0x00},

{0x6C , 0xCA ,0x00},

{0x6C , 0xCB ,0x00},

{0x6C , 0xCC ,0x00},

{0x6C , 0xCD ,0x00},

{0x6C , 0xCE ,0x00},

{0x6C , 0xCF ,0x00},

{0x6C , 0xD0 ,0x00},

{0x6C , 0xD1 ,0x00},

{0x6C , 0xD2 ,0x00},

{0x6C , 0xD3 ,0x00},

{0x6C , 0xD4 ,0x00},

{0x6C , 0xD5 ,0x00},

{0x6C , 0xD6 ,0x00},

{0x6C , 0xD7 ,0x00},

{0x6C , 0xD8 ,0x00},

{0x6C , 0xD9 ,0x00},

{0x6C , 0xDA ,0x00},

{0x6C , 0xDB ,0x00},

{0x6C , 0xDC ,0x00},

{0x6C , 0xDD ,0x00},

{0x6C , 0xDE ,0x00},

{0x6C , 0xDF ,0x00},

{0x6C , 0xE0 ,0x00},

{0x6C , 0xE1 ,0x00},

{0x6C , 0xE2 ,0x00},

{0x6C , 0xE3 ,0x00},

{0x6C , 0xE4 ,0x00},

{0x6C , 0xE5 ,0x00},

{0x6C , 0xE6 ,0x00},

{0x6C , 0xE7 ,0x00},

{0x6C , 0xE8 ,0x00},

{0x6C , 0xE9 ,0x00},

{0x6C , 0xEA ,0x00},

{0x6C , 0xEB ,0x00},

{0x6C , 0xEC ,0x00},

{0x6C , 0xED ,0x00},

{0x6C , 0xEE ,0x00},

{0x6C , 0xEF ,0x00},

{0x6C , 0xF0 ,0x00},

{0x6C , 0xF1 ,0x00},

{0x6C , 0xF2 ,0x00},

{0x6C , 0xF3 ,0x00},

{0x6C , 0xF4 ,0x00},

{0x6C , 0xF5 ,0x00},

{0x6C , 0xF6 ,0x00},

{0x6C , 0xF7 ,0x00},

{0x6C , 0xF8 ,0x00},

{0x6C , 0xF9 ,0x00},

{0x6C , 0xFA ,0x00},

{0x6C , 0xFB ,0x00},

{0x6C , 0xFC ,0x00},

{0x6C , 0xFD ,0x00},

{0x6C , 0xFE ,0x00},

{0x6C , 0xFF ,0x00},

{0x64 , 0x77 ,0x00},

{0x64 , 0x52 ,0x20},

{0x64 , 0x53 ,0x00},

{0x64 , 0x70 ,0x9E},

{0x64 , 0x74 ,0x03}};

Thanks.