Page 1 of 1

ESP32-WROOM(U): connecting external PSRAM

Posted: Fri Mar 12, 2021 9:51 am
by x_arrange
Hi,

Acctording to menuconfig ESP32 supports two ttypes of PSRAM: IS25WP032 and LY68L6400. I didn't find where to by the second one so I decided to use the first one but obviously in 3.3V version (IS25LP032) since i'm connecting to to 3.3V ESP32 module.
Particularly IS25LP032D-JKLE (PDF)


So far I found schemtatics and connected it like this:
schematics.png
schematics.png (7.44 KiB) Viewed 3249 times
Where signals MEM_SD* go to correspoding SD* pins of module and PSR_CS is GPIO17 and PSR_CLK is GPIO13.
I also configured these two GPIOs as CS and CLK in menuconfig->component config->ESP32 specific->SPI RAM Config
(Of course, there is pullup for CS and close couple capactors for VCC on my schemtatics)

AFAIK that's all that should be done for connecting external RAM but yet it fails to initialize with error:
E (127) spiram: SPI RAM enabled but initialization failed. Bailing out.

Does anybody have experience with this?
Thanks

Re: ESP32-WROOM(U): connecting external PSRAM

Posted: Sun Mar 14, 2021 1:39 am
by ESP_Sprite
To what are you connecting this? If it's a module: Are you sure it is one that has the flash pins brought to the outside?