RP2350B - attributing SPI0 RX on GPIO 36 freezes #2930

Closed
opened 2025-04-30 01:58:13 +03:00 by TadaNoButa · 2 comments
TadaNoButa commented 2025-04-30 01:58:13 +03:00 (Migrated from github.com)

Hi there !

After passing quite a time on this, I've come to the point there must be a problem in the library with the pin 36 for the RP2350b with the SPI (SPI0). It freezes when I do SPI.setRX(36); (before SPI.begin;).

I've tried with the sdk and gpio_set_function(36, GPIO_FUNC_SPI); goes without problem. Thou, I haven't tested further with the sdk to see if the SPI line is really usable.

I have only tested those pins for SPI(0): RX=36, CS=37, SCK=38 and TX=39 and for SPI1: RX=44, CS=45, SCK=46 and TX=43, because it's a custom board, so I can't test other pins (not connected. SPI1 attributions are fine, and for SPI(0): TX, CS and SCK attributions return true, only RX freezes.

Thank you in advance.

Hi there ! After passing quite a time on this, I've come to the point there must be a problem in the library with the pin 36 for the RP2350b with the SPI (SPI0). It freezes when I do `SPI.setRX(36);` (before `SPI.begin;`). I've tried with the sdk and `gpio_set_function(36, GPIO_FUNC_SPI);` goes without problem. Thou, I haven't tested further with the sdk to see if the SPI line is really usable. I have only tested those pins for SPI(0): RX=36, CS=37, SCK=38 and TX=39 and for SPI1: RX=44, CS=45, SCK=46 and TX=43, because it's a custom board, so I can't test other pins (not connected. SPI1 attributions are fine, and for SPI(0): TX, CS and SCK attributions return true, only RX freezes. Thank you in advance.
TadaNoButa commented 2025-04-30 02:32:57 +03:00 (Migrated from github.com)

Thank you as much, Earle !

Thank you as much, Earle !
earlephilhower commented 2025-04-30 03:33:44 +03:00 (Migrated from github.com)

No problem! Bug reports with complete info and simple errors make things easy to fix. :)

No problem! Bug reports with complete info and simple errors make things easy to fix. :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Max/earlephilhower_arduino-pico#2930