STM32H743VIT6 - QSPI XIP (eXecute In Place)
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
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
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.