Hi:
Our conference audio product uses TLV320AIC3106 as codec. two analog input, one analog output
Lin1l and lin1R are used as analog channel inputs.
Recently, a customer reported that a loud voice yells at one mic, the other mic can also record the sound when one mic is connected to the acquisition card and the other MIC is not connected to the acquisition card.
We restored the usage environment and recurrence the problem. Only one analog signal input is measured through the oscilloscope, but there are L and R signals on the I2S data line. We found that the signal saturation when talking loudly , and that part of the saturated signal was mapped out on the other way.
We suspect that it is caused by a configuration problem.
We use the differential input of line1l \ line1R, and other analog channels are closed.
The following is the configuration code:
//disable line2L、R
I2CRegWrite(baseAddr, AIC31_P0_REG20, 0x78);
I2CRegWrite(baseAddr, AIC31_P0_REG21, 0xF8);
I2CRegWrite(baseAddr, AIC31_P0_REG23, 0x78);
I2CRegWrite(baseAddr, AIC31_P0_REG24, 0xF8);
// MIC IN disable
I2CRegWrite(baseAddr, AIC31_P0_REG17, 0xFF);
I2CRegWrite(baseAddr, AIC31_P0_REG18, 0xFF);
// Line L1L
I2CRegWrite(baseAddr, AIC31_P0_REG19, 0x84);
// Line L1R
I2CRegWrite(baseAddr, AIC31_P0_REG22, 0x84);
I2CRegWrite(baseAddr, AIC31_P0_REG15, adc_gain_L);
I2CRegWrite(baseAddr, AIC31_P0_REG16, adc_gain_R);