This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using TLV320AIC23 CODEC

Hi everyone . This is my first post in TI forum .

I am using TLV320AIC23BPW and i was wondering if you can answer my questions.
I am using this CODEC in USB mode (12 MHz Crystal for MCLK) and DSP Mode Digital Interface
and only Slave mode (only DAC). My Questions are :

1 - I would not use nor analog Line and neither Microphone Inputs . Should i tied these inputs to the GND ?

2 - My Digital Interface has a 5 MHz BCLK from a FPGA and this clock is not synched with input clock of CODEC . Should i use CLKOUT pin of CODEC to synchronize BCLK with CODEC input MCLK ?

3 - There is a lot of options for selecting MCLK and DAC filters. To achieving for the best sound quality from this CODEC what MCLK must be chose ? I can use 96KHz Sample Rate for 32-bit or 24-bit data length.

Thanks for your support.

  • Hi Molla,

    Welcome to E2E and thank you for your interest in our products.

    1. I recommend to connect all the unused inputs to a 0.1uF cap to ground.

    2. It should be no problem if the CLKOUT pin is configured properly.

    3. For audio applications, it is recommended to use a sampling rate of 44.1KHz or 48KHz. You can use any of the shown MCLKs.

    I hope this helps you. If you still have questions, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Thanks for your help but i still did not get my answers .

    1 - In Slave mode (using DAC) If MCLK and BCLK be synchronized together can i get better audio quality instead of not being synchronized ?
    2- What is the best DAC filter that i can choose ? There are 4 DAC Filters that you can choose among them in any given sample rate.

    Thanks.
  • Hi Molla,

    1. MCLK sets the sample rate. BCLK and LRCK just clock out the data. It is important that MCLK and LRCK be synced with regard to the desired sample rate. Beyond that, for proper data transfer, the timing diagrams with respect to BCLK need to be met. BCLK does not need to be synced to the MCLK, it just needs to be fast enough to get all of the bits before the next sample. It can be faster also so long as it doesn't exceed the max timing shown in the data sheet. BCLK can also be burst then shut off.  

    You may see the next application note: Audio Serial Interface Configurations for Audio Codecs. This details a different CODEC but the issue is the same.

    2. It depends your application. Each filter description in datasheet includes a comparison between the filter response and the filter ripple. The smallest filters have more ripple in the passband but the gain in the stopband is under -60dB. By other hand, the biggest filters have less ripple in the passband but the gain in the stopband is under -50. Additionally, the biggest filters have an attenuation when the frequencies are approached to the cutoff frequency. It is a trade between ripple and gain.

    I hope this helps you. If you still have questions, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Thanks Luis . I have got everything i should know .

    Very Helpful.