Hi Team,
We are using tlv320aic3101 audio codec with a qualcomm processor. We are setting the processor as Master and the codec as slave.
Our MCLK frequency is 6.144Mhz and Bclk 1.53Mhz and Word Select 48 Khz. We are using the pll for adjusting clk in slave side.
The normal audio is playing without any noise. But the recorded file having some noise amplified situation [The speech is clear but their is some noise in the audio] . Could you please help to find the root cause to solve this issue?
We are using the command "arecord -D hw:0,1 -r 48000 -f S16_LE -c 2 result.wav" for recording.
For your information, We are giving mic input only through MIC2R/LINE2R .This pin is connected to MICBIAS through a 1k ohm resistor as per our design. Also I am mentioning the registers and data s we are writing for enabling recording path. Also attached one recorded sample.
#Register 25: MICBIAS
25 0x40
#Register 12: Audio Codec Digital Filter
12 0xA0
#Register 15: Left-ADC PGA Gain
15 0x80
#Register 16: Right-ADC PGA Gain
16 0x77
#Register 17: MIC2L/R to Left-ADC
17 0xFF
#Register 18: MIC2/LINE2 to Right-ADC
18 0xF0
#Register 19: MIC1LP/LINE1LP to Left-ADC
19 0x78
#Register 21: MIC1RP/LINE1RP to Left-ADC Control Register
21 0x78
#Register 22: MIC1RP/LINE1RP to Right-ADC Control Register
22 0x7C
#Register 24: MIC1LP/LINE1LP to Right-ADC Control Register
24 0x78
#Register 26: Left-AGC Control
26 0x00
#Register 29: Right-AGC Control
29 0x00
#Register 27: Left-AGC Control
27 0x00
#Register 30: Right-AGC Control
30 0x00
#Register 32: Left-AGC Gain
32 0xEe
#Register 33: Right-AGC Gain
33 0xE8
#Register 36: ADC Flag Register
36 0x9D

