Posts: 4
Joined: Thu Aug 08, 2019 9:51 am


Sat Aug 17, 2019 3:11 pm

I've been struggling with I2S these days.
Currently, I have an ADC which only works in master mode. It has an oscillator itself, and is incompatible with Pi's clock.
Maybe putting raspberry pi's I2S into slave mode will work.
The datasheet says that modifying the BCKO and LRKO registers can achieve this, but how? Build a driver myself?
I'm not pretty well at programming, but doing some small hacks is fine.

Does anyone have an idea?

PS: I followed the steps at https://learn.adafruit.com/adafruit-i2s ... g-and-test , and I am able to use my DAC. However, my ADC just won't work.

Posts: 304
Joined: Fri Jun 30, 2017 10:07 pm
Location: Salzburg, Austria
Contact: Website

Re: ANNOYING I2S modes

Sun Aug 18, 2019 9:00 am

Read through the various device tree overlay examples using simple audio card or audio graph card posted in the I2S thread https://www.raspberrypi.org/forums/view ... =44&t=8496

bcm2835-i2s slave mode can be easily set by setting bitclock and frameclock master to the codec.

so long,


Return to “Interfacing (DSI, CSI, I2C, etc.)”