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.

TLV320AIC3109-Q1: Switching between Single ended and Differential Microphone

Part Number: TLV320AIC3109-Q1

Tool/software:

Hello

I'm looking into best and cost efficient way so our software can detect (e.g via ADC sampling) whether SE or DIFF microphone is connected. I was thinking about using a dual SPDT Analog Audio switch to allow  routing of Either MICP OR both MICP+MICN to the Codec.

Does TI has a reference design that describes this such configuration? I have attached a possible configuration. Can you please provide your feedback?

  • Hi Chirag,

    The codec is capable of switching between SE and DIFF by a single register.

    My doubt is how you plan on determining that the microphone is SE or DIFF via the ADC data? I'm not sure that its possible.

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    The MICP_DIAG and MICN_DIAG signals (at the output of the switch) go to ADC inputs of uController. 

    When a single ended MIC is present between Analog switch's input ports S1A and S2A pins, the 680 ohm microphone impedance will work with voltage divider on D1 and D2 output pins of the switch. Similarly when a Differential MIC is present between Analog switch's input ports S1B and S2B, the diff. MIC's impedance will also form voltage divider with  D1 and D2 output pins of the switch. Based on detection thresholds, our software will determine if its a SE mic or DIFF mic. 

    Do you agree? I think if we can have a Teams' meeting it will help.

    Thanks

    Chirag

  • Hi Chirag,

    Thank you for the explanation. It seems reasonable. 

    Once your detection scheme has identified the type of mic, it can write to the codec to switch the input type accordingly. I do recommend that you power down the ADC before switching in order to prevent unnecessary pops.

    Best regards,
    Jeff McPherson