This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have been trying to get the omap34xxcam to work with the latest DVSDK and linux kernel 2.6.32 on a EVM board. I have an Omnivision camera connected via parallel DVP on the expansion slot. I have been able to capture frames from V4L2 but they are not correct. With the camera configured to ouput a vertical bar test pattern of 8 color bars (left to right: White, Yellow, Cyan, Green, Purple, Red, Blue, Black), the video captured appears as a series of thick white and black diagonal bars separated by thin cyan and yellow lines. I have verified that the camera is working properly by feeding the pixel data into an FPGA and seeing the correct result.
The pixel clock is running at 52Mhz. The image size is 828x828. Below is the isp interface config I am supplying. I suspect that the CCDC is not acquiring the proper number of pixels per line. Can any one suggest how to debug the ISP/CCDC to determine what is going on? Or is there other settings I need to configure?
#define OV14810_BIGGEST_FRAME_BYTE_SIZE PAGE_ALIGN(1104 * 828 * 3)
static struct omap34xxcam_sensor_config ov14810_hwc = {
.sensor_isp = 0,
.capture_mem = OV14810_BIGGEST_FRAME_BYTE_SIZE * 4,
.ival_default = { 1, 30 },
};
static struct isp_interface_config ov14810_if_config = {
.ccdc_par_ser = ISP_PARLL,
.dataline_shift = 0x1,
.hsvs_syncdetect = ISPCTRL_SYNC_DETECT_VSFALL,
.strobe = 0x0,
.prestrobe = 0x0,
.shutter = 0x0,
.prev_sph = 2,
.prev_slv = 1,
.wenlog = ISPCCDC_CFG_WENLOG_AND,
.wait_hs_vs = 2,
.u.par.par_bridge = 0x0,
.u.par.par_clk_pol = 0x0,
};