cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7R/S3x: using external QSPI as primary FLASH

simo zz
Senior

Hi,

I am planning to use an STM32H7R/S3x device for our application. Among all the interesting feature and peripherals that fit our needs, the 64kB of flash is a limitation, so I am considering to use an external Quad/Octo SPI flash as a primary flash instead of the internal 64kB memory.

The firmware application residing on the Quad/Octo SPI should be executed using a bootloader.

It seems that this approach is feasible from what I read from AN470 (6.2) and AN5050 (7.1.2):

https://www.st.com/resource/en/application_note/an4760-quadspi-interface-on-stm32-microcontrollers-and-microprocessors--stmicroelectronics.pdf

https://www.st.com/content/ccc/resource/training/technical/product_training/group1/7e/3b/3e/d0/aa/f0/4f/07/STM32H7-Peripheral-OctoSPI_interface_OCTOSPI/files/STM32H7-Peripheral-OctoSPI_interface_OCTOSPI.pdf/_jcr_content/translations/en.STM32H7-Peripheral-OctoSPI_interface_OCTOSPI.pdf

Right ? Since I never used this approach, doubts arise..

However, I have a doubt regarding the setup from STM32CubeMX:

1) What would be the correct XSPI setup in this case?

simozz_0-1738332720470.png

2) Do I will need the External Memory loader middle-ware?

simozz_1-1738332909502.png

Thanks for any suggestions.

Regards,

Simon

0 REPLIES 0