Skip to content

This is STM32F429-Discovery and STM32F407 driver for OV7670, DCMI DMA SCCB Example

License

Notifications You must be signed in to change notification settings

GCY/STM32F4-OV7670-DCMI-DMA-Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F4-Discovery-OV7670-DCMI-DMA-Driver

STM32F429-DISCO+OV7670 MAC and Linux project with arm-none-eabi-gcc, it is modified from Individální projekty MPOA Keil-C project.

I use the same parameters of OV7670 as STM32F429, but the color will be wrong in my design, maybe the problem is exposure, gain, high-speed clock-signal layout? that is my issue list. to be fix.

alt text

DCMI Configuration

STM32F407 STM32F429 OV7670
3V3 3V3 RESET
GND GND PWDN
PC6 PC6 D0
PC7 PC7 D1
PE0 PC8 D2
PE1 PC9 D3
PE4 PE4 D4
PB6 PB6 D5
PE5 PE5 D6
PE6 PE6 D7
PA8 PA8 XCLK
PA6 PA6 PCLK
PA4 PA4 HREF
PB7 PB7 VSYNC
PB9 PB9 SIOD
PB8 PB8 SIOC
GND GND GND
3V3 3V3 3V3

Build

  1. cd .STM32F429-Discovery-OV7670-DCMI-DMA-Driver/STM32F429 Version/firmware/stm32F429-OV7670 & make
  2. load *.elf file with arm-none-eabi-gdb
  3. run

Test

  1. First, power on and initialize STM32F429 OV7670 SCCB bus.
  2. When the LCD progress bar is complete, OV7670 SCCB command are initialized.
  3. Push "User" button.
  4. STM32F429 capture frame and display to LCD.

Licensing

Copyright (C) 2020 TonyGUO https://github.com/GCY.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

This is STM32F429-Discovery and STM32F407 driver for OV7670, DCMI DMA SCCB Example

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published