The MAX9860 is a low-power, voiceband, mono audio
codec designed to provide a complete audio solution
for wireless voice headsets and other mono voice audio
devices. Using an on-chip bridge-tied load mono headphone amplifier, the MAX9860 can output 30mW into a
32Ω earpiece while operating from a single 1.8V power
supply. Very low power consumption makes it an ideal
choice for battery-powered applications.
The MAX9860’s flexible clocking circuitry utilizes common system clock frequencies ranging from 10MHz to
60MHz, eliminating the need for an external PLL and
multiple crystal oscillators. Both the ADC and DAC support sample rates of 8kHz to 48kHz in either synchronous or asynchronous operation. Both master and slave
timing modes are supported.
Two differential microphone inputs are available with a
user-programmable preamplifier and programmable
gain amplifier. Automatic gain control with selectable
attack/release times and signal threshold allows maximum dynamic range. A noise gate with selectable
threshold provides a means to quiet the channel when
no signal is present. Both the DAC and ADC digital filters
provide full attenuation for out-of-band signals as well as
a 5th order GSM-compliant digital highpass filter. A digital side tone mixer provides loopback of the microphones/ADC signal to the DAC/headphone output.
Serial DAC and ADC data is transferred over a flexible
digital I2S-compatible interface that also supports TDM
mode. Mode settings, volume control, and shutdown are
programmed through a 2-wire, I
2
C-compatible interface.
The MAX9860 is fully specified over the -40°C to +85°C
extended temperature range and is available in a lowprofile, 4mm x 4mm, 24-pin thin QFN package.
Applications
Audio Headsets
Portable Navigation Device
Mobile Phones
Smart Phones
VoIP Phones
Audio Accessories
Features
♦ 1.8V Single-Supply Operation
♦ Digital Highpass Elliptical Filters with Notch for
= +1.8V, RL= ∞, headphone load (RL) connected between OUTP and OUTN, C
REF
= 2.2µF, C
MICBIAS
=
C
PREG
= C
REG
= 1µF, A
VPRE
= +20dB, A
VMICPGA
= 0dB, MCLK = 13MHz, LRCLK = 8kHz, TA= T
MIN
to T
MAX
, unless otherwise noted.
Typical values are at T
A
= +25°C.) (Note 2)
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.
(Voltages referenced to AGND.)
DVDDIO, SDA, SCL, IRQ.......................................-0.3V to +3.6V
AVDD, DVDD............................................................-0.3V to +2V
AGND, DGND, MICGND .......................................-0.3V to +0.3V
OUTP, OUTN, PREG, REF, MICBIAS ......-0.3V to (AVDD + 0.3V)
MICLP, MICLN, MICRP, MICRN, REG ....-0.3V to (PREG + 0.3V)
MCLK, LRCLK, BCLK,
SDOUT, SDIN..................................-0.3V to (DVDDIO + 0.3V)
Note 2: All devices are 100% production tested at room temperature. All temperature limits are guaranteed by design.
Note 3: Supply current measurements taken with no applied signal at microphone inputs. A digital zero audio signal used for all dig-
ital serial audio inputs. Headphone outputs are loaded as stated in the global conditions.
Note 4: DAC performance is measured at headphone outputs.
Note 5: ADC, DAC, and headphone amplifier dynamic ranges are measured using the EIAJ method. -60dBV 1kHz input signal, A-weight-
2REGInternal Bias. PREG/2 voltage reference. Bypass to AGND with a 1µF capacitor (+0.8V).
3PREGPositive Internal Regulated Supply. Bypass to AGND with a 1µF capacitor (+1.6V).
4REFConverter Reference (1.23V). Bypass to AGND with a 2.2µF capacitor.
5AGNDAnalog Ground
6AVDDAnalog Power Supply. Bypass to AGND with 10µF and 0.1µF capacitors.
7OUTPPositive Headphone Output
8OUTNNegative Headphone Output
9SDAI2C Serial-Data Input/Output
10SCLI2C Serial-Data Clock
11DVDDIODigital Interface Power Supply. Supply for digital audio interface. Bypass to DGND with a 1µF capacitor.
12DGNDDigital Ground
13DVDDDigital Core Power Supply. Bypass to DGND with a 1µF capacitor.
14MCLKMaster Clock Input
15SDOUTSerial Audio Interface ADC Data Output
16SDINSerial Audio Interface DAC Data Input
17LRCLKSerial Audio Interface Left/Right Clock
18BCLKSerial Audio Interface Bit Clock
19IRQInterrupt Request. IRQ is an active-low open drain output. Pull up to DVDDIO with a 10kΩ resistor.
20MICRN
21MICRP
22MICLN
23MICLP
24MICGNDMICBIAS Ground. Connect to AGND.
—EPExposed Pad. Connect to AGND.
Microphone Bias. +1.55V microphone bias for internal and/or external microphone. An external resistor from
2.2kΩ to 470Ω should be used to set the microphone current. Bypass to MICGND with a 1µF capacitor.
Negative Right Microphone Input. AC-couple to low-side of microphone or connect to negative signal.
AC-couple to ground for single-ended operation.
Positive Right Microphone Input. AC-couple to high-side of microphone or connect to positive signal.
AC-couple the signal for single-ended operation.
Negative Left Microphone Input. AC-couple to low-side of microphone or connect to negative signal.
AC-couple to ground for single-ended operation.
Positive Left Microphone Input. AC-couple to high-side of microphone or connect to positive signal.
AC-couple the signal for single-ended operation.
MAX9860
Detailed Description
The MAX9860 is a low-power, voiceband, mono audio
codec designed to provide a complete audio solution
for wireless voice headsets and other mono audio
devices.
The mono playback path accepts digital audio over a
flexible digital audio interface compatible with I
2
S, TDM,
and left-justified audio signals. An oversampling sigmadelta DAC converts an incoming digital data stream to
analog audio and outputs through the mono bridge-tied
load headphone amplifier.
The stereo record path has two microphone inputs with
selectable gain. The microphones are powered by an
integrated microphone bias. An oversampling sigmadelta ADC converts the microphone signals and outputs the digital bit stream over the digital audio
interface.
The record path includes automatic gain control (AGC)
to optimize the signal level and a noise gate to reduce
idle noise. The automatic gain control monitors the outputs of the ADC and makes constant adjustments to the
input gain to reduce the dynamic range of the incoming
microphone signal by up to 20dB. The noise gate corrects for the increase in noise typically associated with
AGC by lowering the gain when there is no audio signal.
Integrated digital filtering provides a range of notch and
highpass filters for both the playback and record paths
to limit undesirable low-frequency signals and GSM
transmission noise. The digital filtering provides attenuation of out-of-band energy by up to 76dB, eliminating
audible aliasing. A digital sidetone function allows
audio from the record path to be summed into the playback path after digital filtering.
The MAX9860’s flexible clock circuitry utilizes a programmable clock divider and a digital PLL to allow the
DAC and ADC to operate at maximum dynamic range
for all combinations of master clock (MCLK) and sample rate (LRCLK). Any master clock between 10MHz to
60MHz is supported as are all sample rates from 8kHz
to 48kHz. Master and slave mode are supported for
maximum flexibility.
I
2
C Registers
The MAX9860 audio codec is completely controlled
through software using an I2C interface. The power-on
default setting is software shutdown, requiring that the
internal registers be programmed to activate the device.
See Table 1 for the device’s complete register map.
I2C Slave Address
The MAX9860 responds to the slave address 0x20 for
all write commands and 0x21 for all read operations.
System ShutdownSHDN000DACEN0ADCLENADCREN0x100x00R/W
PLLNHI0x040x00R/W
NGAGC0x01—R
NLO0x050x00R/W
0DVGDVST0x0B0x00R/W
ANTHAGCTH0x0F0x00R/W
REGISTER
ADDRESS
PORR/W
MAX9860
Status/Interrupt
Status registers 0x00 and 0x01 are read-only registers
that report the status of various device functions. The
status register bits are cleared upon a read operation of
the status register and are set the next time the event
occurs. Register 0x02 determines whether or not the status flags in register 0x00 simultaneously sets IRQ high.
Clip Detect Flag. Indicates that a signal has become clipped in the ADC or DAC digital signal paths. CLD also
CLD
indicates that the AGC function, when enabled, has set the microphone PGA to 0dB and no further gain reduction
is possible.
SLD
ULK
NG
AGC
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.
Digital PLL Unlock Flag. Indicates that the digital audio PLL for the ADC or DAC has become unlocked and digital
signal data is not reliable. When beginning operation in master mode, this flag goes high and can be cleared by
reading the status register.
Noise Gate Attenuation. When the noise gate is enabled these bits indicate the current noise gate attenuation.
CodeAttenuation
0000dB
0011dB
0102dB
0113dB
1006dB
1018dB
11010dB
11112dB
AGC Gain. When the AGC is enabled these bits indicate the AGC controlled level to the MIC preamp. The levels
indicated by these bits correspond to the levels defined for the PGAM bits described in register 0x0C.
Clock Control
The MAX9860 can work with a master clock (MCLK)
supplied from any system clock within the range of
10MHz to 60MHz. Internally, the MAX9860 requires a
10MHz to 20MHz clock so a prescaler divides by 1, 2,
or 4 to create the internal clock (PCLK). PCLK is used
to clock all portions of the MAX9860.
The MAX9860 is capable of supporting any sample rate
from 8kHz to 48kHz, including all common sample rates
(8kHz, 16kHz, 24kHz, 32kHz, 44.1kHz, 48kHz). To
accommodate a wide range of system architectures,
the MAX9860 supports three main clocking modes:
Normal Mode: This mode uses a 15-bit clock divider
coefficient to set the sample rate relative to the
prescaled MCLK input (PCLK). This allows high flexibility in both the MCLK and LRCLK frequencies and can
be used in either master or slave mode.
Exact Integer Mode: Common MCLK frequencies
(12MHz, 13MHz, and 19.2MHz) can be programmed to
operate in exact integer mode for both 8kHz and 16kHz
sample rates. In these modes, the MCLK and LRCLK
rates are selected by using the FREQ and 16KHZ bits
instead of the NHI, NLO, and PLL control bits.
PLL Mode: When operating in slave mode, a PLL can
be enabled to lock onto externally generated LRCLK
signals that are asynchronously related to PCLK.
Divides MCLK down to generate a PCLK between 10MHz and 20MHz.
PSCLK[1:0]
FREQ[1:0]
16KHZ
00 = Disable clock for low-power shutdown.
01 = Select if MCLK is between 10MHz and 20MHz.
10 = Select if MCLK is between 20MHz and 40MHz.
11 = Select if MCLK is greater than 40MHz.
Integer Clock Mode
Enables exact integer mode for three predefined PCLK frequencies. Exact integer mode is normally
intended for master mode, but can be enabled in slave mode if the externally supplied LRCLK exactly
matches the frequency specified in each mode.
00 = Normal operation (configure clocking with the PLL, NHI, and NLO bits).
01 = Select when PCLK is 12MHz (LRCLK = PCLK/1500 or PCLK/750).
10 = Select when PCLK is 13MHz (LRCLK = PCLK/1625 or PCLK/812.5).
11 = Select when PCLK is 19.2MHz (LRCLK = PCLK/2400 or PCLK/1200).
When FREQ ≠ 00, the PLL, NHI, and NLO bits are unused.
16kHz Mode
When FREQ ≠ 00:
0 = LRCLK is exactly 8kHz.
1 = LRCLK is exactly 16kHz.
When FREQ = 00, 16KHZ is used to set the AGC clock rate:
0 = Use when LRCLK ≤ 24kHz.
1 = Use when LRCLK > 24kHz.
Note: Values in bold italics are exact integers that provide
maximum full-scale performance.
BITSFUNCTION
PLL Enable
0 = (Valid for slave and master mode)—The frequency of LRCLK is set by the NHI and NLO divider
bits. Set PLL = 0 in slave mode only if the externally generated LRCLK can be exactly selectedusing the LRCLK divider.
PLL
NHI and NLO
1 = (Valid for slave mode only)—Used when the audio master generates an LRCLK not selectable
using the LRCLK divider. A digital PLL locks on to the externally supplied LRCLK signalregardless of the MCLK frequency.
Rapid Lock Mode
To enable rapid lock mode set NHI and NLO to the nearest desired ratio and set NLO[0] = 1 (Register
0x05, bit 0) before setting the PLL mode bit.
LRCLK Divider
NHI and NLO control a 15-bit clock divider (N). When the PLL = 0 and FREQ = 00, the frequency of
LRCLK is determined by the clock divider. See Table 4 for common N values.
N = (65,536 x 96 x f
f
= LRCLK frequency
LRCLK
f
= prescaled MCLK internal clock frequency (PCLK)
PCLK
LRCLK
MCLK
(MHz)
11.289601116A22D445A96000687D
1201106220C541895A51624E
12.2880110002000400058336000
1301F201E3F3C7F535F5ABE
19.201A3D147B28F638733D71
2410106220C541895A51624E
2610F201E3F3C7F535F5ABE
2710E901D213A4150485762
PSCLK8163244.148
LRCLK (kHz)
)/f
PCLK
Digital Audio Interface
The MAX9860’s digital audio interface supports a wide
range of operating modes to ensure maximum compatibility. See Figures 1 through 4 for timing diagrams. In
master mode, the MAX9860 outputs LRCLK and BCLK,
while in slave mode, they are inputs. When operating in
master mode, BCLK can be configured in a number of
ways to ensure compatiblity with other audio devices.
0 = The MAX9860 operates in slave mode with LRCLK and BCLK configured as inputs.
1 = The MAX9860 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.
1 = Right-channel data is input and output while LRCLK is low.
WCI is ignored when TDM = 1.
DAC BCLK Invert (must be set to ABCI)
In master and slave mode:
0 = SDIN is latched into the part on the rising edge of BCLK.
1 = SDIN is latched into the part on the falling edge of BCLK.
In master mode:
0 = LRCLK changes state following the rising edge of BCLK.
1 = LRCLK changes state following the falling edge of BCLK.
DAC Delay Mode
0 = SDIN data is latched on the first BCLK edge following an LRCLK edge.
1 = SDIN data is assumed to be delayed one BCLK cycle so that it is latched on the 2nd BCLK edge
following an LRCLK edge (I
2
S-compatible mode).
HIZ
TDM
ABCI
DDLY is ignored when TDM = 1.
SDOUT High-Impedance Mode
0 = SDOUT is set either high or low after all data bits have been transferred out of the part.
1 = SDOUT goes to a high-impedance state after all data bits have been transferred out of the part,
allowing SDOUT to be shared by other devices.
Use HIZ only when TDM = 1.
TDM Mode Select
0 = LRCLK signal polarity indicates left and right audio.
1 = LRCLK is a framing pulse which transitions polarity to indicate the start of a frame of audio data
consisting of multiple channels.
W hen op er ati ng i n TD M m od e the l eft channel i s outp ut i m m ed i atel y fol l ow i ng the fr am e sync p ul se. If r i g htchannel d ata i s b ei ng tr ansm i tted , the 2nd channel of d ata i m m ed i atel y fol l ow s the 1st channel d ata.
ADC BCLK Invert (must be set to DBCI)
0 = SDOUT is valid on the rising edge of BCLK and transitions immediately after the rising edge.
1 = SDOUT is valid on the falling edge of BCLK and transitions immediately after the falling edge.
NOTE 7: 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, THE DELAY BETWEEN BCLK AND LRCLK IS TYPICALLY 45ns.
NOTE 8: 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, THE DELAY BETWEEN BCLK AND LRCLK IS TYPICALLY 45ns.
AVFLTADC Voice Filter Frequency Select. See Table 7.
DVFLTDAC Voice Filter Frequency Select. See Table 7.
CODEFILTER TYPESAMPLE RATEDESCRIPTION
0x0——Disabled
0x1Elliptical16kHzElliptical highpass with 217Hz notch
0x2Butterworth16kHz500Hz Butterworth highpass
0x3Elliptical8kHzElliptical highpass with 217Hz notch
0x4Butterworth8kHz500Hz Butterworth highpass
0x5Butterworth48kHz200Hz Butterworth highpass
0x6 to 0xF——Reserved
MAX9860
Digital Level Control
The MAX9860 includes digital gain adjustment for the
playback and record paths. Independent gain
adjustment is provided for the two record channels.
Sidetone gain adjustment is also provided to set the
sidetone level relative to the playback level.
The MAX9860 provides two differential microphone
inputs and a low-noise 1.55V microphone bias for powering the microphones. In typical applications, the left
microphone is used to record a voice signal and the
right microphone is used to record a background noise
signal. In applications that require only one microphone,
use the left microphone input and disable the right ADC.
The microphone signals are amplified by two stages of
gain and then routed to the ADCs. The first stage offers
selectable 0dB, 20dB, or 30dB settings. The second
stage is a programmable gain amplifier (PGA) adjustable
from 0dB to 20dB in 1dB steps. Zero-crossing detection
is included on the PGA to minimize zipper noise while
making gain changes. See Figure 5 for a detailed diagram of the microphone input structure.
The MAX9860 includes AGC on both microphone
inputs. AGC is enabled by setting the hold time through
AGCHLD. AGC dynamically controls the analog PGA
microphone input gain to hold the level constant over a
20dB input range, enhancing the voice path operation
for various use conditions. When AGC is enabled, it
monitors the signal level at the output of the ADC and
then makes gain adjustments by controlling the analog
microphone PGA. When AGC is enabled, PGAM is not
user programmable.
Since AGC increases the level of all signals below a
user-defined threshold, the noise floor effectively is
increased by 20dB. To counteract this, a noise gate is
included to reduce the gain at low levels. Unlike typical
noise gates that completely silence the output below a
threshold, the noise gate in the MAX9860 reduces the
gain for signals below the defined level. As the signal
level becomes further below the threshold, the gain is
further reduced. The Automatic Gain Control
Thresholds and Noise Gate Thresholds graphs in the
Typical Operating Characteristics
show the resulting
steady-state transfer curves when AGC and the noise
gate are enabled.
Table 10. AGC and Noise Gate Registers (continued)
BITSFUNCTION
Noise Gate Threshold
The signal level at which the noise gate begins reducing the gain. When the signal level is above the
threshold the noise gate has no effect. When the signal level is below the threshold, the noise gate
decreases the gain by 1dB for every 2dB the signal is below the threshold.
The noise gate can be enabled independently from AGC. When AGC is enabled, PGAM must be set to
+20dB (indicating a small signal is present) for the noise gate to attenuate.
For microphone signals, use the noise gate and AGC simultaneously with ANTH set between -16dB
and -28dB.
ANTH
AGCTH
ANTH[3:0]LEVEL (dBFS)ANTH[3:0]LEVEL (dBFS)
0x0Disabled0x8-44
0x1-720x9-40
0x2-680xA-36
0x3-640xB-32
0x4-600xC-28
0x5-560xD-24
0x6-520xE-20
0x7-480xF-16
AGC Signal Threshold
The target output signal level. When the signal level is below the threshold, the AGC increases the
gain. The signal level is measured after ADCRL and ADCLL are applied to the ADC output.
ANTH[3:0]LEVEL (dBFS)ANTH[3:0]LEVEL (dBFS)
0x0-30x8-11
0x1-40x9-12
0x2-50xA-13
0x3-60xB-14
0x4-70xC-15
0x5-80xD-16
0x6-90xE-17
0x7-100xF-18
MAX9860
Power Management
The MAX9860 includes complete power management
control to minimize power usage. The DAC and both
ADCs can be independently enabled so that only the
required circuitry is active.
The MAX9860 includes a revision code to allow easy
identification of the device revision. The current revision
code is 0x40.
Table 12. Revision Code Register
I2C Serial Interface
The MAX9860 features an I2C/SMBus™-compatible,
2-wire serial interface consisting of a serial-data line
(SDA) and a serial-clock line (SCL). SDA and SCL facilitate communication between the MAX9860 and the
master at clock rates up to 400kHz. Figure 6 shows the
2-wire interface timing diagram. The master generates
SCL and initiates data transfer on the bus. The master
device writes data to the MAX9860 by transmitting the
proper slave address followed by the register address
and then the data word. Each transmit sequence is
framed by a START (S) or REPEATED START (Sr) condition and a STOP (P) condition. Each word transmitted
to the MAX9860 is 8 bits long and is followed by an
acknowledge clock pulse. A master reading data from
the MAX9860 transmits the proper slave address followed by a series of nine SCL pulses. The MAX9860
transmits data on SDA in sync with the master-generated SCL pulses. The master acknowledges receipt of
each byte of data. Each read sequence is framed by a
START or REPEATED START condition, a not acknowledge, and a STOP condition. SDA operates as both an
input and an open-drain output. A pullup resistor, typically greater than 500Ω, is required on SDA. SCL operates only as an input. A pullup resistor, typically greater
than 500Ω, is required on SCL if there are multiple masters on the bus, or if the single master has an opendrain SCL output. Series resistors in line with SDA and
SCL are optional. Series resistors protect the digital
inputs of the MAX9860 from high voltage spikes on the
bus lines, and minimize crosstalk and undershoot of the
bus signals.
SMBus is a trademark of Intel Corp.
REGISTER ADDRESSB7B6B5B4B3B2B1B0
0x10SHDN000DACEN0ADCLENADCREN
BITSFUNCTION
Active-Low Software Shutdown
0 = MAX9860 is in full shutdown.
SHDN
DACEN
ADCLEN/ADCREN
1 = MAX9860 is powered on.
When SHDN = 0. All register settings are preserved and the I
The left ADC must be enabled when using the right ADC.
2
C interface remains active.
ADDRB7B6B5B4B3B2B1B0
0xFFREV
Bit Transfer
One data bit is transferred during each SCL cycle. The
data on SDA must remain stable during the high period
of the SCL pulse. Changes in SDA while SCL is high
are control signals (see the
START and STOP
Conditions
section).
START and STOP Conditions
SDA and SCL idle high when the bus is not in use.
A master initiates communication by issuing a START (S)
condition. A START condition is a high-to-low transition
on SDA with SCL high. A STOP (P) condition is a low-tohigh transition on SDA while SCL is high (Figure 7). A
START condition from the master signals the beginning
of a transmission to the MAX9860. The master terminates
transmission, and frees the bus, by issuing a STOP condition. The bus remains active if a REPEATED START
(Sr) condition is generated instead of a STOP condition.
Early STOP Conditions
The MAX9860 recognizes a STOP condition at any
point during data transmission except if the STOP condition occurs in the same high pulse as a START condition. For proper operation, do not send a STOP
condition during the same SCL high pulse as the
START condition.
Slave Address
The slave address is defined as the seven most significant bits (MSBs) followed by the read/write bit. For the
MAX9860, the seven most significant bits are 0010000.
Setting the read/write bit to 1 (slave address = 0x21)
configures the MAX9860 for read mode. Setting the
read/write bit to 0 (slave address = 0x20) configures
the MAX9860 for write mode. The address is the first
byte of information sent to the MAX9860 after the
START condition.
Acknowledge
The acknowledge bit (ACK) is a clocked 9th bit that the
MAX9860 uses to handshake receipt each byte of data
when in write mode (see Figure 7). The MAX9860 pulls
down SDA during the entire master-generated 9th clock
pulse if the previous byte is successfully received.
Monitoring ACK allows for detection of unsuccessful
data transfers. An unsuccessful data transfer occurs if
a receiving device is busy or if a system fault has
occurred. In the event of an unsuccessful data transfer,
the bus master retries communication. The master pulls
down SDA during the 9th clock cycle to acknowledge
receipt of data when the MAX9860 is in read mode. An
acknowledge is sent by the master after each read byte
to allow data transfer to continue. A not acknowledge is
sent when the master reads the final byte of data from
the MAX9860, followed by a STOP condition.
Write Data Format
A write to the MAX9860 includes transmission of a
START condition, the slave address with the R/W bit set
to 0, one byte of data to configure the internal register
address pointer, one or more bytes of data, and a
STOP condition. Figure 9 illustrates the proper frame
format for writing one byte of data to the MAX9860.
Figure 10 illustrates the frame format for writing n bytes
of data to the MAX9860.
The slave address with the R/W bit set to 0 indicates
that the master intends to write data to the MAX9860.
The MAX9860 acknowledges receipt of the address
byte during the master-generated 9th SCL pulse.
The second byte transmitted from the master configures the MAX9860’s internal register address pointer.
The pointer tells the MAX9860 where to write the next
byte of data. An acknowledge pulse is sent by the
MAX9860 upon receipt of the address pointer data.
The third byte sent to the MAX9860 contains the data
that is written to the chosen register. An acknowledge
pulse from the MAX9860 signals receipt of the data byte.
The address pointer autoincrements to the next register
address after each received data byte. This autoincrement feature allows a master to write to sequential registers within one continuous frame. Figure 10 illustrates
how to write to multiple registers with one frame. The
master signals the end of transmission by issuing a
STOP condition. Register addresses greater than 0x10
are reserved. Do not write to these addresses.
Read Data Format
Send the slave address with the R/W bit set to 1 to initiate a read operation. The MAX9860 acknowledges
receipt of its slave address by pulling SDA low during
the 9th SCL clock pulse. A START command followed
by a read command resets the address pointer to register 0x00.
The first byte transmitted from the MAX9860 is the contents of register 0x00. Transmitted data is valid on the
rising edge of SCL. The address pointer autoincrements after each read data byte. This autoincrement
feature allows all registers to be read sequentially within
one continuous frame. A STOP (P) condition can be
issued after any number of read data bytes. If a STOP
condition is issued followed by another read operation,
the first data byte to be read is from register 0x00.
The address pointer can be preset to a specific register
before a read command is issued. The master presets
the address pointer by first sending the MAX9860’s
slave address with the R/W bit set to 0 followed by the
register address. A REPEATED START (Sr) condition is
then sent followed by the slave address with the R/W bit
set to 1. The MAX9860 then transmits the contents of
the specified register. The address pointer autoincrements after transmitting the first byte.
The master acknowledges receipt of each read byte
during the acknowledge clock pulse. The master must
acknowledge all correctly received bytes except the
last byte. The final byte must be followed by a not
acknowledge from the master and then a STOP condition. Figure 11 illustrates the frame format for reading
one byte from the MAX9860. Figure 12 illustrates the
frame format for reading multiple bytes from the
MAX9860.
Figure 11. Reading One Byte of Data from the MAX9860
Figure 12. Reading N Bytes of Data from the MAX9860
ACKNOWLEDGE FROM MAX9860
S
SLAVE ADDRESS
R/W
ACKNOWLEDGE FROM MAX9860
A
REGISTER ADDRESS
ACKNOWLEDGE FROM MAX9860
SA
R/W
ACKNOWLEDGE FROM MAX9860
0
ACKNOWLEDGE FROM MAX9860
ACKNOWLEDGE FROM MAX9860
ACKNOWLEDGE FROM MAX9860
B1 B0B3 B2B5 B4B7 B6
A
ACKNOWLEDGE FROM MAX9860
DATA BYTE 1
1 BYTE
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
ACKNOWLEDGE FROM MAX9860
Sr1SLAVE ADDRESSREGISTER ADDRESSSLAVE ADDRESS DATA BYTE
R/WREPEATED START
ACKNOWLEDGE FROM MAX9860
A0
NOT ACKNOWLEDGE FROM MASTER
AA
B1 B0B3 B2B5 B4B7 B6
DATA BYTE n
1 BYTE
A
1 BYTE
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
A
P
P
R/W
0
REPEATED START
SA
Sr1SLAVE ADDRESSREGISTER ADDRESSSLAVE ADDRESS DATA BYTE
R/W
AA
1 BYTE
AUTOINCREMENT INTERNAL
REGISTER ADDRESS POINTER
AP
Applications Information
Proper layout and grounding are essential for optimum
performance. When designing a PCB for the MAX9860,
partition the circuitry so that the analog sections of the
MAX9860 are separated from the digital sections. This
ensures that the analog audio traces do not need to be
routed near digital traces.
Use a large continuous ground plane on a dedicated
layer of the PCB to minimize loop areas. Connect
AGND, DGND, and MICGND directly to the ground
plane using the shortest trace length possible. Proper
grounding improves audio performance, minimizes
crosstalk between channels, and prevents any digital
noise from coupling into the analog audio signal.
Ground the bypass capacitors on REG, PREG, and REF
directly to the ground plane with minimum trace length.
Also be sure to minimize the path length to AGND and
MICGND. Bypass AVDD directly to AGND. Bypass
MICBIAS directly to MICGND.
Connect all digital I/O termination to the ground plane
with minimum path length to DGND. Bypass DVDD and
DVDDIO directly to DGND.
Route microphone signals from the microphone to the
MAX9860 as a differential pair, ensuring that the positive
and negative signals follow the same path as closely as
possible with equal trace length. When using singleended microphones or other single-ended audio
sources, AC ground the negative microphone input signal as near to the audio source as possible and then treat
the positive and negative traces as differential pairs.
The MAX9860 thin QFN package features an exposed
thermal pad on its underside. This pad lowers the package’s thermal resistance by providing a direct heat
conduction path from the die to the PCB. Connect the
exposed thermal pad to AGND.
An evaluation kit (EV kit) is available to provide an
example layout for the MAX9860. The EV kit allows
quick setup of the MAX9860 and includes easy-to-use
software allowing all internal registers to be controlled.
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
PACKAGE TYPEPACKAGE CODEDOCUMENT NO.
24 TQFN-EPT2444+4
21-0139
24L QFN THIN.EPS
MAX9860
16-Bit Mono Audio Voice Codec
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 ____________________