Edit online

测试指南

测试环境

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

    • 可转接摄像头的子板

    • 摄像头,如 OV5640

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

    • DVP 模块的测试 demo:test_dvp

软件配置

  1. 配置 OV5640 摄像头

    详见 打开 Camera

  2. test_dvp 配置

    Luban-Lite 根目录,运行make linux-menuconfig,按如下选择:

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

test_dvp 测试

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

在打开 dvp 的编译后,直接运行 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