Part Number: TLV320AIC23B
I use AIC23B to play and record audio, aic23b works as Slave, MCU as Master, I2S mode. MCU provide LRCIN and BCLK. play sound is good, but recording sound is very not clear with periodicity noise.
the AIC23B init code is DSP2833x_Audio_App download from TI. I enable side tone when recording, the sound is clear. it's ADC issue i think, how can i do it?
is the MCLK coming from the MCU? and is it in synced with the audio clocks?
what is your Fs? bclk frequency? Mclk frequency?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Steve-Wilson:
Yes, the MCLK is coming from the MCU,It's provided by the I2S interface and synced with the audio clocks.
the MCLK frequency is 256Fs and the Fs is 8000. so the MCLK is 2048000hz. bclk is 256000hz.
the AIC23b in normal mode with 256Fs, Fs is configed as 48K, due to MCLK is 2048000 the Fs is 8000 indeed match the I2S interface.
the playing and recording use the same I2S config, attached file is recorded 8K 16bit raw PCM data.
the clock measured by oscilloscope are:
MCLK <--> 2.05721Mhz
LRCLK <--> 8.03597Khz
BCLK <--> 257.151Khz
In reply to user6188773:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.