Adding an External Pull-up Resistor to GPIO0

jhlee1
Posts: 10
Joined: Mon Sep 11, 2023 7:03 am

Adding an External Pull-up Resistor to GPIO0

Postby jhlee1 » Mon Nov 18, 2024 4:57 am

Hi,
I am currently using the ESP32-WROOM-32UE.

In the field, the device occasionally stops functioning, even though the watchdog is active. When this occurs, performing a hardware reset restores normal operation.

I suspect that the device enters the ROM serial bootloader after the watchdog reset when the firmware stops running for some reason.

My device not configured an external circuit for GPIO0 (I have confirmed that it has an internal pull-up resistor).

In this case, would adding an external pull-up resistor to GPIO0 be helpful?

Thanks.

username
Posts: 538
Joined: Thu May 03, 2018 1:18 pm

Re: Adding an External Pull-up Resistor to GPIO0

Postby username » Tue Nov 19, 2024 5:25 am

In this case, would adding an external pull-up resistor to GPIO0 be helpful?
It can't hurt. But I doubt this will resolve anything. If you reset the device and it doesn't go into bootloader mode, I can't see how GPIO0 is the problem.

aliarifat794
Posts: 200
Joined: Sun Jun 23, 2024 6:18 pm

Re: Adding an External Pull-up Resistor to GPIO0

Postby aliarifat794 » Tue Nov 19, 2024 6:11 am

An external pull-up resistor can strengthen the high-level state of GPIO0 during resets and reduce susceptibility to noise. Use a resistor value in the range of 4.7 kΩ to 10 kΩ. Lower resistance values (e.g., 4.7 kΩ) provide stronger pull-up but increase current consumption slightly. Connect one side of the resistor to GPIO0 and the other side to the 3.3V supply.

jhlee1
Posts: 10
Joined: Mon Sep 11, 2023 7:03 am

Re: Adding an External Pull-up Resistor to GPIO0

Postby jhlee1 » Tue Nov 19, 2024 8:40 am

An external pull-up resistor can strengthen the high-level state of GPIO0 during resets and reduce susceptibility to noise. Use a resistor value in the range of 4.7 kΩ to 10 kΩ.
Thank you. I'll try this.

Who is online

Users browsing this forum: No registered users and 174 guests