2026-04-16 10:27 PM - edited 2026-04-16 10:45 PM
Hi,
This is my first time using an STM32N6 without internal flash, and since I am right before handing over files for artwork, I would appreciate it if you could check if the power lines and XSPI memory connections are correct.
I have searched around a lot, but since it is my first time, I feel a bit nervous, so please let me know if everything is correct.
>
I looked it up and found that to boot via Nor-Flash (quad), I need to connect XSPI1 to XSPIM_P2. Also, since I try to connect the 16-bit PRAM in DTR without DQS mode, I connected it as XSPI2->XSPIM_P1. Is this correct? I really need to BOOT via Nor-Flash and use PRAM after that. (swapped mode? in CubeMX)
>
This is the power line. It operates at 1.8V, and an STM employee told me to connect all CSI/USB lines to ground if I am not using CSI/USB. Is this the correct way like this all? I won't be able to fix it if the power section is wrong, so I would really appreciate it if you could let me know.
2026-04-17 1:51 AM
Hello @AndersonKKK ;
The swapped mode is similar to XSPI direct mode, but the ports are swapped, to help I/O mapping.
In swapped mode, the XSPI2 can be configured in 16-bit mode, and the XSPI1 can be configured in octal mode, to connect an external 16-bit memory on Port 1, and to connect in a concurrent way an octal external memory connected to Port 2 of the I/O manager.
To check a hardware connection, I recommend you to look at Getting started with hardware development for STM32N6 MCUs - Application note.
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.