Skip to main content
Senior
February 11, 2026
Solved

STM32N6 - booting off Quad spi (OTP) settings

  • February 11, 2026
  • 3 replies
  • 230 views

Goal boot from a Quad SPI flash

  • I shouldn't need to change any OTP settings.  
  • Any sNor flash chip connected to XSPIM_P2 that can operated in single spi mode can be booted off from?

 

From my understanding if we want to make a dev board and use a different external memory that is not Octo SPI flash but just Quad SPI flash we shouldn't have to change any of the OTP registers.  

Since

  • In sNor flash it starts in single spi mode
    • Then in your FSB you can configure the SPI to your given device(From my understanding)
  • There are no OTP registers for Nor flash settings
    • These are all setup in the ROM
  • Changing OTP 11 bits (5-8) would force us to loose the ability of Dev up (From my understanding)

 

Most of this info is from the

 

 

No boot source is programmed in OTP default source is serial NOR

Screenshot from 2026-02-11 10-35-55.png

No configuration needed

Screenshot from 2026-02-11 08-57-46.png

Default settings for the XSPI from the ROM

Screenshot from 2026-02-11 08-55-19.png

Flash is the boot when Boot1 (low) Fairly curtain thats sNor flash.

Screenshot from 2026-02-11 10-17-46.png

 

Related question

Best answer by Brenden_PLUS

Another good register to have is 

  • HCONF1 - OTP124

 

If you've system is using any 1v8 on any of the VDDIO lines you should set these registers.  Else you might not be able to boot from flash from your FSB because the FSB set the frequency of the spi to fast for it to boot when the configuration is set for a 3v3 line.  

 

 

Brenden_PLUS_0-1777029718114.png

 

3 replies

KDJEM.1
Technical Moderator
February 13, 2026

Hello @Brenden_PLUS ;

 

I advise you to look at How to program the OTP fuse bits in the STM32N6 - STMicroelectronics Community article may help you.

 

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.
Senior
April 7, 2026

bootrom configuration table

* BOOTSR == boot rom switches

Screenshot from 2026-04-07 10-04-19.png

RomainR.
ST Employee
April 9, 2026

Hello @Brenden_PLUS 

Your understanding is correct.
By default, in Flash_Boot mode (BOOT0 = BOOT1 = 0), the STM32N6 BootROM configures XSPI1 on Port 2 in single‑SPI mode with the parameters defined in Table 14 of UM3234. This allows the system to boot and copy a signed FSBL binary into the internal AXISRAM2.


Afterwards, depending on the external NOR Flash memory you plan to use, the final configuration must be performed in your FSBL using the External Memory Manager middleware.

Best regards,

Romain,

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.
Brenden_PLUSAuthorBest answer
Senior
April 24, 2026

Another good register to have is 

  • HCONF1 - OTP124

 

If you've system is using any 1v8 on any of the VDDIO lines you should set these registers.  Else you might not be able to boot from flash from your FSB because the FSB set the frequency of the spi to fast for it to boot when the configuration is set for a 3v3 line.  

 

 

Brenden_PLUS_0-1777029718114.png