
Is there any issues with this delay circuit to enter download mode with a single button?
My handheld device is limited to 2 tactile switches, one of which is used to wake the device up from deep sleep & the other one I want to use to enter download mode.
After looking into the datasheet, I found that logic level high & low voltages are 0.75 * VDD & 0.25 * VDD respectively (2.475V & 0.825V).
I came up with the following circuit where after toggling the button, RST goes "HIGH" (above 2.475V) at ~16 ms and after that, IO0 stays "LOW" (below 0.825V) for about ~24 ms.
Here's the falstad circuitjs link if anyone wants to try: https://www.falstad.com/s.php?s=XXFnBH
I want to know if there's any issue with this circuit or if there's a better alternative?
This device will be updated OTA for most of the time, but this is a fallback mechanism to ensure the device isn't bricked in an bad update.
Edit: The MCU is ESP32-S3