OV7670

From ArmadeusWiki
Revision as of 11:42, 22 January 2014 by JulienB (Talk | contribs) (Usage)

Jump to: navigation, search

Page under construction... Construction.png Informations on this page are not guaranteed !!

Available commercial modules:

Kernel config

  • Done by default on APF27
$ make linux-menuconfig
Device Drivers  --->
    Multimedia devices  --->
        [*] Video capture adapters  --->
            ...
            <M>   SoC camera support
            ...
            <M>     ov7670 camera support
            ...

Usage

# modprobe mx27_camera

Linux video capture interface: v2.00
mx27-camera mx27-camera.0: initialising
mx27-camera mx27-camera.0: Camera clock frequency: 33250006
mx27-camera mx27-camera.0: Using EMMA

# modprobe ov7670_soc

OmniVision ov7670 sensor driver, at your service
camera 0-0: Camera driver attached to camera 0
mx27-camera mx27-camera.0: mclk_get_divisor not implemented. Running at max speed
ov7670 0-0021: initializing
ov7670 0-0021: found an 0V7670 sensor
camera 0-0: Camera driver detached from camera 0

Test

# capture --cam_width 640 --cam_height 480 --width 640 --height 480 &