WDT reset on WPD of some pins
Posted: Sat May 20, 2023 3:05 am
To manage noise & power I'm setting unused pins on my ESP32C3 MINI 1 as such:
If I extend this to GPIO 15,16,17, then the SOC hangs and the watchdog kills it, even though these pins are shown as unused in the module's circuit diagram. My current theory is that since their default MUX function is SPI, the module has some undocumented SPI bus (bootloader?)
What's actually attached to these pins?
- static const gpio_config_t unused = {
- .pin_bit_mask =
- (1u << GPIO_NUM_0)
- | (1u << GPIO_NUM_1)
- | (1u << GPIO_NUM_2)
- | (1u << GPIO_NUM_3)
- | (1u << GPIO_NUM_10),
- .mode = GPIO_MODE_DISABLE,
- .pull_up_en = GPIO_PULLUP_DISABLE,
- .pull_down_en = GPIO_PULLDOWN_ENABLE,
- .intr_type = GPIO_INTR_DISABLE,
- };
- ESP_ERROR_CHECK_WITHOUT_ABORT(gpio_config(&unused));
What's actually attached to these pins?