With the latest generation of headphones having removable cords it is possible to remove headphones from a mobile device while leaving the cord in the mobile device. Normally these cables have a mic embedded in the cord which is used to detect whether headphones are present. A switched jack is used to detect the presence of headphones while detection circuitry determines whether they are stereo/mono and with/without microphone.
My question is, is there a way to detect the presence of the headphones being removed from their cord while the cord is still connected to a mobile device? I saw in one app note from Maxim that they use "an inaudible AC waveform output on the jack pins to sense when a load is plugged in" on their MAX97236 (datasheet, pg.13), but that is the only bit of evidence I have to go off of.
I am currently using TI's TPA6132A2 headphone driver and I'd like to implement this headphone detection feature. Thanks in Advance!
-Drew F.