Configure PSRAM CE Pin

gamgee
Posts: 1
Joined: Wed Apr 07, 2021 2:20 pm

Configure PSRAM CE Pin

Postby gamgee » Wed Apr 07, 2021 4:00 pm

Hello,
I want to use PIN 29 (SPICS1/GPIO26) as a digital input pin. The chip I'm using is a ESP32-S2 (WROOM Module).

According to the datasheet this pin is used as CE# for the internal PSRAM on the ESP32-S2FN4R2 variant and it is therefor not recommended for other uses. However, we are using the ESP32-S2FH4 which has no PSRAM.

The problem is that the pin is configured as a output by default and outputs 3.3 V after reset (I assume this is to disable the PSRAM). I can reconfigure the pin as an input in my app but it takes around 350ms for the bootloader to start and run my program.

Is there a way to change the configuration before my programm runs?

Who is online

Users browsing this forum: Google [Bot] and 19 guests