Show HN: RPI Pico (RP2040) PIO Emulator Package for Go
git.edwardh.dev · Read Story HN original
Unfortunately, none of the existing emulators I could find supported connecting multiple RP2040s together, and they each had a few different missing bits of functionality, so I decided to make my own!
My emulator supports running multiple RP2040s electrically connected together, and emulates the whole of their PIO blocks (all 8 processors each), along with all of the more niche inter-processor interactions and GPIO functionality I could possibly find in the datasheet.
I built it as a Go package so that it can be used inside of other programs; I intend on using it myself inside a test suite against my in-development protocol.
I've spent quite a long time checking and double-checking most of the logic so it is as complete and accurate as I can make it, but if you spot anything amiss, I'd really appreciate the feedback.
Thanks for checking it out! Hope it can be useful to other RP2040 users.
Comments
No readable comments yet.