Skip to content

Conversation

@maxgerhardt
Copy link
Contributor

Just a basis for a possible fix for #2590.

Open points:

  • instead of a simple div by 4 at a certain frequency, try to compute the (fractional) divider such that we always try to reach a certain SPI clock speed, such as 66.5MHz
  • move fix to the lwip_cyw43439 library instead of the Pico W variant, to make it more generic? I wanted the call to be before the first cyw init call though

@maxgerhardt maxgerhardt marked this pull request as draft November 11, 2024 20:59
earlephilhower added a commit that referenced this pull request Nov 15, 2024
Pull in minor change from #2600
earlephilhower added a commit that referenced this pull request Nov 15, 2024
Using pico-sdk develop branch with minor patch, add in support for the
CYW43-based WiFi boards on the RP2350.

Fixes #2608

Rolls in dynamic SPI divider #2600
@earlephilhower
Copy link
Owner

Let's do this as part of #2616. I copied your changes here in addition to the refactor, so I think we're good. If not, we can reopen here and figure something out.

earlephilhower added a commit that referenced this pull request Nov 19, 2024
Using pico-sdk develop branch, add in support for CYW43-based
WiFi/BT/BLE boards on the RP2350 such as the
SparkFun Thing Plus RP2350 or the Pimoroni Pico Plus 2W.

Fixes #2608

Rolls in dynamic SPI divider #2600

* Support LED digitalWrite on RP2350+CYW

Also move "special GPIO" to 64 since the Pimoroni Pico 2W uses the
RP2350B with 48 GPIOs.

* Enable CYW43_PIN_WL_DYNAMIC in IDE and P.IO

Allows calling `cyw43_set_pins_wl(cyw43_pin_array);` to redefine the
CYW43 hookup in the variant initialization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants