There are a few post about i2s, but none of them were answered. For example Le Potato audio input?
I’ve connected pcm5102a, although I’m not sure where I should connect BCK. There are two pins free: I2S-AO-CLK and I2S-AM-CLK.
|JTAG_TDO // I2SOUT_CH01 // TSin_D_VALID_B
|JTAG_TDI // I2S_LR_CLK_OUT // TSin_SOP_B
|JTAG_TMS // I2S_AO_CLK_OUT // Tsin_D0_B
|JTAG_TCK // I2S_AM_CLK // TSin_CLK_B
I found some info that I need to add
dtoverlay=hifiberry-dac to /boot/config.txt, but there’s no such file. I’m using LibreComputer’s Debian 12 on Sweet Potato. How can I add that option? libretech-wiring-tool does not have the overlay.
Alternatively, Le Potato audio input? - #6 by librecomputer says
The I2S nodes are already in the device tree, you just need to enable them by changing the status flag.
How do I do that?
The end goal is to execute
aplay -l and see pcm5102 in the output.