Page 1 of 1

Multiple PSRAM into memory mapping

Posted: Fri May 06, 2022 9:47 am
by daviherc
Hello all,

I would like to know if it is possible to use multiple sources of PSRAM to build more malloc-capable memory.

This could be, for example:
- An ESP32-S3R8 and an external ESP32-PSRAM64H tied to the SPI0/1 bus
- Two ESP32-PSRAM64H in parallel, tied to the SPI0/1 bus

Re: Multiple PSRAM into memory mapping

Posted: Fri May 06, 2022 6:02 pm
by WiFive
I don't think so, you would have to be able to associate each memory mapped region to a different chip select. There are 128mb psram chips though.

Re: Multiple PSRAM into memory mapping

Posted: Mon May 09, 2022 8:41 am
by daviherc
But in the ESP32R8(V) example, there is only one external device. Or is a CS required for the SiP RAM too?

Re: Multiple PSRAM into memory mapping

Posted: Tue May 10, 2022 2:08 am
by ESP_Sprite
'External' in this sense means external to the ESP32S3 silicon die. The ESP32R8 QFN package has an ESP32S3 die in it with on top of that a separate PSRAM die, so it's still viewed as 'external' even if the PSRAM is in the same package as the ESP32S3.