2022-01-20 01:56 AM
Hi,
Can I directly write in memory-mapped mode over QSPI of STM32H7 to NOR Flash?
Thanks!
Solved! Go to Solution.
2022-01-20 02:56 AM
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
2022-01-20 02:56 AM
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