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

General • Re: RP2350B Pico-PIO-USB abnormality

$
0
0
This could be a catch with PIO pin mapping on RP2350B up to GPIO47:
Check PIO: GPIOBASE Register

https://github.com/sekigon-gonnoc/Pico- ... /pio_usb.c

Code:

#if defined(PICO_PIO_USE_GPIO_BASE) && PICO_PIO_USE_GPIO_BASE+0  if (highest_pin > 32) {    pio_set_gpio_base(pp->pio_usb_tx, 16);    pio_set_gpio_base(pp->pio_usb_rx, 16);  }#else  (void)highest_pin;#endif
I used GPIO28 and 29 pins, which are not greater than 32. So I think if the program can run on RP2350A, it can also run on RP2350B without any modification.

Statistics: Posted by octopus1632 — Sat Mar 01, 2025 8:52 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles