The HDP board comes equipped with a 24-pin connector (J14) which carries MIPI signals enabling a MIPI-compatible camera to be fitted to the board.
The MIPI alliance does not define a standard connector type for fitting camera devices. However, the J14 connector is compatible with the LI-OV5640-MIPI-AF which comprises a 24-way connector (AXK824145), ribbon cable and the OmniVision OV5640 MIPI CMOS Sensor Module. This is a 5 megapixel sensor module supporting up to 30fps @ 1080p.
Fitting the camera to the board
The Panasonic AXK824145 connector is designed to "click" into its locked position, so when inserting the camera connector into J14 you should feel the connectors "click" together to indicate the mating is completed.
MIPI camera detection and registration
No software configuration changes should be needed for the camera module to be detected. The OV5640 is an I2C device with bus address 0x3C and should be detected during boot-up with the following message in the
Assuming your camera module has been correctly detected during boot-up we can now load the video capture driver by entering
modprobe mxc_v4l2_capture. This will generate an expected error message
ERROR: v4l2 capture: slave not found! (this can be safely ignored).
Normally the camera module will be registered as
/dev/video1. You can confirm this by typing the command
cat /sys/class/video4linux/video1/name and you should obtain the output
Mxc camera. If you do not obtain this output then your camera might be registered to a different video device index.
Running a simple test
Assuming your camera is registered as
/dev/video1 then we can stream a real-time image to whatever display device is connected (i.e., HDMI or LCD) by entering the following command:
gst-launch mfw_v4lsrc device=/dev/video1 ! mfw_v4lsinkto launch a GStreamer pipeline which will output capture video data to the display device.