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.

TLV320AIC3106: Connection of MICDET in TLV320AIC3106 to TS3A227ERVAR

Part Number: TLV320AIC3106
Other Parts Discussed in Thread: TS3A227E

Hi

I am designing Audio circuit, and I plan to use TLV320AIC3106 as codec with TS3A227ERVAR as detection.

here are the few questions

1. It is supposed to get low level on MIC_Detection when the 4-Pole Accessory plug in, 3-Pole Accessory plug in and no any plug, it is in high level, right?

2. Not sure the function of MICDET in TLV320AIC3106, is it used to detect microphone plug in? So if 3-Pole Accessory plug in (no microphone), the behavior of MICDET would be the same as no any plug in, right? 

3. Can the MIC_Detection of TS3A227ERVAR connect to MICDET of TLV320AIC3106 directly? 

    if no, please advise how to connect

Here is the draft schematic, please just see the connection between MIC_Detection of TS3A227ERVAR and MICDET of TLV320AIC3106, skip other portion, thank you.

  • Hi Louis,

    The TS3A227ERVAR is redundant here. The TLV320AIC3106 has a full mic detection functionality that includes knowing the difference between 3 pole (TRS) and 4 pole (TRRS). The MICDET feature in the codec is not a simple interrupt input, so I don't believe the TS3A227ERVAR would be compatible anyway. 

    This app note gives finer detail than the datasheet on the mic/headset detection features in the codec. Hopefully this will help you understand the feature better and simplify the design: https://www.ti.com/lit/an/slaa454/slaa454.pdf?ts=1708700484420&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTLV320AIC3106

    Best regards,
    Jeff McPherson

  • Hi Jeff

    Thank you for your reply

    Sorry, I have some typo on the question 1, please see the revised one below.

    1. For TS3A227ERVAR, It is supposed to get low level on MIC_PRESENT when the 4-Pole Accessory plug in, 3-Pole Accessory plug in and no any plug, it is in high level, right?

    Here are some more questions.

    2. Can TLV320AIC3106 detects 4-pole Standard Headset and 4-pole OMTP Headset like TS3A227E did? I see the link you provided can only use to 4-pole OMTP?

    3. I think I also need the 4 key function of TS3A227ERVAR, TLV320AIC3106IRGZT can't do this, right?

    4. If I want to detect the MIC present or not from TS3A227ERVAR, and want to use an Stereo Audio CODEC (TLV320AIC3106IRGZT or maybe you can advise another one?) , which pin of TLV320AIC3106IRGZT should MIC_PRESENT from TS3A227ERVAR connect to?

    Thank you

  • Hi Louis,

    1) Only a 4pole accessory will cause MIC_PRESENT to be pulled low because a 3pole accessory doesn't have a mic. Otherwise the pin will be hi-z and the pull up resistor will pull the voltage high.

    2) The TLV320AIC3106 assumes the OMTP standard, though the CTIA standard could be used as long as the connections were flipped. The main point though is that the device cannot automatically distinguish the difference between the two. 

    3) The TLV320AIC3106 doesn't support the keypress that the TS3A227E does. The TLV320AIC3106 only supports a single button.

    4) The MIC_PRESENT pin should go to your host controller as an interrupt. This should trigger the host to send the I2C commands to the codec to enable recording. The TLV320AIC3106 can't do anything with the MIC_PRESENT pin since it can only read the status of GPIO pins. You'll save a step by just connecting to the host directly.

    Best regards,
    Jeff McPherson

  • Hi Jeff, thank you, your replies are most what I want to know

    My last question is the MIC_DET (TLV320AIC3106) can be left unconnected if I already use TS3A227ERVAR as the role of Microphone/Audio jack detection?

    Thank you

  • Hi Louis,

    Yes MIC-DET can be left floating if the feature isn't going to be used in the codec. Be sure to also disable headset detection in page 0 register 13.

    Best regards,
    Jeff McPherson