Jack detection, Jack detection and removal – Rainbow Electronics MAX98088 User Manual
Page 109
Stereo Audio Codec
with FLEXSOUND Technology
MAX98088
109
Jack Detection
The IC features jack detection that can detect the inser-
tion and removal of a jack as well as the load type. When
a jack is detected, an interrupt on IRQ can be triggered
to alert the microcontroller of the event. Figure 32 shows
the typical configuration for jack detection.
Jack Detection and Removal
When the IC is in normal operation and the MICBIAS is
enabled, jack insertion and removal can be detected
through JACKSNS. To detect a jack insertion and
removal, the ICs must be powered on and MICBIAS
enabled. Set JDETEN, MBEN, BIASEN, and VCMEN bits
to enable jack detection circuitry. JACKSNS is pulled up
by MICBIAS as long as no load is applied to JACKSNS.
Table 31 shows the change in JKSNS that occurs when
a jack is inserted and removed.
Figure 32. Typical Configuration for Jack Detection
Table 31. Change in JKSNS Upon Jack Insertion
Table 32. Change in JKSNS Upon Jack Removal
JACK TYPE
MBEN = 1, BIASEN = 1, VCMEN = 1
JKSNS: 1 è 0
JKSNS: 1 è 0
JACK TYPE
MBEN = 1, BIASEN = 1, VCMEN = 1
JKSNS: 0 è 1
JKSNS: 0 è 1
HPL
MICBIAS
JACKSNS
MIC1P
HPR
GND
GND
R
L
MIC
GND
R
L
GND
GND
R
L
MIC
GND
R
L