Sample Clocks
8 kHz to 56 kHz Sample Clock Frequency Range
Approximately 1:2 to 2:1 Ratio Between Sample
Clocks
–96 dB THD+N at 1 kHz
96 dB Dynamic Range
Optimal Clock Tracking Control
Slow/Fast Settling Modes
Linear Phase in All Modes
Automatic Output Mute
Flexible Four Wire Serial Interfaces with Right-Justified
Mode
Power-Down Mode
On-Chip Oscillator
APPLICATIONS
Consumer CD-R, DAT, DCC, MD and 8 mm Video Tape
Recorders Including Portables
Digital Audio Communication/Network Systems
Computer Multimedia Systems
PRODUCT OVERVIEW
The AD1893 SamplePort® is a fully digital, stereo Asynchronous
Sample Rate Converter (ASRC) that solves sample rate interfacing
and compatibility problems in digital audio equipment. Conceptually, this converter interpolates the input data up to a very high
internal sample rate with a time resolution of 300 ps, then decimates down to the desired output sample rate. The AD1893 is
intended for 16-bit low cost, non-varispeed applications where low
voltage, low power (i.e., battery-powered) operation is required.
Refer to the AD1890/AD1891 data sheet for other products in the
SamplePort family. This device is asynchronous because the
frequency and phase relationships between the input and output
sample clocks (both are inputs to the AD1893 ASRC) are arbitrary
and need not be related by a simple integer ratio. There is no need
to explicitly select or program the input and output sample clock
frequencies, as the AD1893 automatically senses the relationship
between the two clocks. The input and output sample clock
frequencies can nominally range from 8 kHz to 56 kHz, and the
ratio between them can vary from approximately 1:2 to 2:1.
SamplePort is a registered trademark of Analog Devices, Inc.
Sample Rate Converter
AD1893
SYSTEM DIAGRAM
EXAMPLE
FREQUENCIES:
DAT 48kHz OR
CD 44.1kHz OR
BROADCAST 32kHz
INPUT SAMPLE CLOCK
INPUT SERIAL DATAOUTPUT SERIAL DATA
The AD1893 uses multirate digital signal processing techniques
to construct an output sample stream from the input sample
stream. The input word width is 4 to 16 bits for the AD1893.
Shorter input words are automatically zero-filled in the LSBs.
The output word width is 24 bits. The user can receive as many
of the output bits as desired. Internal arithmetic is performed
with 22-bit coefficients and 27-bit accumulation. The digital
samples are processed with unity gain.
The input and output control signals allow for considerable
flexibility for interfacing to a variety of DSP chips, AES/EBU
receivers and transmitters and for I2S compatible devices. Input
and output data can be independently right- or left- (with or
without a one bit clock delay) justified to the left/
edge. In the right-justified mode, the MSB is delayed 16 bit
clock periods from the left/
output data can also be independently justified to the word
clock rising edge. The data justification options are encoded on
two mode pins for both the input port and the output port. The
bit clocks can also be independently configured for rising edge
active or falling edge active operation.
The AD1893 SamplePort ASRC has on-chip digital coefficients
that correspond to a highly oversampled 0 Hz to 20 kHz lowpass filter with a flat passband, a very narrow transition band,
and a high degree of stopband attenuation. A subset of these
filter coefficients are dynamically chosen on the basis of the
filtered ratio between the input sample clock (L
output sample clock (L
in an FIR convolver to perform the sample rate conversion.
Refer to the “Theory of Operation” section of this data sheet for
a more thorough functional description. The low-pass filter has
been designed so that full 20 kHz bandwidth is maintained
when the input and output sample clock frequencies are as low
as 44.1 kHz. If the output sample rate drops below the input
sample rate, the bandwidth of the input signal is automatically
AD1893
right clock edge transition. Input and
R 0), and these coefficients are then used
EXAMPLE
FREQUENCIES:
DAT 48kHz OR
CD 44.1kHz OR
BROADCAST 32kHz
OUTPUT SAMPLE CLOCK
right clock
R I) and the
(continued on Page 4)
REV. 0
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.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 617/329-4700Fax: 617/326-8703
AD1893–SPECIFICATIONS
TEST CONDITIONS UNLESS OTHERWISE NOTED
Supply Voltage+3.0V
Ambient Temperature25°C
Crystal Frequency16MHz
Load Capacitance100pF
All minimums and maximums tested except as noted.
PERFORMANCE† (Guaranteed for V
= +3.3 V to +5.0 V ± 10%)
DD
MinMaxUnits
Dynamic Range (20 Hz to 20 kHz, –60 dB Input)96dB
Total Harmonic Distortion + NoisedB
(20 Hz to 20 kHz, Full-Scale Input,
F
SOUT/FSIN
(1 kHz Full-Scale Input, F
(10 kHz Full-Scale Input, F
Between 0.51 and 1.99)–94dB
SOUT/FSIN
SOUT/FSIN
Between 0.7 and 1.4)–96dB
Between 0.7 and 1.4)–95dB
Interchannel Phase Deviation0Degrees
Input and Output Sample Clock Jitter10ns
(For ≤1 dB Degradation in THD+N with 10 kHz Full-Scale Input, Slow-Settling Mode)
DIGITAL INPUTS (Guaranteed for V
= +3.0 V to +5.0 V ± 10%)
DD
MinMaxUnits
V
IH
V
(V
≥ +3.0 V)0.8V
IL
DD
(+2.7 V ≤ V
V
IL
I
@ V
IH
I
IH
I
IL
I
IL
V
OH
V
OH
V
OL
= +5.0 V, All Pins Except XTAL_I4µA
IH
@ V
= +5.0 V, XTAL_I Pin6µA
IH
@ V
= 0 V, All Pins Except XTAL_I4µA
IL
@ V
= 0 V, XTAL_I Pin6µA
IL
@ IOH = –4 mA (V
@ I
OH
@ IOL = 4 mA0.4V
< +3.0 V)0.7V
DD
≥ +3.0 V)2.4V
= –4 mA (+2.7 V ≤ V
DD
< +3.0 V)2.2V
DD
2.0V
Input Capacitance†15pF
DIGITAL TIMING (Guaranteed for V
t
crystal
F
crystal
t
PWL
t
PWH
F
LRI
t
RPWL
t
RS
t
BCLK
F
BCLK
t
BPWL
t
BPWH
t
WSI
t
WSO
t
LRSI
t
LRSO
t
DS
t
DH
t
DPD
t
DOH
Crystal Period62.5125ns
Crystal Frequency (1/t
Crystal LO Pulse Width20ns
Crystal HI Pulse Width20ns
LR_I Frequency with 16 MHz Crystal†1056kHz
RESET LO Pulse Width125ns
RESET Setup to Crystal Falling15ns
BCLK_I/O Period†120ns
BCLK_I/O Frequency (l/t
BCLK_I/O LO Pulse Width55ns
BCLK_I/O HI Pulse Width55ns
WCLK_I Setup to BCLK_I15ns
WCLK_O Setup to BCLK_O40ns
LR_I Setup to BCLK_I15ns
LR_O Setup to BCLK_O55ns
Data Setup to BCLK_I0ns
Data Hold from BCLK_I35ns
Data Propagation Delay from BCLK_O90ns
Data Output Hold from BCLK_O15ns
= +3.0 V to +5.0 V ± 10%) See Figures 26 through 28.
DD
)16MHz
crystal
)†8.33MHz
BCLK
MinMaxUnits
–2–
REV. 0
DIGITAL FILTER CHARACTERISTICS†
AD1893
MinMaxUnits
Passband Ripple (0 to 20 kHz)0.01dB
Transition Band
l
4.1kHz
Stopband Attenuation110dB
Group Delay (LR_I = 50 kHz)7003000µs
POWER (F
= 48 kHz, F
SIN
= 44.1 kHz)
SOUT
MinTypMaxUnits
Supplies
Voltage, V
DD
Operational Current, I
Operational Current, I
Power-Down Current, I
Power-Down Current, I
(VDD = +5.0 V)3040mA
DD
(VDD = +3.0 V)†1520mA
DD
(VDD = +5.0 V)1.52.5mA
DD
(VDD = +3.0 V)†0.51.0mA
DD
2.75.5V
Dissipation†
Operation (V
Operation (V
Power-Down (V
= +5.0 V)150200mW
DD
= +3.0 V)4560mW
DD
= +5.0 V)7.512.5mW
DD
Power-Down (VDD = +3.0 V)1.53.0mW
TEMPERATURE RANGE
MinMaxUnits
Operation Guaranteed–40+85°C
Storage–60+100°C
ABSOLUTE MAXIMUM RATINGS*
MinMaxUnits
VDD to GND–0.37.0V
DC Input Voltage–0.3V
+ 0.3V
DD
Latch-Up Trigger Current–1000+1000mA
Soldering+300°C
10sec
*Stresses greater than those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional opera-
tion 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.
AD1893JN0°C to +70°CPlastic DIPN-28
AD1893JST0°C to +70°CTQFPST-44
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.
WARNING!
Although the AD1893 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.
ESD SENSITIVE DEVICE
REV. 0
–3–
AD1893
O
(continued from Page 1)
PRODUCT OVERVIEW (Continued)
limited to avoid alias distortion on the output signal. The
AD1893 dynamically alters the low-pass filter cutoff frequency
smoothly and slowly, so that real-time variations in the sample
rate ratio are possible without degradation of the audio quality.
The AD1893 has a pin selectable slow- or fast-settling mode.
This mode determines how quickly the ASRC adapts to a
change in either the input sample clock frequency (F
output sample clock frequency (F
). In the slow-settling
SOUT
mode, the control loop which computes the ratio between F
and F
settles in approximately 800 ms and begins to reject
SOUT
) or the
SIN
SIN
jitter above 3 Hz. The slow-settling mode offers the best signal
quality and the greatest jitter rejection. In the fast-settling mode,
the control loop settles in approximately 200 ms and begins to
reject jitter above 12 Hz. The fast-settling mode allows rapid,
real time sample rate changes to be tracked without error, at the
expense of some narrow-band noise modulation products on the
output signal.
The AD1893 features short group delay processing. This feature
relates to the depth of the First-In, First-Out (FIFO) memory
which buffers the input data samples before they are processed
by the FIR convolver. In the AD1893, the group delay is
approximately 700 µs. If the read and write pointers that
manage the FIFO cross (indicating underflow or overflow), the
AD1893 asserts the mute output (MUTE_O) pin HI for 128
output clock cycles. If MUTE_O is connected to the mute input
(MUTE_I) pin, as it normally should be, the serial output will
be muted (i.e., all bits zero) during this transient event.
The AD1893 includes an on-chip oscillator which only requires
that the user provide an external crystal. By removing the need
for an external oscillator, the AD1893 lowers the total cost of
ownership to the end user. The AD1893 also includes a powerdown mode, which is invoked with the PWRDWN pin.
Asserting this control signal HI will place the AD1893 into a
very low power dissipation in active and standby condition.
The AD1893 is fabricated in a 0.8 µm single poly, double metal
CMOS process and are packaged in a 0.6" wide 28-pin plastic
DIP and a 10 mm by 10 mm body size 44-pin TQFP. The
AD1893 operates from a +3 V to +5 V power supply over the
temperature range of 0°C to +70°C.
XTAL_O
XTAL_I
DATA_I
BCLK_I
WCLK_I
BKPOL_I
MODE0_I
MODE1_I
BCLK_I
WCLK_I
BKPOL_I
MODE0_I
N/C = NO CONNECT
LR_I
V
GND
N/C
RESET
GND
N/C
LR_I
N/C
V
GND
N/C
N/C
1
2
3
4
5
6
7
DD
8
9
10
11
12
13
14
1
2
3
4
5
6
DD
7
8
9
10
11
N/C = NO CONNECT
SERIAL IN
SERIAL OUT
ACCUM
MULT
CLOCK
TRACKING
COEF ROM
FIFO
AD1893 DIP Pinout
N/C
XTAL_I
DATA_I
N/C
4439 38
43
XTAL_O
404142
N/C
AD1893
SERIAL IN
ACCUM
MULT
FIFO
CLOCK
TRACKING
N/C
RESET
MODE1_I
N/C
GND
N/C
AD1893 TQFP Pinout
AD1893
SETSLW
N/C
37
36 35 34
SERIAL OUT
COEF ROM
N/C
MUTE_I
BCLK_O
PWRDWN
21 2218201912 1315 16 1714
MUTE_O
MODE1_0
N/C
N/C
28
27
26
25
24
23
22
21
20
19
18
17
16
15
33
32
31
30
29
28
27
26
25
24
23
SETSLW
PWRDWN
BCLK_O
WCLK_O
LR_O
DATA_O
V
DD
GND
N/C
BKPOL_O
MODE0_O
MODE1_O
MUTE_O
MUTE_I
N/C
WCLK_O
LR_O
DATA_O
N/C
V
DD
GND
N/C
BKPOL_O
MODE0_
N/C
–4–
REV. 0
AD1893
DEFINITIONS
Dynamic Range
The ratio of a near full-scale input signal to the integrated noise
in the passband (0 to ≈20 kHz), expressed in decibels (dB).
Dynamic range is measured with a –60 dB input signal and
“60 dB” arithmetically added to the result.
Total Harmonic Distortion + Noise
Total Harmonic Distortion plus Noise (THD+N) is defined as
the ratio of the square root of the sum of the squares of the
values of the harmonics and noise to the rms value of a
sinusoidal input signal. It is usually expressed in percent (%) or
decibels.
Interchannel Phase Deviation
Difference in input sampling times between stereo channels,
expressed as a phase difference in degrees between 1 kHz
inputs.
AD1893 PIN LIST
Serial Input Interface
Pin Name DIPTQFP I/ODescription
DATA_I343ISerial input, MSB first, containing two channels of 4 to 16 bits of twos-complement data per
channel.
BCLK_I42IBit clock input for input data. Need not run continuously; may be gated or used in a burst fashion.
WCLK_I53IWord clock input for input data. This input is rising edge sensitive. (Not required in L
data clock triggered modes.)
LR_I64ILeft/right clock input for input data. Must run continuously.
Group Delay
Intuitively, the time interval required for a full-level input pulse
to appear at the converter’s output, at full level, expressed in
milliseconds (ms). More precisely, the derivative of radian phase
with respect to radian frequency at a given frequency.
Transport Delay
The time interval between when an impulse is applied to the
converter’s input and when the output starts to be affected by
this impulse, expressed in milliseconds (ms). Transport delay is
independent of frequency.
R input
Serial Output Interface
Pin Name DIPTQFP I/ODescription
DATA_O2330OSerial output, MSB first, containing two channels of 4- to 24-bits of twos-complement data per
channel.
BCLK_O2635IBit clock input for output data. Need not run continuously; may be gated or used in a burst
fashion.
WCLK_O2532IWord clock input for output data. This input is rising edge sensitive. (Not required in L
data clock triggered modes.)
LR_O2431ILeft/right clock input for output data. Must run continuously.
Input Control Signals
Pin Name DIPTQFP I/O Description
BKPOL_I109IBit clock polarity. LO: Normal mode. Input data is sampled on rising edges of BCLK_I. HI:
Inverted mode. Input data is sampled on falling edges of BCLK_I.
MODE0_I 1110ISerial mode zero control for input port.
MODE1_I 1213ISerial mode one control for input port.
MODE0_IMODE1_I
00Left-justified, no MSB delay, L
01Left-justified, MSB delay, L
10Right-justified, MSB delayed 16 bit clock periods from L
11WCLK_I triggered, no MSB delay.
R_I clock triggered.
R_I clock triggered.
R output
R_I transition.
REV. 0
–5–
AD1893
Output Control Signals
Pin Name DIPI/O TQFPDescription
BKPOL_O 19I25Bit clock polarity. LO: Normal mode. Output data is valid on rising edges of BCLK_O, changed
on falling. HI: Inverted mode. Output data is valid on falling edges of BCLK_O, changed on
rising.
MODE0_O 18I24Serial mode zero control for output port.
MODE1_O 17I21Serial mode one control for output port.
MODE0_OMODE1_O
00Left-justified, no MSB delay, LR_O clock triggered.
01Left-justified, MSB delay, L
10Right-justified, MSB delayed 16 bit clock periods from L
11WCLK_O triggered, no MSB delay.
Miscellaneous
Pin Name DIPTQFPI/ODescription
XTAL_O140OCrystal output. Connect to one side of nominal 16 MHz crystal for sampling frequencies
word rates) from 8 kHz to 56 kHz.
(F
S
XTAL_I242ICrystal input. Connect to other side of nominal 16 MHz crystal for sampling frequencies
(F
word rates) from 8 kHz to 56 kHz. Use this input to overdrive the on-chip oscillator
S
with an external clock source.
RESET1314IActive LO reset. Set HI for normal chip operation.
MUTE_O1620OMute output. HI indicates that data is not currently valid due to read and write FIFO
memory pointer overlap. LO indicates normal operation.
MUTE_I1518IMute input. HI mutes the serial output to zeros (midscale). Normally connected to
MUTE_O. Reset LO for normal operation.
SETLSLW 2838ISettle slowly to changes in sample rates. HI: Slow-settling mode (≈800 ms). Less sensitive
to sample clock jitter. LO: Fast-settling mode (≈200 ms). Some narrow-band noise
modulation may result from jitter on the L
respect to the crystal frequency, and dynamically changed, but is normally pulled up or
pulled down on a static basis.
PWRDWN 2736IPower-down input. Set HI for inactive, low power dissipation state. Reset LO for normal
operation.
N/C9, 201, 5, 8,No connect. Reserved. Do not connect.