I2S audio output on BBB

Hi, I have a beaglebone black working fine with an external USB audo adapter. I heat that I can use integrated audio on the beaglebone black to drive pins in I2S, I see the mcasp devices listed using aplay -L. Can someone give me a hint as to how to connect these to pins for I2S output? The next question can I send audio through a virtual mixer to the USB audio device and the I2S pins?

Thanks,

Jerry

Hello; I am also looking for help with this. I have the following components:

  • BBB (I think it’s a Rev.D)?
  • using latest Debian 13.x (but I have also tried previous versions)
  • created a new .dts file from the BBB overlays git site, but modified to give output using i2s
  • using an external PCM5102A board with BCK, DIN, LCK i2s signals. Also takes VCC and GND from the BBB.

I am basically connecting a small external i2s board to the BBB and trying to play sound to the board.

The overlay is recognised at boot-up, and the sound-card is also recognised. But when I try to play a test sound, I keep getting errors like:

“Playback device is hw:0,0

Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise

Rate set to 48000Hz (requested 48000Hz)

Buffer size range from 64 to 32768

Period size range from 32 to 16384

Periods = 4 was set period_size = 12000 was set buffer_size = 24000

0 - Front Left

Write error: -5,Input/output error

xrun_recovery failed: -5,Input/output error

Transfer failed: Input/output error”

I have hit a wall with any online documentation.

Are there any .dts files that are known to work with this hardware setup?

Any help is much appreciated.