How to Integrate 2 PSRAM in one XSPI instance
Hi,
We are working with the STM32H7S7 MCU for our project and are planning to use both XSPI interfaces for external memories.
Our current plan is:
-
XSPI1: PSRAM
-
XSPI2: External Flash (128MB)
We would like to use 128MB of PSRAM, but currently, only 64MB PSRAM devices are available to us. Therefore, we would like to know whether it is possible to integrate two 64MB PSRAM devices with XSPI1 to achieve a total PSRAM capacity of 128MB.
I have gone through the AN5050 – Octo-SPI Interface on STM32 MCUs document and understand that the multiplexed mode can be used to connect two external memory devices using separate NCS pins.
In this case, if we configure XSPI1 in multiplexed mode and connect two PSRAM devices using the available NCS pins:
-
Can two 64MB PSRAM devices be connected to XSPI1 in this configuration and used as a combined 128MB memory space?
-
If XSPI1 is configured in multiplexed mode for the two PSRAM devices, can XSPI2 still be used independently for the external 128MB Flash?
-
If this approach is not recommended or not practically possible, could you please suggest an alternative solution for achieving the required 128MB PSRAM + 128MB external Flash configuration?

