Go to advanced search

by JoeCraig
Mon Feb 26, 2018 4:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

Ok. I hooked up the i2c lines, but am having issues seeing the device. I posted the issue in this thread...

viewtopic.php?f=28&t=206443

Any idea why I can see the USBi, but not the 1701?
by JoeCraig
Mon Feb 26, 2018 6:08 am
Forum: Troubleshooting
Topic: i2cdetect weirdness
Replies: 0
Views: 407

i2cdetect weirdness

I'm trying to communicate with an adau1701 DSP over i2c. The 1701 has a USBi programmer connected, and is responding to i2cdetect on address 0x51, but I'm not able to see the 1701 on the i2c bus. The USBi and 1701 can communicate on i2c, so everything should be connected properly. Here's the weird p...
by JoeCraig
Sun Feb 25, 2018 6:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

Ok. So, I think I've figured out how to add the adau1701 codec and reference it from the fragment. Here's the *.dts, but I'm still not getting any output on the I2S data out line when audio is playing off the pi. I don't have the I2C lines connected from the DSP to the pi, but the DSP is configured ...
by JoeCraig
Sat Feb 24, 2018 9:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

Hi Hias, I appreciate your help here. I'm having issues making an overlay though. I can't seem to configure it to get any i2s data on the output (line is just low, while BCLK and LRCLK are toggling, and audio is playing on the pi). Do I have to define more for the adau1701 codec? There is an ADAU170...
by JoeCraig
Thu Feb 22, 2018 5:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

Ok! This is great. I've setup the I2S bus to be clocked from the DSP, and the pi needs to slave data to those clocks. I'm learning about overlays and took the "SuperAudioBoard" overlay, compiled it, and called it in /boot/config.txt It appears to be working... 001682.750: brfs: File read: /mfs/sd/ov...
by JoeCraig
Mon Feb 19, 2018 4:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

Is it possible for the pi to be an i2s slave? My setup is using shairport for airplay streaming, and the HiFiBerry overlay to output i2s audio. This works for the pie controlling i2s, but can the pi be i2s slave and output data when BCK and LRCK are driven from another source, such as ADAU1701? Any ...
by JoeCraig
Sun Feb 18, 2018 4:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

Thanks, Hias.

Unfortunately, the 1701 can only accept MCK inputs of 64, 256, 384, and 512 times Fs. To use the rPi oscillator at 19.2 MHz, for 48 kHz Fs, would need to divide by 400.
by JoeCraig
Sat Feb 17, 2018 5:11 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 925
Views: 454654

Re: STICKY: The I2S sound thread.

... First post here. Apologies if it's not in the right area, but this thread seemed appropriate. I'm working on a DSP board for the rPi, using the ADAU1701 DSP from Analog Devices. The goal is to use the RPi's I2S stream to get audio into the DSP. The crux of the problem is (of course) the MCK. I w...

Go to advanced search