Datasheet

g
s
m
Micbias
m
s
g
MICBIAS
HPOUT
VOL/MICDET
Micpga
Hpout
S0403-01
TLV320AIC3120
www.ti.com
SLAS653A FEBRUARY 2010REVISED MAY 2012
Script
# Go to Page 0
w 30 00 00
# DAC => 12 db gain mono
w 30 41 18
# DAC => DRC Enabled, Threshold = -24 db, Hysteresis = 3 dB
w 30 44 7F
# DRC Hold = 0 ms, Rate of Changes of Gain = 0.5 dB/Fs'
w 30 45 00
#Attack Rate = 1.9531e-4 dB/Frame , DRC Decay Rate =2.4414e-5 dB/Frame
w 30 46 B6
# Go to Page 9
w 30 00 09
# DRC HPF
w 30 0E 7F AB 80 55 7F 56
# DRC LPF
W 30 14 00 11 00 11 7F DE
5.6.4.7 Headset Detection
The TLV320AIC3120 includes extensive capability to monitor a headphone, microphone, or headset jack,
to determine if a plug has been inserted into the jack, and then determine what type of
headset/headphone is wired to the plug. The device also includes the capability to detect a button press,
even, for example, when starting calls on mobile phones with headsets. Figure 5-32 shows the circuit
configuration to enable this feature.
Figure 5-32. Jack Connections for Headset Detection
This feature is enabled by programming page 0 / register 67, bit D1. In order to avoid false detections due
to mechanical vibrations in headset jacks or microphone buttons, a debounce function is provided for
glitch rejection. For the case of headset insertion, a debounce function with a range of 32 ms to 512 ms is
provided. This can be programmed via page 0 / register 67, bits D4–D2. For improved button-press
detection, the debounce function has a range of 8 ms to 32 ms by programming page 0 / register 67, bits
D1–D0.
The TLV320AIC3120 also provides feedback to the user when a button press or a headset
insertion/removal event is detected through register-readable flags or through an interrupt on the I/O pins.
The value in page 0 / register 46, bits D5–D4 provides the instantaneous state of button press and
headset insertion. Page 0 / register 44, bit D5 is a sticky (latched) flag that is set when the button-press
event is detected. Page 0 / register 44, bit D4 is a sticky flag which is set when the headset insertion or
Copyright © 2010–2012, Texas Instruments Incorporated APPLICATION INFORMATION 55
Submit Documentation Feedback
Product Folder Link(s): TLV320AIC3120