WDT timeout in bootloader for ESP32s2

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

Re: WDT timeout in bootloader for ESP32s2

Postby ESP_Sprite » Wed May 19, 2021 10:55 am

See the ESP32-S2-Wrover datasheet, and specifically the note for GPIO26: "By default, IO26 is connected to the CS pin of the PSRAM and cannot be used for other functions."

marclee
Posts: 51
Joined: Fri Apr 09, 2021 1:09 pm

Re: WDT timeout in bootloader for ESP32s2

Postby marclee » Wed May 19, 2021 11:02 am

I have just got it from the datasheet.
Notice:
• By default, IO26 is connected to the CS pin of the PSRAM and cannot be used for other functions.
• For peripheral pin configurations, please refer to ESP32-S2 Datasheet.

Is there a way do disable PSRAM SPICS1 so that GPIO26 can be used for general purpose?

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

Re: WDT timeout in bootloader for ESP32s2

Postby ESP_Sprite » Wed May 19, 2021 11:24 pm

Well, the issue is not in the ESP32, the issue is that you still physically have the PSRAM connected to that pin. Using it as a GPIO means that whenever that GPIO is low, the PSRAM will listen on commands on the SPI bus and respond to them... which is a bit of a problem as normally the flash also tries to communicate there, and the psram will 'overwrite' its responses. So in practice: generally no, that pin is not usable as GPIO on a module with PSRAM.

Who is online

Users browsing this forum: aliarifat794, axellin, Bing [Bot], weoiss and 140 guests