Page 1 of 1

ESP32-C3 strapping pins read on wake from deep sleep?

Posted: Fri Apr 25, 2025 4:42 pm
by matthewlai
Hello!

Are strapping pins on the ESP32-C3 read on wake from deep sleep? On my board one of the buttons is attached to IO9 so it can also be used to force USB boot (with a reset button in the enclosure that's not user-accessible). However, the firmware also deep sleeps, and relies on another button on a RTC GPIO to wake up.

Since the IO9 button is user-accessible, it would be a bit problematic if the user holds it down and the chip samples it on wakeup.

The dataheet isn't very clear on this, as I'm not sure if a wake from deep sleep counts as a system reset?
All strapping pins have latches. At system reset, the latches sample the bit values of their respective strapping
pins and store them until the chip is powered down or shut down.
Thanks
Matthew