AnsweredAssumed Answered

black margin exists on the image caputred from adv7611

Question asked by guohuili on Apr 22, 2015
Latest reply on Apr 22, 2015 by mattp

we use adv7611 on TI OMAP4 platform to capture hdmi video, but we found that the caputred image has black margin. the attached picture is the example. we use PC as the hdmi source, and the source is 1280x720@60fps.

here, we give the adv7611 configuration to assist the analysis:

 

-----------------------------------------------------------------adv7611 configuration--------------------------------------------------

  adv7611_write_reg(adv7611->client,0x01,0x06);

  adv7611_write_reg(adv7611->client,0x02,0xf5);

  adv7611_write_reg(adv7611->client,0x02,0xF5);

  adv7611_write_reg(adv7611->client,0x03,0x80);

  adv7611_write_reg(adv7611->client,0x05,0x28);

  adv7611_write_reg(adv7611->client,0x06,0xA6);

  adv7611_write_reg(adv7611->client,0x0B,0x44);

  adv7611_write_reg(adv7611->client,0x0C,0x42);

  adv7611_write_reg(adv7611->client,0x14,0x7F);

  adv7611_write_reg(adv7611->client,0x15,0x80);

 

  adv7611_write_reg(adv7611->client,0x19,0x80);                                               

  adv7611_write_reg(adv7611->client,0x33,0x40);

 

  ret = adv7611_write_reg(adv7611->client_cp,0xBA,0x01);

 

  ret = adv7611_write_reg(adv7611->client_repeater,0x40,0x81);

 

  ret=adv7611_write_reg(adv7611->client_hdmi,0x9B,0x03);

  

  adv7611_write_reg(adv7611->client_hdmi,0xC1,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC2,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC3,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC4,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC5,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC6,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC7,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC8,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xC9,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xCA,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xCB,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0xCC,0x01);

 

  adv7611_write_reg(adv7611->client_hdmi,0x00,0x00);

  adv7611_write_reg(adv7611->client_hdmi,0x83,0xFE);

  adv7611_write_reg(adv7611->client_hdmi,0x6F,0x0C);

  adv7611_write_reg(adv7611->client_hdmi,0x85,0x1F);

  adv7611_write_reg(adv7611->client_hdmi,0x87,0x70);

  adv7611_write_reg(adv7611->client_hdmi,0x8D,0x04);

  adv7611_write_reg(adv7611->client_hdmi,0x8E,0x1E);

  adv7611_write_reg(adv7611->client_hdmi,0x1A,0x8A);

  adv7611_write_reg(adv7611->client_hdmi,0x57,0xDA);

  adv7611_write_reg(adv7611->client_hdmi,0x58,0x01);

  adv7611_write_reg(adv7611->client_hdmi,0x03,0x98);

  adv7611_write_reg(adv7611->client_hdmi,0x75,0x10);

 

  adv7611_write_reg(adv7611->client_hdmi,0x6c,0xa3);

----------------------------------------------------------------------------------------------------

on the above configuration, adv7611->client represents for IOMAP, adv7611->clinet_cp represents for CP MAP,

adv7611->client_repeater represents for REPEATER MAP, adv7611->client_hdmi represents for HDMI MAP.

 

we use the scope the watch the signal from the adv7611 output(P15~P0,HS,VS,DE), and find that the black margin has already existed before sending to OMAP4.

 

in addition, the edid of adv7611 is:

unsigned char basic_edid[128]={

0x00,0xff,0xff,0xff,0xff,0xff,0xff,0x00,

0x4c,0x2d,0x6b,0x0a,0x34,0x45,0x58,0x5a,

0x10,0x17,0x01,0x03,0x80,0x29,0x1a,0x78,

0x2a,0x80,0xc5,0xa6,0x57,0x49,0x9b,0x23, 

0x12,0x50,0x54,0xbf,0xee,0x80,0x81,0xc0,

0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,

0x01,0x01,0x01,0x01,0x01,0x01,0x9a,0x29,

0xa0,0xd0,0x51,0x84,0x22,0x30,0x50,0x98,

0x36,0x00,0x98,0xe6,0x10,0x00,0x00,0x1c,

0x01,0x1d,0x00,0x72,0x51,0xd0,0x1e,0x20,

0x6e,0x28,0x55,0x00,0x98,0xe6,0x10,0x00,

0x00,0x1e,0x00,0x00,0x00,0xfd,0x00,0x32,

0x4b,0x1e,0x51,0x11,0x00,0x0a,0x20,0x20,

0x20,0x20,0x20,0x20,0x00,0x00,0x00,0xfc,

0x00,0x53,0x31,0x39,0x43,0x33,0x33,0x30,

0x0a,0x20,0x20,0x20,0x20,0x20,0x01,0x5a

};

 

unsigned char ext_edid[128]={

0x02,0x03,0x0f,0xb1,0x44,0x84,0x13,0x12,

0x03,0x65,0x03,0x0c,0x00,0x10,0x00,0x01,

0x1d,0x00,0xbc,0x52,0xd0,0x1e,0x20,0xb8,

0x28,0x55,0x40,0x98,0xe6,0x10,0x00,0x00,

0x1e,0x01,0x1d,0x00,0xbc,0x52,0xd0,0x1e,

0x20,0xb8,0x28,0x55,0x40,0x98,0xe6,0x10,

0x00,0x00,0x1e,0x8c,0x0a,0xd0,0x90,0x20,

0x40,0x31,0x20,0x0c,0x40,0x55,0x00,0x98,

0xe6,0x10,0x00,0x00,0x18,0x8c,0x0a,0xd0,

0x8a,0x20,0xe0,0x2d,0x10,0x10,0x3e,0x96,

0x00,0x98,0xe6,0x10,0x00,0x00,0x18,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6c

};

 

 

so, what is the cause resulting in the black margin? thanks very much.

Attachments

Outcomes