各位好,我现在使用的是 "imx6q_L3_14_52" ,前期显示倒车的CVBS有横纹。
1,操作:显示方式是当倒车时,CVBS-->ADV7181-->IMX6Q-->LVDS 屏显示。如下图,显示白色直线时,有明显的横纹。
2.同时这个测试程序是用nxp的测试代码 imx-test/test/mxc_v4l2_test。
3.adv7181的参数设置如下:
and For adv7181, I have try the followed settting:
p->if_type = V4L2_IF_TYPE_BT656;
p->u.bt656.mode = V4L2_IF_TYPE_BT656_MODE_NOBT_8BIT;
p->u.bt656.nobt_hs_inv = 0;
p->u.bt656.bt_sync_correct = 0; // Use internal VSYNC mode, CSI_VSYNC and CSI_HSYNC pins are not needed.
p->u.bt656.clock_curr = 0; //BT656 interlace clock mode
adv7181 I2C register setting for CVBS input:
adv7180_write_reg(0x00,0x00);
adv7180_write_reg(0x03,0x0c);
adv7180_write_reg(0x04,0x77);
adv7180_write_reg(0x17,0x41);
adv7180_write_reg(0x1d,0x47);
adv7180_write_reg(0x31,0x02);
adv7180_write_reg(0x3a,0x17);
adv7180_write_reg(0x3b,0x81);
adv7180_write_reg(0x3d,0xa2);
adv7180_write_reg(0x3e,0x6a);
adv7180_write_reg(0x3f,0xa0);
adv7180_write_reg(0x86,0x0b);
adv7180_write_reg(0xf3,0x01);
adv7180_write_reg(0xf9,0x03);
adv7180_write_reg(0x0e,0x80);
adv7180_write_reg(0x52,0x46);
adv7180_write_reg(0x54,0x00);
adv7180_write_reg(0x7f,0xff);
adv7180_write_reg(0x81,0x30);
adv7180_write_reg(0x90,0xc9);
adv7180_write_reg(0x91,0x40);
adv7180_write_reg(0x92,0x3c);
adv7180_write_reg(0x93,0xca);
adv7180_write_reg(0x94,0xd5);
adv7180_write_reg(0xb1,0xff);
adv7180_write_reg(0xb6,0x08);
adv7180_write_reg(0xc0,0x9a);
adv7180_write_reg(0xcf,0x50);
adv7180_write_reg(0xd0,0x4e);
adv7180_write_reg(0xd1,0xb9);
adv7180_write_reg(0xd6,0xdd);
adv7180_write_reg(0xd7,0xe2);
adv7180_write_reg(0xe5,0x51);
adv7180_write_reg(0xf6,0x3b);
adv7180_write_reg(0x0e,0x00);
4.根据一些信息,增加Deinterlace patch,显示有点点改善,但还是会有;
5.请各位大侠分析分析,指出问题所在,彻底解决,谢谢!
Hi Jimmy chan,
Yes , i test the adv7181 with the mxc test mxc_v4l2_tvin,thanks!