boarchuz
Thanks for your hint!
It took me a while to solve the problem completely, as the defaults of the pin setup parameters are different from pin to pin.
One GPIO is 'usable' w/o any config (18).
Most other pins to be configured as rtc pins and input with pullup is enough.
For GPIO 5 and 21 ...
Search found 2 matches
- Mon Jul 14, 2025 10:14 am
- Forum: General Discussion
- Topic: ESP32-S2: gpio_pullup_en(GPIO_NUM_xx) does not work correctly (Arduino ESP32 Board manager)
- Replies: 2
- Views: 160
- Sun Jul 13, 2025 5:55 am
- Forum: General Discussion
- Topic: ESP32-S2: gpio_pullup_en(GPIO_NUM_xx) does not work correctly (Arduino ESP32 Board manager)
- Replies: 2
- Views: 160
ESP32-S2: gpio_pullup_en(GPIO_NUM_xx) does not work correctly (Arduino ESP32 Board manager)
Hi,
it seems to me, the command gpio_pullup_en(GPIO_NUM_xx); does not work for all RTC-GPIOs, or worse: it works only with GPIO 18...
Target is, to wake up the ESP32-S2 with up to 4 different external sources (GPIOs) from deep sleep using esp_sleep_enable_ext1_wakeup_io(mask, ESP_EXT1_WAKEUP_ANY ...
it seems to me, the command gpio_pullup_en(GPIO_NUM_xx); does not work for all RTC-GPIOs, or worse: it works only with GPIO 18...
Target is, to wake up the ESP32-S2 with up to 4 different external sources (GPIOs) from deep sleep using esp_sleep_enable_ext1_wakeup_io(mask, ESP_EXT1_WAKEUP_ANY ...