Is GPIO13 a strapping pin with pulldown?
Posted: Tue Mar 21, 2023 5:20 am
I know the strapping pins don't include GPIO13 but lately I've encountered an issue with GPIO13 "leaking" voltage. So I did this experiment:
I connected a 10K resistor between GPIO13 and 3.3V. I then monitor the voltage between GPIO13 and GND. If there isn't any pulldown resistors, I should just read 3.3V all the time. But if there is a pulldown resistor (around 17K), then I get about 2.5V with the 10K/17K divider. So regardless what firmware I loaded, blank arduino sketch or a 1.17 version of SPIRAM-enabled micropython, as soon as I let go of the reset button, my reading goes from 3.3V to 2.5V, indicating at boot a pulldown resistor is enabled.
I tested this on a dev board and my own design. The "leaking" of GPIO13 on my own board caused an LED to turn on dimly. So, I wonder, if GPIO13 is some undocumented strapping pin with pulldown at boot. I've used GPIO13 as a TX pin for years with no issues.
I connected a 10K resistor between GPIO13 and 3.3V. I then monitor the voltage between GPIO13 and GND. If there isn't any pulldown resistors, I should just read 3.3V all the time. But if there is a pulldown resistor (around 17K), then I get about 2.5V with the 10K/17K divider. So regardless what firmware I loaded, blank arduino sketch or a 1.17 version of SPIRAM-enabled micropython, as soon as I let go of the reset button, my reading goes from 3.3V to 2.5V, indicating at boot a pulldown resistor is enabled.
I tested this on a dev board and my own design. The "leaking" of GPIO13 on my own board caused an LED to turn on dimly. So, I wonder, if GPIO13 is some undocumented strapping pin with pulldown at boot. I've used GPIO13 as a TX pin for years with no issues.