Important
This document is a work on progress.
Using CSI Cameras¶
Note
CSI support is only available in Yocto image for BeagleV Ahead, to flash latest Yoctor image on your BeagleV Ahead you can checkout Flashing eMMC section.
Hardware¶
IMX219 camera modules has been tested to work well with BeagleV Ahead, some of them are listed below:
In addition to the camer you’ll need a 15pin to 22pin cable as well:
Software¶
There are several demo applications available for testing CSI, execute commands below to test your IMX219 camera on CSI0 & CSI1 ports:
Change directory to demo application location using:
cd /usr/share/vi/isp/test
Set environment variable
export ISP_LOG_LEVEL=3
To test CSI0 execute:
./camera_demo1 2 0 1 0 1920 1080 1 30 7
To test CSI1 execute:
./camera_demo1 0 0 1 0 1920 1080 1 30 7
When you execure camera_demo1 then you should see something like this on your console:
...
...
IMX219: IMX219_IsiExposureControlIss: g=168.960999, Ti=0.050000
CAMERIC-MI-IRQ: isp mi frame out (59) fps[0]: 19.74
IMX219: IMX219_IsiExposureControlIss: g=168.960999, Ti=0.050000
CAMERIC-MI-IRQ: isp mi frame out (60) fps[0]: 19.73
IMX219: IMX219_IsiExposureControlIss: g=168.960999, Ti=0.050000
CAMERIC-MI-IRQ: isp mi frame out (61) fps[0]: 19.72
IMX219: IMX219_IsiExposureControlIss: g=168.960999, Ti=0.050000
CAMERIC-MI-IRQ: isp mi frame out (62) fps[0]: 19.72
IMX219: IMX219_IsiExposureControlIss: g=168.960999, Ti=0.050000
CAMERIC-MI-IRQ: isp mi frame out (63) fps[0]: 19.71
...
...
The output above indicates your CSI camera is working well.
Important
Usage of other demo applications will be added to this page as well.
Source for these demo application can be found here