-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ports/rp2/boards: Add support for W55RP20-EVB-Pico and WIZNET_PIO_SPI communication. #16476
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #16476 +/- ##
==========================================
- Coverage 98.57% 98.55% -0.03%
==========================================
Files 164 169 +5
Lines 21349 22293 +944
==========================================
+ Hits 21045 21970 +925
- Misses 304 323 +19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Code size report:
|
dcc609e
to
033ebc4
Compare
Signed-off-by: Grace-Koo <Grace@wiznet.io>
033ebc4
to
fd6efaa
Compare
Signed-off-by: Grace-Koo <Grace@wiznet.io> fix: Fix code formatting. Signed-off-by: Grace-Koo <Grace@wiznet.io>
Signed-off-by: Grace-Koo <Grace@wiznet.io>
fd6efaa
to
ce9eafb
Compare
5341d03
to
f0a8958
Compare
Signed-off-by: Grace-Koo <Grace@wiznet.io>
f0a8958
to
fe790d7
Compare
Hi, is this port planned for a future release ? It would be nice to have the official uPython firmware. |
I've practically given up waiting on W55RP20 support. It seemed like a good idea but then Wiznet switched to a new SPI library that seems to be going nowhere. I also would only consider official upython firmware releases, not build my own or use the Wiznet fork. The W5500-EVB-PICO-POE works well with official upython releases (and with the PoE addon board) and is only slightly more expensive, but at least it works. |
Hi! Thanks for the nice comment — we really appreciate the kind words. Thank you. |
Thanks for the honest feedback — and totally understandable. Thank you. |
Summary
The W55RP20-EVB-Pico is an evaluation board for the W55RP20, a SiP (System in Package) chip that integrates the W5500 (wired TCP/IP controller) and the RP2040. As a result, both the features of the Raspberry Pi Pico and the W5500 can be utilized.
This PR adds initial support for the W55RP20-EVB-Pico board. The changes included in this PR are as follows:
Board configuration files
Pin definitions
wiznet_pio_spi implementation (as described below)
The W55RP20 features two identical PIO (Programmable Input/Output) blocks, one of which is used for communication with the W5500. For more detailed information on PIO, please refer to section 3 "PIO" in the RP2040 datasheet.
The following changes were made to implement this:
New Files Created: New files were created in the ports/rp2 directory:
Wiznet PIO SPI Communication Enabled: The MICROPY_PY_MACHINE_WIZNET_PIO_SPI definition was added and relevant conditional statements were introduced to enable PIO SPI communication with the W5500.
Utilized Existing Structures: Existing structure definitions from the modemachine file in extmod were utilized for integrating PIO SPI.
Testing
W55RP20-EVB-Pico board successfully tested: