AnsweredAssumed Answered

MIPI CSI2 camera not working

Question asked by srinivasaporam on Jan 6, 2016
Latest reply on Jan 11, 2016 by srinivasaporam


We have got imx6Q custom designed board based on the reference design (Wandboard). Cmaera connector is also customized.


the differences between custom board reference board wrt to camera connector are:


camera connector is 33 pin connector in reference board where as custom board we are using 15 pin connector for connecting raspi camera. the same thing has been implemented in another reference design humming board. we have followed humming board connection for camera.


We have got ov5647_mipi.c camera driver, which we have included in kernel source code (wandboard kernel source code) . Now when we have build the kernel and booting with SD card, we could able to to boot successfully to ubuntu.


when we are running i2cdetect, our camera is being detected (0x36) which is correct.


We could able to see 25MHz clock from the sensor (camera board), and also we could able see



CSI_D0M, CSI_D0P, CSI_D1M and CSI_D1P successfully.


But we are not getting CSI_CLK0M and CSI_CLK0P. Why is this so. Please find attached humming board schematics, ov5647_mipi.c (driver file).


And also, when we are running following command in our board terminal:

$ sudo avconv -f video4linux2 -r 30 -s 640x480 -i /dev/video0 out.avi



then we are getting fiollowing error messages in the serial console:


mipi csi2 can not receive data correctly!                                 
mipi csi2 can not receive data correctly!                                 

mxc_v4l2_s_param: vidioc_int_s_parm returned an error -1