Hi,
I'm using 2 AIC3104 codecs to get input signals from 4 microphones and to output 1 analog signal via HPLOut/HPLCom. Attached you can see the schematics. My problem: Neither do I get any input via DIN (always zero) nor am I able to see the sinus I send via DOUT on the analog output pin.
I use the following register settings to configure the codec:
unsigned char SoftwareReset[] = { 1, 0x80}; //do software reset to set all regs to default value
unsigned char SampleRateSelect[] = { 3, 0x20}; //fs=44,09kHz
unsigned char CodecDataPath[] = { 7, 0x0A}; //enable DACs
unsigned char I2S_ControlB[] = { 9, 0x30}; //I2S mode with 32bit data
unsigned char DigitalFilter[] = { 12, 0x50}; //enable HPF for left and right channel
unsigned char L_ADC_PGA_Gain[] = { 15, 0x80}; //demute left PGA
unsigned char R_ADC_PGA_Gain[] = { 16, 0x80}; //demute right PGA
unsigned char L_ADC_InputLevel[] = { 17, 0x0F}; //connect MIC2L to PGA-Left with 0dB
unsigned char R_ADC_InputLevel[] = { 18, 0xF0}; //connect MIC2R to PGA-Left with 0dB
unsigned char L_ADC_Control[] = { 19, 0x7C}; //Left ADC channel is powered up
unsigned char R_ADC_Control[] = { 22, 0x7C}; //Right ADC channel is powered up
unsigned char MICBIAS_Control[] = { 25, 0x80}; //MICBIAS 2,5V
unsigned char DAC_Power[] = { 37, 0xC0}; //Left and Right DAC powered up
unsigned char OutputCommonModeV[] = { 40, 0x40}; //Output Common Mode Voltage 1,5V
unsigned char DAC_OutSwitch[] = { 41, 0xA0}; //use DAC_L2 and DAC_R2 signal path
unsigned char HPLOUT_Control[] = { 51, 0x0D}; //HPLOUT is not muted
unsigned char HPLCOM_Control[] = { 58, 0x0D}; //HPLCOM is not muted
unsigned char HPROUT_Control[] = { 65, 0x0D}; //HPROUT is not muted
unsigned char HPRCOM_Control[] = { 72, 0x0D}; //HPRCOM is not muted
unsigned char Clock_Register[] = { 101,0x01}; //use CLKDIV_OUT as CODEC_CLKIN
I've checked the different power supply pins and the reset pin and also verified the clock signals at pin MCLK, BCLK and WCLK. To be sure, that the device is configured as I expecft it, I read back all configuration registers and get the expected values.
Cold anybody give me any hint what fundamental problem I could have that the audio interface of the chip seems to be completely dead?
Best regards,
Sabine