cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 SPI+DMA+interrupt with standard library

Simbaa
Associate II

Could you provide a routine for reading and writing external flash using spi+dma+ interrupt in the STM32F407 standard library?

7 REPLIES 7
MGogr.1
Senior

Why don't you try Winbond W25Qxx flash series which works on SPI.

Currently, Winbond flash is used. Could you provide an example routine for reading and writing external flash using spi+dma+ interrupt in the STM32F407 standard library?

Saket_Om
ST Employee

Hello @Simbaa 

Please refer to the example SPI_FLASH under "Project\STM32F4xx_StdPeriph_Examples\SPI\SPI_FLASH" on STM32F4xx_DSP_StdPeriph_Lib package.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om

Could you provide the download link or directly offer the reference program

Could you provide the download address or directly offer a reference program based on the standard library

Hello @Simbaa 

Please refer to the link below to download the STM32F4xx_DSP_StdPeriph_Lib package.

STSW-STM32065 | Product - STMicroelectronics

The project implements the SPI communication in pooling mode you should adapt it to use DMA mode

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om