I2S

Moderator: flatmax

Post Reply
kenski1
Posts: 7
Joined: Tue Oct 10, 2017 2:55 am

I2S

Post by kenski1 » Sun Mar 04, 2018 1:17 pm

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?

flatmax
Posts: 602
Joined: Sat Jul 23, 2016 11:39 pm

Re: I2S

Post by flatmax » Sat Mar 24, 2018 12:20 pm

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
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

robiwan
Posts: 59
Joined: Wed Jul 05, 2017 1:18 am

Re: I2S

Post by robiwan » Sun Mar 25, 2018 6:41 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests