Skip to main content
Associate
June 26, 2026
Question

STM32L4Q5VGT6 DUAL QUAD MODE CONFIGURATION

  • June 26, 2026
  • 2 replies
  • 74 views

Hi ST team,

 

I am using STM32L4Q5VGT6 I need to use 2xQuad SPI memory. I need a confirmation whether we can use OCTOSPIM_P1_NCS pin from PE11 & PA2 CS-pin as individual cs pin for both Quad memory chip.  



Thanks,

 

2 replies

ST Technical Moderator
June 26, 2026

Hello ​@saminathan 

Yes, it is possible. Please see the RM0432 for more details:

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Associate
June 26, 2026

Hi ​@Saket_Om ,

 

As per Octal spi condition, there is a single chip select line and clock line are able to configure through cube ide.ioc file, if I want to use Octal SPi in Quad mode to write and read single slave, I able to configure, DO to D3 data line, single clock and single cs. Now I need to use dual slave, for that there is a independent mode under which slaves will share same DO to D3 data line and Clk line, but separate cs for each slave devices, I need to use an additional cs for slave 2, Is it possible to configure an additional cs. I am able to configure single cs that is being controlled by Hardware by default, the addition cs should be an gpio, how to use the gpio as an CS to achieve independent mode?