RP2040+W5500 = Ethernet Swindle
I was not really happy with the CH32V307 Ethernet Version.
It is a all-included & cheap version. But it's only 10 Mbps and there is not enough flash/sram to comfortably host swindle.
The ESP32S3 wifi based version is sort of working, but the performances are not that great and i had to hack a lot to make rust + esp + cmake based project playing nice together.
So here comes the new challenger : W5500 + RP2040
The RP2040 is probably the best host for swindle :
- Clock accurate SWD/RVSWD IO through PIO
- Plenty of RAM/Flash
- Top notch datasheet
The W5500 is a nice UDP/TCP over SPI adapter. The MAC is completely managed by the chip so there is no latency bottleneck due to SPI.
Since i'm in the "playing with agent" phase, i rewrote the w5500 driver with the help of deepseek and gemini to be very event driven and not polling driven. The agents fixed a couple of subtle bugs ( & created some)
It works, still need a bit of love.
Mega chain : a GD32F303 debugging a R2040/W5500 debugging a blue pill.
( you may wonder what is the small block on the bottom right. it 's a a cheap chinese logic analyzer Slogic8 that can go up to 100Mhz. It works well and the vendor is pushing support to grok/pulseview)

Comments
Post a Comment