i.MX6 Solo CSI progressive mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 Solo CSI progressive mode

644 Views
m_c
Senior Contributor I

Customer use ADV7283 connect to i.MX6 CSI port. It is fine in interlaced mode but with some gray distortion issue. So customer would like to change to progressive mode to see any improve. After modify below, only first frame can be capture and also in wrong resolution. If there anything miss for changing CSI to progressive mode?

Path: kernel/drivers/media/video/mxc/capture/mxc_v4l2_capture.c

static int mxc_v4l2_s_param(cam_data *cam, struct v4l2_streamparm *parm)

{

if (ifparm.u.bt656.clock_curr == 0)

- csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR656_INTERLACED;

+ csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR656_PROGRESSIVE;

else

csi_param.clk_mode = IPU_CSI_CLK_MODE_GATED_CLK;

}

Labels (1)
Tags (1)
0 Kudos
1 Reply

354 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi m.c,

   I checked ADV7283 datasheet, there is an interlace-to-progressive mode in ADV7283, so you don't need to modify source code in mxc_v4l2_capture.c, at the time, you should regard video output of ADV7283 as that of digital camera, like ov5640/ov5642 etc.

Regards,

Weidong