Pin state at startup.. Hi-Z?
Posted: Mon Apr 29, 2024 6:44 pm
I'm having some trouble keeping a pin in Hi-Z mode through a reset.
Take GPIO4 for example of the ESP32-S3-WROOM-1. Lets wire it with a 10k external pulldown resistor.
While the EN pin is low, the output voltage is 0v as expected.
However, when the EN pin is raised, the external voltage rises to about 0.9 volts, despite the pulldown resistor, before user code starts executing.
Is there code in the boot rom/loader/startup that is perhaps calling gpio_reset() on all pins, which would enable the pullup resistor?
Are there any pins which can stay low or Hi-Z through a powerup and reset?
Take GPIO4 for example of the ESP32-S3-WROOM-1. Lets wire it with a 10k external pulldown resistor.
While the EN pin is low, the output voltage is 0v as expected.
However, when the EN pin is raised, the external voltage rises to about 0.9 volts, despite the pulldown resistor, before user code starts executing.
Is there code in the boot rom/loader/startup that is perhaps calling gpio_reset() on all pins, which would enable the pullup resistor?
Are there any pins which can stay low or Hi-Z through a powerup and reset?