Hi all...
Well, on my earlier post (which turned out to be my fault) I've got headset detection working nicely, however we're dealing with a mono handset, and hence the designers have opted for fully-differential audio I/O. So handset earpiece hooks across HPL and HPR, handset microphone hooks across IN3L and IN3R, with DC blocking capacitors in the appropriate places, 1kOhm pull up to MICBIAS on MIC+, and a 1kOhm pull-down to 0V on MIC-.
For the push-button, a resistor is depicted in the example topologies given in page 96 of the TLV320AIC3204 datasheet, however no suggested resistance is given for the resistor in series with the switch. The way I understand it, is that the CODEC is watching for a pull-down on SCLK, a weak-ish pull-down is most likely an electret microphone, and hence that allows the headset detection, a stronger pull-down being the button. What is not discussed in the datasheet, is the maximum recommended resistance between SCLK and 0V when this push button is down, for the CODEC to detect a button-press.
We have a 1kOhm resistor between MIC- and 0V, and the switch connects between MIC+ and MIC- without any series resistance, so effectively it pulls SCLK to 0V via a 1kOhm resistance. Combined with a 1kOhm pull-up on MIC+, the CODEC likely sees a ~0.9V voltage. Is this suitable for detecting a button "press" or does it need to be lower? Or am I completely on the wrong track?
Regards,