Project_camera-STM32

所属分类:处理器开发
开发工具:C/C++
文件大小:2978KB
下载次数:11
上传日期:2013-08-25 20:57:47
上 传 者vit125
说明:  The source code for STM32 Video Camera Interface

文件列表:
Project\DCMI_SSD1963\binary_c.h (6835, 2010-03-10)
Project\DCMI_SSD1963\dcmi_ov9655.c (67743, 2011-05-25)
Project\DCMI_SSD1963\dcmi_ov9655.h (10341, 2011-05-02)
Project\DCMI_SSD1963\delay.c (371, 2011-04-28)
Project\DCMI_SSD1963\delay.h (72, 2011-03-28)
Project\DCMI_SSD1963\EWARM\EWBC6C.tmp (0, 2011-06-14)
Project\DCMI_SSD1963\EWARM\EWBC6D.tmp (0, 2011-06-14)
Project\DCMI_SSD1963\EWARM\Project.dep (59055, 2013-04-23)
Project\DCMI_SSD1963\EWARM\Project.ewd (23804, 2011-06-14)
Project\DCMI_SSD1963\EWARM\Project.ewp (30453, 2011-06-14)
Project\DCMI_SSD1963\EWARM\Project.eww (161, 2011-04-21)
Project\DCMI_SSD1963\EWARM\settings\Project.cspy.bat (1380, 2013-04-23)
Project\DCMI_SSD1963\EWARM\settings\Project.dbgdt (4943, 2013-04-23)
Project\DCMI_SSD1963\EWARM\settings\Project.dni (1862, 2013-04-23)
Project\DCMI_SSD1963\EWARM\settings\Project.wsdt (3802, 2013-04-23)
Project\DCMI_SSD1963\EWARM\settings\Project_STM322xG_EVAL.jlink (549, 2011-04-29)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Exe\Project.out (291936, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Exe\Project.sim (7907, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\List\Project.map (36688, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\core_cm3.o (20552, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\dcmi_ov9655.o (62720, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\delay.o (9140, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\Graphics.o (34488, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\main.o (92380, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\misc.o (14072, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\mt9d111.o (18548, 2011-05-25)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\mt9d111_rev2.o (21668, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\mt9v111.o (25008, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\ov7670.o (20052, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\Project.pbd (5308, 2013-04-23)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\SSD1963.o (8592, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\startup_stm32f2xx.o (63640, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm322xg_eval_fsmc_sram.o (14116, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm322xg_eval_ioe.o (82964, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm322xg_eval_lcd.o (109548, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm32f2xx_adc.o (69380, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm32f2xx_can.o (56428, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm32f2xx_crc.o (14368, 2011-06-14)
Project\DCMI_SSD1963\EWARM\STM322xG_EVAL\Obj\stm32f2xx_cryp.o (34668, 2011-06-14)
... ...

/** @page DCMI_OV9655_Camera How to use the DCMI to control the OV9655 Camera module @verbatim ******************** (C) COPYRIGHT 2011 STMicroelectronics ******************* * @file DCMI/OV9655_Camera/readme.txt * @author MCD Application Team * @version V1.0.0 * @date 18-April-2011 * @brief Description of the DCMI example. ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Example Description This example shows how to use the DCMI to control the OV9655 Camera module mounted on STM322xG-EVAL board RevA. The OV955 camera (1.3 MegaPixel) is a low voltage CMOS device that provide the full functionality of a single-chip SXGA (1280x1024) camera and image processor in a small footprint package. This camera has an image array capable of operating at up to 15 frames per second in SXGA resolution with complete user control over image quality, formatting and output data transfer. All required image processing functions are also programmable through the SCCB interface (I2C like protocol). In this example the DCMI is configured to interface with this 8 bit data camera in continuous mode. The I2C1 is used to configure the OV9655 in 8 bit RGB 5:6:5 mode. The user can select between two resolutions QQVGA(160x120) or QVGA(320x240) in order to display the captured image on the LCD(320x240), this selection is performed in main.h file. All camera data received by the DCMI are transferred through the DMA and displayed on the LCD (connected to FSMC). As a result the CPU is free to execute other tasks. To fine tune on the fly the Brightness and PCLK output of the camera, you have to enable the CAMERA_FINETUNE define in main.h file. In this case: - use the potentiometer RV1 to change the Brightness - use the Key button to change PCLK output of the camera @par Directory contents - DCMI/OV9655_Camera/stm32f2xx_conf.h Library Configuration file - DCMI/OV9655_Camera/stm32f2xx_it.c Interrupt handlers - DCMI/OV9655_Camera/stm32f2xx_it.h Header for stm32f2xx_it.c - DCMI/OV9655_Camera/main.c Main program - DCMI/OV9655_Camera/main.h Header for main.c - DCMI/OV9655_Camera/dcmi_ov9655.c Driver for OV9655 Camera module - DCMI/OV9655_Camera/dcmi_ov9655.h Header for DCMI_OV9655.c @note The "system_stm32f2xx.c" is generated by an automatic clock configuration tool and can be easily customized to your own configuration. To select different clock setup, use the "STM32F2xx_Clock_Configuration_V1.0.0.xls" tool. @par Hardware and Software environment - This example runs on STM32F2xx Devices. - This example has been tested with STM322xG-EVAL RevB and can be easily tailored to any other development board - STM322xG-EVAL Set-up - Make sure that OV9655 Camera module is mounted correctly - Make sure that jumper JP26 is not fitted @par How to use it ? In order to make the program work, you must do the following : - Copy all source files from this example folder to the template folder under Project\STM32F2xx_StdPeriph_Template - Open your preferred toolchain - Add the "dcmi_ov9655.c" file to the project source list - Rebuild all files and load your image into target memory - Run the example *

© COPYRIGHT 2011 STMicroelectronics

*/

近期下载者

相关文件


收藏者