Can a XIAO be configured for I2S?

Now if I could just find the board manager files for the Adafruit Itsybitsy M0.


Tried modifying variant.h file… maybe my circuit is just shit.

To get the board manager files for the itsybitsy (and others from adafruit) you have to add an url to your preferences.
explanation: Arduino IDE Setup | Introducing ItsyBitsy M0 Express | Adafruit Learning System
URL: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

Don’t know where you found the URL; I must be blind. Thank you. I decided to take another look and I may have had the pinout mirror; yellow wire to bottom and other 2 up top. Going to test in a few minutes and see.

This fully-featured UDA1334A I2S Stereo DAC breakout is a perfect match for any I2S-output audio interface. It’s affordable but sounds great! The NXP UDA1334A is a jack-of-all-I2S-trades: you can use 3.3V - 5V logic levels (a rarity) and can process multiple different formats by setting two pins to high or low. The DAC will process data immediately and give you a clear, analog, stereo line-level output. It’s even cool with MCLK-less I2S interfaces such as the Raspberry Pi (which it’s ideal for) - a built-in PLL will generate the proper clock from the bitclock signal.

For inputs, you can use classic I2S (the default) or 16-bit, 20-bit, or 24-bit left justified data. You can set it up to take an input system/controller clock but we default-set it to just generate it for you, so you only need to connect Data In, Word Select (Left/Right Clock), and Bit Clock lines. If you want, there’s a mute pin and a de-emphasis filter you can turn on.

Regards,
Rachel Gomez

Guess I just didn’t do it right the first time (DAC from cable box a while back). Whether I wired it wrong, or just using crystal for DAC’s master clock that Xiao doesn’t reference in anyway, or … whatever.
Been sitting here for like 30 minutes listening to some borderline annoying 8 bit sounding loops because I’m just happy to hear it working.
PCM5102A DAC, $7.
1 pic per post limit… sick.

1 Like