2025-09-24 11:07 PM - last edited on 2025-09-25 2:27 AM by mƎALLEm
I am evaluating the STM32H743VIT6 microcontroller for my project. I would like to know whether this device supports Execute-In-Place (XIP) from external flash memory through QSPI
2025-09-25 1:17 AM
Hello @LP257 ;
For STM32H743, when configured QUADSPI in memory-mapped mode, the external SPI device is seen as an internal memory. So, the QUADSPI supports the execute in place (XIP) operation. Where the QUADSPI anticipates the next access and load in advance the byte at the following address. If the subsequent access is indeed made at a continuous address, the access is completed faster since the value is already prefetched.
For more information and XIP example, I recommend you to look at these resources:
- Quad-SPI interface on STM32 microcontrollers and microprocessors - Application note section "3.3.3 Memory-mapped mode"
- STM32H742, STM32H743/753 and STM32H750 Value line advanced Arm®-based 32-bit MCUs - Reference manual section "23.3.7 QUADSPI memory-mapped mode"
- QSPI_ExecuteInPlace example.
I hope this answer your request!
Thank you.
Kaouthar
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.