Hello I am playing with Arduino / nrf52840 but I cannot seem to use I2S reliably.
On the first board, Seeed XIAO BLE Sense, the only pins that seem to work are 4, 5, 6. When I try a multisample (which requires double buffering) it outputs really poor audio.
On the second board, Adafruit ItsyBitsy Express, no pins seem to be outputting.
I am using this sample (replacing the main with setup): https://github.com/andenore/NordicSnippets/blob/master/examples/i2s_master/main.c
The DAC is a MAX98357A from Sparkfun: https://www.sparkfun.com/products/14809
Are there any nuances when using I2S? How can I debug what's going on?
The DAC works fine when connected to a different MCU board.