GithubHelp home page GithubHelp logo

rajssss / f746gdisco_dcmi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timwuu/f746gdisco_dcmi

0.0 1.0 0.0 713 KB

AN5020 DCMI Example: STM32FGDISCOVERY with STM32F4DIS-CAM (OV9655)

License: MIT License

C 99.48% Assembly 0.52%

f746gdisco_dcmi's Introduction

F746GDISCO_DCMI

AN5020 DCMI Example: STM32FGDISCOVERY with STM32F4DIS-CAM (OV9655)

  • IDE: Atollic TrueSTUDIO for STM32 with STM32CubeMX
  • Display: ROCKTECH, 4.3-inch 480x272 LCD-TFT
  • Camera: STM32F4DIS-CAM (OV9655, 1280x1024 SXGA)

Camera Module:

  1. Picture Size
  2. Frame Rate
  3. Data Format
  4. Scaling Image Output: The OV9655 is capable of scaling down the image size from VGA to 40x30. By using register bits
    • COM14[1] (0x3E)
    • COM16[0] (0x41)
    • POIDX (0x72)
    • XINDX (0x74)
    • YINDX (0x75) At certain image sizes, HREF is not consistent in a frame.

Notes:

  1. use HSE 25MHz(X2, RCC_HSE_BYPASS) as the clock source
  2. enable (LTDC,FMC) in STM32CubeMX
  3. put font24.c in src folder, and no need to include the file in main.c
  4. the LCD-TFT might burn if using the 320x240 resolution
  5. some issues with STM32CubeMX code regeneration
  6. in STM32CubeMX project settings, don't generate function calls for FMC and LTDC modules

2018.12.03

  1. changed to double-buffer mode to use two banks of SDRAM, only supports Length <=0xFFFF
  2. added MPU configuration according to AN4861 LTDC 6.2.7

2018.12.02

  1. changed to using BSP Camera module and it uses HAL_DCMI_ConfigCROP to get a 480x272 image.

2018.12.01

  1. changed to using BSP LCD module.

2018.11.28

  1. generate codes with STM32CubeMX and add device files

f746gdisco_dcmi's People

Contributors

rajssss avatar timwuu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.