Skip to main content
Visitor II
September 25, 2025
Solved

STM32H743VIT6 - QSPI XIP (eXecute In Place)

  • September 25, 2025
  • 2 replies
  • 566 views

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

    This topic has been closed for replies.
    Best answer by KDJEM.1

    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

     

    2 replies

    KDJEM.1Answer
    Technical Moderator
    September 25, 2025

    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

     

    Technical Moderator
    October 8, 2025

    Hello @LP257 ;

     

    Does my reply answer your question?

    If you require further information, please feel free to update post.

     

    Thank you.

    Kaouthar