cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N657X0-Q write to spi flash using code

Nixxen
Visitor

For a project i want to save log files in the external SPI of the Stm32n6 for this is already tried to configure xspi2 and the external memory, but i am not sure if i have done it right. I also have found no source on how to continue with the Code after this maybe someone can help with this.

Screenshot 2025-07-17 103829.pngScreenshot 2025-07-17 105040.png

1 REPLY 1
Saket_Om
ST Employee

Hello @Nixxen 

Please check these examples below as starting point to configure your XSPI in CubeMX.

STM32CubeN6/Projects/NUCLEO-N657X0-Q/Examples/XSPI at main · STMicroelectronics/STM32CubeN6 · GitHub

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.
Saket_Om