Max9867 ultra-low power stereo audio codec, Table 2. status registers – Rainbow Electronics MAX9867 User Manual
Page 23

Device Status
Status registers 0x00 and 0x01 are read-only registers
that report the status of various device functions. The
status register bits are cleared upon reading the status
register and are set the next time the event occurs.
Registers 0x02 and 0x03 report the DC level applied to
AUX. See the
ADC
section for more details and Table 2.
MAX9867
Ultra-Low Power Stereo Audio Codec
______________________________________________________________________________________
23
REGISTER
B7
B6
B5
B4
B3
B2
B1
B0
REGISTER
ADDRESS
Status (Read Only)
CLD
SLD
ULK
0
0
0
JDET
0
0x00
Jack S ense ( Read O nl y) LSNS
JKSNS
JKMIC
0
0
0
0
0
0x01
AUX High (Read Only)
AUX[15:8]
0x02
AUX Low (Read Only)
AUX[7:0]
0x03
BITS
FUNCTION
CLD
Clip Detect Flag
Indicates that a signal has reached or exceeded full scale in the ADC or DAC.
SLD
Slew Level Detect Flag
When volume or gain changes are made, the slewing circuitry smoothly steps through all intermediate
settings. When SLD is set high, all slewing has completed and the volume or gain is at its final value. SLD
is also set when soft-start or stop is complete.
ULK
Digital PLL Unlock Flag
Indicates that the digital audio PLL has become unlocked and digital signal data is not reliable.
JDET
Headset Configuration Change Flag
JDET is set whenever there is a change in register 0x01, indicating that the headset configuration has
changed.
LSNS
LOUTP State (Valid if
SHDN = 0, JDETEN = 1)
LSNS is set when the voltage at LOUTP exceeds AVDD - 0.4V. An internal pullup from AVDD to LOUTP
causes this condition whenever there is no load on LOUTP. LSNS is only valid in differential and
capacitorless output modes.
JKSNS
JACKSNS State (Valid if JDETEN = 1)
JKSNS is set when the voltage at JACKSNS exceeds AVDD - 0.4V. An internal pullup from AVDD to
JACKSNS causes this condition whenever there is no load on JACKSNS.
JKMIC
Microphone Detection (Valid if PALEN or PAREN
≠ 00 and JDETEN = 1)
JKMIC is set when JACKSNS exceeds 0.95 x V
MICBIAS
.
AUX
Auxiliary Input Measurement
AUX is a 16-bit signed two’s complement number representing the voltage measured at JACKSNS/AUX.
Before reading a value from AUX, set AUXCAP to 1 to ensure a stable reading. After reading the value,
set AUXCAP to 0.
Use the following formula to convert the AUX value into an equivalent JACKSNS/AUX voltage:
K = AUX value when AUXGAIN = 1. See the ADC section for complete details.
Table 2. Status Registers
Voltage
V
AUX
K
=
Ч ⎛
⎝⎜
⎞
⎠⎟
0 738
.