←back to thread

263 points chaosprint | 1 comments | | HN request time: 0s | source
Show context
hackingonempty ◴[] No.45755007[source]
PIO is great but the competition has working silicon and SDK for all of the common peripherals while RP gives you crappy example code. Want to connect to an audio codec with I2S? Almost every MCU has this built in but for RP2040/RP2350 you'll have to roll your own production quality version from a demo that only shows how to send. Years after release.
replies(4): >>45755912 #>>45755926 #>>45759855 #>>45760562 #
1. bschwindHN ◴[] No.45755912[source]
Here you go, I2S output:

https://github.com/bschwind/rp2040-i2s/blob/e1d5647704b03ad1...

And I2S input:

https://github.com/bschwind/rp2040-i2s/blob/e1d5647704b03ad1...

The RP2040 has great documentation and the PIO is an amazing swiss army knife of a peripheral. I've had no trouble learning from their datasheet and docs and making plenty of PIO programs.