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

General • High GPIO (30 and above) input issue on RP2350B

$
0
0
Using a custom RP2350B board programmed via the C SDK in vscode. Running into an issue with GPIOs above pin 30. Simple gpio_init(PIN), gpio_set_dir(PIN, GPIO_IN) does not work. It compiles, but the board doesn't react to these digital inputs. Replacing PIN with a lower number (<30) works fine.

Do the RP2350B-exclusive pins require a different function to initialize?

Or is this something with the CMakelists file? Confusingly, using higher pins (40/41) in the same code for UART works fine.

Statistics: Posted by apraxophobia — Thu Aug 21, 2025 10:17 am — Replies 6 — Views 202



Viewing all articles
Browse latest Browse all 6997

Trending Articles