ΣSigmaStudio Ask AI Русский Log in

How to connect between ADAU1701 and CODEC?

SigmaDSP & SigmaStudio Thomas73 Aug 29, 2014 00:00 1 replies Original on forum ↗
Subscribe
Thomas73 Question
Aug 29, 2014 00:00

Hello,

I would like to make a small circuit using ADAU1701 and a CODEC. After watching some CODEC datasheets I found out some conditions have to deal with:

1. ADC and DAC can only be used in the same way, both as Master or both as Slave, not unique
2. There are common clock lines used for BCLK/SCK and LRCLK of both, ADC and DAC. The digital audio input and output signals are synchronized to each other. (see the timing attachment)

Now comes for me the tricky part. Is it possible to run the ADC and DAC inside the codec only with one common BCLK and one common LRCLK line connected to the ADAU1701? I attached example connection where I connected the BCLK and LRCLK only with the ADAU1701 BCLK/LRCK inputs - the outputs are unused. In the example I run the ADC/DAC as Master and ADAU1701 as Slave but I would have the opportunity to run the ADC/DAC inside the CODEC as Slaves and the ADAU1701 as Master as well.

Unfortunately has the ADAU1701 no MCLK output, so I connect a crystal to the CODEC and feed the ADAU1701 at MCLKI with the Master clock. This is also possible in Master or Slave mode.

Would my example work? How to deal with the BCLK/LRCLK outputs of ADAU1701? Just leave unused?
Thank you in advance for help!

Thomas

After reading the data sheet and some other posts here again, I think it should be done like that:

1. Connect OUTPUT_LRCLK with INPUT_LRCLK and OUTPUT_BCLK with INPUT_BCLK (MP10 with MP4 and MP11 with MP5)

2. Set OUTPUT_LRCLK and OUTPUT_BCLK to Master Mode

3. ADC and DAC of CODEC set to slave
4. Run the CODEC with a crystal and feed the ADAU1701 at MCLKI with Master clock.

-> Everything is now sync to MCLK! Watch the drawing below.

Can anyone confirm? Thank you!

Thomas

PS: I'm wondering why it is necessary to connect for this case the clock inputs and outputs "hardwired" externally - was there really no possibility to do this with a register internally?

Audio Signal Processors

SigmaDSP Audio Processors

adau1701

b4bc3c97663238326f3cd9a9f1e8bbd5.png
b4bc3c97663238326f3cd9a9f1e8bbd5.png
b4bc3c97663238326f3cd9a9f1e8bbd5.png-596x384.png
b4bc3c97663238326f3cd9a9f1e8bbd5.png-596x384.png
3e0b897272c9ba076e4618b911de9492.png
3e0b897272c9ba076e4618b911de9492.png
3e0b897272c9ba076e4618b911de9492.png-620x411.png
3e0b897272c9ba076e4618b911de9492.png-620x411.png
6cca394cab6ed0f99cc31a1155bc1f5d.png
6cca394cab6ed0f99cc31a1155bc1f5d.png
6cca394cab6ed0f99cc31a1155bc1f5d.png-620x422.png
6cca394cab6ed0f99cc31a1155bc1f5d.png-620x422.png
EZAdministrator Reply
Apr 29, 2019 00:00

This question has been closed by the EZ team and is assumed answered.