Cannot enable pull-up on GPIO25 (input)
Posted: Sun Mar 08, 2020 11:09 pm
I'm trying for hours here enabling the pull-up on GPIO25 when in input mode.
I came across a bug report that said for some GPIOs, the pull-up had to be set by modifying the RTC GPIOs instead, and a fix was submitted to the IDF to make this workaround transparent for the users of ESP-IDF:
https://github.com/espressif/esp-idf/co ... 1f0b413ac4
However, nothing is working for me:
Any ideas?
I'm using the WROOM-32 module. The pin works fine as an output, and there is no electrical connection with the pin that could interfere.
I came across a bug report that said for some GPIOs, the pull-up had to be set by modifying the RTC GPIOs instead, and a fix was submitted to the IDF to make this workaround transparent for the users of ESP-IDF:
https://github.com/espressif/esp-idf/co ... 1f0b413ac4
However, nothing is working for me:
Code: Select all
gpio_pad_select_gpio(MY_GPIO);
gpio_set_direction(MY_GPIO, GPIO_MODE_DEF_INPUT);
gpio_set_pull_mode(MY_GPIO, GPIO_PULLUP_ONLY);
rtc_gpio_pullup_en(MY_GPIO);
I'm using the WROOM-32 module. The pin works fine as an output, and there is no electrical connection with the pin that could interfere.