cancel
Showing results for 
Search instead for 
Did you mean: 

QSPI on the STM32G491KC

Rob54378904
Visitor

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" 

 

5 REPLIES 5
STTwo-32
ST Employee

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

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.

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

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".
Rob54378904
Visitor

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

 

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.