【E1295】使用STM32F429生成VGA图像的源码

2021-09-24 14:41:46      索炜达电子      761     

项目编号:E1295

文件大小:5M

源码说明:带中文注释

开发环境:C编译器

简要概述:

使用STM32F429生成VGA信号(HAL和SPL)的代码示例。

硬件:Core429I开发板+带有R-2R VGA DAC、USB、SD卡和摄像头接口的定制开发板:

【E1295】使用STM32F429生成VGA图像的源码

"ov7670_camera" - picture from OV7670 camera is displayed at the VGA display. Written for SPL.

"simple_vga_example" - display some simple patterns at the VGA display. Written for SPL.

"simple_vga_example_hal" - display some simple patterns at the VGA display. Written for HAL.

"sdcard_vga_example" - STM32F429 reads image from SD Card and show it at the VGA display. Written for SPL.

There are some photos of VGA display at "Photos" directory.

目录│文件列表:

 └ stm32f429_vga_examples

    │ .gitignore

    │ README.md

    ├ ov7670_camera_example

    │  │ 32f429_lcd.c

    │  │ 32f429_lcd.h

    │  │ 32f429_sdram.c

    │  │ 32f429_sdram.h

    │  │ fonts.c

    │  │ fonts.h

    │  │ main.c

    │  │ main.h

    │  │ readme.txt

    │  │ stm32f4xx_conf.h

    │  │ stm32f4xx_it.c

    │  │ stm32f4xx_it.h

    │  │ system_stm32f4xx.c

    │  │ system_stm32f4xx.h

    │  ├ camera

    │  │  │ config.h

    │  │  │ dcmi_OV7670.c

    │  │  │ dcmi_OV7670.h

    │  │  │ DCMI_OV7670_INITTABLE.h

    │  │  │ SCCB.C

    │  │  └ SCCB.h

    │  └ EWARM

    │     │ Project.dep

    │     │ Project.ewd

    │     │ Project.ewp

    │     │ Project.ewt

    │     │ Project.eww

    │     │ stm32f4xx.h

    │     │ stm32f4xx_flash.icf

    │     ├ settings

    │     │  │ Project.crun

    │     │  │ Project.dbgdt

    │     │  │ Project.dni

    │     │  │ Project.STM32F429_439xx.cspy.bat

    │     │  │ Project.STM32F429_439xx.driver.xcl

    │     │  │ Project.STM32F429_439xx.general.xcl

    │     │  │ Project.wsdt

    │     │  └ Project.wspos

    │     └ STM32F429_439xx

    │        └ Exe

    │           └ Project.sim

    ├ Photos

    │  │ ov7670_camera_example.jpg

    │  │ sdcard_vga_example.jpg

    │  └ simple_vga_example.jpg

    ├ schematic

    │  │ ModuleSchematic.png

    │  └ schematic_v1.1.png

    ├ sdcard_vga_example

    │  │ 32f429_lcd.c

    │  │ 32f429_lcd.h

    │  │ 32f429_sdram.c

    │  │ 32f429_sdram.h

    │  │ fonts.c

    │  │ fonts.h

    │  │ main.c

    │  │ main.h

    │  │ readme.txt

    │  │ stm32f4xx_conf.h

    │  │ stm32f4xx_it.c

    │  │ stm32f4xx_it.h

    │  │ system_stm32f4xx.c

    │  │ system_stm32f4xx.h

    │  │ test_image.dta

    │  ├ EWARM

    │  │  │ Project.dep

    │  │  │ Project.ewd

    │  │  │ Project.ewp

    │  │  │ Project.ewt

    │  │  │ Project.eww

    │  │  │ stm32f4xx.h

    │  │  │ stm32f4xx_flash.icf

    │  │  ├ settings

    │  │  │  │ Project.crun

    │  │  │  │ Project.dbgdt

    │  │  │  │ Project.dni

    │  │  │  │ Project.STM32F429_439xx.cspy.bat

    │  │  │  │ Project.STM32F429_439xx.driver.xcl

    │  │  │  │ Project.STM32F429_439xx.general.xcl

    │  │  │  │ Project.wsdt

    │  │  │  └ Project.wspos

    │  │  └ STM32F429_439xx

    │  │     └ Exe

    │  │        └ Project.sim

    │  └ sd_card

    │     │ sdcard.c

    │     │ sdcard.h

    │     │ sd_card_reader.c

    │     │ sd_card_reader.h

    │     │ syscall.c

    │     └ FatFS

    │        │ diskio.c

    │        │ diskio.h

    │        │ ff.c

    │        │ ff.h

    │        │ ffconf.h

    │        │ integer.h

    │        └ option

    │           │ cc932.c

    │           │ cc936.c

    │           │ cc949.c

    │           │ cc950.c

    │           │ ccsbcs.c

    │           └ syncobj.c

    ├ simple_vga_example

    │  │ 32f429_lcd.c

    │  │ 32f429_lcd.h

    │  │ 32f429_sdram.c

    │  │ 32f429_sdram.h

    │  │ fonts.c

    │  │ fonts.h

    │  │ main.c

    │  │ main.h

    │  │ readme.txt

    │  │ stm32f4xx_conf.h

    │  │ stm32f4xx_it.c

    │  │ stm32f4xx_it.h

    │  │ system_stm32f4xx.c

    │  │ system_stm32f4xx.h

    │  └ EWARM

    │     │ Project.dep

    │     │ Project.ewd

    │     │ Project.ewp

    │     │ Project.ewt

    │     │ Project.eww

    │     │ stm32f4xx.h

    │     │ stm32f4xx_flash.icf

    │     ├ settings

    │     │  │ Project.crun

    │     │  │ Project.dbgdt

    │     │  │ Project.dni

    │     │  │ Project.STM32F429_439xx.cspy.bat

    │     │  │ Project.STM32F429_439xx.driver.xcl

    │     │  │ Project.STM32F429_439xx.general.xcl

    │     │  │ Project.wsdt

    │     │  └ Project.wspos

    │     └ STM32F429_439xx

    │        ├ Exe

    │        │  └ Project.sim

    │        └ Obj

    │           │ Project.pbd

    │           └ Project.pbd.browse

    ├ simple_vga_example_hal

    │  │ .mxproject

    │  │ cube_video_test1.ioc

    │  ├ Drivers

    │  │  ├ CMSIS

    │  │  │  ├ Device

    │  │  │  │  └ ST

    │  │  │  │     └ STM32F4xx

    │  │  │  │        └ Include

    │  │  │  │           │ stm32f407xx.h

    │  │  │  │           │ stm32f429xx.h

    │  │  │  │           │ stm32f4xx.h

    │  │  │  │           └ system_stm32f4xx.h

    │  │  │  └ Include

    │  │  │     │ arm_common_tables.h

    │  │  │     │ arm_const_structs.h

    │  │  │     │ arm_math.h

    │  │  │     │ cmsis_armcc.h

    │  │  │     │ cmsis_armcc_V6.h

    │  │  │     │ cmsis_gcc.h

    │  │  │     │ core_cm0.h

    │  │  │     │ core_cm0plus.h

    │  │  │     │ core_cm3.h

    │  │  │     │ core_cm4.h

    │  │  │     │ core_cm7.h

    │  │  │     │ core_cmFunc.h

    │  │  │     │ core_cmInstr.h

    │  │  │     │ core_cmSimd.h

    │  │  │     │ core_sc000.h

    │  │  │     └ core_sc300.h

    │  │  └ STM32F4xx_HAL_Driver

    │  │     ├ Inc

    │  │     │  │ stm32f4xx_hal.h

    │  │     │  │ stm32f4xx_hal_adc.h

    │  │     │  │ stm32f4xx_hal_adc_ex.h

    │  │     │  │ stm32f4xx_hal_can.h

    │  │     │  │ stm32f4xx_hal_cec.h

    │  │     │  │ stm32f4xx_hal_conf_template.h

    │  │     │  │ stm32f4xx_hal_cortex.h

    │  │     │  │ stm32f4xx_hal_crc.h

    │  │     │  │ stm32f4xx_hal_cryp.h

    │  │     │  │ stm32f4xx_hal_cryp_ex.h

    │  │     │  │ stm32f4xx_hal_dac.h

    │  │     │  │ stm32f4xx_hal_dac_ex.h

    │  │     │  │ stm32f4xx_hal_dcmi.h

    │  │     │  │ stm32f4xx_hal_dcmi_ex.h

    │  │     │  │ stm32f4xx_hal_def.h

    │  │     │  │ stm32f4xx_hal_dfsdm.h

    │  │     │  │ stm32f4xx_hal_dma.h

    │  │     │  │ stm32f4xx_hal_dma2d.h

    │  │     │  │ stm32f4xx_hal_dma_ex.h

    │  │     │  │ stm32f4xx_hal_dsi.h

    │  │     │  │ stm32f4xx_hal_eth.h

    │  │     │  │ stm32f4xx_hal_flash.h

    │  │     │  │ stm32f4xx_hal_flash_ex.h

    │  │     │  │ stm32f4xx_hal_flash_ramfunc.h

    │  │     │  │ stm32f4xx_hal_fmpi2c.h

    │  │     │  │ stm32f4xx_hal_fmpi2c_ex.h

    │  │     │  │ stm32f4xx_hal_gpio.h

    │  │     │  │ stm32f4xx_hal_gpio_ex.h

    │  │     │  │ stm32f4xx_hal_hash.h

    │  │     │  │ stm32f4xx_hal_hash_ex.h

    │  │     │  │ stm32f4xx_hal_hcd.h

    │  │     │  │ stm32f4xx_hal_i2c.h

    │  │     │  │ stm32f4xx_hal_i2c_ex.h

    │  │     │  │ stm32f4xx_hal_i2s.h

    │  │     │  │ stm32f4xx_hal_i2s_ex.h

    │  │     │  │ stm32f4xx_hal_irda.h

    │  │     │  │ stm32f4xx_hal_iwdg.h

    │  │     │  │ stm32f4xx_hal_lptim.h

    │  │     │  │ stm32f4xx_hal_ltdc.h

    │  │     │  │ stm32f4xx_hal_ltdc_ex.h

    │  │     │  │ stm32f4xx_hal_nand.h

    │  │     │  │ stm32f4xx_hal_nor.h

    │  │     │  │ stm32f4xx_hal_pccard.h

    │  │     │  │ stm32f4xx_hal_pcd.h

    │  │     │  │ stm32f4xx_hal_pcd_ex.h

    │  │     │  │ stm32f4xx_hal_pwr.h

    │  │     │  │ stm32f4xx_hal_pwr_ex.h

    │  │     │  │ stm32f4xx_hal_qspi.h

    │  │     │  │ stm32f4xx_hal_rcc.h

    │  │     │  │ stm32f4xx_hal_rcc_ex.h

    │  │     │  │ stm32f4xx_hal_rng.h

    │  │     │  │ stm32f4xx_hal_rtc.h

    │  │     │  │ stm32f4xx_hal_rtc_ex.h

    │  │     │  │ stm32f4xx_hal_sai.h

    │  │     │  │ stm32f4xx_hal_sai_ex.h

    │  │     │  │ stm32f4xx_hal_sd.h

    │  │     │  │ stm32f4xx_hal_sdram.h

    │  │     │  │ stm32f4xx_hal_smartcard.h

    │  │     │  │ stm32f4xx_hal_spdifrx.h

    │  │     │  │ stm32f4xx_hal_spi.h

    │  │     │  │ stm32f4xx_hal_sram.h

    │  │     │  │ stm32f4xx_hal_tim.h

    │  │     │  │ stm32f4xx_hal_tim_ex.h

    │  │     │  │ stm32f4xx_hal_uart.h

    │  │     │  │ stm32f4xx_hal_usart.h

    │  │     │  │ stm32f4xx_hal_wwdg.h

    │  │     │  │ stm32f4xx_ll_fmc.h

    │  │     │  │ stm32f4xx_ll_fsmc.h

    │  │     │  │ stm32f4xx_ll_sdmmc.h

    │  │     │  │ stm32f4xx_ll_usb.h

    │  │     │  └ Legacy

    │  │     │     └ stm32_hal_legacy.h

    │  │     └ Src

    │  │        │ stm32f4xx_hal.c

    │  │        │ stm32f4xx_hal_adc.c

    │  │        │ stm32f4xx_hal_adc_ex.c

    │  │        │ stm32f4xx_hal_can.c

    │  │        │ stm32f4xx_hal_cec.c

    │  │        │ stm32f4xx_hal_cortex.c

    │  │        │ stm32f4xx_hal_crc.c

    │  │        │ stm32f4xx_hal_cryp.c

    │  │        │ stm32f4xx_hal_cryp_ex.c

    │  │        │ stm32f4xx_hal_dac.c

    │  │        │ stm32f4xx_hal_dac_ex.c

    │  │        │ stm32f4xx_hal_dcmi.c

    │  │        │ stm32f4xx_hal_dcmi_ex.c

    │  │        │ stm32f4xx_hal_dfsdm.c

    │  │        │ stm32f4xx_hal_dma.c

    │  │        │ stm32f4xx_hal_dma2d.c

    │  │        │ stm32f4xx_hal_dma_ex.c

    │  │        │ stm32f4xx_hal_dsi.c

    │  │        │ stm32f4xx_hal_eth.c

    │  │        │ stm32f4xx_hal_flash.c

    │  │        │ stm32f4xx_hal_flash_ex.c

    │  │        │ stm32f4xx_hal_flash_ramfunc.c

    │  │        │ stm32f4xx_hal_fmpi2c.c

    │  │        │ stm32f4xx_hal_fmpi2c_ex.c

    │  │        │ stm32f4xx_hal_gpio.c

TAGVGA图像
  • 3 次
  • 20 分