-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CYW43 pins are hard coded #1938
Comments
see #1816 |
Doh! Should have looked at the develop branch, thank you! Ok, so if a variant uses different GPIO pins, is it as simple as
|
Also, are there any restrictions on which pins can be used, or is any combination of pins valid? |
yes |
question for @peterharperuk |
Sorry, I saw this question, then lost the issue. In theory there's no restriction on what gpios you can use. But we've only tested the code with data in, out and wake set to the same pin (the configuration pico_w uses), so using different pins for these might not work. On, clock and cs must be set to their own, different pins. Assuming this is about RM2 I've had some issues running the pio at clock div of 2 when connected to a device with wires, so you may have to slow it down to 3 with CYW43_PIO_CLOCK_DIV_INT=3. Email me if you want more details. |
Understood, thank you! |
See also #1982 |
These should really be set in the board definition file, so other board variants can use other pins.
pico-sdk/src/rp2_common/pico_cyw43_driver/cyw43_bus_pio_spi.c
Lines 24 to 30 in efe2103
The text was updated successfully, but these errors were encountered: