/
MIPI-CSI

MIPI-CSI

The conga-QMX6 supports the OV5640 camera out of the box. Support for other camera types is on demand.

MIPI-CSI interface is connected via the flatfoil connector X9 on the module. Linux Kernel will map it to /dev/video0.

ATTENTION.

Do not connect this camera to Rev.B modules. Only Rev. C.x and E.x are compatible with ACA1 camera adapter (PN016153 A.x/B.x). conga-QMX6 Rev. B.x modules would be destroyed due to different pinout of X9!

How to operate camera OV5640

  1. Check if the camera is detected on bootup:

root@cgtqmx6:~# dmesg | grep ov5640 [ 8.746510] camera ov5640_mipi is found
  1. Usage with gstreamer:

root@cgtqmx6:~# gst-launch-1.0 imxv4l2src device=/dev/video0 num-buffers=150 ! autovideosink

With 640x480 resolution:

root@cgtqmx6:~# gst-launch-1.0 imxv4l2src device=/dev/video0 num-buffers=150 ! "video/x-raw,format=(string)UYVY,width=640,height=480,framerate=(fraction)30/1" ! autovideosink

Remark:

num-buffers=150 stops the test automatically after 150 frames

 

 

  1. Test with utils from Yocto/NXP:

Remark:

-t 5 stops the test automatically after 5 seconds