ESP32-WROOM(U): connecting external PSRAM

x_arrange
Posts: 13
Joined: Sat May 20, 2017 10:32 am

ESP32-WROOM(U): connecting external PSRAM

Postby x_arrange » Fri Mar 12, 2021 9:51 am

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 3317 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

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

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

Postby ESP_Sprite » Sun Mar 14, 2021 1:39 am

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?

Who is online

Users browsing this forum: No registered users and 66 guests