2021-12-05 07:05 PM
Hello,
I have question about QSPI on stm32F446.
I want to connect serial flash with QSPI.
there are 2 banks on QSPI.
When I try to find some example on QSPI, they were all used QSPI bank1 connected to s/f memory.
But when I check pin connections on QSPI bk1 style, pins are spread all over the chip. seems not good. But QSPI with bk2 is get together except cs pin, but looks very nice. So I want to use QSPI with bk2, Is is possible? And What is bk2's address?
Thanks for reading.
Best Regards,
Tiel.
2021-12-05 11:53 PM
Hi, i didn't use stm32F446 but in STM32H7 i used two banks in all configurations. This point of view i can say yes you can use qspi flash at BK2 pins. And bk2 address is same for example 0x90000000 in STM32H7
2021-12-07 12:42 AM
Both banks use the very same QSPI interface (there's only one instance). Whether bank 1 or bank 2 or both in parallel are used is selected by the FSEL and DFM bits in QUADSPI_CR (see RM0390, 12.5.1).
Regarding "pins spread over the package": Check the table "Alternate Pin Mappings" in the datasheet, in most cases there is a choice of several *pins* which might be used for the same logical *function*. For bank 1 functions the choice is much wider than for bank 2 (only one choice) ...
2021-12-10 11:17 PM
Dear Andreas Bolsch,
Well understood.
Thank you.
Best Regards,
Tiel.