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.

TLV320AIC3120: Clock calculation of ADC in CODEC for the part number (TLV320AIC3120IRHBT)

Part Number: TLV320AIC3120
  1. In our custom project, we are interfacing codec (TLV320AIC3120IRHBT) to Vocoder(AMBE-4020 Full-Duplex BGA) i.e, digital audio data is sent through I2S to vocoder.
  2. The requirements of I2S interface that are calculated wrt to vocoder are :
    1. I2S will be operated in DSP master mode
    2. The I2S interface allows the AMBE-4020Tm to receive and transmit 8 kHz speech data (Please refer 2.11 of AMBE-4020 Full-Duplex BGA) i.e, WS/FS/LRCLK/WCLK = 8 Khz
    3. Word length = 16
    4. No of channels = 2
    5. SCLK/BCLK = WCLK x Word length x No of channels = 8 Khz x 16 x 2 = 256 Khz
  3. Codec clock calculation for ADC:

Following the procedure mentioned in section 7.3.10.8 step 1 and the clock calculation mentioned in the section 7.3.13. Inserted images for reference

  1. The targeted ADC sampling Frequency (ADC_Fs) = 8 Khz, obtained from 2.b which has been stated above.
  2. Decimation filter = A
  3. AOSR = 128,

Selected b, c values by referring the section 7.3.9.2

  1. So, ADC_Fs x AOSR = 8 Khz x 128 = 1024 Khz = ADC_MOD_CLK. So given that 2800Khz ≤ AOSR*ADC_Fs ≤ 6200Khz (in section 3.10.8) but this condition is not satisfying, how to solve this?
  2. The value of MADC should be chosen such that it satisfies the condition MADC*(AOSR/32)>=RC. So chosen MADC = 1. Is the calculation for MADC correct? Since in documentation it is said that it can be in the range of 1 to 128 and no further information is provided on this.
  3. So if the MADC which is chosen is correct, then ADC_CLK = ADC_MOD_CLK x MADC = 1024 Khz x 1 =1024 Khz. Please suggest on what basis the frequency of ADC_CLK will depend and its range?
  4. What shall be the value of NADC to be chosen to get the CODEC_CLK (CODEC_CLK = NADC x ADC_CLK). Please suggest on what basis the frequency of CODEC_CLK will depend and its range?
  5. Also please suggest the values for PLL and frequency of MCLK, if incase PLL input is used as a CODEC_CLK and provided MCLK as an input to PLL.