您好:

       我想使用TVP7002芯片作为高清视频的输入芯片,与8127配合使用。我现在的软件环境用的是ipnc 3.8 demo为capture+display,

     7002的输入为ypbpr,输出为RGB888,部分寄存器配置为


 VPS_TVP7002_REG_HPLL_DIVIDER_MSB=0x67
 VPS_TVP7002_REG_HPLL_DIVIDER_LSB=0x20
 VPS_TVP7002_REG_HPLL_CTRL=0xa0
 VPS_TVP7002_REG_HPLL_PHASE_SELECT=0xb0
 VPS_TVP7002_REG_CLAMP_START=0x32
 VPS_TVP7002_REG_CLAMP_WIDTH=0x20
 VPS_TVP7002_REG_HSYNC_OUT_WIDTH=0x20
 VPS_TVP7002_REG_SYNC_CTRL1=0x5b
 VPS_TVP7002_REG_HPLL_PRE_COAST=0x01
 VPS_TVP7002_REG_HPLL_POST_COAST=0x00
 VPS_TVP7002_REG_MISC_CTRL3=0x00
 VPS_TVP7002_REG_IN_MUX_SELECT1=0x00
 VPS_TVP7002_REG_IN_MUX_SELECT2=0x6a
 VPS_TVP7002_REG_HSOUT_OUT_START=0x08
 VPS_TVP7002_REG_MISC_CTRL4=0x00
 VPS_TVP7002_REG_ADC_SETUP=0x50
 VPS_TVP7002_REG_ALC_PLACEMENT=0x5a
 VPS_TVP7002_REG_AVID_START_PIXEL_LSB=0x35
 VPS_TVP7002_REG_AVID_START_PIXEL_MSB=0x01
 VPS_TVP7002_REG_AVID_STOP_PIXEL_LSB=0x35
 VPS_TVP7002_REG_AVID_STOP_PIXEL_MSB=0x06
 VPS_TVP7002_REG_VBLK_FLD0_START_OFFSET=0x05
 VPS_TVP7002_REG_VBLK_FLD1_START_OFFSET=0x00
 VPS_TVP7002_REG_VBLK_FLD0_DURATION=0x1e
 VPS_TVP7002_REG_VBLK_FLD1_DURATION=0x00
 VPS_TVP7002_REG_FBIT_FLD0_START_OFFSET=0x00
 VPS_TVP7002_REG_FBIT_FLD1_START_OFFSET=0x00
目前的现象为8127有静止图像输出,图像不完全正确,如下图:
 
原图
 
静止图
因为考虑可能是7002寄存器配置的问题,因此将ypbpr输入接口变为vga接口,寄存器配置完全参考8637.tvp7002_THS8200_VGA_YPbPr_settings中的 TVP7002: 5-wire VGA input, 30-bit RGB 4:4:4 DS output进行的设置,
能够测到数据,时钟,同步但是8127没有图像输出,不知道问题在哪?是寄存器配置的不对吗?