cancel
Showing results for 
Search instead for 
Did you mean: 

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

JJ.Lin
Associate III

Hi,

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

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.