Professional Documents
Culture Documents
MAX9867
The MAX9867 is an ultra-low power stereo audio codec o 1.8V Single-Supply Operation
designed for portable consumer devices such as o 6.7mW Playback Power Consumption
mobile phones and portable gaming consoles.
o 90dB Stereo DAC, 8kHz ≤ fS ≤ 48kHz
The device features stereo differential microphone inputs
that can be connected to either analog or digital micro- o 85dB Stereo ADC, 8kHz ≤ fS ≤ 48kHz
phones. The single-ended line inputs, with configurable o Battery-Measurement Auxiliary ADC
preamplifier, can be sent to the ADC for record or routed o Support for Any Master Clock Between 10MHz to
directly to the headphone amplifier for playback. An aux- 60MHz
iliary ADC path can be used to track any DC voltage.
o Stereo Digital Microphone Input Support
The stereo headphone amplifiers support differential,
single-ended, and capacitorless output configurations. o Stereo Analog Differential Microphone Inputs
Using the capacitorless output configuration, the o Stereo Headphone Amplifiers: Differential,
device can output 10mW into 32Ω headphones. Single-Ended, or Capacitorless
Comprehensive click-and-pop circuitry suppresses o Stereo Line Inputs
audible clicks and pops during volume changes and
startup or shutdown. o Voiceband Filter with a Stopband Attenuation
Greater than 70dB
Utilizing Maxim’s proprietary digital circuitry, the device
can accept any available 10MHz to 60MHz system o 1.65V to 3.6V Digital Interface Supply Voltage
clock. This architecture eliminates the need for an o I2S/TDM-Compatible Digital Audio Bus
external PLL and multiple crystal oscillators. The stereo o 30-Bump, 2.2mm x 2.7mm 0.4mm-Pitch WLP
ADC and DAC paths provide user-configurable voice-
band or audioband digital filters. Voiceband filters pro- Applications
vide extra attenuation at the GSM packet frequency Cell Phones
and greater than 70dB stopband attenuation at fS/2. Portable Gaming Devices
The MAX9867 operates from a single 1.8V supply, and Portable Navigation Devices
supports a 1.65V to 3.6V logic level. An I2C 2-wire seri- Portable Multimedia Players
al interface provides control for volume levels, signal Wireless Headsets
mixing, and general operating modes.
The MAX9867 is available in a tiny 2.2mm x 2.7mm,
Ordering Information
0.4mm-ball-pitch, WLP package. A 32-pin 5mm x 5mm PART TEMP RANGE PIN-PACKAGE
TQFN package is also available. MAX9867EWV+ -40°C to +85°C 30 WLP
MAX9867ETJ+ -40°C to +85°C 32 TQFN-EP*
+Denotes lead(Pb)-free/RoHS-compliant package.
*EP = Exposed pad.
Simplified Block Diagram
I2S/PCM I2C
MAX9867
DIGITAL MICROPHONE
MIX ADC DAC
INTERFACE HEADPHONE
AUDIO DIGITAL
AMP
FILTERS
ADC DAC
RIGHT MIC AMP MIX
LEFT PREAMP
LINEIN 1
RIGHT PREAMP HEADPHONE
LINEIN 2 AMP
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Ultra-Low Power Stereo Audio Codec
ABSOLUTE MAXIMUM RATINGS
MAX9867
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
2 _______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
_______________________________________________________________________________________ 3
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
DVFLT = 0x1
0.0139
(elliptical tuned for 16kHz GSM + 217Hz
x fS
notch)
4 _______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
Total Harmonic Distortion THD f = 1kHz, fS = 8kHz, TA = +25°C, 0dBFS -81 -70 dB
ADC Level Adjust Range AVADC AVL/AVR = 0xF to 0x0 -12 +3 dB
VAVDD = 1.65V to 1.95V, input referred 60 85
f = 217Hz, VRIPPLE = 100mV, AVADC = 0dB,
85
input referred
Power-Supply Rejection Ratio PSRR f = 1kHz, VRIPPLE = 100mV, AVADC = 0dB, dB
80
input referred
f = 10kHz, VRIPPLE = 100mV, AVADC = 0dB,
80
input referred
ADC VOICE MODE DIGITAL IIR LOWPASS FILTER
With respect to fS within ripple; 0.445 x
fS = 8kHz to 48kHz fS
Passband Cutoff fPLP Hz
0.449 x
-3dB cutoff
fS
Passband Ripple f < fPLP ±0.1 dB
0.469 x
Stopband Cutoff fSLP With respect to fS; fS = 8kHz to 48kHz Hz
fS
Stopband Attenuation f > fSLP, f = 20Hz to 20kHz 74 dB
_______________________________________________________________________________________ 5
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
AVFLT = 0x1
0.0139
(elliptical tuned for 16kHz GSM + 217Hz
x fS
notch)
6 _______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
_______________________________________________________________________________________ 7
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
(LOUTP–LOUTN,
AVVOL = -84dB
ROUTP–ROUTN), ±0.2
differential mode
TA = +25°C
Output Offset Voltage VOS mV
AVVOL = -84dB (LOUTP–LOUTN,
capacitorless ROUTP–LOUTN), ±0.8
mode TA = +25°C
Differential mode, POUT = 5mW, f = 1kHz 87
Capacitorless TQFN 55
Crosstalk XTALK mode, dB
POUT = 5mW,
WLP 60
f = 1kHz
No sustained RL = 32Ω 500
Capacitive Drive pF
oscillations RL = ∞ 100
Peak voltage, Into shutdown -80
Click-and-Pop Level
A-weighted, 32
(Differential, Capacitorless dBV
samples per
Modes) Out of shutdown -69
second
Peak voltage, Into shutdown -75
Click-and-Pop Level A-weighted, 32
dBV
(SE Mode) samples per
Out of shutdown -75
second
MICROPHONE AMPLIFIER
PALEN/PAREN = 01 -0.5 0 +0.5
Preamplifier Gain AVPRE PALEN/PAREN = 10 19.5 20 20.5 dB
PALEN/PAREN = 11 29.5 30 30.5
PGAML/PGAMR = 0x1F -0.6 -0.1 +0.4
MIC PGA Gain AVPGAM dB
PGAML/PGAMR = 0x00 19.3 19.75 20.3
Common-Mode Rejection Ratio CMRR VIN = 100mVP-P, f = 217Hz 50 dB
MIC Input Resistance RIN_MIC All gain settings 30 50 kΩ
8 _______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
_______________________________________________________________________________________ 9
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
10 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
______________________________________________________________________________________ 11
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
MAX9867
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = ∞, headphone load (RL) connected between _OUTP and _OUTN in differential
mode, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL =
0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 2)
Note 2: The MAX9867 is 100% production tested at TA = +25°C. Specifications over temperature limits are guaranteed by design.
Note 3: Clocking all zeros into the DAC, master mode, and differential headphone mode.
Note 4: DAC performance measured at the headphone outputs.
Note 5: Dynamic range measured using the EIAJ method. -60dBFS 1kHz output signal, A-weighted, and normalized to 0dBFS.
f = 20Hz to 20kHz.
Note 6: Performance measured using microphone inputs, unless otherwise stated.
Note 7: Performance measured using line inputs.
Note 8: Performance measured using DAC, unless otherwise stated. LRCLK = 8kHz, unless otherwise stated.
Note 9: In master-mode operation, the accuracy of the MCLK input proportionally determines the accuracy of the sample clock rate.
Note 10: CB is in pF.
12 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics
MAX9867
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK =
8kHz, BW = 20Hz to fS/2, TA = +25°C, unless otherwise noted.)
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE
vs. POWER OUT (DAC TO HEADPHONE) vs. POWER OUT (DAC TO HEADPHONE) vs. POWER OUT (DAC TO HEADPHONE)
0 0 0
MAX9867 toc01
MAX9867 toc02
MAX9867 toc03
MCLK = 13MHz MCLK = 13MHz MCLK = 12.288MHz
-10 LRCLK = 8kHz -10 LRCLK = 8kHz -10 LRCLK = 48kHz
RLOAD = 32Ω RLOAD = 16Ω RLOAD = 32Ω
-20 DIFFERENTIAL MODE -20 DIFFERENTIAL MODE -20 DIFFERENTIAL MODE
-30 -30 -30
THD+N (dB)
THD+N (dB)
THD+N (dB)
-40 -40 -40
-50 -50 -50
3kHz 3kHz
-60 1kHz -60 1kHz -60 6kHz 1kHz
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE
vs. POWER OUT (DAC TO HEADPHONE) vs. FREQUENCY (DAC TO HEADPHONE) vs. FREQUENCY (DAC TO HEADPHONE)
0 0 0
MAX9867 toc04
MAX9867 toc05
MAX9867 toc06
MCLK = 12.288MHz MCLK = 13MHz MCLK = 13MHz
-10 LRCLK = 48kHz -10 LRCLK = 8kHz -10 LRCLK = 8kHz
RLOAD = 16Ω RLOAD = 32Ω RLOAD = 16Ω
-20 DIFFERENTIAL MODE -20 DIFFERENTIAL MODE -20 DIFFERENTIAL MODE
-30 -30 -30
THD+N (dB)
THD+N (%)
THD+N (%)
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE
vs. FREQUENCY (DAC TO HEADPHONE) vs. FREQUENCY (DAC TO HEADPHONE) vs. POWER OUT (DAC TO HEADPHONE)
0 0 0
MAX9867 toc07
MAX9867 toc08
MAX9867 toc09
THD+N (%)
______________________________________________________________________________________ 13
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
MAX9867
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK =
8kHz, BW = 20Hz to fS/2, TA = +25°C, unless otherwise noted.)
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE
vs. POWER OUT (DAC TO HEADPHONE) vs. FREQUENCY (DAC TO HEADPHONE) vs. FREQUENCY (DAC TO HEADPHONE)
0 0 0
MAX9867 toc10
MAX9867 toc11
MAX9867 toc12
MCLK = 12.288MHz MCLK = 13MHz MCLK = 12.288MHz
-10 LRCLK = 48kHz -10 LRCLK = 8kHz -10 LRCLK = 48kHz
RLOAD = 32Ω RLOAD = 32Ω RLOAD = 32Ω
-20 CAPACITORLESS MODE -20 CAPACITORLESS MODE -20 CAPACITORLESS MODE
-30 -30 -30
THD+N (dB)
THD+N (%)
THD+N (%)
-40 -40 -40
-50 6kHz -50 -50
1mW
-60 1kHz -60 1mW -60
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE
vs. POWER OUT (DAC TO HEADPHONE) vs. POWER OUT (DAC TO HEADPHONE) vs. FREQUENCY (DAC TO HEADPHONE)
0 0 0
MAX9867 toc13
MAX9867 toc14
MAX9867 toc15
MCLK = 13MHz MCLK = 12.288MHz MCLK = 13MHz
-10 LRCLK = 8kHz -10 LRCLK = 48kHz -10 LRCLK = 8kHz
RLOAD = 32Ω, COUT = 220µF RLOAD = 32Ω, COUT = 220µF RLOAD = 32Ω, COUT = 220µF
-20 SINGLE-ENDED MODE -20 SINGLE-ENDED MODE -20 SINGLE-ENDED MODE
-30 -30 -30 POUT SPECIFIED AT 1kHz
THD+N (dB)
THD+N (dB)
THD+N (%)
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE
vs. FREQUENCY (DAC TO HEADPHONE) vs. POWER OUT (LINE IN TO HEADPHONE) vs. POWER OUT (LINE IN TO HEADPHONE)
0 0 0
MAX9867 toc16
MAX9867 toc17
MAX9867 toc18
THD+N (dB)
THD+N (%)
-40 -40
-40
-50 -50
1mW -50
-60 -60
20Hz 6kHz
-60
-70 1kHz -70 20Hz
-80 -70 -80
5mW 6kHz 1kHz
-90 -80 -90
10 100 1000 10,000 100,000 0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40
FREQUENCY (Hz) POWER OUT (mW) POWER OUT (mW)
14 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
MAX9867
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK =
8kHz, BW = 20Hz to fS/2, TA = +25°C, unless otherwise noted.)
MAX9867 toc21
MAX9867 toc19
MAX9867 toc20
LINE IN PREAMP = +18dB LINE IN PREAMP = 0dB MCLK = 12.288MHz
-10 RLOAD = 32Ω -10 RLOAD = 32Ω LRCLK = 48kHz
DIFFERENTIAL MODE DIFFERENTIAL MODE 50 THD+N = < 0.1%
-20 -20 DIFFERENTIAL MODE
THD+N (dB)
-40 -40
30
-50 5mW -50
-60 -60 20
5mW
-70 -70
10
-80 -80
20mW
20mW
-90 -90 0
10 100 1000 10,000 100,000 10 100 1000 10,000 100,000 1 10 100 1000
FREQUENCY (Hz) FREQUENCY (Hz) HEADPHONE LOAD (Ω)
MAX9867 toc24
MAX9867 toc22
MAX9867 toc23
20 -30
THD+N (%)
15
-40
15
-50
10
10 -60
-70
5
5
-80
0 0 -90
1 10 100 1000 1 10 100 1000 10 100 1000 10,000
HEADPHONE LOAD (Ω) HEADPHONE LOAD (Ω) FREQUENCY (Hz)
TOTAL HARMONIC DISTORTION + NOISE TOTAL HARMONIC DISTORTION + NOISE POWER-SUPPLY REJECTION RATIO
vs. FREQUENCY (MICROPHONE TO ADC) vs. FREQUENCY (MICROPHONE TO ADC) vs. FREQUENCY (DAC TO HEADPHONE)
0 0 0
MAX9867 toc25
MAX9867 toc26
MAX9867 toc27
THD+N (%)
PSRR (dB)
______________________________________________________________________________________ 15
Ultra-Low Power Stereo Audio Codec
MAX9867
MAX9867 toc29
MAX9867 toc30
VRIPPLE = 100mVP-P VRIPPLE = 100mVP-P FREQ = 0xA
-10 MCLK = 13MHz -10 0
LRCLK = 8kHz
-20 -20
-20
-30 -30
AMPLITUDE (dB)
-40
PSRR (dB)
PSRR (dB)
-40 -40
-60
-50 -50
-80
-60 -60
-100
-70 -70
-80 -80 -120
MAX9867 toc32
MAX9867 toc33
FREQ = 0xA NI = 6000 NI = 6000
0 0 0
AMPLITUDE (dB)
AMPLITUDE (dB)
MAX9867 toc35
MAX9867 toc36
AMPLITUDE (dB)
AMPLITUDE (dB)
16 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
MAX9867
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK =
8kHz, BW = 20Hz to fS/2, TA = +25°C, unless otherwise noted.)
FFT, DAC TO HEADPHONE, -60dBFS, FFT, MICROPHONE TO ADC, FFT, MICROPHONE TO ADC,
MCLK = 13MHz, LRCLK = 44.1kHz 0dBFS, MCLK = 13MHz, LRCLK = 8kHz -60dBFS, MCLK = 13MHz, LRCLK = 8kHz
20 20 20
MAX9867 toc37
MAX9867 toc38
MAX9867 toc39
PLL MODE FREQ = 0xA FREQ = 0xA
0 0 0
AMPLITUDE (dB)
AMPLITUDE (dB)
-40 -40 -40
MAX9867 toc41
MAX9867 toc42
NI = 6000 NI = 6000 PLL MODE
0 0 0
AMPLITUDE (dB)
AMPLITUDE (dB)
FFT, MICROPHONE TO ADC, WIDEBAND FFT, DAC TO HEADPHONE, WIDEBAND FFT, DAC TO HEADPHONE,
-60dBFS, MCLK = 13MHz, LRCLK = 48kHz 0dBFS, MCLK = 13MHz, LRCLK = 8kHz -60dBFS, MCLK = 13MHz, LRCLK = 8kHz
20 0 20
MAX9867 toc43
MAX9867 toc44
MAX9867 toc45
-20 -20
-40
AMPLITUDE (dB)
AMPLITUDE (dB)
AMPLITUDE (dB)
-40 -40
-60
-60 -60
-80
-80 -80
-100
-100 -100
______________________________________________________________________________________ 17
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
MAX9867
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK =
8kHz, BW = 20Hz to fS/2, TA = +25°C, unless otherwise noted.)
DAC IIR HIGHPASS FILTER DAC IIR HIGHPASS FILTER DAC IIR/FIR LOWPASS FILTER
FREQUENCY RESPONSE, MODE = 0 FREQUENCY RESPONSE, MODE = 0 FREQUENCY RESPONSE (8kHz)
20 20 20
MAX9867 toc46
MAX9867 toc47
MAX9867 toc48
DVFLT = 0 LRCLK = 8kHz AVFLT = 0 LRCLK = 8kHz
MODE = 0 10 MODE = 1
0 0
0
DVFLT = 3 AVFLT = 3
-10
-20 -20
AMPLITUDE (dB)
AMPLITUDE (dB)
AMPLITUDE (dB)
-20 MODE = 0
-40 -40 -30
-40
-60 -60
-50
DVFLT = 4 AVFLT = 4
-60
-80 -80
-70
-100 -100 -80
20 120 220 320 420 520 20 120 220 320 420 520 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0
FREQUENCY (Hz) FREQUENCY (Hz) FREQUENCY (kHz)
MAX9867 toc50
MODE = 1
SCL (2V/div)
10
-20
AMPLITUDE (dB)
MODE = 0
-40
LOUTP (500mV/div)
-60
-80
-100
3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 TIME (4ms/div)
FREQUENCY (kHz)
MAX9867 toc52
SCL (2V/div)
SCL (2V/div)
LOUTP (500mV/div)
LOUTP (500mV/div)
18 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
MAX9867
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2µF, CMICBIAS = CPREG = CREG = 1µF, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK =
8kHz, BW = 20Hz to fS/2, TA = +25°C, unless otherwise noted.)
MAX9867 toc53
MAX9867 toc54
SCL (2V/div)
SCL (2V/div)
ADC OUT (500mV/div)
LOUTP (500mV/div)
MAX9867 toc56
LRCLK = 48kHz VIN = -60dBFS
-10 PLL MODE LRCLK = 48kHz
-20 110 PLL MODE
A-WEIGHTED
DYNAMIC RANGE (dB)
-30
100
THD+N (dB)
-40
-50 90
-60
-70 80
-80
70
-90
-100 60
10 15 20 25 30 35 40 45 50 55 60 10 100
MCLK FREQUENCY (MHz) MCLK FREQUENCY (MHz)
LINE INPUT RESISTANCE vs. GAIN SETTING AUX CODE vs. INPUT VOLTAGE
270 30,000
MAX9867 toc57
MAX9867 toc58
25,000
220
AUX CODE (SIGNED DECIMAL)
INPUT RESISTANCE (kΩ)
20,000
170
15,000
120 10,000
5000
70
0
20 -5000
-6 -1 4 9 14 19 24 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1.0 1.2
GAIN SETTING (dB) INPUT VOLTAGE (V)
______________________________________________________________________________________ 19
Ultra-Low Power Stereo Audio Codec
Pin Description
MAX9867
PIN/BUMP
NAME FUNCTION
TQFN-EP WLP
1 A2 DGND Digital Ground
2 B3 SCL I2C Serial-Clock Input. Connect a pullup resistor to a 1.7V to 3.3V supply.
3 A3 SDA I2C Serial-Data Input/Output. Connect a pullup resistor to a 1.7V to 3.3V supply.
Hardware Interrupt Output. IRQ can be programmed to pull low when bits in
status register 0x00 are set. Read status register 0x00 to clear IRQ once set.
4 C3 IRQ
Repeat faults have no effect on IRQ until it is cleared by reading register 0x00.
Connect a 10kΩ pullup resistor to a 1.7V to 3.3V supply.
5 A4 AVDD Analog Power Supply. Bypass to AGND with a 1µF capacitor.
6 B4 REF Converter Reference. Bypass to AGND with a 2.2µF capacitor (1.23V nominal).
Positive Internal Regulated Supply. Bypass to AGND with a 1µF capacitor (1.6V
7 A5 PREG
nominal).
8 B5 REG PREG/2 Voltage Reference. Bypass to AGND with a 1µF capacitor (0.8V nominal).
9 A6 AGND Analog Ground
Low-Noise Microphone Bias. Connect a 2.2kΩ to 470Ω resistor to the positive
10 B6 MICBIAS
output of a microphone (1.525V nominal). Bypass to AGND with a 1µF capacitor.
Left Negative Differential Microphone Input or Digital Microphone Clock Output.
MICLN/ For analog microphones, AC-couple to the negative output of a microphone with a
11 C5
DIGMICCLK 1µF capacitor. For digital microphones, connect to the clock input of the
microphone.
Left Positive Differential Microphone Input or Digital Microphone Data Input. For
MICLP/ analog microphones, AC-couple to the positive output of a microphone with a 1µF
12 C6
DIGMICDATA capacitor. For digital microphones, connect to the data output of the
microphone(s). Up to two digital microphones can be connected.
Right Positive Differential Microphone Input. AC-couple to the positive output of a
13 C4 MICRP
microphone with a 1µF capacitor.
Right Negative Differential Microphone Input. AC-couple to the negative output of
14 D6 MICRN
a microphone with a 1µF capacitor.
15 D5 LINL Left-Line Input. AC-couple analog audio signal to LINL with a 1µF capacitor.
16 E6 LINR Right-Line Input. AC-couple analog audio signal to LINR with a 1µF capacitor.
Jack Sense or Auxiliary ADC Input. When configured for jack detection, JACKSNS
detects the presence or absence of a jack. See the Mode Configuration section
17 D4 JACKSNS/AUX
for details. When configured as an auxiliary ADC input, AUX is used to measure
DC voltages.
18 E5 PGND Headphone Power Ground
Positive Right-Channel Headphone Output. Connect directly to the load in
19 D3 ROUTP
differential and capacitorless mode. AC-couple to the load in single-ended mode.
20 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Pin Description (continued)
MAX9867
PIN/BUMP
NAME FUNCTION
TQFN-EP WLP
Positive Left-Channel Headphone Output. Connect directly to the load in
22 E3 LOUTP
differential and capacitorless mode. AC-couple to the load in single-ended mode.
23 E2 PVDD Headphone Power Supply. Bypass to PGND with a 1µF capacitor.
24, 25 — N.C. No Connection
26 E1 DVDDIO Digital Audio Interface Power Supply. Bypass to DGND with a 1µF capacitor.
27 D1 SDOUT Digital Audio Serial-Data ADC Output
28 C2 SDIN Digital Audio Serial-Data DAC Input
Digital Audio Left-Right Clock Input/Output. LRCLK is the audio sample rate clock
and determines whether the audio data on SDIN is routed to the left or right
29 C1 LRCLK
channel. In TDM mode, LRCLK is a frame synchronization pulse. LRCLK is an
input when the MAX9867 is in slave mode and an output when in master mode.
Digital Audio Bit Clock Input/Output. BCLK is an input when the MAX9867 is in
30 B1 BCLK
slave mode and an output when in master mode.
31 B2 MCLK Master Clock Input. Acceptable input frequency range: 10MHz to 60MHz.
Digital Power Supply. Supply for the digital circuitry and I2C interface. Bypass to
32 A1 DVDD
DGND with a 1µF capacitor.
— — EP Exposed Pad. Connect the exposed thermal pad to AGND.
______________________________________________________________________________________ 21
Ultra-Low Power Stereo Audio Codec
MAX9867
22 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Device Status register and are set the next time the event occurs.
MAX9867
Status registers 0x00 and 0x01 are read-only registers Registers 0x02 and 0x03 report the DC level applied to
that report the status of various device functions. The AUX. See the ADC section for more details and Table 2.
status register bits are cleared upon reading the status
BITS FUNCTION
Clip Detect Flag
CLD
Indicates that a signal has reached or exceeded full scale in the ADC or DAC.
Slew Level Detect Flag
When volume or gain changes are made, the slewing circuitry smoothly steps through all intermediate
SLD
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.
Digital PLL Unlock Flag
ULK
Indicates that the digital audio PLL has become unlocked and digital signal data is not reliable.
Headset Configuration Change Flag
JDET JDET is set whenever there is a change in register 0x01, indicating that the headset configuration has
changed.
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
LSNS
causes this condition whenever there is no load on LOUTP. LSNS is only valid in differential and
capacitorless output modes.
JACKSNS State (Valid if JDETEN = 1)
JKSNS 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.
Microphone Detection (Valid if PALEN or PAREN ≠ 00 and JDETEN = 1)
JKMIC
JKMIC is set when JACKSNS exceeds 0.95 x VMICBIAS.
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.
AUX Use the following formula to convert the AUX value into an equivalent JACKSNS/AUX voltage:
⎛ AUX ⎞
Voltage = 0.738V × ⎜
⎝ k ⎟⎠
k = AUX value when AUXGAIN = 1. See the ADC section for complete details.
______________________________________________________________________________________ 23
Ultra-Low Power Stereo Audio Codec
Hardware Interrupts accommodate a wide range of system architectures,
MAX9867
Hardware interrupts are reported on the open-drain IRQ the MAX9867 supports three main clocking modes:
pin. When an interrupt occurs, IRQ remains low until the • Normal: This mode uses a 15-bit clock divider coeffi-
interrupt is serviced by reading the status register 0x00. cient to set the sample rate relative to the prescaled
If a flag is set, it is reported as a hardware interrupt only MCLK input (PCLK). This allows high flexibility in both
if the corresponding interrupt enable is set. Each bit the MCLK and LRCLK frequencies and can be used
enables interrupts for the status flag in the respective in either master or slave mode.
bit location in register 0x00. See Table 3.
• Exact Integer: In both master and slave mode, com-
SDODLY is used to control the SDOUT timing. See the mon MCLK frequencies (12MHz, 13MHz, 16MHz,
Digital Audio Interface section for a detailed description. and 19.2MHz) can be programmed to operate in
Clock Control exact integer mode for both 8kHz and 16kHz sample
The MAX9867 can work with a master clock (MCLK) rates. In these modes, the MCLK and LRCLK rates
supplied from any system clock within the 10MHz-to- are selected by using the FREQ bits instead of the NI
60MHz range. Internally, the MAX9867 requires a and PLL control bits.
10MHz-to-20MHz clock. A prescaler divides MCLK by • PLL: When operating in slave mode, a PLL can be
1, 2, or 4 to create the internal clock (PCLK). PCLK is enabled to lock onto externally generated LRCLK
used to clock all portions of the MAX9867. See Table 4. signals that are not integer related to PCLK. Prior to
The MAX9867 is capable of supporting any sample rate enabling the interface, program NI to the nearest
from 8kHz to 48kHz, including all common sample rates desired ratio and set the NI[0] = 1 to enable the
(8kHz, 16kHz, 24kHz, 32kHz, 44.1kHz, and 48kHz). To PLL’s rapid lock mode. If NI[0] = 0, then NI is ignored
and PLL lock time is slower.
Table 3. Interrupt Register
REGISTER
REGISTER B7 B6 B5 B4 B3 B2 B1 B0
ADDRESS
Interrupt Enable ICLD ISLD IULK 0 0 SDODLY IJDET 0 0x04
BITS FUNCTION
MCLK Prescaler
Divides MCLK to generate a PCLK between 10MHz and 20MHz.
00 = Disable clock for low-power shutdown.
PSCLK
01 = Select if MCLK is between 10MHz and 20MHz.
10 = Select if MCLK is between 20MHz and 40MHz.
11 = Select if MCLK is between 40MHz and 60MHz.
24 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
Table 4. Clock Control Registers (continued)
BITS FUNCTION
Exact Integer Modes
Allows integer sampling for specific PCLK (prescaled MCLK) frequencies and 8kHz or 16kHz sample rates.
FREQ[3:0] PCLK (MHz) LRCLK (kHz) PCLK/LRCLK
0x00 Normal or PLL mode
0x1–0x7 Reserved Reserved Reserved
0x8 12 8 1500
0x9 12 16 750
FREQ 0xA 13 8 1625
0xB 13 16 812.5
0xC 16 8 2000
0xD 16 16 1000
0xE 19.2 8 2400
0xF 19.2 16 1200
Modes 0x8–0xF are available in either master or slave mode. In slave mode, if the indicated PCLK/LRCLK ratio
cannot be guaranteed, use PLL mode instead.
PLL Mode Enable
0 = Valid for slave and master mode. The frequency of LRCLK is set by the NI divider bits. In master mode, the
MAX9867 generates LRCLK using the specified divide ratio. In slave mode, the MAX9867 expects an
LRCLK as specified by the divide ratio.
PLL
1 = Valid for slave mode only. A digital PLL locks on to any externally supplied LRCLK signal.
NI = (65536 x 96 x fLRCLK)/fPCLK
NI
fLRCLK = LRCLK frequency
fPCLK = Prescaled MCLK internal clock frequency (PCLK)
LRCLK > 24kHz is only valid for MODE = 0 (stereo audio mode). MODE = 1 (voice mode) requires LRCLK ≤
24kHz.
______________________________________________________________________________________ 25
Ultra-Low Power Stereo Audio Codec
Digital Audio Interface mode, BCLK can be configured in a number of ways to
MAX9867
The MAX9867’s digital audio interface supports a wide ensure compatiblity with other audio devices.
range of operating modes to ensure maximum compati- LVOLFIX is used to fix the line input playback volume to
bility. See Figures 1–4 for timing diagrams. In master 0dB regardless of VOLL and VOLR. See the Line Inputs
mode, the MAX9867 outputs LRCLK and BCLK, while in section for complete details and Table 6.
slave mode they are inputs. When operating in master
BITS FUNCTION
Master Mode
MAS 0 = The MAX9867 operates in slave mode with LRCLK and BCLK configured as inputs.
1 = The MAX9867 operates in master mode with LRCLK and BCLK configured as outputs.
LRCLK Invert
0 = Left-channel data is input and output while LRCLK is low.
WCI
1 = Right-channel data is input and output while LRCLK is low.
Note: WCI is ignored when TDM = 1.
BCLK Invert
In master and slave modes:
0 = SDIN is latched into the part on the rising edge of BCLK.
SDOUT transitions after the rising edge of BCLK as determined by SDODLY.
BCI 1 = SDIN is latched into the part on the falling edge of BCLK.
SDOUT transitions after the falling edge of BCLK as determined by SDODLY.
In master mode:
0 = LRCLK changes state immediately after the rising edge of BCLK.
1 = LRCLK changes state immediately after the falling edge of BCLK.
SDOUT Delay
0 = SDOUT transitions one half BCLK cycle after SDIN is latched into the part.
SDODLY
1 = SDOUT transitions on the same BCLK edge as SDIN is latched into the part.
See Figures 1–4 for complete details. See Register 0x04 (interrupt registers).
Delay Mode
0 = SDIN/SDOUT data is latched on the first BCLK edge following an LRCLK edge.
DLY 1 = SDIN/SDOUT data is assumed to be delayed one BCLK cycle so that it is latched on the 2nd BCLK edge
following an LRCLK edge (I2S-compatible mode).
Note: DLY is ignored when TDM = 1.
SDOUT High-Impedance Mode
0 = SDOUT goes to a high-impedance state after all data bits have been transferred out of the MAX9867,
HIZOFF allowing SDOUT to be shared by other devices.
1 = SDOUT is set either high or low after all data bits have been transferred out of the MAX9867.
Note: High-impedance mode is intended for use when TDM = 1.
LVOLFIX See the Line Inputs section.
26 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
Table 6. Digital Audio Interface Registers (continued)
BITS FUNCTION
TDM Mode Select
0 = LRCLK signal polarity indicates left and right audio.
1 = LRCLK is a framing pulse that transitions polarity to indicate the start of a frame of audio data consisting
TDM
of multiple channels.
When operating in TDM mode, the left channel is output immediately following the frame sync pulse. If right-
channel data is being transmitted, the 2nd channel of data immediately follows the 1st channel data.
Mono Playback Mode
DMONO 0 = Stereo data input on SDIN is processed separately.
1 = Stereo data input on SDIN is mixed to a single channel and routed to both the left and right DAC.
BCLK Select
Configures BCLK when operating in master mode. BSEL has no effect in slave mode. Set BSEL = 010, unless
sharing the bus with multiple devices:
000 = Off
001 = 64x LRCLK (192x internal clock divided by 3)
BSEL 010 = 48x LRCLK (192x internal clock divided by 4)
011 = Reserved for future use.
100 = PCLK/2
101 = PCLK/4
110 = PCLK/8
111 = PCLK/16
______________________________________________________________________________________ 27
Ultra-Low Power Stereo Audio Codec
MAX9867
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
NOTE: THE DELAY FROM A BCLK EDGE AND AN LRCLK EDGE IS DETERMINED BY LENGTH OF TIME THAT PCLK (THE INTERNALLY DIVIDED DOWN VERSION OF MCLK AS DEFINED BY THE PSCLK BITS) IS HIGH DURING ONE PERIOD OF
MCLK PLUS THE INTERNAL DELAY. FOR EXAMPLE: IF PCLK = 12.288MHZ, THEN THE DELAY BETWEEN BCLK AND LRCLK IS TYPICALLY 45ns.
28 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
I2S: WCI = 0, BCI = 0, DLY = 1, SDODLY = 0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
NOTE: THE DELAY FROM A BCLK EDGE AND AN LRCLK EDGE IS DETERMINED BY LENGTH OF TIME THAT PCLK (THE INTERNALLY DIVIDED DOWN VERSION OF MCLK AS DEFINED BY THE PSCLK BITS) IS HIGH DURING ONE PERIOD OF
MCLK PLUS THE INTERNAL DELAY. FOR EXAMPLE: IF PCLK = 12.288MHZ, THEN THE DELAY BETWEEN BCLK AND LRCLK IS TYPICALLY 45ns.
______________________________________________________________________________________ 29
Ultra-Low Power Stereo Audio Codec
MAX9867
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 7ns (typ) 7ns (typ)
BCLK
CONFIGURED BY BSEL
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
30 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
AUDIO SLAVE MODES:
LEFT JUSTIFIED: WCI = 0, BCI = 0, DLY = 0, SDODLY = 0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min) 30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
______________________________________________________________________________________ 31
Ultra-Low Power Stereo Audio Codec
MAX9867
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
40ns (max)
0ns (min)
30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
32 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
VOICE (TDM, PCM) SLAVE MODES:
BCI = 0, HIZOFF = 0, SDODLY = 0
LRCLK
1/fS
25ns (min) 0ns (min)
0ns (min)
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
LRCLK
1/fS
25ns (min) 0ns (min)
0ns (min)
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min)
30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
LRCLK
1/fS
25ns (min) 0ns (min)
0ns (min)
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
LRCLK
1/fS
25ns (min) 0ns (min)
0ns (min)
SDOUT L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
40ns (max)
0ns (min) 30ns (min)
BCLK
75ns (min) 30ns (min)
25ns (min) 0ns (min)
SDIN L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
______________________________________________________________________________________ 33
Ultra-Low Power Stereo Audio Codec
Digital Filtering stopband attenuation as well as selectable highpass fil-
MAX9867
The MAX9867 incorporates both IIR (voice) and FIR ters. The FIR filters provide low-power consumption and
(audio) digital filters to accomodate a wide range of are linear phase to maintain stereo imaging. Table 7 is
audio sources. The IIR fiilters provide over 70dB of the digital filtering register.
BITS FUNCTION
Digital Audio Filter Mode
MODE 0 = IIR Voice Filters
1 = FIR Audio Filters
ADC Digital Audio Filter
MODE = 0
Select the desired digital filter response from Table 8. See the Frequency Response graph in the Typical
AVFLT
Operating Characteristics section for details on each filter.
MODE = 1
0x0 = DC-blocking filter is disabled. Any other setting = DC-blocking filter is enabled.
34 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Digital Gain Control gain adjustment is also provided to set the sidetone
MAX9867
The MAX9867 includes digital gain adjustment for the level relative to the playback level. Table 9 is the digital
playback and record paths. Independent gain adjust- gain registers.
ment is provided for the two record channels. Sidetone
Table 9. Digital Gain Registers
REGISTER
REGISTER B7 B6 B5 B4 B3 B2 B1 B0
ADDRESS
Sidetone DSTS 0 DVST 0x0B
DAC Level 0 DACM DACG DACA 0x0C
ADC Level AVL AVR 0x0D
BITS FUNCTION
Digital Sidetone Source Mixer
00 = No sidetone is selected.
DSTS 01 = Left ADC
10 = Right ADC
11 = Left + right ADC
Digital Sidetone Level Control
All gain settings are relative to the ADC input voltage.
______________________________________________________________________________________ 35
Ultra-Low Power Stereo Audio Codec
MAX9867
36 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
Table 10. Line Input Registers (continued)
BITS FUNCTION
Line-Input Left/Right Playback Mute
LILM/LIRM 0 = Line input is connected to the headphone amplifiers.
1 = Line input is disconnected from the headphone amplifiers.
Line-Input Left/Right Gain
SETTING GAIN (dB) SETTING GAIN (dB)
0x0 +24 0x8 +8
0x1 +22 0x9 +6
0x2 +20 0xA +4
LIGL/LIGR
0x3 +18 0xB +2
0x4 +16 0xC 0
0x5 +14 0xD -2
0x6 +12 0xE -4
0x7 +10 0xF -6
Fix Line Input Volume
0 = Line input to headphone output volume tracks VOLL and VOLR bits.
LVOLFIX
1 = Line input to headphone output volume fixed at VOLL and VOLR bits.
See the Digital Audio Interface section.
Playback Volume registers 0x10 and 0x11 to set the desired volume. See
The MAX9867 incorporates volume and mute control to Table 11.
allow level control for the playback audio path. Program
______________________________________________________________________________________ 37
Ultra-Low Power Stereo Audio Codec
MAX9867
Microphone Inputs the ADCs. The first stage offers selectable 0dB, 20dB,
Two differential microphone inputs and a low-noise micro- or 30dB settings. The second stage is a programmable
phone bias for powering the microphones are provided gain amplifier (PGA) adjustable from 0dB to 20dB in
by the MAX9867. In typical applications, the left micro- 1dB steps. Zero-crossing detection is included on the
phone records a voice signal and the right microphone PGA to minimize zipper noise while making gain
records a background noise signal. In applications that changes. See Figure 5 for a detailed diagram of the
require only one microphone, use the left microphone microphone input structure. Table 12 is the microphone
input and disable the right ADC. The microphone signals input register.
are amplified by two stages of gain and then routed to
38 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
Table 12. Microphone Input Registers (continued)
BITS FUNCTION
Left/Right Microphone Preamplifier Gain
Enables the microphone circuitry and sets the preamplifier gain.
00 = Disabled
PALEN/PAREN
01 = 0dB
10 = +20dB
11 = +30dB
Left/Right Microphone Programmable Gain Amplifier
SETTING GAIN (dB) SETTING GAIN (dB)
0x00 +20 0x0B +9
0x01 +19 0x0C +8
0x02 +18 0x0D +7
0x03 +17 0x0E +6
PGAML/PGAMR 0x04 +16 0x0F +5
0x05 +15 0x10 +4
0x06 +14 0x11 +3
0x07 +13 0x12 +2
0x08 +12 0x13 +1
0x09 +10 0x14
0
0x0A +11 to 0x1F
MAX9867
MICBIAS 1.5V
0/20/30dB
VREG
0dB TO +20dB
MICLP
PREAMP PGA ADC
MICLN L
0/20/30dB
VREG 0dB TO +20dB
MICRP
PREAMP PGA ADC
MICRN R
______________________________________________________________________________________ 39
Ultra-Low Power Stereo Audio Codec
ADC
MAX9867
40 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Complete DC Measurement Example b. Wait 40ms.
MAX9867
MCLK = 13MHz, slave mode, BCLK and LRCLK not c. Freeze the measurement results (AUXCAP = 1).
externally supplied:
d. Read AUX and store the value in memory to cor-
1) Configure the digital audio interface for fS = 48kHz rect all future measurements (k = AUX[15:0]).
(PSCLK = 01, FREQ = 0x0, PLL = 0, NI = 0x5ABE,
MAS = 0). e. Complete calibration (AUXGAIN = AUXCAP =
AUXEN = 0).
2) Disable JACKSNS (JDETEN = 0).
6) Measure the voltage on JACKSNS/AUX:
3) Enable the left and right ADC; take the MAX9867 out
of shutdown (ADLEN = ADREN = SHDN = 1). a. Enable the AUX input (AUXEN = 1).
4) Calibrate the offset: b. Wait 40ms.
a. Enable the AUX input (AUXEN = 1). c. Freeze the measurement results (AUXCAP = 1).
b. Enable the offset calibration (AUXCAL = 1). d. Read AUX and correct with the gain calibration
value.
c. Wait 40ms.
e. Complete measurement (AUXCAP = 0).
d. Complete calibration (AUXCAL = 0).
7) DC measurement complete.
5) Calibrate the gain:
a. Start gain calibration (AUXGAIN = 1).
BITS FUNCTION
Left/Right ADC Audio Input Mixer
00 = No input is selected.
01 = Left/right analog microphone
10 = Left/right line input
MXINL/MXINR
11 = Left/right analog microphone + line input
Note: If the right-line input is disabled, then the left-line input is connected to both mixers. Enabling the
left and right digital microphones disables the left and right audio mixers, respectively. See DIGMICL/
DIGMICR in Table 15 for more details.
Auxiliary Input Capture
AUXCAP 0 = Update AUX with the voltage at JACKSNS/AUX.
1 = Hold AUX for reading.
Auxiliary Input Gain Calibration
0 = Normal operation
AUXGAIN 1 = The input buffer is disconnected from JACKSNS/AUX and connected to an internal voltage reference.
While in this mode, read the AUX register and store the value. Use the stored value as a gain
calibration factor, K, on subsequent readings.
Auxiliary Input Offset Calibration
0 = Normal operation
AUXCAL
1 = JACKSNS/AUX is disconnected from the input and the ADC automatically calibrates out any internal
offsets.
Auxiliary Input Enable
0 = Use JACKSNS/AUX for jack detection.
AUXEN
1 = Use JACKSNS/AUX for DC measurements.
Note: For AUXEN = 1, set MXINR = 00, ADLEN = 1, and ADREN = 1.
______________________________________________________________________________________ 41
Ultra-Low Power Stereo Audio Codec
Digital Microphone Input phone input. The right analog microphone input is still
MAX9867
The MAX9867 can accept audio from up to two digital available to allow a combination of analog and digital
microphones. When using digital microphones, the left microphones to be used. Figure 6 shows the digital
analog microphone input is retasked as a digital micro- microphone interface timing diagram. See Table 15.
BITS FUNCTION
Digital Microphone Clock
00 = PCLK/8
MICCLK 01 = PCLK/6
10 = Reserved
11 = Reserved
Digital Left/Right Microphone Enable
DIGMICL DIGMICR Left ADC Input Right ADC Input
0 0 ADC input mixer ADC input mixer
Line input (left analog
DIGMICL/DIGMICR 0 1 Right digital microphone
microphone unavailable)
1 0 Left digital microphone ADC input mixer
1 1 Left digital microphone Right digital microphone
Note: The left analog microphone input is never available when DIGMICL or DIGMICR = 1.
1/fMICCLK
DIGMICCLK
42 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Mode Configuration Powered-On Headset Detection
MAX9867
The MAX9867 includes circuitry to minimize click-and- When the MAX9867 is in normal operation and the micro-
pop during volume changes, detect headsets, and con- phone interface is enabled, jack insertion and removal can
figure the headphone amplifier mode. Both volume be detected through the JACKSNS/AUX pin. As shown in
slewing and zero-crossing detection are included to Figure 7, VMIC is pulled up by MICBIAS. When a micro-
ensure click-and-pop free volume transitions. Table 16 phone is connected, VMIC is assumed to be between 0V
is the mode configuration register. and 95% of VMICBIAS. If the jack is removed, VMIC increas-
es to VMICBIAS. This event causes JKMIC to be set, alert-
Headset Detection Overview ing the system that the headset has been removed.
The MAX9867 features headset detection that can detect Alternatively, if the jack is inserted, VMIC decreases to
the insertion and removal of a jack as well as the load below 95% of VMICBIAS and JKMIC is cleared, alerting the
type. When a jack is detected, an interrupt on IRQ can be system that a jack has been inserted. The JKMIC bit can
triggered to alert the microcontroller of the event. Figure 7 be configured to create a hardware interrupt that alerts the
shows the typical configuration for jack detection. microcontroller of jack removal and insertion events.
Sleep-Mode Headset Detection Headphone Modes
When the MAX9867 is in shutdown and the power supply The headphone amplifier supports differential, single-
is available, sleep-mode headset detection can be ended, and capacitorless output modes, as shown in
enabled to detect jack insertion. Sleep mode applies a Figure 8. In each mode, the amplifier can be configured
4µA pullup current to JACKSNS/AUX and LOUTP that for stereo or mono operation. The differential and
forces the voltage on JACKSNS/AUX and LOUTP to capacitorless modes are inherently click and pop free.
AVDD when no load is applied. When a jack is inserted, The single-ended mode optionally includes click-and-
either JACKSNS, LOUTP (assuming the headphone pop reduction to eliminate the click and pop that would
amplifier is not configured in single-ended mode), or both normally be caused by the output coupling capacitor.
are loaded sufficiently to reduce the output voltage to When click-and-pop reduction is not required in the sin-
nearly 0V and clear the JKSNS or LSNS bits, respectively. gle-ended configuration, leave LOUTN and ROUTN
The change in the LSNS and JKSNS bits sets JDET and unconnected.
triggers an interrupt on IRQ if IJDET is set. The interrupt
signals the microcontroller that a jack has been inserted,
allowing the microcontroller to respond as desired.
LOUTP
MICBIAS
GND MIC HPR HPL
JACKSNS/AUX
ROUTP
MICLP
LOUTN
Figure 7. Typical Configuration for Headset Detection
220µF
ROUTP ROUTP ROUTP
ROUTN ROUTN ROUTN
1µF
______________________________________________________________________________________ 43
Ultra-Low Power Stereo Audio Codec
MAX9867
BITS FUNCTION
Digital Volume Slew Speed
DSLEW 0 = Digital volume changes are slewed over 10ms.
1 = Digital volume changes are slewed over 80ms.
Volume Change Smoothing
VSEN 0 = Volume changes slew through all intermediate values.
1 = Volume changes occur in one step.
Line Input Zero-Crossing Detection
0 = Line input volume changes occur at zero crossings in the audio waveform or after 62ms if no zero
ZDEN
crossing occurs.
1 = Line-input volume changes occur immediately.
Jack Detection Enable
SHDN = 0: Sleep Mode
Enables pullups on LOUTP and JACKSNS/AUX to detect jack insertion. LSNS and JKSNS are valid.
LOUTP detection is only valid in differential and capacitorless output modes.
JDETEN
SHDN = 1: Normal Mode
Enables the comparator circuitry on JACKSNS/AUX to detect voltage changes. JKMIC is valid if the
microphone circuitry is enabled.
Note: AUXEN must be set to 0 for jack detection to function.
Headphone Amplifier Mode
HPMODE Mode
000 Stereo differential (clickless)
001 Mono (left) differential (clickless)
010 Stereo capacitorless (clickless)
HPMODE 011 Mono (left) capacitorless (clickless)
100 Stereo single-ended (clickless)
101 Mono (left) single-ended (clickless)
110 Stereo single-ended (fast turn-on)
111 Mono (left) single-ended (fast turn-on)
Note: In mono operation, the right amplifier is disabled.
44 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Power Management required circuitry is active. Toggle the SHDN bit when-
MAX9867
The MAX9867 includes complete power management ever a configuration change is made. Table 17 is the
control to minimize power usage. The DAC and both power-management register.
ADC can be independently enabled so that only the
BITS FUNCTION
Shutdown
SHDN
Places the device in low-power shutdown mode.
Left-Line Input Enable
Enables the left-line input preamp and automatically enables the left and right headphone amplifiers.
LNLEN If LNREN = 0, the left-line input signal is also routed to the right ADC input mixer and right headphone
amplifier.
Note: Control of the right headphone amplifier can be overridden by HPMODE.
Right-Line Input Enable
LNREN Enables the right-line input preamp and automatically enables the right headphone amplifier.
Note: Control of the right headphone amplifier can be overridden by HPMODE.
Left DAC Enable
Enables the left DAC and automatically enables the left and right headphone amplifiers. If DAREN = 0, the
DALEN
left DAC signal is also routed to the right headphone amplifier.
Note: Control of the right headphone amplifier can be overridden by HPMODE.
Right DAC Enable
DAREN Enabling the right DAC must be done in the same I2C write operation that enables the left DAC. Right
DAC operation requires DALEN = 1.
ADLEN Left ADC Enable
Right ADC Enable
Enabling the right ADC must be done in the same I2C write operation that enables the left ADC. The right
ADREN
ADC can be enabled while the left ADC is running if used for DC measurements. SHDN must be toggled
to disable the right ADC in this case. Right ADC operation requires ADLEN = 1.
Revision Code
The MAX9867 includes a revision code to allow easy
identification of the device revision. The revision code is
0x42. See Table 18 for the revision code register.
Table 18. Revision Code Register
REGISTER
REGISTER B7 B6 B5 B4 B3 B2 B1 B0
ADDRESS
Revision REV 0xFF
______________________________________________________________________________________ 45
Ultra-Low Power Stereo Audio Codec
I2C Serial Interface required on SCL if there are multiple masters on the bus,
MAX9867
The MAX9867 features an I 2 C/SMBus-compatible, or if the single master has an open-drain SCL output.
2-wire serial interface consisting of a serial-data line Series resistors in line with SDA and SCL are optional.
(SDA) and a serial-clock line (SCL). SDA and SCL facili- Series resistors protect the digital inputs of the
tate communication between the MAX9867 and the mas- MAX9867 from high-voltage spikes on the bus lines, and
ter at clock rates up to 400kHz. Figure 9 shows the minimize crosstalk, and undershoot of the bus signals.
2-wire interface timing diagram. The master generates
SCL and initiates data transfer on the bus. The master Bit Transfer
device writes data to the MAX9867 by transmitting the One data bit is transferred during each SCL cycle. The
proper slave address followed by the register address data on SDA must remain stable during the high period
and then the data word. Each transmit sequence is of the SCL pulse. Changes in SDA while SCL is high
framed by a START (S) or REPEATED START (Sr) condi- are control signals. See the START and STOP
tion and a STOP (P) condition. Each word transmitted to Conditions section.
the MAX9867 is 8 bits long and is followed by an START and STOP Conditions
acknowledge clock pulse. A master reading data from SDA and SCL idle high when the bus is not in use. A
the MAX9867 transmits the proper slave address master initiates communication by issuing a START con-
followed by a series of nine SCL pulses. The MAX9867 dition. A START condition is a high-to-low transition on
transmits data on SDA in sync with the master-generated SDA with SCL high. A STOP condition is a low-to-high
SCL pulses. The master acknowledges receipt of each transition on SDA while SCL is high (Figure 10). A START
byte of data. Each read sequence is framed by a START condition from the master signals the beginning of a
or REPEATED START condition, a not acknowledge, and transmission to the MAX9867. The master terminates
a STOP condition. SDA operates as both an input and an transmission, and frees the bus, by issuing a STOP con-
open-drain output. A pullup resistor, typically greater dition. The bus remains active if a REPEATED START
than 500Ω is required on SDA. SCL operates only as an condition is generated instead of a STOP condition.
input. A pullup resistor, typically greater than 500Ω, is
SDA
SCL tHIGH
tHD, STA
tR tF
S Sr P
SCL
SDA
46 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Early STOP Conditions down SDA during the entire master-generated 9th clock
MAX9867
The MAX9867 recognizes a STOP condition at any pulse if the previous byte is successfully received.
point during data transmission except if the STOP con- Monitoring ACK allows for detection of unsuccessful
dition occurs in the same high pulse as a START condi- data transfers. An unsuccessful data transfer occurs if
tion. For proper operation, do not send a STOP a receiving device is busy or if a system fault has
condition during the same SCL high pulse as the occurred. In the event of an unsuccessful data transfer,
START condition. the bus master retries communication. The master pulls
down SDA during the 9th clock cycle to acknowledge
Slave Address receipt of data when the MAX9867 is in read mode. An
The slave address is defined as the 7 most significant acknowledge is sent by the master after each read byte
bits (MSBs) followed by the read/write bit. For the to allow data transfer to continue. A not acknowledge is
MAX9867, the 7 most significant bits are 0011000. sent when the master reads the final byte of data from
Setting the read/write bit to 1 (slave address = 0x31) the MAX9867, followed by a STOP condition.
configures the MAX9867 for read mode. Setting the
read/write bit to 0 (slave address = 0x30) configures Write Data Format
the MAX9867 for write mode. The address is the first A write to the MAX9867 includes transmission of a
byte of information sent to the MAX9867 after the START condition, the slave address with the R/W bit set
START condition. to 0, 1 byte of data to configure the internal register
address pointer, 1 or more bytes of data, and a STOP
Acknowledge condition. Figure 12 illustrates the proper frame format
The acknowledge bit (ACK) is a clocked 9th bit that the for writing 1 byte of data to the MAX9867. Figure 13
MAX9867 uses to handshake receipt each byte of data illustrates the frame format for writing n bytes of data to
when in write mode (see Figure 11). The MAX9867 pulls the MAX9867.
SCL 1 2 9
NOT ACKNOWLEDGE
SDA
ACKNOWLEDGE
B7 B6 B5 B4 B3 B2 B1 B0
ACKNOWLEDGE FROM MAX9867 ACKNOWLEDGE FROM MAX9867
R/W 1 BYTE
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
______________________________________________________________________________________ 47
Ultra-Low Power Stereo Audio Codec
The slave address with the R/W bit set to 0 indicates The first byte transmitted from the MAX9867 is the con-
MAX9867
that the master intends to write data to the MAX9867. tent of register 0x00. Transmitted data is valid on the
The MAX9867 acknowledges receipt of the address rising edge of SCL. The address pointer autoincre-
byte during the master-generated 9th SCL pulse. ments after each read data byte. This autoincrement
The second byte transmitted from the master config- feature allows all registers to be read sequentially within
ures the MAX9867’s internal register address pointer. one continuous frame. A STOP condition can be issued
The pointer tells the MAX9867 where to write the next after any number of read data bytes. If a STOP condi-
byte of data. An acknowledge pulse is sent by the tion is issued followed by another read operation, the
MAX9867 upon receipt of the address pointer data. first data byte to be read is from register 0x00.
The third byte sent to the MAX9867 contains the data The address pointer can be preset to a specific register
that is written to the chosen register. An acknowledge before a read command is issued. The master presets
pulse from the MAX9867 signals receipt of the data byte. the address pointer by first sending the MAX9867’s
The address pointer autoincrements to the next register slave address with the R/W bit set to 0 followed by the
address after each received data byte. This autoincre- register address. A REPEATED START condition is then
ment feature allows a master to write to sequential regis- sent followed by the slave address with the R/W bit set
ters within one continuous frame. Figure 13 illustrates to 1. The MAX9867 then transmits the contents of the
how to write to multiple registers with one frame. The specified register. The address pointer autoincrements
master signals the end of transmission by issuing a after transmitting the first byte.
STOP condition. Register addresses greater than 0x17 The master acknowledges receipt of each read byte
are reserved. Do not write to these addresses. during the acknowledge clock pulse. The master must
acknowledge all correctly received bytes except the
Read Data Format last byte. The final byte must be followed by a not
Send the slave address with the R/W bit set to 1 to initi- acknowledge from the master and then a STOP condi-
ate a read operation. The MAX9867 acknowledges tion. Figure 14 illustrates the frame format for reading 1
receipt of its slave address by pulling SDA low during byte from the MAX9867. Figure 15 illustrates the frame
the 9th SCL clock pulse. A START command followed format for reading multiple bytes from the MAX9867.
by a read command resets the address pointer to reg-
ister 0x00.
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0
ACKNOWLEDGE FROM MAX9867 ACKNOWLEDGE FROM MAX9867
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
48 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
MAX9867
ACKNOWLEDGE FROM MAX9867 ACKNOWLEDGE FROM MAX9867 ACKNOWLEDGE FROM MAX9867
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
Applications Information Connect all digital I/O termination to the ground plane
with minimum path length to DGND. Bypass DVDD and
Proper layout and grounding are essential for optimum
DVDDIO directly to DGND.
performance. When designing a PCB for the MAX9867,
partition the circuitry so that the analog sections of the Route microphone signals from the microphone to the
MAX9867 are separated from the digital sections. This MAX9867 as a differential pair, ensuring that the posi-
ensures that the analog audio traces are not routed tive and negative signals follow the same path as close-
near digital traces. ly as possible with equal trace length. When using
single-ended microphones or other single-ended audio
Use a large continuous ground plane on a dedicated
sources, ground the negative microphone input as near
layer of the PCB to minimize loop areas. Connect
as possible to the audio source and then treat the posi-
AGND and DGND directly to the ground plane using
tive and negative traces as differential pairs.
the shortest trace length possible. Proper grounding
improves audio performance, minimizes crosstalk The MAX9867 TQFN package features an exposed
between channels, and prevents any digital noise from thermal pad on its underside. Connect the exposed
coupling into the analog audio signals. thermal pad to AGND.
Ground the bypass capacitors on MICBIAS, REG, An evaluation kit (EV Kit) is available to provide an
PREG, and REF directly to the ground plane with mini- example layout for the MAX9867. The EV kit allows
mum trace length. Also be sure to minimize the path quick setup of the MAX9867 and includes easy-to-use
length to AGND. Bypass AVDD directly to AGND. software, allowing all internal registers to be controlled.
______________________________________________________________________________________ 49
Ultra-Low Power Stereo Audio Codec
Functional Diagram/Typical Operating Circuit
MAX9867
2.2µF 6 DVDDIO IRQ SDA SCL MCLK BCLK LRCLK SDIN SDOUT DVDD AVDD PREG PVDD
(B4) REF
REF
1µF 8 CLOCK DIGITAL AUDIO LINEAR
(B5) REG I2C
GEN INTERFACE REG
VCM PREG
1µF 10 DVST:
(B6) MICBIAS DSTS 0dB TO -60dB
MIX
MAX9867
MIX
ADCL DACL
FILTERING FILTERING
MIX
11 MICLN/
0.22µF (C5) DIGMICCLK
2.2kΩ DMONO LOUTN 21
(D2)
DACG: DACA: VOLR:
0/6/12/18dB 0dB TO -15dB +6dB TO -84dB 19
ROUTP (D3)
DIGITAL
DACR
MIX
FILTERING
2.2kΩ PAREN: PGAMR:
0.22µF 13
0/20/30dB +20dB TO 0dB AVR: ROUTN 20
(C4) MICRP
MXINR +3dB TO -12dB (E4)
DIGITAL
MIX
ADCR
14 MICRN FILTERING
0.22µF (D6)
2.2kΩ
50 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Pin Configurations
MAX9867
TOP VIEW
JACKSNS/AUX
(BUMP SIDE DOWN)
MAX9867
ROUTN
LOUTN
ROUTP
LOUTP
TOP VIEW
PGND
PVDD
N.C.
1 2 3 4 5 6
24 23 22 21 20 19 18 17
DVDD DGND SDA AVDD PREG AGND
N.C. 25 16 LINR
A
DVDDIO 26 15 LINL
SCL
SDA
IRQ
AVDD
REF
PREG
REG
THIN QFN
(5mm × 5mm)
*EP = EXPOSED PAD WLP
(2.2mm x 2.7mm)
______________________________________________________________________________________ 51
Ultra-Low Power Stereo Audio Codec
Package Information
MAX9867
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. Note that a “+”, “#”, or “-” in the
package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the
package regardless of RoHS status.
52 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Package Information (continued)
MAX9867
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. Note that a “+”, “#”, or “-” in the
package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the
package regardless of RoHS status.
QFN THIN.EPS
______________________________________________________________________________________ 53
Ultra-Low Power Stereo Audio Codec
Package Information (continued)
MAX9867
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. Note that a “+”, “#”, or “-” in the
package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the
package regardless of RoHS status.
54 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Revision History
MAX9867
REVISION REVISION PAGES
DESCRIPTION
NUMBER DATE CHANGED
0 4/09 Initial release —
Added lead temperature and soldering temperatures, updated VOS
1 5/10 2, 8
specification
2 6/10 Corrected error in TOC20 15
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 55
© 2010 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.