This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

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:

  1. Raspberry Pi Camera Board v2 - 8 Megapixels (Adafruit)

  2. Raspberry Pi NoIR Camera Board v2 - 8 Megapixels (Adafuit)

  3. Arducam IMX219 (Robu.in)

In addition to the camer you’ll need a 15pin to 22pin cable as well:

  1. Raspberry Pi Zero FPC Camera Cable (Adafruit)

  2. Raspberry Pi Zero v1.3 Camera Cable (Adafuit)

  3. Raspberry Pi Zero V1.3 Camera Cable (Robu.in)

Software

There are several demo applications available for testing CSI, execute commands below to test your IMX219 camera on CSI0 & CSI1 ports:

  1. Change directory to demo application location using: cd /usr/share/vi/isp/test

  2. Set environment variable export ISP_LOG_LEVEL=3

  3. To test CSI0 execute: ./camera_demo1 2 0 1 0 1920 1080 1 30 7

  4. 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