Page 1 of 1

ESP32-S2-Mini-1 no SPI-Boot when GPIO 2 is pulled low

Posted: Mon May 23, 2022 6:43 am
by WeiKe1987
Hello,
I recently designed a new Board and due reasons of availability I had to choose the ESP32-S2-Mini-1. My Application is using almost all GPIO pins. Only GPIO 18,26,45 and 46 are unused and floating.

As discribed in the Subject, I found something odd, the ESP won't exit Download mode as long GPIO 2 is pulled to GND. In my Application the GPIO is connected to a switch, as soon I set the switch to the other Position to let GPIO2 floating the ESP boots from SPI-flash as expected.

Is this a bug or to be expected? I didn't find any Information that GPIO2 is one of the strapping Pins for ESP32-S2...

Do you have any idea to solve this issue, I want the ESP to boot on reset or power on regardless of the state of GPIO 2.

Thank you :)

Re: ESP32-S2-Mini-1 no SPI-Boot when GPIO 2 is pulled low

Posted: Mon May 23, 2022 8:14 am
by ESP_Sprite
GPIO2 is not a bootstrap pin. Are you sure your hardware isn't somehow pulling down GPIO0 when you pull GPIO2 low? Pulling GPIO0 low *would* result in re-entering download mode.

Re: ESP32-S2-Mini-1 no SPI-Boot when GPIO 2 is pulled low

Posted: Mon May 23, 2022 9:00 am
by WeiKe1987
The issue was me... :oops: :oops: :oops:

I just found out I mixed up the silkscreen labeling on my board, so the switch I assumed to be GPIO 2 was infact GPIO 0.

To conclude the ESP32-S2 is working as to expect, the problem was a bad silkscreen labeling on my board. Thank you for your help and for making me check my design files again, I didnt notice this mistake before. :oops:

This topic can get closed now.

Re: ESP32-S2-Mini-1 no SPI-Boot when GPIO 2 is pulled low

Posted: Tue May 24, 2022 1:48 am
by ESP_Sprite
No problem, glad you found the issue!