We are using a custom board to capture BT656 input from an NTSC camera. Now we want to capture 16-bit embedded sync signal video from a different camera. The TRM says that BT1120 is supported. I have modified the tvp5150 driver to the below parameters, but I am not able to capture video. I read register 0x4810551c and it shows 0x00030000 which means some error. Is the problem the camera or do I need to modify ISS or the capture driver differently to get things to work? I am using ezsdk version 5_05_02_00.
Thanks for any suggestions,
Kim
.vip_port_cfg = {
.ctrlChanSel = VPS_VIP_CTRL_CHAN_SEL_15_8,
.ancChSel8b = VPS_VIP_ANC_CH_SEL_DONT_CARE,
.pixClkEdgePol = VPS_VIP_PIX_CLK_EDGE_POL_RISING,
.invertFidPol = 0,
.embConfig = {
.errCorrEnable = 1,
.srcNumPos = VPS_VIP_SRC_NUM_POS_DONT_CARE,
.isMaxChan3Bits = 0,
},
.disConfig = {
.fidSkewPostCnt = 0,
.fidSkewPreCnt = 0,
.lineCaptureStyle = VPS_VIP_LINE_CAPTURE_STYLE_DONT_CARE,
.fidDetectMode = VPS_VIP_FID_DETECT_MODE_DONT_CARE,
.actvidPol = VPS_VIP_POLARITY_DONT_CARE,
.vsyncPol = VPS_VIP_POLARITY_DONT_CARE,
.hsyncPol = VPS_VIP_POLARITY_DONT_CARE,
}
},
.video_capture_mode = VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC,
.video_if_mode = VPS_CAPT_VIDEO_IF_MODE_16BIT,
.input_data_format = FVID2_DF_YUV422P,