Hello,
I have been working on a portable BT speaker and I'm using TLV320AIC3104 as my audio DSP.
All the other connections seems to be ok but I'm struggling with the jack detection feature in TLV320AIC3104.
In the datasheet, there is a information about headphone, microphone, headset detection through impedance sensing.
But could this also work as a Aux line input?
For my speaker, external audio source will be connected to the speaker by 3 pin Aux plug (L, R, GND) and a 3 pin Aux jack(No jack detection pin) on the PCB.
Can Aux plug also be detected in a same manner as headphones?
I found there is a real time interrupt flag register for a headset detection status, but I wasn't sure if I could program the DSP to do.
Detect aux plug → Change audio receiver path from BT module's I2S to Analog line input
and When aux plug is removed → Change audio receiver path from Analog line input to BT module's I2S.
Can someone help please?