Actually that's not enough with RP2350, must also disable the input due E9.The pin states are high, low, and Hi-Z. Hi-Z, or high-impedance, is achieved by setting the pin to input, with no pull-up (or pull-down).
Can do by using:RP2350-E9 Increased leakage current on Bank 0 GPIO when pad input is enabled
The erroneous leakage only occurs (and continues to occur) when the pad input enable is enabled;
disabling the input enable will reset (remove) the leakage.
4.1.10.7.54. gpio_set_input_enabled
void gpio_set_input_enabled (uint gpio, bool enabled)
Enable GPIO input.
Parameters
gpio GPIO number
enabled true to enable input on specified GPIO
Code:
gpio_set_input_enabled(gpio, 0)Statistics: Posted by gmx — Wed May 28, 2025 1:46 am