Other Parts Discussed in Thread: TLV320AIC3254
Hi all,
I try to use Headset Detection on TLV320AIC. Following document, I configure: GPIO is INT1, INT1 for Headset Insertion Event. Below is my setting:
# Select Page 1
i2cset -y -f 2 0x18 0x00 0x01
#
# Disable weak AVDD in presence of external
# AVDD supply
i2cset -y -f 2 0x18 0x01 0x00
#
# Enable Master Analog Power Control
i2cset -y -f 2 0x18 0x02 0x00
# Select Page 0
i2cset -y -f 2 0x18 0x00 0x00
#
# Set GPIO as INT1
i2cset -y -f 2 0x18 0x34 0x15
#
# Set INT1 Interrupt for Headset Insertion Event
i2cset -y -f 2 0x18 0x30 0x81
#
# Headset Detection Enabled
i2cset -y -f 2 0x18 0x43 0x80
Then I plug/remove headphone into J9 (Headphone Output) but It doesn't have any pulse. Maybe I made some mistakes. Pleae help me to review and give me some advise.
Thanks and Best Regards,
Hiep Nguyen