ESP32-WROOM(U): connecting external PSRAM
Posted: 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: 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
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: 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