Part Number: TLV320AIC3104-Q1
Other Parts Discussed in Thread: TLV320AIC3104
Hello TI,
Please find below the schematics for the audio codec as recommended by Quectel. We are using the codec for eCall with a Quectel EC21 Modem.
The output seems to be working fine. However the microphone is a problem.
The MICP and MICN are directly connected to a electret capsule mic.
The register programming sequence is as below. I tried working only with the right ADC in the beginning however since it wasn't working, I'm used both the ADCs.
Could you please check the register configuration and let me know what I'm missing?
The microphone seems to be working since I notice changes in the analog singal on MICP when it detects sound.
0x18,0x01,1,0x80 {sw rest}
0x18,0x66,1,0x82 {clk}
0x18,0x65,1,0x01 {clk}
0x18,0x19,1,0x80 {mic bias to 2.5V register}
0x18,0x15,1,0x80 {write to register 21 value 1000 0000.. gain set to 0db and diff mode}
0x18,0x16,1,0x84 {write to register 22 value 1000 0000.. gain set to 0db right ADC channel power up and diff mode}
0x18,0x13,1,0x7C {register 19 power up left ADC}
0x18,0x0F,1,0x0F {Unmute left PGA, set gain to 3dB register 15}
0x18,0x10,1,0x0F {Unmute Right PGA, set gain to around 3dB register 16}
0x18,0x07,1,0x1E {000 00 11 11 0 Codec Data-Path Setup Register, right DAC and left DAC play mono mix of right and left DAC}
0x18,0x29,1,0x50 {register 41 Right and left DAC route to L3 and R3}
0x18,0x25,1,0xC0 {register 37, power up right DAC}
0x18,0x2B,1,0x00 {register 43, unmute}
0x18,0x2C,1,0x00 {register 44, unmute}
0x18,0x5D,1,0x09 {register 93 RIGHT LOP/M output level control register unmute and power up}

