Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

General • Re: Charlieplexing on 2350 Not Working?

$
0
0
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).
Actually that's not enough with RP2350, must also disable the input due E9.
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.
Can do by using:
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



Viewing all articles
Browse latest Browse all 8093

Trending Articles