Skip to main content
Associate
March 19, 2025
Solved

QSPI on the STM32G491KC

  • March 19, 2025
  • 4 replies
  • 703 views

Does the STM32G491KC have Quad SPI capability? The documentation and product selector tools (on website and within Cube IDE) say that it does have QSPI, but when I try to configure it within the Cube IDE the options is grayed out with the message "Dual Bank mode must be enabled" 

 

Best answer by TDK

The UFQFPN32 package is missing a pin for IO0, so QUADSPI cannot be used.

TDK_1-1742433431455.png

It's a minor bug that it shows up in CubeMX at all, but the program is correct not to let you enable it.

4 replies

STTwo-32
Technical Moderator
March 19, 2025

Hello @Rob54378904 and welcome to the ST Community. 
That means you need to enable the dual bank mode to be able to set your QSPI peripheral.

Best Regards.

STTwo-32

Associate
March 20, 2025

Is there a setting to enable the "dual bank mode"? I don't see it anywhere, but am not sure where I should be looking.

Tesla DeLorean
Guru
March 19, 2025

Likely depends on the pins exposing QSPI functionality on the part, and the QUADSPIx interface to which they are attached. Might need to be using BK2 CLK, or something

Check if there is a QUADSPIM on the device in question

Pinage can be determined via Data Sheet

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
TDK
TDKBest answer
Super User
March 20, 2025

The UFQFPN32 package is missing a pin for IO0, so QUADSPI cannot be used.

TDK_1-1742433431455.png

It's a minor bug that it shows up in CubeMX at all, but the program is correct not to let you enable it.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
March 20, 2025

Thanks, that makes sense. I originally selected the part by using the STM32 product selector and choosing Quad SPI as a requirement.

The error message in CubeMX confused me because it said I needed to enable Dual Bank mode, when usually it will tell you when a pin isn't available.

The App Note AN4760 "Quad-SPI interface on STM32 microcontrollers and microprocessors" also lists the STM32G491KC, with the table there giving a bunch of examples of other packages that are missing QSPI but nothing about the 32-pin QFN not having it.

 

Rob54378904_0-1742441457368.png