ESP32-S3: GPIO0 pull-down Issue
Posted: Thu May 19, 2022 1:03 pm
Good day,
We are using a ESP32-S3-DEVKITC-1-N8 for a POC. We have a 100kΩ pull down resistor on GPIO0.
We power the device by pressing a button, which is also connected to GPIO0 to determine when it is pressed again.
When the button is pressed, the input to GPIO0 = 3.3V, when it is released, the input remains at 2.8V.
We have tested our board without the ESP inserted, and the pull down works correctly. We have also tested the ESP and the voltage is 2.9V on GPIO0.
The GPIO0 is set up using Arduino IDE with the code: pinMode(0, INPUT);
I have even tried using internal pull-downs with the code: pinMode(0, INPUT_PULLDOWN); This sucesfully pulls the pin low to 0V when the ESP is not plugged in and powered through usb. But when we power the device while pressing the button, it remains at 2.8V when the button is released.
Is this related to GPIO0 being a strapping pin? How can we properly set up the pin to pull down to 0V as it should after boot up?
Regards
Douglas
We are using a ESP32-S3-DEVKITC-1-N8 for a POC. We have a 100kΩ pull down resistor on GPIO0.
We power the device by pressing a button, which is also connected to GPIO0 to determine when it is pressed again.
When the button is pressed, the input to GPIO0 = 3.3V, when it is released, the input remains at 2.8V.
We have tested our board without the ESP inserted, and the pull down works correctly. We have also tested the ESP and the voltage is 2.9V on GPIO0.
The GPIO0 is set up using Arduino IDE with the code: pinMode(0, INPUT);
I have even tried using internal pull-downs with the code: pinMode(0, INPUT_PULLDOWN); This sucesfully pulls the pin low to 0V when the ESP is not plugged in and powered through usb. But when we power the device while pressing the button, it remains at 2.8V when the button is released.
Is this related to GPIO0 being a strapping pin? How can we properly set up the pin to pull down to 0V as it should after boot up?
Regards
Douglas