Skip to main content
Associate
March 25, 2026
Question

STM32F407 SPI+DMA+interrupt with standard library

  • March 25, 2026
  • 7 replies
  • 422 views

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

7 replies

MGogr.1
Senior
March 25, 2026

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

SimbaaAuthor
Associate
March 25, 2026

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?

MGogr.1
Senior
March 25, 2026
ST Technical Moderator
March 25, 2026

Hello @Simbaa 

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
SimbaaAuthor
Associate
March 27, 2026

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