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

General • Internal pullup restistors

$
0
0
Is there some funky bug with internal pullup resistors on the RP2040.

I am using I2C1

If I try using GPIO2 SDA GPIO3 SCK and turn pullups on they sit at 0V
If I do it on GPIO6 & 7 or GPIO 10 & 11 they go correctly up to 3.3V

These lines of code don't work

Code:

                IO_BANK0->GPIO3_CTRL_b.FUNCSEL = 3;     // Select GPIO3 function 3                PADS_BANK0_SET->GPIO3_b.PUE = 1;        // Pullup GPIO3                IO_BANK0->GPIO2_CTRL_b.FUNCSEL = 3;     // Select GPIO2 function 3                PADS_BANK0_SET->GPIO2_b.PUE = 1;        // Pullup GPIO2
I guess I am going to manually solder pullups under the PICO board :-(

Statistics: Posted by LdB — Fri Jan 23, 2026 6:29 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles