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: Please help to review schematic of TLV320AIC316 working with TS3A227ERVAR.

Part Number: TLV320AIC3106

Tool/software:

Hi Sirs

Please help to review schematic of TLV320AIC316 working with TS3A227ERVAR.

The purpose of using TS3A227ERVAR is that we want to use 4 different keys function, and also 4-pole Standard/OMTP Headset distinguished which TS3A227ERVAR supported.

940-00039[AUDIO].pdf

The uncertainty one is that we connect MIC_PRESENT of TS3A227ERVAR to GPIO1 of TLV320AIC316

Based on the discussion below, Jeff suggested that we can connect MIC_PRESENT to host controller as an interrupt.

That is an option but I want to know can I connect it to GPIO1 of TLV320AIC316?

TLV320AIC3106: Connection of MICDET in TLV320AIC3106 to TS3A227ERVAR - Audio forum - Audio - TI E2E support forums

Please let me know any problem about schematic and also my question

Thank you

  • Hi,

    The GPIO1 pin can act as "general purpose input" set with register 98, but this just allows the input to be read by the host controller over I2C. So, you may as well connect the MIC_PRESENT signal to the host controller if you have more pins as an interrupt, since you will have to read the logic level of GPIO1 with I2C from the codec if you want to detect the MIC_PRESENT signal through the codec. The codec does not support external signal acting as an interrupt.

    As for the schematic, it looks good (I focused on the TLV320AIC3106 connections). The one thing I noticed was there were 27ohm resistors on all I2S lines except MCLK - just want to make sure that is intentional. 

    Best,
    Mir

  • Hi Mir

    Thank you for reviewing.

    1. Yes, I understand GPIO1 pin can act as "general purpose input", and can be read over I2C. So no problem with this connection (MIC_PRESENT --> GPIO1) ,right?

    I can also connect MIC_PRESENT to host controller directly, that's no problem.

    2. I don't understand why you mentioned "The codec does not support external signal acting as an interrupt." Does it relate to this connection?

    3. 27ohm are the damping resistors, maybe we can change to 0 ohm.

    Thank you

  • Hi Louis,

    Yes, you can connect MIC_PRESENT to GPIO1. I was trying to say that this GPIO input still needs to be read by an external controller, so you will be able to get the signal more directly (and more quickly) if you send MIC_PRESENT directly to your external controller. The signal will not trigger anything to change in the codec - that's what I mean by it doesn't act as an interrupt. No flags will be set or other registers, just creates a new monitorable signal via I2C. The damping resistors may or may not be needed, it depends on your board layout so if you are experiencing issues with your clocks you can adjust the resistance as needed. 

    Best,
    Mir