FEATURES
Single-Chip Integrated ⌺⌬ Digital Audio Stereo Codec
Multiple Channels of Stereo Input and Output
Digital Signal Mixing
On-Chip Speaker and Headphone Drive Capability
Programmable Gain and Attenuation
On-Chip Signal Filters
Digital Interpolation and Decimation
Analog Output Low-Pass
Sample Rates from 5.5 kHz to 48 kHz
44-Lead PLCC Package
Operation from 5 V and Mixed 5 V/3.3 V Supplies
Serial Interface Compatible with ADSP-21xx Fixed-
Point DSPs
Compatible with CS4215 (See Text)
PRODUCT OVERVIEW
The Serial-Port AD1849K SoundPort Stereo Codec integrates
the key audio data conversion and control functions into a single
integrated circuit. The AD1849K is intended to provide a complete, single-chip audio solution for multimedia applications
requiring operation from a single 5 V supply. External signal
path circuit requirements are limited to three low tolerance
capacitors for line level applications; anti-imaging filters are
incorporated on-chip. The AD1849K includes on-chip monaural
®
SoundPort
Stereo Codec
AD1849K
(mono) speaker and stereo headphone drive circuits that require
no additional external components. Dynamic range exceeds
80 dB over the 20 kHz audio band. Sample rates from 5.5 kHz
to 48 kHz are supported from external crystals, from an external
clock, or from the serial interface bit clock.
The Codec includes a stereo pair of Σ∆ analog-to-digital converters
and a stereo pair of Σ∆ digital-to-analog converters. Analog signals
can be input at line levels or microphone levels. A software
controlled programmable gain stage allows independent gain for
each channel going into the ADC. The ADCs’ output can be
digitally mixed with the DACs’ input.
The left and right channel 16-bit outputs from the ADCs are
available over a single bidirectional serial interface that also supports 16-bit digital input to the DACs and control information.
The AD1849K can accept and generate 8-bit µ-law or A-law
companded digital data.
The Σ∆ DACs are preceded by a digital interpolation filter. An
attenuator provides independent user volume control over each
DAC channel. Nyquist images and shaped quantization noise
are removed from the DACs’ analog stereo output by on-chip
switched-capacitor and continuous-time filters. Two independent
stereo pairs of line-level (or one line-level and one headphone)
outputs are generated, as well as drive for a monaural speaker.
FUNCTIONAL BLOCK DIAGRAM
dB
DIGITAL
SUPPLY
L
20
L
R
L
R
MUX
ANALOG
FILTER
ANALOG
FILTER
⌺
OUTRETURN
MONO SPEAKER
GAIN
R
GAIN
ATT EN UAT E
ATT EN UAT E
MUTE
ANALOG
SUPPLY
LINE L
ANALOG
IN
ANALOG
OUT
HEADPHONE RETURN
SoundPort is a registered trademark of Analog Devices, Inc.
LINE R
MIC L
MIC R
LOOPBACK
LINE 0 L
MUTE
LINE 0 R
LINE 1 L
MUTE
LINE 1 R
REV. A
⌺⌬ A/D
CONVERTER
⌺⌬ A/D
CONVERTER
⌺⌬ D/A
CONVERTER
⌺⌬ D/A
CONVERTER
REFERENCE
INTERPOL
INTERPOL ATT EN UAT E
2.25V
ATT EN UAT E
CRYSTALS
2
2
OSCILLATORS
MONITOR MIX
⌺
AD1849K
POWER-DOWN
/A
LAW
/A
LAW
/A
⌺
LAW
/A
LAW
CHAINING
OUTPUT
S
E
R
I
A
L
P
O
R
T
CHAINING
INPUT
L
O
O
P
B
A
C
K
2
DIGITAL
I/O
DATA/CONTROL
MODE
DATA/CONTROL
TRANSMIT
DATA/CONTROL
RECEIVE
PARALLEL I/O
BIT CLOCK
FRAME SYNC
RESET
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
Temperature25°CDAC Input Conditions
Digital Supply (V
Analog Supply (V
Clock (SCLK)256F
Master Mode256 Bits per FrameOLB = 1
Word Rate (F
Input Signal1kHz0 dB PGA Gain
Analog Output Passband20 Hz to 20 kHz–3.0 dB Relative to Full Scale
V
IH
V
IL
External Load Impedance10kΩ
(Line 0)
External Load Impedance48Ω
(Line 1)
External Load Capacitance100pF
(Line 0, 1)
ANALOG INPUT
Input Voltage*
(RMS Values Assume Sine Wave Input)
Line and Mic with 0 dB Gain0 940.991.04V rms
Mic with 20 dB Gain0.0940.0990.104V rms
Input Capacitance15pF
*Accounts for Sum of Worst Case Reference Errors and Worst Case Gain Errors.
PROGRAMMABLE GAIN AMPLIFIER—ADC
)5.0V0 dB Attenuation
DD
)5.0VFull-Scale Digital Inputs
CC
S
)48kHzADC Input Conditions
S
16-Bit Linear Mode
2.4VLine Input
0.8V16-Bit Linear Mode
All tests are performed on all ADC and DAC channels.
MinTypMaxUnit
2.662.802.94V p-p
0.2660.2800.294V p-p
MinTypMaxUnit
Step Size (0 dB to 22.5 dB)1.31.51.7dB
(All Steps Tested, –30 dB Input)
PGA Gain Range*
Line and Mic with 0 dB Gain–0.2+22.7dB
Mic with 20 dB Gain19.842.7dB
DIGITAL DECIMATION AND INTERPOLATION FILTERS*
MinMaxUnit
Passband00.45 × F
Hz
S
Passband Ripple± 0.1dB
Transition Band0.45 × F
Stopband≥0.55 × F
S
S
0.55 × F
Hz
S
Hz
Stopband Rejection74dB
Group Delay30/F
S
Group Delay Variation Over Passband0.0µs
–2–
REV. A
AD1849K
ANALOG-TO-DIGITAL CONVERTERS
MinTypMaxUnit
Resolution*16Bits
ADC Dynamic Range, A-Weighted7483dB
Line and Mic with 0 dB Gain (–60 dB Input,
THD+N Referenced to Full Scale)
Mic with 20 dB Gain (–60 dB Input,7274dB
THD+N Referenced to Full Scale)
ADC THD+N, (Referenced to Full Scale)
Line and Mic with 0 dB Gain0.0130.020%
–78–72dB
Mic with 20 dB Gain0.0320.056%
–70–65dB
ADC Crosstalk
Line to Line (Input L, Ground R,–80dB
Read R; Input R, Ground L, Read L)
Line to Mic (Input LINL & R,–60dB
Ground and Select MINL & R,
Read Both Channels)
Gain Error (Full-Scale Span Relative to Nominal)0.75dB
ADC Interchannel Gain Mismatch (Line and Mic)0.3dB
(Difference of Gain Errors)
DIGITAL-TO-ANALOG CONVERTERS
MinTypMaxUnit
Resolution*16Bits
DAC Dynamic Range
(–60 dB Input, THD+N Referenced to Full Scale)8086dB
DAC THD+N (Referenced to Full Scale)
Line 0 and 1 (10 kΩ Load)0.0100.020%
–80–74dB
Line 1 (48 Ω Load)0.0220.100%
–73–60dB
Mono Speaker (48 Ω Load)0.0450.100%
–67–60dB
DAC Crosstalk (Input L, Zero R, Measure–80dB
LOUT0R and 1R; Input R, Zero L,
Measure LOUT0L and 1L)
Gain Error (Full-Scale Span Relative to Nominal)0.75dB
DAC Interchannel Gain Mismatch (Line 0 and 1)0.3dB
(Difference of Gain Errors)
Total Out-of-Band Energy*–60dB
(Measured from 0.55 × FS to 100 kHz)
Audible Out-of-Band Energy*–72dB
(Measured from 0.55 F
All Selectable Sampling Frequencies)
*Guaranteed, not tested.
to 22 kHz,
S
REV. A
–3–
AD1849K
MONITOR MIX ATTENUATOR
MinTypMaxUnit
Step Size (0.0 dB to –60 dB)*1.31.51.7dB
Step Size (–61.5 dB to –94.5 dB)*1.01.52.0dB
Output Attenuation*–950.2dB
DAC ATTENUATOR
MinTypMaxUnit
Step Size (0.0 dB to –60 dB)1.31.51.7dB
(Tested at Steps –1.5 dB, –19.5 dB,
–39 dB and –60 dB)
Step Size (–61.5 dB to –94.5 dB)*1.01.52.0dB
Output Attenuation*–950.2dB
CMOUT Voltage (No Load)1.802.252.50V
CMOUT Current Drive*100µA
CMOUT Output Impedance4kΩ
Mute Attenuation of 0 dB–80dB
Fundamental* (LINE 0, 1, and MONO)
STATIC DIGITAL SPECIFICATIONS
MinMaxUnit
High Level Input Voltage (V
Digital Inputs2.4(V
XTAL1/2I2.4(V
Low Level Input Voltage (V
High Level Output Voltage (V
Low Level Output Voltage (V
)
IH
)–0.3+0.8V
IL
) at IOH = –2 mA2.4V
OH
) at IOL = 2 mA0.4V
OL
+) + 0.3V
DD
+) + 0.3V
DD
Input Leakage Current–10+10µA
(GO/NOGO Tested)
Output Leakage Current–10+10µA
(GO/NOGO Tested)
*Guaranteed, not tested.
–4–
REV. A
DIGITAL TIMING PARAMETERS (Guaranteed over 4.75 V to 5.25 V, 0ⴗC to 70ⴗC)
MinTypMaxUnit
AD1849K
SCLK Period (t
CLK
)
Slave Mode, MS = 080ns
Master Mode, MS = 1*1/(F
SCLK HI (t
)*
HI
× Bits per Frame)s
S
Slave Mode, MS = 025ns
SCLK LO (t
LO
)*
Slave Mode, MS = 025ns
CLKIN Frequency13.5MHz
CLKIN HI30ns
CLKIN LO30ns
Crystals Frequency27MHz
Input Setup Time (t
Input Hold Time (t
Output Delay (t
Output Hold Time (t
Output Hi-Z to Valid (t
Output Valid to Hi-Z (t
)15ns
S
)10ns
IH
)25ns
D
)0ns
OH
)15ns
ZV
)20ns
VZ
Power Up RESET LO Time50ms
Operating RESET LO Time100ns
POWER SUPPLY
MinTypMaxUnit
Power Supply Voltage Range*4.755.25V
–Digital and Analog
Power Supply Current—Operating100130mA
(50% I
VDD
, 50% I
, Unloaded Outputs)
VCC
Power Supply Current—Power Down20200µA
Power Supply Rejection (@ 1 kHz)*40dB
*Guaranteed, not tested.
Specifications subject to change without notice.
REV. A
–5–
AD1849K
ABSOLUTE MAXIMUM RATINGS*
MinMaxUnit
Power Supplies
Digital (V
Analog (V
)–0.3 +6.0V
DD
)–0.3 +6.0V
CC
Input Current
(Except Supply Pins and MOUT,± 10.0mA
MOUTR, LOUT1R, LOUT1L,
LOUT1C)
Analog Input Voltage (Signal Pins)–0.3(V
Digital Input Voltage (Signal Pins)–0.3(V
+) + 0.3 V
CC
+) + 0.3 V
DD
Ambient Temperature (Operating)070°C
Storage Temperature–65+150°C
ESD Tolerance (Human Body500V
Model per Method 3015.2
of MIL-STD-883B)
*Stresses greater than those listed under Absolute Maximum Ratings may cause
permanent damage to the device. This is a stress rating only; functional operation
of the device at these or any other conditions above those indicated in the
operational section of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
WARNING: CMOS device. May be susceptible to high-voltage
transient-induced latchup.
PIN CONFIGURATION
44-Lead Plastic Leaded Chip Carrier
DD
COUT1
V
DD
GNDD
CIN2
COUT2
RESET
PDN
C0
MINR
LINR
MINL
N/C = NO CONNECT
CLKOUT
CLKIN
CIN1
7
17
18
LINL
CMOUT
GNDD
V
1
AD1849KP
SOUNDPORT
STEREO CODEC
C1
REF
V
V
GNDA
SDRX
CC
SDTX
CC
V
FSYNC
SCLK
N/C
GNDA
TSIN
TSOUT
40 6
28
MOUT
MOUTR
39
29
GNDD
V
DD
PIO1
PIO0
D/C
N/C
LOUT0R
LOUT0L
LOUT1L
LOUT1C
LOUT1R
ORDERING GUIDE
TemperaturePackagePackage
ModelRangeDescriptionOption
AD1849KP 0°C to 70°C44-Lead PLCCP-44A
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the AD1849K features proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
WARNING!
ESD SENSITIVE DEVICE
–6–
REV. A
AD1849K
PIN FUNCTION DESCRIPTIONS
Digital Signals
Pin NamePLCCI/ODescription
SDRX1IReceive Serial Data Pin
SDTX44OTransmit Serial Data Pin
SCLK43I/OBidirectional Serial Bit Clock
FSYNC42OFrame Sync Output Signal
TSOUT41OChaining Word Output
TSIN40IChaining Word Input
D/C35IData/Control Select Input
CIN16ICrystal 1 Input
COUT17OCrystal 1 Output
CIN210ICrystal 2 Input
COUT211OCrystal 2 Output
CLKIN4IExternal Sample Clock Input (256 × F
CLKOUT5OExternal Sample Clock Output (256 × F
PDN13IPower Down Input (Active HI)
RESET12IReset Input (Active LO)
PIO137I/OParallel Input/Output Bit 1
PIO036I/OParallel Input/Output Bit 0
Analog Signals
Pin NamePLCCI/ODescription
)
S
)
S
LINL18ILeft Channel Line Input
LINR16IRight Channel Line Input
MINL17ILeft Channel Microphone Input (–20 dB from Line Level if MB = 0 or Line Level if MB = 1)
MINR15IRight Channel Microphone Input (–20 dB from Line Level if MB = 0 or Line Level if MB = 1)
LOUT0L32OLeft Channel Line Output 0
LOUT0R33ORight Channel Line Output 0
LOUT1L31OLeft Channel Line Output 1
LOUT1R29ORight Channel Line Output 1
LOUT1C30ICommon Return Path for Large Current from External Headphones
MOUT27OMono Speaker Output
MOUTR28IMono Speaker Output Return
C014OExternal 1.0 µF Capacitor (± 10%) Connection
C120OExternal 1.0 µF Capacitor (± 10%) Connection
N/C26No Connect (Do Not Connect)
N/C34No Connect (Do Not Connect)
V
REF
21OVoltage Reference (Connect to Bypass Capacitor)
CMOUT19OCommon Mode Reference Datum Output (Nominally 2.25 V)
Power Supplies
Pin NamePLCCI/ODescription
V
CC
23 and 24IAnalog Supply Voltage (5 V)
GNDA22 and 25IAnalog Ground
V
This section overviews the functionality of the AD1849K and
is intended as a general introduction to the capabilities of the
device. As much as possible, detailed reference information has
been placed in “Control Registers” and other sections. The user
is not expected to refer repeatedly to this section.
Analog Inputs
The AD1849K SoundPort Stereo Codec accepts stereo line-level
and mic-level inputs. These analog stereo signals are multiplexed
to the internal programmable gain amplifier (PGA) stage. The
mic inputs can be amplified by 20 dB prior to the PGA to compensate for the voltage swing difference between line levels and
typical condenser microphones. The mic inputs can bypass the
20 dB fixed gain block and go straight to the input multiplexer,
which often results in an improved system signal-to-noise ratio.
The PGA following the input multiplexer allows independent
selectable gains for each channel from 0 to 22.5 dB in 1.5 dB
steps. The Codec can operate either in a global stereo mode or
in a global mono mode with left-channel inputs appearing at
both channel outputs.
Analog-to-Digital Datapath
The AD1849K Σ∆ ADCs incorporate a proprietary fourth-order
modulator. A single pole of passive filtering is all that is required
for antialiasing the analog input because of the ADC’s high 64
times oversampling ratio. The ADCs include linear-phase digital
decimation filters that low-pass filter the input to 0.45 × F
(“FS” is the word rate or “sampling frequency”). ADC input
overrange conditions will cause a sticky bit to be set that can be
read.
Digital-to-Analog Datapath
The Σ∆ DACs are preceded by a programmable attenuator and
a low-pass digital interpolation filter. The attenuator allows
independent control of each DAC channel from 0 dB to –94.5 dB
in 1.5 dB steps plus full digital mute. The anti-imaging interpolation filter oversamples by 64 and digitally filters the higher
frequency images. The DACs’ Σ∆ noise shapers also oversample
by 64 and convert the signal to a single-bit stream. The DAC
outputs are then filtered in the analog domain by a combination
of switched-capacitor and continuous-time filters. They remove
the very high frequency components of the DAC bitstream
output, including both images at the oversampling rate and
shaped quantization noise. No external components are required.
Phase linearity at the analog output is achieved by internally
compensating for the group delay variation of the analog output
filters.
Attenuation settings are specified by control bits in the data
stream. Changes in DAC output level take effect only on zero
crossings of the digital signal, thereby eliminating “zipper”
noise. Each channel has its own independent zero-crossing
detector and attenuator change control circuitry. A timer
guarantees that requested volume changes will occur even in the
absence of an input signal that changes sign. The time-out
period is 10.7 milliseconds at a 48 kHz sampling rate and 64
milliseconds at an 8 kHz sampling rate (Time-out [ms] ≈ 512/
Sampling Rate [kHz]).
S
Monitor Mix
A monitor mix is supported that digitally mixes a portion of the
digitized analog input with the analog output (prior to digitization). The digital output from the ADCs going out of the serial
data port is unaffected by the monitor mix. Along the monitor
mix datapath, the 16-bit linear output from the ADCs is attenuated
by an amount specified with control bits. Both channels of
the monitor data are attenuated by the same amount. (Note
that internally the AD1849K always works with 16-bit PCM
linear data, digital mixing included; format conversions take
place at the input and output.)
Sixteen steps of –6 dB attenuation are supported to –94.5 dB. A
“0” implies no attenuation, while a “14” implies 84 dB of
attenuation. Specifying full scale “15” completely mutes the
monitor datapath, preventing any mixing of the analog input
with the digital input. Note that the level of the mixed output
signal is also a function of the input PGA settings since they
affect the ADCs’ output.
The attenuated monitor data is digitally summed with the DAC
input data prior to the DACs’ datapath attenuators. Because
both stereo signals are mixed before the output attenuators,
mix data is attenuated a second time by the DACs’ datapath
attenuators. The digital sum of digital mix data and DAC
input data is clipped at plus or minus full scale and does not
wrap around.
Analog Outputs
One stereo line-level output, one stereo headphone output, and
one monaural (mono) speaker output are available at external
pins. Each of these outputs can be independently muted. Muting
either the line-level stereo output or the headphone stereo
output mutes both left and right channels of that output. When
muted, the outputs will settle to a dc value near CMOUT,
the midscale reference voltage. The mono speaker output is
differential. The chip can operate either in a global stereo mode
or in a global mono mode with left channel inputs appearing at
both outputs.
Digital Data Types
The AD1849K supports four global data types: 16-bit twoscomplement linear PCM, 8-bit unsigned linear PCM, 8-bit
companded µ-law, and 8-bit companded A-law, as specified by
control register bits. Data in all four formats is always transferred MSB first. Sixteen-bit linear data output from the ADCs
and input to the DACs is in twos-complement format. Eight-bit
data is always left-justified in 16-bit fields; in other words, the
MSBs of all data types are always aligned; in yet other words,
full-scale representations in all three formats correspond to
equivalent full-scale signals. The eight least-significant bit positions
of 8-bit linear and companded data in 16-bit fields are ignored
on input and zeroed on output.
The 16-bit PCM data format is capable of representing 96 dB of
dynamic range. Eight-bit PCM can represent 48 dB of dynamic
range. Companded µ-law and A-law data formats use nonlinear
coding with less precision for large-amplitude signals. The loss
of precision is compensated for by an increase in dynamic range
to 64 dB and 72 dB, respectively.
–8–
REV. A
AD1849K
On input, 8-bit companded data is expanded to an internal
linear representation, according to whether µ-law or A-law was
specified in the Codec’s internal registers. Note that when µ-law
compressed data is expanded to a linear format, it requires 14
bits. A-law data expanded requires 13 bits, see Figure 1.
COMPRESSED
INPUT DATA
EXPANSION
DAC INPUT
150
MSB
150
MSB
150
MSB
LSB
8 7
3/2 2/1
LSB
3/2 2/1
LSB
0 0 0 / 0 0
Figure 1. A-Law or µ-Law Expansion
When 8-bit companding is specified, the ADCs’ linear output is
compressed to the format specified prior to output. See Figure 2.
Note that all format conversions take place at input or output.
Internally, the AD1849K always uses 16-bit linear PCM
representations to maintain maximum precision.
150
ADC OUTPUT
TRUNCATION
COMPRESSION
MSB
150
MSB
150
MSB
8 7
LSB
3/2
LSB
0 0 0 0 0 0 0 0
LSB
2/1
Figure 2. A-Law or µ-Law Compression
Power Supplies and Voltage Reference
The AD1849K operates from 5 V power supplies. Independent
analog and digital supplies are recommended for optimal
performance, though excellent results can be obtained in single
supply systems. A voltage reference is included on the Codec
and its 2.25 V buffered output is available on an external pin
(CMOUT). The CMOUT output can be used for biasing op
amps used in dc coupling. The internal reference is externally
bypassed to analog ground at the V
pin. Note that V
REF
REF
should only be connected to its bypass capacitors.
Autocalibration
The AD1849K supports an autocalibration sequence to eliminate
DAC and ADC offsets. The autocalibration sequence is
initiated in the transition from Control Mode to Data Mode,
regardless of the state of the AC bit. The user should specify
that analog outputs be muted to prevent undesired outputs.
Monitor mix will be automatically disabled by the Codec.
During the autocalibration sequence, the serial data output from
the ADCs is meaningless and the ADI bit is asserted. Serial data
inputs to the DACs are ignored. Even if the user specified the
muting of all analog outputs, near the end of the autocalibration
sequence, dc analog outputs very close to CMOUT will be
produced at the line outputs and mono speaker output.
An autocalibration sequence is also performed when the
AD1849K leaves the reset state (i.e., RESET goes HI). The
RESET pin should be held LO for 50 ms after power up or after
leaving power-down mode to delay the onset of the autocalibration
sequence until after the voltage reference has settled.
Loopback
Digital and analog loopback modes are supported for device and
system testing. The monitor mix datapath is always available for
loopback test purposes. Additional loopback tests are enabled by
setting the ENL bit (Control Word Bit 33) to a “1.”
Analog loopback mode D-A-D is enabled by setting the ADL
bit (Control Word Bit 32) to a “1” when ENL is a “1.” In this
mode, the DACs’ analog outputs are re-input to the PGAs prior
to the ADCs, allowing digital inputs to be compared to digital
outputs. The monitor mix will be automatically disabled by the
Codec during D-A-D loopback. The analog outputs can be
individually attenuated, and the analog inputs are internally
disconnected. Note that muting the line 0 output mutes the
looped-back signal in this mode.
Digital loopback mode D-D is enabled by resetting the ADL bit
(Control Word Bit 32) to a “0” when ENL is a “1.” In this mode,
the control and data bit pattern presented on the SDRX pin is
echoed on the SDTX pin with a two frame delay, allowing the
host controller to verify the integrity of the serial interface starting
on the third frame after D-D loopback is enabled. During digital
loopback mode, the output DACs are operational.
REV. A
–9–
Loading...
+ 19 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.