←back to thread

700 points elipsitz | 4 comments | | HN request time: 0s | source
1. rowanG077 ◴[] No.41194245[source]
Would the pio now support sane Ethernet using rmii for example?
replies(1): >>41197658 #
2. rscott2049 ◴[] No.41197658[source]
I'm assuming you've looked at the pico-rmii-ethernet library? If so, I feel your pain - I've been fixing issues, and am about halfway done. (This is for the DECstation2040 project, available on github). Look for a release in late aug/early sep. (Maybe with actual lance code? Dmitry??) The RP2350 will make RMII slightly easier - the endless DMA allows elimination of the DMA reload channel(s).
replies(1): >>41202270 #
3. rowanG077 ◴[] No.41202270[source]
I looked at it and dismissed it as too hacky for production. I don't remember the real reason why. I would have to look through my notes. The main question is whether the RP2350 will change that. As in it actually possible to do bug free without weird hacks.
replies(1): >>41202968 #
4. rscott2049 ◴[] No.41202968{3}[source]
Agreed. I re-wrote the Rx PIO routine to do a proper interrupt at EOF, and added a DMA driven ring buffer, which eliminated a lot of the hackiness...