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.

TLV320AIC3268: I2S Interface to McASP Interface Communication Mono Mode 8KHz

Part Number: TLV320AIC3268
Other Parts Discussed in Thread: AM5718,

Hello,

We are designing an Audio processing module using the Audio CODEC chip TLV320AIC3268. The host for the Audio CODEC chip is TI's AM5718 Processor. The application is to have single channel Audio (Voice band) input and output (mono mode). We are having the below queries regarding the digital audio interface b/w the mentioned IC's.

1. In mono mode, the Fs of ADC & DAC need to be set to 8KHz. It is understood that 8KHz sampling frequency can be derived from MCLK and the NDAC, MDAC and DOSR dividers settings. In McASP application guide (SPRACK0: Section 2.3), it is mentioned that the word clock (WCLK / FSYNC) should have the same frequency as ADC/DAC sampling frequency (The frame sync clocks run at the audio stream’s sample rate ). Which means WCLK should be set to 8KHz. I have seen in the below ticket raised in forum with 8KHz mono mode settings: MCLK = 12.288 MHz, BCLK = 3.072 MHz, WCLK = 48 kHz (slave). Here WCLK is not set at 8KHz sampling rate. If WCLK is set at 8KHz, BCLK also will vary and ultimately MCLK should be adjusted accordingly. Need clarification regarding this doubt.

2. One more doubt is basic to McASP interface. The host Processor is having multiple number of AXR[n] pins up to 16, down to 4. What is the exact purpose of having more number of data lines within one port? If we are using the 2 ASI ports of Audio CODEC IC and if we are interfacing to a single McASP port of host Processor, only four lines will be used (2 TX & 2 RX). What if I am using host McASP with 16 data lines? Remaining 12 lines will be floated. Is McASP interface with 16 data lines is expecting 8 TX & 8 RX lines from external Audio chip?

Regards

Hafiz

  • Hi Hafiz,

    The McASP documentation might be with reference to some other codec. AIC3268 has a lot of configuration options for clocking. The device has a PLL and so we can support most standard MCLK and BCLK frequencies and derive the appropriate clocks required for device operation. There is no need for any concern on that front.

    I am not an expert on McASP interface. It will be good to put this across to the DSP team. AIC codecs typically only support one Data In and one Data out line per ASI port. Multiple data lines per port are used when there is a need to support a large number of channels without having to increase BCLK frequency. Two data lines can transport twice as many channels as one data line without having to change BCLK or WCLK. AIC3268 supports eight transmit and eight receive channels on ASI1. So if there is the requirement is of 8 or less channels then only one of the McASP lines have to be interfaced to the codec and the other lines remain unused.

    Best Regards.

  • Hi Hafiz,

    There is a multi-pin mode in AIC3268 to support multiple data input and output lines on the same ASI interface.

    The multi-pin mode can support up to four DIN lines and four DOUT lines. On each DIN/DOUT line two channels can be supported and thus eight channels can be supported in this multi-pin mode.

    The multi-pin mode can also be a potential way to interface with McASP.

    Please let us know if there are any other concerns/queries regarding this interface.

    Best Regards.