This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Overview

This sample is used to demonstrate how to use DVP driver of CSK6 to obtain image data of CMOS OV9655.

Building and Running

Make sure you have the csk6 boards connected over Jlink debuger.

The sample can be built and flashed as follows:

lisa zep build -b csk6002_9s_nano
lisa zep flash -r jlink

Sample Output

- Device name: DVPI
- Capabilities:
VYVU width [320; 320; 0] height [240; 240; 0]
<inf> main: Alloc vide buffer: 153600

<inf> main: Alloc vide buffer: 153600

Capture started
Got frame 0! size: 153600; timestamp 243 ms fps 4

Got frame 1! size: 153600; timestamp 269 ms fps 38

Got frame 2! size: 153600; timestamp 323 ms fps 18

Got frame 3! size: 153600; timestamp 349 ms fps 38

Got frame 4! size: 153600; timestamp 376 ms fps 37

Got frame 5! size: 153600; timestamp 403 ms fps 37

Got frame 6! size: 153600; timestamp 429 ms fps 38