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.

TPA6166A2: Need Assert TPA6166 IRQ# on Headsets Insertion and Latch But Masked Headphones

Part Number: TPA6166A2

Hi Sirs,

As title, would you pls advise CFG to bring up the TPA6166 to assert IRQ# on headsets insertion event but masked headphones event as the chart below?




With Current configuration (0x04=0x0c). I got IRQ# pulses (status changes and status reads) on both of headsets and headphones insertion and removal events.
How can we keep the IRQ# asserted when a mic was inserted, keeps IRQ# asserted, and de-asserts IRQ# when a mic was removed?   



------------------------------------------------------------------------
#op i2c Addr Data Comment
w 80 1E 19 #Enable Registers 3
w 80 04 0C #Interrupt Mask Register 1
w 80 05 F4 #Interrupt Mask Register 2
w 80 07 B9 #Left Headphone Volume Register
w 80 08 79 #Right Headphone Volume Register
w 80 09 47 #Microphone/Ground Control
w 80 1A 95 #Jack Detect AC Test Settings
w 80 1E 01 #semi auto mode
w 80 1D 80 #Enable Registers 2
------------------------------------------------------------------------

Thank you and Best regards,

Wayne Chen
12/10/2020