Multiple PSRAM into memory mapping

daviherc
Posts: 10
Joined: Wed Apr 28, 2021 5:31 pm

Multiple PSRAM into memory mapping

Postby daviherc » Fri May 06, 2022 9:47 am

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

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Multiple PSRAM into memory mapping

Postby WiFive » Fri May 06, 2022 6:02 pm

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.

daviherc
Posts: 10
Joined: Wed Apr 28, 2021 5:31 pm

Re: Multiple PSRAM into memory mapping

Postby daviherc » Mon May 09, 2022 8:41 am

But in the ESP32R8(V) example, there is only one external device. Or is a CS required for the SiP RAM too?

ESP_Sprite
Posts: 9759
Joined: Thu Nov 26, 2015 4:08 am

Re: Multiple PSRAM into memory mapping

Postby ESP_Sprite » Tue May 10, 2022 2:08 am

'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.

Who is online

Users browsing this forum: Baidu [Spider] and 184 guests