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

WeiKe1987
Posts: 2
Joined: Mon May 23, 2022 6:22 am

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

Postby WeiKe1987 » Mon May 23, 2022 6:43 am

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 :)

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

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

Postby ESP_Sprite » Mon May 23, 2022 8:14 am

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.

WeiKe1987
Posts: 2
Joined: Mon May 23, 2022 6:22 am

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

Postby WeiKe1987 » Mon May 23, 2022 9:00 am

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.

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

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

Postby ESP_Sprite » Tue May 24, 2022 1:48 am

No problem, glad you found the issue!

Who is online

Users browsing this forum: No registered users and 70 guests