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.

TLV320AIC3204: Use of Primary I2S interface

Part Number: TLV320AIC3204

Hi,

Can i know for what applications the primary I2S interface in the codec is used?

Awaiting your reply.

Thanks,

Menaka

  • Hello Menaka, 

    Since the I2S interface is used to send audio data between the host processor and the TLV320AIC3204, any application that involves sending or receiving audio data would work. 

    Regards,

    Aaron

  • Hi,

    I am planning to interface I2S microphone with TLV320AIC3204. Can I use the below pins to interface the mic?

    MIC Pin Name                         - TLV320AIC3204 Pin Name

    SCK ( Serial data clock )         - BCLK

    WS ( Serial data word select ) - WCLK

    SD ( Serial data output )          - DIN

    Can you please confirm if this connection is right?

    Thanks

  • Hello Menaka,

    Can you share a little more information? What is the part number of the microphone you are trying to implement in your design?

    Regards,

    Aaron

  • Hello Menaka,

    I have done some more digging on your question. The TLV320AIC3204 has two I2S inputs but only one of them can be active at a given time. If you are using the I2S microphone signal as an input, you cannot route it to the DAC. Since you won't be using the ADC and cannot use the DAC, the need for a CODEC is unnecessary. The I2S mic should be able to send data directly to your host processor. 

    You can use a digital microphone with the TLV320AIC3204 but the mic has to provide a PDM output.

    Regards,

    Aaron

  • Hi, 

    Thank you for the reply!

    Can you please clarify my below queries.

    1. I2S is used only for audio interface between the host processor and TLV320AIC3204. I2S mic can not be connected to TLV320AIC3204. Is my understanding correct?

    2. If the digital audio signal is provided by the host processor to TLV320AIC3204 through I2S. Will I be able to get line out ( LOL, LOR ) from TLV320AIC3204?

    3. If I interface PDM mic or any digital mic to TLV320AIC3204, will I be able to get line out ( LOL, LOR ) ?

    4. If not, can you suggest audio codec for interfacing I2S mic and the output to be connected to mono audio out ( speaker )  through an audio amplifier?

    Kindly clear these questions.

    Awaiting your reply.

    Thanks

  • Hi Menaka,

    See my answers below: 

    1. I2S mic can be connected to the TLV320AIC3204 but only the mic will be able to send data through I2S. Although there are is a primary and a secondary I2S feature, only one I2S interface can be activated at a time. Because of this, you will lose the ability to send audio data with the Host Processor via I2S. 

    2. Yes, you will. 

    3. Yes. You can look at section 9.3.1.1.1 in the data sheet for more information on what pins to connect the digital mic. Then you just need to make sure the registers are properly configured. 

    My previous response may have been a bit misleading. I hope this clears some things up. 

    Regards,

    Aaron

  • Hi,

    Thanks for the reply.

    Please check my below reply

    1. If I2S mic can be connected as input to TLV320AIC3204, can you confirm if below pinout can be used? The I2S mic that I am planning to use is ICS-43432. Can i get line out ( LOL, LOR ) using this configuration?

    MIC Pin Name                         - TLV320AIC3204 Pin Name

    SCK ( Serial data clock )         - BCLK

    WS ( Serial data word select ) - WCLK

    SD ( Serial data output )          - DIN

    2.Should the host processor be necessarily connected/used with the codec? 

    Please clarify my above queries

    Thanks

  • Hi,

    I need to clarify one more thing along with the above questions.

    I do not need the Host Processor, I want to connect I2S mic to the TLV320AIC3204 and need to amplify it and get 50W mono output. Is this possible using TLV320AIC3204. Can you please confirm?

    Awaiting your reply.

    Thanks

  • Hi Menaka, 

    My response below:

    1. Din should be connected to SDIN, not an output.

    2. A host processor is still necessary for communication with the CODEC. 

    The TLV320AIC3204 does not have any internal class-D amplifiers so you would not be able to achieve 50W output. Also, these I2S mics are designed such that they do not require a CODEC. You can connect these mics directly to a host processor/digital input class-D amplifier. I can suggest you look at the TAS5755M or other TAS57XX family of digital input Class-D amplifiers. The TAS5755M is a digital input Class-D amplifier that accepts I2S input.

    Regards,

    Aaron

  • Hi,

    Thanks for the reply!

    1. Can you please explain Q1 in detail? Because Mic output should only be connected to the DIN - Digital Microphone Input as per below pin description. Please clarify this.

    2. By communication with the CODEC do you mean I2C communication or I2S? Can the codec be configured as I2S master and I2S mic as slave device and get line out from the TLV320AIC3204?

    3. If I2S communication is needed between host processor and TLV320AIC3204, why and what for?

    4. Thanks for the suggested part number, Can you clarify if TAS5755M is I2S master or slave? Can I connect I2S mic directly to TAS5755M considering it as master and get 50W mono output?

    Kindly clarify my above queries

    Awaiting your reply

    Thanks

  • Hi Aaron,

    I would like to interface stereo PDM mic with TLV320AIC3204 and get line out ( LOL, LOR ). Will I be able to get I2S audio signal for the mic data where the I2S is connected to the host processor and the line out simultaneously?

    Awaiting your reply

    Thanks

  • Hello Menaka, 

    I think there is a disconnect on what exactly you need.  

    1. What is the purpose of using the AIC3204 if your microphone already provides a I2S output?  if you don't need the ADC,  why not just use a DAC,  or a Digital input CLASS-D amplifier?  

    2. The AIC3204 does accept the use of Digital microphones, however,  it is PDM output Digital microphones.  With the AIC3204 you would not have much flexibility in the signal routing.  The AIC3254 would allow you to have the Digital mic out on the I2S out,  while also sending the mic signal to the DAC. but with the AIC3204 your host processor would need to handle this (mixing the mic signal with any other audio)

    3. It is possible to use the AIC3204 with a I2S microphone,  however you would lose the ability to connect the processor to the DAC the I2S mic would be routed directly to the DAC Only.  This again begs the question... why use the AIC3204 when you don't need the functionality of the ADC? and you lose some functionality of the DAC. 

    please let me know if I am misunderstanding your needs.  perhaps you could provide a block diagram of what you want to do?

    best regards,

    -Steve Wilson