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.

TLV320AIC23B The method of calculation of sampling rate

Other Parts Discussed in Thread: TLV320AIC23B

Hi

My customer is using TLV320AIC23B.
They would like to know the method of calculation of sampling rate which is determined by SR0-3.
They setting as below. and they think that sampling rate is 32kHz at below setting.
MCLK=12.288MHz, CLKOUT=0, CLKIN=1(MCLK/2), SR3=0, SR2=1, SR1=1, SR0=1, BOSR=1, USB/Normal=0


Q1:Could you tell me the method of calculation of sampling rate which is determined by SR0-3?

Q2:What sampling rate of ADC/DAC does it become in the following setting?
MCLK=12.288MHz, CLKOUT=0, CLKIN=1(MCLK/2), SR3=0, SR2=1, SR1=1, SR0=1, BOSR=1, USB/Normal=0


Best regards
Shimizu

  • Hi, Shimizu-san,

    This is discussed in the d/s in the section titled, "3.3.2 Audio Sampling Rates."

    -d2

  • Hi -d2-san

      I read this section.

      It's written that "The following sampling-rate tables are based on CLKIN = MCLK." at Page 29 of D/S .

      Because my customer want to become sampling rate to 32 KHz and my customer set CLKIN to 1(CLKIN = 1/2*MCLK) ,  I searched "64kHz" at the MCLK = 12.288 MHz table which is page 30 of D/S. 

      But there isn't 64kHz.  

      Please suggest that  the method of sampling rate calculation which is determined by SR0-3.

      Please answer my question which is the last post.

      

    Best regards,

    Shimizu

     

  • Hi Shimizu-san.

    Q1, The sample rate will scale exactly from any MCLK value in the table. Just find the SR0-3 values you want to use in the table, divide the MCLK value by the given sample rate, this will give you the over-sample rate for these settings. Now you can divide any MCLK value by the over-sample rate to determine the sample rate with a different MCLK using the same setttings. Of course if CLKIN is MCLK/2 then the result will be 1/2.

    Q2, In this case you can find all of the same values on page 29 in the first row under MCLK = 18.432 MHz so:

    18.432 MHz / 96 kHz = 192  so if you change MCLK to 12.288 MHz/192 is Fs of 64 kHz and if CLKIN is /2 then you have 32 kHz. So the sample rate for Q2 is 32 kHz.

    Best Regards,

    dave