Skip to main content
Associate II
January 19, 2026
Solved

How to use two QSPIs of STM32U575RG simultaneously

  • January 19, 2026
  • 2 replies
  • 212 views

SourFish_0-1768808755460.png

As shown in the figure, when using one QSPI, the other becomes unselectable.

Best answer by KDJEM.1

Hello @SourFish;

 

 When Multiplexed mode is enabled, both OCTOSPI1/2 signals are mixed over one OCTOSPI/XSPI I/O port except the OCTOSPI1/2_NCS / XSPI1/2_NCS1/2 pins.

KDJEM1_0-1768814614762.png

So, the OCTOSPIs are time-multiplexed over the same bus.

You cannot transmit data at the same time because an minimum number of cycles needed to switch from an OCTOSPI to another can be configured.

This internal timer guarantees a latency between the falling edge of the REQ signal of the active OCTOSPI (the active one releases the bus), and the rising edge of the ACK signal to the requesting OCTOSPI (the bus is granted to the requesting one). The REQ2ACK_TIME field of the configuration register OCTOSPIM_CR defines the duration.

 

Thank you.

Kaouthar

2 replies

KDJEM.1
Technical Moderator
January 19, 2026

Hello @SourFish ,

 

According to the datasheet DS13737 Rev 10 Table 2. STM32U575xx features and peripheral counts; two OCTOSPIs are available only in Muxed mode in STM32U575RG.

KDJEM1_1-1768809646757.png

 

KDJEM1_0-1768809622030.png

So, you need to configure the OCTOSPI with Quad SPI-- MULTIPLEXED mode:

KDJEM1_2-1768809731620.png

 

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.
SourFishAuthor
Associate II
January 19, 2026

Thanks for your reply!

When I choose Data [3:0] for OCTOSPI1, the OCTOSPI2 can only use the same pin group. that's means I can't transmit data at same time, right?
SourFish_0-1768810573514.png

SourFish_1-1768810613361.png

 

KDJEM.1
KDJEM.1Best answer
Technical Moderator
January 19, 2026

Hello @SourFish;

 

 When Multiplexed mode is enabled, both OCTOSPI1/2 signals are mixed over one OCTOSPI/XSPI I/O port except the OCTOSPI1/2_NCS / XSPI1/2_NCS1/2 pins.

KDJEM1_0-1768814614762.png

So, the OCTOSPIs are time-multiplexed over the same bus.

You cannot transmit data at the same time because an minimum number of cycles needed to switch from an OCTOSPI to another can be configured.

This internal timer guarantees a latency between the falling edge of the REQ signal of the active OCTOSPI (the active one releases the bus), and the rising edge of the ACK signal to the requesting OCTOSPI (the bus is granted to the requesting one). The REQ2ACK_TIME field of the configuration register OCTOSPIM_CR defines the duration.

 

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.
SourFishAuthor
Associate II
January 19, 2026

Thanks for support.

Best regard.