Open RakibRyan opened 1 year ago
Some initial findings:
The WiFi (+Bluetooth 5.2) chip is Infineon CYW43439, and it is connected to the RP2040 over SPI. The pin assignment is as follows:
RP2040 Pin | CYW43439 Pin | Description |
---|---|---|
GPIO23 |
WL_ON |
Wireless power on signal |
GPIO24 |
WL_D |
wireless SPI data/IRQ |
GPIO25 |
WL_CS |
wireless SPI CS * |
GPIO29 |
WL_CLK |
Wireless SPI CLK * |
* When WL_CS
is high, GPIO29 is connected to VSYS (so you can read VSYS via ADC3 input)
Relevant schematic section:
This feature has been getting a large number of votes recently, so I ordered a Pi Pico W to prepare for implementation.
Found a blog post with tons of useful information: https://iosoft.blog/2022/12/06/picowi/
Initial implementation of the Pi Pico W is live on Wokwi!
Here are some examples:
documentation and more information coming over the next few weeks.
Just curious, would the Wokwi team consider implementing a CircuitPython version for the RPi Pico W? Since there is already a CircuitPython version for the Pico.
@d3lta-v not a priority for the first release. We aim for Pico SDK and micropython compatibility, since they are both officially supported by the Pi foundation, and Arduino compatibility since Arduino is the most popular platform on Wokwi.
Could you please have a look into connecting a Pico W to a NTP time server using MicroPython:
import ntptime ntptime.host = "pool.ntp.org" ntptime.settime()
After some testing with the Pico-W beta board I and Koepel (discord user) has found out that it's currently unable to connect to WiFi when test example is re-compiled meaning only the pre-compiled test example works as of now.
The current testing has included the following steps.