Hi Ti experts
Can you please tell me how to sense the headphones to control loudspeaker and auxiliary output in LM49350.
Is the GPIO in LM49350 can be used for headphone detection or external amplifier shutdown control??
Thanks in advance
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.
Hi Ti experts
Can you please tell me how to sense the headphones to control loudspeaker and auxiliary output in LM49350.
Is the GPIO in LM49350 can be used for headphone detection or external amplifier shutdown control??
Thanks in advance
Sakthiyanandan,
The GPIO can be set to control the HP_ENB using bits 3:0 of register 0xE0. depending on how you have the GPIO set up, you can set bits 3:0 to either 0011 or 0100.
To control the amplifier just add a buffer to the HP detect circuit like in the image below:
The buffer could be inserting or non-inverting, it just depends on the amplifier enable, the HP enable can be set as described above.
Alternately a better way to do it would be to monitor the State of the GPIO can be polled, and an external processor can enable/disable the amplifier. I say this is likely better as it is possible that when the HP plug is removed that there would be a brief moment where the input to the buffer would be negative and the buffer would need to be able to handle that.
best regards,
-Steve Wilson