已回答假定已回答

ADV71841D输出画面偏移且画面左边有蓝色竖条纹

mhqyz 在 2017-2-21 詢問的問題
最後回覆由hpkamen於2017-2-26提供

sil9134 HDMI输出

具体实施:用ADV7181D接收CVBS  PAL(BGHID)信号,设置ADV7181D 8bit YCbCr输出,设置sil9134为576i  8bit YCbCr输入,设置sil9134为RGB输出,但是画面出现偏移和画面左边出现蓝色竖条纹现象。

可以确定的是视频源是OK的,用视频源点其他显示器显示OK,对Sil9134的配置应该也是OK的,sil9134的配置在其他板子上已经验证过的。

ADV7181D的寄存器配置是参照官网下载的“ADV7181D_ADV7181D@_ADV7341-VER.1.0c.txt”和“ADV7181D_Manual_Rev0.pdf”中的CVBS信号所配置的,我这边程序配置如下:

ADV7181D_WriteByte(0x00, 0x0B);//CVBS input on AIN1
ADV7181D_WriteByte(0x03, 0x0C);//设置输出为8-bit @ LLC2 4:2:2
ADV7181D_WriteByte(0x04, 0x7D);//Enable HS、VS、F
ADV7181D_WriteByte(0x17, 0x41);//select SH1
ADV7181D_WriteByte(0x1D, 0x47);//Enable 28MHz Crystal
ADV7181D_WriteByte(0x31, 0x1A);//
ADV7181D_WriteByte(0x32, 0x81);//
ADV7181D_WriteByte(0x33, 0x84);//
ADV7181D_WriteByte(0x34, 0x00);//
ADV7181D_WriteByte(0x35, 0x00);//
ADV7181D_WriteByte(0x36, 0x7D);//
ADV7181D_WriteByte(0x37, 0xA1);//
ADV7181D_WriteByte(0xE8, 0x41);//
ADV7181D_WriteByte(0xE9, 0x84);//
ADV7181D_WriteByte(0xEA, 0x06);//
ADV7181D_WriteByte(0x3A, 0x17);//Set Latch Clock & power down ADC 1 & ADC2 & ADC3
ADV7181D_WriteByte(0x3B, 0x81);//Enable internal Bias
ADV7181D_WriteByte(0x3D, 0xA2);//MWE Enable Manual Window, Colour Kill Threshold to 2
ADV7181D_WriteByte(0x3E, 0x6A);//BLM optimisation
ADV7181D_WriteByte(0x3F, 0xA0);//RGB
ADV7181D_WriteByte(0x86, 0x0B);//Enable stdi_line_count_mode
ADV7181D_WriteByte(0xF3, 0x01);//Enable Anti Alias Filter on ADC0
ADV7181D_WriteByte(0xF9, 0x03);//Set max v lock range
ADV7181D_WriteByte(0x0E, 0x80);//ADI Recommended Setting
ADV7181D_WriteByte(0x52, 0x46);//ADI Recommended Setting
ADV7181D_WriteByte(0x54, 0x80);//ADI Recommended Setting
ADV7181D_WriteByte(0x7F, 0xFF);//ADI Recommended Setting
ADV7181D_WriteByte(0x81, 0x30);//ADI Recommended Setting
ADV7181D_WriteByte(0x90, 0xC9);//ADI Recommended Setting
ADV7181D_WriteByte(0x91, 0x40);//ADI Recommended Setting
ADV7181D_WriteByte(0x92, 0x3C);//ADI Recommended Setting
ADV7181D_WriteByte(0x93, 0xCA);//ADI Recommended Setting
ADV7181D_WriteByte(0x94, 0xD5);//ADI Recommended Setting
ADV7181D_WriteByte(0xB1, 0xFF);//ADI Recommended Setting
ADV7181D_WriteByte(0xB6, 0x08);//ADI Recommended Setting
ADV7181D_WriteByte(0xC0, 0x9A);//ADI Recommended Setting
ADV7181D_WriteByte(0xCF, 0x50);//ADI Recommended Setting
ADV7181D_WriteByte(0xD0, 0x4E);//ADI Recommended Setting
ADV7181D_WriteByte(0xD1, 0xB9);//ADI Recommended Setting
ADV7181D_WriteByte(0xD6, 0xDD);//ADI Recommended Setting
ADV7181D_WriteByte(0xD7, 0xE2);//ADI Recommended Setting
ADV7181D_WriteByte(0xE5, 0x51);//ADI Recommended Setting
ADV7181D_WriteByte(0xF6, 0x3B);//ADI Recommended Setting
ADV7181D_WriteByte(0x0E, 0x00);//ADI Recommended Setting

正常画面如下图:

复件 003.jpg

问题画面如下(左边红色标注处有蓝色竖条纹且画面向右偏移,下边红色标注处画面向上偏移):

复件 001.jpg

freerun模式运行图片(红色标注处画面向右偏移且左边也有蓝色竖条纹):

复件 002.jpg

还望ADI的工程师能帮忙协助解决!!!!

結果