测试指南

测试环境

硬件

  • 需要验证板,上面可以接DVP子板

  • 可转接摄像头的子板

  • 摄像头,如OV5640

软件

  • PC端的串口终端软件,用于PC和开发板进行串口通信

  • DVP模块的测试demo:test_dvp

软件配置

配置 OV5640 摄像头

详见 打开 Camera

test_dvp 配置

在 ZX-RTT 根目录下执行 scons --menuconfig,进入menuconfig的功能配置界面,按如下选择:

Drivers options  --->
    Drivers examples  --->
        [*] Enable DVP driver test command

test_dvp 测试

test_dvp的主要功能是将摄像头的数据采集后,传给DE模块的Video图层去显示。

在打开test_dvp的编译后,板子上可直接运行test_dvp命令:

aic /> test_dvp -h
Usage: test_dvp [options]:
     -f, --format       format of input video, NV16/NV12 etc
     -c, --count        the number of capture frame
     -u, --usage

Example: test_dvp -f nv16 -c 1