Using Google Coral Camera
1. Google Coral Camera
The i.MX 8M NAVQ + kit comes configured to support the Google Coral camera. The Coral camera connects to the kit through the MIPI-CSI2 interface and provides an easy way to bring visual input into the i.MX 8M Plus:
https://coral.ai/products/camera
The camera is based on the Omnivision OV5645 chip. It provides auto focus, focal length 2.5mm, range 10cm-infinity and an 84.0 degrees / 87.6 degrees field-of-view. Link to the i.MX 8M Plus is via the dual-lane MIPI-CSI2 interface.
2. Connecting Coral Camera
To connect the Coral camera to the NAVQ+ kit, plug the camera cable into the CSI1 or CSI2 connector on the carrier board. The following picture illustrates connection of the camera to the kit:
3. Software Setup
For correct functioning of the Coral camera with NAVQ+ kit BSP release 1.1.6-364 or higher is required.
4. Finding Camera Device Nodes
Depending on additional hardware connected to the NAVQ+, the Coral camera may not be the only V4L2 device present in the system. In order to access the camera the user needs to determine the correct video device file node.
The below command outputs video device node registered for two Coral cameras connected to the NAVQ+:
user@imx8mpnavq:~$ v4l2-ctl --list-devices | grep -A1 mxc-isi-cap
mxc-isi-cap (platform:32e00000.isi:cap_devic):
/dev/video3