Skip to main content
Associate II
August 27, 2026
Solved

GPIO OF XSPI1 and XSPI2

  • August 27, 2026
  • 4 replies
  • 78 views

Hello Team,

 

I am using STM32N6,

 

Now i have initialised STM32N6’s XSPI1,XSPI2 at 1.8v (set VDDIO-2,VDDIO-3 = 1.8V), VDD=3.3V,

 

If I use GPIOs from the XSPI1 and XSPI2 pins, will those GPIOs have a high value (1) in the range of 1.8v or 3.3v?

 

Thank you

Best answer by FBL

Hi ​@El_Chez 

If those XSPI1/XSPI2 pins belong to VDDIO2 / VDDIO3 and those rails are powered at 1.8 V, then a GPIO logic high on those pins will be at 1.8 V, not 3.3 V.

I can also suggest the AN5967 in section 3.1 Main power supplies.

 

4 replies

FBLBest answer
ST Technical Moderator
August 27, 2026

Hi ​@El_Chez 

If those XSPI1/XSPI2 pins belong to VDDIO2 / VDDIO3 and those rails are powered at 1.8 V, then a GPIO logic high on those pins will be at 1.8 V, not 3.3 V.

I can also suggest the AN5967 in section 3.1 Main power supplies.

 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
El_ChezAuthor
Associate II
August 27, 2026

Thanks for letting me know,

 

I am using STM32N657X0H3Q,

I am trying to interface unused XSPIM_1 pin - PO1 and XSPIM_2 pin - PN12 as i/o pins,

However, STM32CubeMX flags “PARTLY DISABLES CONFLICT” when I try to use them as i/o pins.

 

Can I still continue to use them as GPIO, as I need to interface them with my flash, which works at 1.8v,

but my VDD=3.3V, so I only have my freedom of pins left in XSPI_1 and XSPI_2(both of them powered by VDDIO2 AND VDDIO3 are connected to same source at 1.8v), so the pins left in XSPI1 and XSPI2 are PO1,PO5, AND PN12, 

 

It does not raise an issue when I use PO5; it raises an issue for both PN12 and PO1,

Can Someone please help me sort this? Can I still use them, or do I necessarily have to go with a level shifter?

Thank you.

ST Technical Moderator
August 27, 2026

@El_Chez This is a different request and should be addressed in your dedicated CubeMX forum post. Your post will be reviewed and investigated by our colleagues there.

 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
El_ChezAuthor
Associate II
August 27, 2026

Sure, Thank you