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

SDK • Re: Cannot read GPIO32..47 on RP2350 (no PIO)

$
0
0
Pimoroni Pico Plus 2 with your code:

Code:

Initialized!GPIO32 level: 1GPIO32 level: 1GPIO32 level: 1GPIO32 level: 1GPIO32 level: 1GPIO32 level: 1
Make sure you are using proper board definition (pimoroni_pga2350), not pico2 which has no upper GPIOs.
In CMakeLists.txt:

Code:

set(PICO_BOARD pimoroni_pga2350 CACHE STRING "Board type")
PIO can access upper GPIOs, but only 32 at a time (0-31 or 16-47).

Statistics: Posted by gmx — Fri May 16, 2025 2:17 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles