This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AIC34 Codec DAC issues

Hi,

I'm a bit new to the 34's so I am not sure I have everything set up correctly (we were previously using the AIC20K which were much simpler). I can not seem to get an noise from anything hooked up to the DAC side fo the world.

first, here is how we have it set up. Hardware wise the codec is set to cascade with itself, that is the WCLK and BCLK from A (A block is the transmit master) feed into B block WCLK and BCLK.. they are working in DSP mode connected to a single McBSP on a Ti C6748 DSP.  something must be working because I can get ADC data.

the codecs are configured internally as such (A and B blocks are configured the same unless stated):

MCLK is being fed by a 24.576MHz clock.

PLL is enabled and P value is 2 in reg 3

J value is 8 in reg 4

ADC and DAC are to set /Fs(ref) by 6 to get 8kHz sample rate in reg 2

Fs(ref) is set to 48kHz (by default)

WCLK and BCLK are set to outputs in reg 8 (in A only)

DSP mode and 256 CLK mode are set in reg 9

a 32bit clock offset is set in reg 10 (in A only)

High powered outputs are AC coupled in reg 14

for the ADC in A block i have it set up as:

Right ADC powered up in reg 22

Line1L is differential, Line1L left PGA set to 0dB, left ADC powered up in reg 19

Line2R differential, Line2 right PGA 0dB in reg 23

Right ADC powered up in reg 22

mic Bias set to 2.5V in reg 25

For the ADC in B block I have it set up as:

Mic3L right PGA 0dB, Mic3R right PGA 0dB in reg 18

right ADC powered up in reg 22

Line1L differential, line1L left PGA 0 dB, left ADC powered up in reg 19

Mic Bias 2.5V in reg 25

For the DAC in A Block:

DACL1 routed to Left LOP/LOM in reg 82

Left LOP/LOM unmute, left LOP/LOM powered up in reg 86

DACR1 routed HPLOUT in reg 50

HPLOUT unmute, HPLOUT powered up in reg 51

*this may be confusing but we are switching the  right DAC between HPLOUT and Right LOP/LOM on certain events

Right LOP/LOM powered UP, right LOP/LOM muted in reg 93

For the DAC in B Block:

DACL1 routed left LOP/LOM in reg 82

Left LOP/LOM powered up, unmuted in reg 86

DACR1 routed Mono LOP/LOM in reg 78

Mono LOP/LOM powered un, unmuted in reg 79

PGA settings in Block A:

Left ADC PGA 0dB in reg 15

Left DAC PGA -6dB in Reg 43

Right ADC PGA 0dB in reg 16

Right DAC PGA 0dB in reg 44

PGA settings in block B:

Left ADC PGA 0dB in reg 15

Left DAC PGA -6dB in reg 43

Right ADC PGA 0dB in reg 16

Right DAC PGA 0dB in reg 44

Power Up DACs:

Power up Left, right DAC in reg 37, Block A

Power up Left, right DAC in reg 37, Block B

 

is there anything wrong with this setup? Did i miss something that would Mute or power down the DAC side of the world?