Skip to main content
JJ.Lin
Associate III
January 20, 2022
Solved

Can I directly write in memory-mapped mode over QSPI of STM32H7 to NOR Flash

  • January 20, 2022
  • 1 reply
  • 4513 views

Hi,

Can I directly write in memory-mapped mode over QSPI of STM32H7 to NOR Flash?

Thanks!

This topic has been closed for replies.
Best answer by mƎALLEm

Dear @JJ.Lin​ ,

According to the AN4760  "Quad-SPI interface on STM32 microcontrollers and microprocessors" :

Page 23:

"The Memory-mapped mode is used in below cases:

For reading operations.

• To use external Quad-SPI Flash memory like an internal memory, so any AHB master can read data autonomously.

• For code execution from external Quad-SPI Flash memory"

Page 22:

"In case of an erase or programming operation, the Indirect mode has to be used and all the operations have to be handled by software."

Page 22:

"The Indirect mode is used in below cases:

• For reading, writing or erasing operations.

• If there is no need for AHB masters to access autonomously the Quad-SPI memory (available in Memorymapped mode).

• For all the operations to be performed through the QUADSPI data registers using CPU or using DMA.

• To configure the Quad-SPI Flash memory."

SofLit

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
January 20, 2022

Dear @JJ.Lin​ ,

According to the AN4760  "Quad-SPI interface on STM32 microcontrollers and microprocessors" :

Page 23:

"The Memory-mapped mode is used in below cases:

For reading operations.

• To use external Quad-SPI Flash memory like an internal memory, so any AHB master can read data autonomously.

• For code execution from external Quad-SPI Flash memory"

Page 22:

"In case of an erase or programming operation, the Indirect mode has to be used and all the operations have to be handled by software."

Page 22:

"The Indirect mode is used in below cases:

• For reading, writing or erasing operations.

• If there is no need for AHB masters to access autonomously the Quad-SPI memory (available in Memorymapped mode).

• For all the operations to be performed through the QUADSPI data registers using CPU or using DMA.

• To configure the Quad-SPI Flash memory."

SofLit

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.