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.

AIC3104 AIC05 headset detection

Other Parts Discussed in Thread: TLV320AIC33, TLV320AIC3101, TLV320AIC3105Hi, I am trying to use the AIC3105 headset detection feature using the AIC3105 EVM. I have been able to get the application note slaa454 Headset Detection for TLV320AIC33 and TLV320AIC3101/4/5/6 Family. I have made the following modification on the AIC3105 EVM : * R5 is removed, and * C19 replaced by R=0 Ohm The codec is controlled by my DSP, and I know that regsiters and I2C config is good since I am able to make a I2S loopback inside the DSP. Nevertheless, I am not able to get any modification on register 14 (polling I2C) when my headeset is plugged into the connector I have designed regarding Application Note. Any idea regarding special configuration I should have set ? I am quite surprised to see that the AIC3105 EVM tool on MS Windows is not able to verify this feature. Thanks. Nicolas
  • Hello Nicolas,

    The headset connector of the EVM has no connection to MICx/LINEx or MICDET pins. It is intended to be used with stereo headphones only. You can try using an external jack and set up the connections as suggested in the application note.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hello Diego, The connector I am using is not the one on the EVM, but another that I have made on my own to get access to MICDET. Below are some questions and mismatch that we have found regarding the following documents: * TLV320AIC3105 (SLAS513C –FEBRUARY 2007–REVISED DECEMBER 2014) and * TLV320AIC33 (SLAS480B–JANUARY 2006–REVISED DECEMBER 2008) Q1------------------------------------------------------------------------------------------------------------- On the AIC33, there are two registers Reg 96 and 97, with flags triggered by interruption configured by Reg 98. (page 18/93: Headphone/headset jack detection with interrupt) On the AIC3105, there are also two registers Reg 96 and 97, whose names are identical with the AIC33 (with the word "Interruption"), except that the flags are not refreshed by interruption, but have to be polled. (page 17/103: Headphone / headset jack detection available as status register bit). We have made several test applying different voltage at MICDET pin (regarding V2 and V1 detection block thresholds), and via polling on Reg 98, we have not been able to get status bits. Q1: Can you confirm that these registers on AIC3105 are used as status register? Q2------------------------------------------------------------------------------------------------------------- With the AIC33, in section "JACK / HEADSET DETECTION" (page 42/93) The registers used for this feature are Page-0/Reg 14, 37, 38, and 13. The type of headset detected can be read back from Page-0/Reg-13 and the registers that control this functionality are in Page-0/Reg-38/Bit-D2-D1 Page 0 / Register 13: Headset / Button Press Detection Register A Page 0 / Register 14: Headset / Button Press Detection Register B Page 0 / Register 37: DAC Power and Output Driver Control Register Page 0 / Register 38: High Power Output Driver Control Register Q2 : Can you explain how to configure these registers ? Q3------------------------------------------------------------------------------------------------------------- With the AIC3105, in section 10.3.10 "Jack and Headset Detection" (page 38/103) “The registers used for this function are page 0, registers 14, 96, 97, and 13. The type of headset detected can be read back from page 0, register 13. ... The registers that control this functionality are in page 0, register 38, bits D2–D1.“ Page 0/Register 13: Reserved Page 0/Register 14: Headset/Button Press Detection Register B Page 0/Register 38: High-Power Output Driver Control Register Page 0/Register 96: Sticky Interrupt Flags Register Page 0/Register 97: Real-Time Interrupt Flags Register Q3: I see a difference between AIC33 and AIC3105 regs definition : why did you use the register 13 since it is reserved ? Q4: Can you confirm that the button can not be used with the AIC3105? In other words, can you explain how to configur AIC3105 regs to help getting the headset detection, and a way to validate that the feature is correctly desgined ? Thanks. Nicolas