ADV7604 配置成Bt.1120输出没有EAV SAV信号

桂训勇 在 2015-10-27 建立的文件
版本 1顯示文件
  • 以全螢幕模式檢視

我参考论坛中,把ADV7604配置成bt1220,配置如下

ADV7xxx_IO_MAP,0x0c,0x42,//power  up chip

#ifdef NEW_BOARD

ADV7xxx_IO_MAP,0x02,0xf6,//auto csc &RGB
ADV7xxx_IO_MAP,0x03,SDR_24B_444_MODE,//RGB444
ADV7xxx_IO_MAP,0x04,0x62,//RGB444

#else

ADV7xxx_IO_MAP,0x02,0xf4,//auto csc &YUV 4:2:2
ADV7xxx_IO_MAP,0x03,ITU656_16B_SDR,//YUV 4:2:2

#endif

 

 

ADV7xxx_IO_MAP,0x05,0x3a,//turn on eav&sav codes  and enable freerun  field output on field/de pin
//ADV7xxx_IO_MAP,0x06,0xa8,//field Positive polarity
ADV7xxx_IO_MAP,0x14,0x7f,//drive strength adjustment
ADV7xxx_IO_MAP,0x15,0x90,//disable tri of pins for audiopins
ADV7xxx_IO_MAP,0x33,0x60,//LLC DLL MUX enable
ADV7xxx_CP_MAP,0x69,0x30,//enable cp csc
//power off macrovision
ADV7xxx_CP_MAP,0xcf,0x00,//macrovision power off 44 cf 01
//edid init
//init_internal_edid(,
//set analog input
ADV7xxx_AFE_MAP,0x02,RGB_AIN7_8_9,//ain_sel to 010 (ain 7 8 9)
//set HDMI input

 

 

ADV7xxx_HDMI_MAP,0x00,0x00,//SELECT HDMI port A  //7842  02  ;7604 00
//config int1 
ADV7xxx_IO_MAP,VRX_REG_INT2_CONFIGURATION,bin(00010000),//generate interrupt for SDTI_VALID status changed
ADV7xxx_IO_MAP,VRX_REG_INT1_CONFIGURATION,bin(11000101),// int1 low active ,enable manual interrupt mode ,active until cheared
ADV7xxx_IO_MAP,VRX_REG_INTERRUPT_MASKB_1,bin(00010000),//0x46,0x10,//enable STDI data valid interrupt for int1
ADV7xxx_IO_MAP,VRX_REG_INTERRUPT_MASKB_2,bin(10000000),//0x4b,0x80,//enable manual forced interrupt for int1
ADV7xxx_IO_MAP,VRX_REG_INTERRUPT_MASKB_6,bin(00000010),//0x5f,0x02,//enable STDI data valid for sync channel 1 interrupt for int1
ADV7xxx_IO_MAP,0x14,0x7f,//drive strength adjustment
ADV7xxx_IO_MAP,0x15,0x90,//disable tri of pins for audio pins
ADV7xxx_IO_MAP,0x33,0x60,//LLC DLL MUX enable  
ADV7xxx_IO_MAP,0x05,0x3a,//turn on eav&sav codes and enable freerun  field output on field/de pin
ADV7xxx_CP_MAP,0x3e,0x04,//ADI recommended write
ADV7xxx_CP_MAP,0x40,0x5c,//ADI recommended write
ADV7xxx_CP_MAP,0x69,0x30,//enable cp csc //need change
ADV7xxx_CP_MAP,0x85,0x1b,//force CH1 to use Embedded
ADV7xxx_CP_MAP,0xc3,0x33,//ADI recommended write
ADV7xxx_CP_MAP,0x73,0xe9,//set manual gain of 0x293
ADV7xxx_CP_MAP,0x74,0x3a,//set manual gain of 0x293
ADV7xxx_CP_MAP,0x75,0x4e,//set manual gain of 0x293
ADV7xxx_CP_MAP,0x76,0x93,//set manual gain of 0x293
ADV7xxx_CP_MAP,0xbf,0x02,//picure alignment
ADV7xxx_CP_MAP,0xbf,0x52,//picure alignment
ADV7xxx_AFE_MAP,0x13,0x93,//set lcc dll phase
ADV7xxx_AFE_MAP,0x00,bin(10000000),//power up
ADV7xxx_AFE_MAP,0x01,0x06,
ADV7xxx_AFE_MAP,0x02,RGB_AIN7_8_9,//ain_sel to 010 (ain 7 8 9)
ADV7xxx_AFE_MAP,0x05,0x07,//aa filter enable
ADV7xxx_AFE_MAP,0x06,0x20,//set aa_filt_high_bw to 11
ADV7xxx_AFE_MAP,0x07,0xa0,//set aa_filt_high_bw to 11 &set aa_filt_prog_bw to 01
ADV7xxx_AFE_MAP,0x12,0x7B,//ADI recommended write
ADV7xxx_AFE_MAP,0x0c,0x1f,//set pga gain to 1.4 ADI recommended write
ADV7xxx_AFE_MAP,0xc6,0x5f,//disable audio core
ADV7xxx_AFE_MAP,0x15,0x05,//adjusting sync fiter clamp

ADI的专家们,帮忙看看。

附件

    結果