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.

TLV320AIC3120: TLV320AIC31XX Not Detecting Button Events After Multiple Jack Insertions

Part Number: TLV320AIC3120


Tool/software:

I'm working with the TLV320AIC31XX audio codec and encountering an issue where button events from a headset stop being detected after plugging and unplugging the jack multiple times. Initially, everything works as expected, but after several insertions/removals, button presses are no longer registered.

I set register 0x43 to 0x80 on initialization and reads every 50 milliseconds the registers 0x2c (Sticy DAC Interrupt flags) and 0x2e (DAC Interrupt flags 2).

While the the HSPLUG BIT(4) is always updated the BUTTONPRESS BIT(5) is not always detected after insertion of the jack.

Any idea ?

Thank you.

Uri Yosef 

  • Hi Uri,

    We will respond with an update on this thread in the next few days.

    Thanks and Regards,

    Lakshmi Narasimhan

  • Hi Uri,

    Do you know what the resistance of your jack and button press are? I know that these devices take into account the resistance of the jack on insertion to determine if it is a jack with a microphone or buttons and microphone, or no microphone, etc. If the button is pressed on insertion, the button press detection will not work and the device may not recognize the microphone either. Can you read register 0x43 on this failure of button press detection to make sure it recognizes that there is a microphone? 

    Best,
    Mir

  • Hi Mir,

    Thank you for your response.

    According to register 0x43 there is no mic detected when the problem occurs.

    I will check with the HW engineer regarding the resistance and get back to you.

    BR,

    Uri Yosef

  • Hi Uri,

    The no microphone detected means that there is an issue with the insertion - if no microphone, there can't be a button. So, maybe there is a short in the mic/button connection or the button was pressed on insertion.