This project describes how STM32F4 microcontroller transmits data over the SPI interface using DMA. development tools is MDK ARM v5.
File list:
SPI Send _Receive Data Using DMA
...............................\Drivers
...............................\.......\CMSIS
...............................\.......\.....\Device
...............................\.......\.....\......\ST
...............................\.......\.....\......\..\STM32F4xx
...............................\.......\.....\......\..\.........\Include
...............................\.......\.....\......\..\.........\.......\stm32f401xc.h
...............................\.......\.....\......\..\.........\.......\stm32f401xe.h
...............................\.......\.....\......\..\.........\.......\stm32f405xx.h
...............................\.......\.....\......\..\.........\.......\stm32f407xx.h
...............................\.......\.....\......\..\.........\.......\stm32f410cx.h
...............................\.......\.....\......\..\.........\.......\stm32f410rx.h
...............................\.......\.....\......\..\.........\.......\stm32f410tx.h
...............................\.......\.....\......\..\.........\.......\stm32f411xe.h
...............................\.......\.....\......\..\.........\.......\stm32f412cx.h
...............................\.......\.....\......\..\.........\.......\stm32f412rx.h
...............................\.......\.....\......\..\.........\.......\stm32f412vx.h
...............................\.......\.....\......\..\.........\.......\stm32f412zx.h
...............................\.......\.....\......\..\.........\.......\stm32f415xx.h
...............................\.......\.....\......\..\.........\.......\stm32f417xx.h
...............................\.......\.....\......\..\.........\.......\stm32f427xx.h
...............................\.......\.....\......\..\.........\.......\stm32f429xx.h
...............................\.......\.....\......\..\.........\.......\stm32f437xx.h
...............................\.......\.....\......\..\.........\.......\stm32f439xx.h
...............................\.......\.....\......\..\.........\.......\stm32f446xx.h
...............................\.......\.....\......\..\.........\.......\stm32f469xx.h
...............................\.......\.....\......\..\.........\.......\stm32f479xx.h
...............................\.......\.....\......\..\.........\.......\stm32f4xx.h
...............................\.......\.....\......\..\.........\.......\system_stm32f4xx.h
...............................\.......\.....\......\..\.........\Source
...............................\.......\.....\......\..\.........\......\Templates
...............................\.......\.....\......\..\.........\......\.........\arm
...............................\.......\.....\......\..\.........\......\.........\...\startup_stm32f407xx.s
...............................\.......\.....\......\..\.........\......\.........\system_stm32f4xx.c
...............................\.......\.....\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
...............................\.......\....................\...\Legacy
...............................\.......\....................\...\......\stm32_hal_legacy.h
...............................\.......\....................\...\stm32f4xx_hal.h
...............................\.......\....................\...\stm32f4xx_hal_cortex.h
...............................\.......\....................\...\stm32f4xx_hal_def.h
...............................\.......\....................\...\stm32f4xx_hal_dma.h
...............................\.......\....................\...\stm32f4xx_hal_dma_ex.h
...............................\.......\....................\...\stm32f4xx_hal_flash.h
...............................\.......\....................\...\stm32f4xx_hal_flash_ex.h
...............................\.......\....................\...\stm32f4xx_hal_flash_ramfunc.h
...............................\.......\....................\...\stm32f4xx_hal_gpio.h
...............................\.......\....................\...\stm32f4xx_hal_gpio_ex.h
...............................\.......\....................\...\stm32f4xx_hal_pwr.h
...............................\.......\....................\...\stm32f4xx_hal_pwr_ex.h
...............................\.......\....................\...\stm32f4xx_hal_rcc.h
...............................\.......\....................\...\stm32f4xx_hal_rcc_ex.h
...............................\.......\....................\...\stm32f4xx_hal_spi.h
...............................\.......\....................\...\stm32f4xx_hal_tim.h
...............................\.......\....................\...\stm32f4xx_hal_tim_ex.h
...............................\.......\....................\Src
...............................\.......\....................\...\stm32f4xx_hal.c
...............................\.......\....................\...\stm32f4xx_hal_cortex.c
...............................\.......\....................\...\stm32f4xx_hal_dma.c
...............................\.......\....................\...\stm32f4xx_hal_dma_ex.c
...............................\.......\....................\...\stm32f4xx_hal_flash.c
...............................\.......\....................\...\stm32f4xx_hal_flash_ex.c
...............................\.......\....................\...\stm32f4xx_hal_flash_ramfunc.c
...............................\.......\....................\...\stm32f4xx_hal_gpio.c
...............................\.......\....................\...\stm32f4xx_hal_pwr.c
...............................\.......\....................\...\stm32f4xx_hal_pwr_ex.c
...............................\.......\....................\...\stm32f4xx_hal_rcc.c
...............................\.......\....................\...\stm32f4xx_hal_rcc_ex.c
...............................\.......\....................\...\stm32f4xx_hal_spi.c
...............................\.......\....................\...\stm32f4xx_hal_tim.c
...............................\.......\....................\...\stm32f4xx_hal_tim_ex.c
...............................\Inc
...............................\...\mxconstants.h
...............................\...\stm32f4xx_hal_conf.h
...............................\...\stm32f4xx_it.h
...............................\MDK-ARM
...............................\.......\DebugConfig
...............................\.......\...........\SPI_Send__Receive_Data_Using_DMA_STM32F407VGTx.dbgconf
...............................\.......\RTE
...............................\.......\...\RTE_Components.h
...............................\.......\SPI Send _Receive Data Using DMA
...............................\.......\................................\ExtDll.iex
...............................\.......\................................\main.crf
...............................\.......\................................\main.d
...............................\.......\................................\main.o
...............................\.......\................................\SPI Send _Receive Data Using DMA.axf
...............................\.......\................................\SPI Send _Receive Data Using DMA.build_log.htm
...............................\.......\................................\SPI Send _Receive Data Using DMA.htm
...............................\.......\................................\SPI Send _Receive Data Using DMA.lnp
...............................\.......\................................\SPI Send _Receive Data Using DMA.map
...............................\.......\................................\SPI Send _Receive Data Using DMA.sct
...............................\.......\................................\SPI Send _Receive Data Using DMA_SPI Send _Receive Data Using DMA.dep
...............................\.......\................................\startup_stm32f407xx.d
...............................\.......\................................\startup_stm32f407xx.o
...............................\.......\................................\stm32f4xx_hal.crf
...............................\.......\................................\stm32f4xx_hal.d
...............................\.......\................................\stm32f4xx_hal.o
...............................\.......\................................\stm32f4xx_hal_cortex.crf
...............................\.......\................................\stm32f4xx_hal_cortex.d
...............................\.......\................................\stm32f4xx_hal_cortex.o
...............................\.......\................................\stm32f4xx_hal_dma.crf
...............................\.......\................................\stm32f4xx_hal_dma.d
...............................\.......\................................\stm32f4xx_hal_dma.o
...............................\.......\................................\stm32f4xx_hal_dma_ex.crf
...............................\.......\................................\stm32f4xx_hal_dma_ex.d
...............................\.......\................................\stm32f4xx_hal_dma_ex.o
...............................\.......\................................\stm32f4xx_hal_flash.crf
...............................\.......\................................\stm32f4xx_hal_flash.d
...............................\.......\................................\stm32f4xx_hal_flash.o
...............................\.......\................................\stm32f4xx_hal_flash_ex.crf
...............................\.......\................................\stm32f4xx_hal_flash_ex.d
...............................\.......\................................\stm32f4xx_hal_flash_ex.o
...............................\.......\................................\stm32f4xx_hal_flash_ramfunc.crf
...............................\.......\................................\stm32f4xx_hal_flash_ramfunc.d
...............................\.......\................................\stm32f4xx_hal_flash_ramfunc.o
...............................\.......\................................\stm32f4xx_hal_gpio.crf
...............................\.......\................................\stm32f4xx_hal_gpio.d
...............................\.......\................................\stm32f4xx_hal_gpio.o
...............................\.......\................................\stm32f4xx_hal_msp.crf
...............................\.......\................................\stm32f4xx_hal_msp.d
...............................\.......\................................\stm32f4xx_hal_msp.o
...............................\.......\................................\stm32f4xx_hal_pwr.crf
...............................\.......\................................\stm32f4xx_hal_pwr.d
...............................\.......\................................\stm32f4xx_hal_pwr.o
...............................\.......\................................\stm32f4xx_hal_pwr_ex.crf
...............................\.......\................................\stm32f4xx_hal_pwr_ex.d
...............................\.......\................................\stm32f4xx_hal_pwr_ex.o
...............................\.......\................................\stm32f4xx_hal_rcc.crf
...............................\.......\................................\stm32f4xx_hal_rcc.d
...............................\.......\................................\stm32f4xx_hal_rcc.o
...............................\.......\................................\stm32f4xx_hal_rcc_ex.crf
...............................\.......\................................\stm32f4xx_hal_rcc_ex.d
...............................\.......\................................\stm32f4xx_hal_rcc_ex.o
...............................\.......\................................\stm32f4xx_hal_spi.crf
...............................\.......\................................\stm32f4xx_hal_spi.d
...............................\.......\................................\stm32f4xx_hal_spi.o
...............................\.......\................................\stm32f4xx_hal_tim.crf
...............................\.......\................................\stm32f4xx_hal_tim.d
...............................\.......\................................\stm32f4xx_hal_tim.o
...............................\.......\................................\stm32f4xx_hal_tim_ex.crf
...............................\.......\................................\stm32f4xx_hal_tim_ex.d
...............................\.......\................................\stm32f4xx_hal_tim_ex.o
...............................\.......\................................\stm32f4xx_it.crf
...............................\.......\................................\stm32f4xx_it.d
...............................\.......\................................\stm32f4xx_it.o
...............................\.......\................................\system_stm32f4xx.crf
...............................\.......\................................\system_stm32f4xx.d
...............................\.......\................................\system_stm32f4xx.o
...............................\.......\SPI Send _Receive Data Using DMA.uvguix.XuanThiep
...............................\.......\SPI Send _Receive Data Using DMA.uvoptx
...............................\.......\SPI Send _Receive Data Using DMA.uvprojx
...............................\.......\startup_stm32f407xx.lst
...............................\.......\startup_stm32f407xx.s
...............................\Src
...............................\...\main.c
...............................\...\stm32f4xx_hal_msp.c
...............................\...\stm32f4xx_it.c
...............................\.mxproject
...............................\SPI Send _Receive Data Using DMA.ioc