Page 1 of 1

I2S

Posted: Sun Mar 04, 2018 1:17 pm
by kenski1
I am familiar with I2S from my days doing digital audio using Motorola and Analog Devices DSP ICs. I want to know how to dig into the drivers used with the Stereo Audio Card and the RPI to find out how they work at the lowest level. I'm interested in doing this so I can interface the audio coming to and from the Stereo Audio Card to the ethernet port on the RPI for transmission/reception.

Any thoughts on the best way to get a deep understanding of I2S as used by the Stereo Audio Card and the RPI?

Re: I2S

Posted: Sat Mar 24, 2018 12:20 pm
by flatmax
Yes,

I recommend that you look at the bcm peripherals pdf. This document : https://www.raspberrypi.org/app/uploads ... herals.pdf
Page 120 for example.

Then you can look at the i2s driver :
https://github.com/raspberrypi/linux/bl ... 2835-i2s.c

That would be a good start. Happy to continue discussing here if you like.

Matt

Re: I2S

Posted: Sun Mar 25, 2018 6:41 pm
by robiwan
For the Octocard, is the I2S subsystem setup for 8 input/output channel TDM ? It's not obvious from the BCM docs that it is even possible, quite the contrary.