FEATURES
Specified for V
Read-Only Operation
AD7854–200 kSPS; AD7854L–100 kSPS
System and Self-Calibration
Low Power
Normal Operation
AD7854: 15 mW (V
AD7854L: 5.5 mW (V
Automatic Power-Down After Conversion (25 W)
AD7854: 1.3 mW 10 kSPS
AD7854L: 650 W 10 kSPS
Flexible Parallel Interface
12-Bit Parallel/8-Bit Parallel (AD7854)
28-Lead DIP, SOIC and SSOP Packages (AD7854)
APPLICATIONS
Battery-Powered Systems (Personal Digital Assistants,
Medical Instruments, Mobile Communications)
Pen Computers
Instrumentation and Control Systems
High Speed Modems
of 3 V to 5.5 V
DD
= 3 V)
DD
DD
= 3 V)
AIN(+)
AIN(–)
REFIN/
REF
C
C
OUT
REF1
REF2
12-Bit Sampling ADCs
AD7854/AD7854L*
FUNCTIONAL BLOCK DIAGRAM
AV
DD
T/H
2.5V
REFERENCE
BUF
CHARGE
REDISTRIBUTION
DAC
CALIBRATION
MEMORY
AND CONTROLLER
PARALLEL INTERFACE/ CONTROL REGISTER
DB11–DB0
AGND
AD7854/AD7854L
COMP
CS
RD
SAR + ADC
CONTROL
HBEN
WR
DV
DD
DGND
CLKIN
CONVST
BUSY
GENERAL DESCRIPTION
The AD7854/AD7854L is a high speed, low power, 12-bit ADC
that operates from a single 3 V or 5 V power supply, the
AD7854 being optimized for speed and the AD7854L for low
power. The ADC powers up with a set of default conditions at
which time it can be operated as a read-only ADC. The ADC
contains self-calibration and system calibration options to ensure accurate operation over time and temperature and has a
number of power-down options for low power applications.
The AD7854 is capable of 200 kHz throughput rate while the
AD7854L is capable of 100 kHz throughput rate. The input
track-and-hold acquires a signal in 500 ns and features a pseudodifferential sampling scheme. The AD7854 and AD7854L input
voltage range is 0 to V
centered at V
/2 (bipolar). The coding is straight binary in
REF
(unipolar) and –V
REF
/2 to +V
REF
REF
/2,
unipolar mode and twos complement in bipolar mode. Input
signal range is to the supply and the part is capable of converting full-power signals to 100 kHz.
CMOS construction ensures low power dissipation of typically
5.4 mW for normal operation and 3.6 µW in power-down mode.
The part is available in 28-lead, 0.6 inch wide dual-in-line package (DIP), 28-lead small outline (SOIC) and 28-lead small
shrink outline (SSOP) packages.
*Patent pending.
See Page 27 for data sheet index.
PRODUCT HIGHLIGHTS
1. Operation with either 3 V or 5 V power supplies.
2. Flexible power management options including automatic
power-down after conversion. By using the power management options a superior power performance at slower
throughput rates can be achieved:
AD7854: 1 mW typ @ 10 kSPS
AD7854L: 1 mW typ @ 20 kSPS
3. Operates with reference voltages from 1.2 V to AV
4. Analog input ranges from 0 V to AV
DD
.
DD
.
5. Self-calibration and system calibration.
6. Versatile parallel I/O port.
7. Lower power version AD7854L.
REV. B
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.
Signal to Noise + Distortion Ratio3707170dB minTypically SNR is 72 dB
(SNR)VIN = 10 kHz Sine Wave, f
Total Harmonic Distortion (THD)–78–78–78dB maxVIN = 10 kHz Sine Wave, f
Peak Harmonic or Spurious Noise–78–78–78dB maxVIN = 10 kHz Sine Wave, f
Intermodulation Distortion (IMD)
Second Order Terms–78–78–78dB typfa = 9.983 kHz, fb = 10.05 kHz, f
Third Order Terms–78–78–78dB typfa = 9.983 kHz, fb = 10.05 kHz, f
DC ACCURACY
Resolution121212Bits
Integral Nonlinearity±1±0.5±1LSB max5 V Reference V
Differential Nonlinearity±1±1±1LSB maxGuaranteed No Missed Codes to 12 Bits
Unipolar Offset Error± 3±3± 4LSB max
Unipolar Gain Error±4± 4±4LSB max
Bipolar Positive Full-Scale Error± 4±4±5LSB max
Negative Full-Scale Error±4± 4±5LSB max
Bipolar Zero Error±4± 4±5LSB max
ANALOG INPUT
Input Voltage Ranges0 to V
Leakage Current±1± 1±1µA max
Input Capacitance202020pF typ
REFERENCE INPUT/OUTPUT
REFIN Input Voltage Range2.3/V
Input Impedance150150150kΩ typ
REF
Output Voltage2.3/2.752.3/2.72.3/2.7V min/max
OUT
REF
Tempco202020ppm/°C typ
OUT
LOGIC INPUTS
Input High Voltage, V
Input Low Voltage, V
Input Current, I
Input Capacitance, C
LOGIC OUTPUTS
Output High Voltage, V
= 4 MHz (for L Version: 1.8 MHz (0ⴗC to +70ⴗC) and 1 MHz (–40ⴗC to +85ⴗC)); f
CLKIN
to T
MIN
, unless otherwise noted.) Specifications in () apply to the AD7854L.
MAX
±2± 2±2LSB typ
±2± 2±2LSB typ
±2± 2±2LSB typ
±2± 2±2LSB typ
INH
0 to V
REF
2.3/V
REF
/2± V
DD
±V
REF
REF
/2± V
DD
333V minAV
0 to V
REF
2.3/V
DD
2.12.12.1V minAV
INL
0.40.40.4V maxAV
0.60.60.6V maxAV
IN
4
IN
OH
±10± 10±10µA maxTypically 10 nA, VIN = 0 V or V
101010pF max
444V minAVDD = DVDD = 4.5 V to 5.5 V
2.42.42.4V minAVDD = DVDD = 3.0 V to 3.6 V
(AVDD = DVDD = +3.0 V to +5.5 V, REFIN/REF
= 200 kHz (AD7854), 100 kHz
SAMPLE
(L Version: f
(L Version: f
(L Version: f
(L Version: f
(L Version: f
Voltsi.e., AIN(+) – AIN(–) = 0 to V
REF
SAMPLE
SAMPLE
SAMPLE
SAMPLE
SAMPLE
DD
biased up but AIN(+) cannot go below AIN(–).
/2Voltsi.e., AIN(+) – AIN(–) = –V
should be biased to +V
AIN(–) but cannot go below 0 V.
V min/maxFunctional from 1.2 V
= DVDD = 4.5 V to 5.5 V
DD
= DVDD = 3.0 V to 3.6 V
DD
= DVDD = 4.5 V to 5.5 V
DD
= DVDD = 3.0 V to 3.6 V
DD
I
= 200 µA
SOURCE
SAMPLE
= 100 kHz @ f
SAMPLE
= 100 kHz @ f
SAMPLE
= 100 kHz @ f
= 100 kHz @ f
= 100 kHz @ f
= 5 V
/2 and AIN(+) can go below
REF
REF
/2 to +V
REF
= 200 kHz
= 200 kHz
= 200 kHz
SAMPLE
SAMPLE
DD
= 2.5 V
OUT
= 2 MHz)
CLKIN
= 2 MHz)
CLKIN
= 2 MHz)
CLKIN
= 200 kHz
= 2 MHz)
CLKIN
= 200 kHz
= 2 MHz)
CLKIN
, AIN(–) can be
/2, AIN(–)
REF
Output Low Voltage, V
OL
0.40.40.4V maxI
= 0.8 mA
SINK
Floating-State Leakage Current± 10±10± 10µA max
Floating-State Output Capacitance4101010pF max
Output CodingStraight (Natural) BinaryUnipolar Input Range
With External Clock On101010µA typFull power-down. Power management bits in control
With External Clock Off555µA maxTypically 1 µA. Full power-down. Power management
Normal Mode Power Dissipation30 (10)30 (10)30 (10)mW maxV
Sleep Mode Power Dissipation
With External Clock On555555µW typV
With External Clock Off27.527.527.5µW maxV
SYSTEM CALIBRATION
Offset Calibration Span
Gain Calibration Span
NOTES
1
Temperature ranges as follows: A, B Versions, –40°C to +85°C; S Version, –55°C to +125°C.
2
Specifications apply after calibration.
3
Not production tested. Guaranteed by characterization at initial product release.
4
Sample tested @ +25°C to ensure compliance.
5
All digital inputs @ DGND except for CONVST @ DVDD. No load on the digital outputs. Analog inputs @ AGND.
6
CLKIN @ DGND when external clock off. All digital inputs @ DGND except for CONVST @ DVDD. No load on the digital outputs. Analog inputs @ AGND.
7
The offset and gain calibration spans are defined as the range of offset and gain errors that the AD7854/AD7854L can calibrate. Note also that these are voltage spans
7
7
and are not absolute voltages (i.e., the allowable system offset voltage presented at AIN(+) for the system offset error to be adjusted out will be AIN(–) ±0.05 × V
and the allowable system full-scale voltage applied between AIN(+) and AIN(–) for the system full-scale voltage error to be adjusted out will be V
(unipolar mode) and V
/2 ± 0.025 × V
REF
Specifications subject to change without notice.
+3.0/+5.5+3.0/+5.5+3.0/+5.5V min/max
5.5 (1.8)5.5 (1.8)6 (1.8)mA maxAV
= DVDD = 4.5 V to 5.5 V. Typically 4.5 mA
DD
(1.5 mA);
5.5 (1.8)5.5 (1.8)6 (1.8)mA maxAV
= DVDD = 3.0 V to 3.6 V. Typically 4.0 mA
DD
(1.5 mA).
register set as PMGT1 = 1, PMGT0 = 0.
400400400µA typPartial power-down. Power management bits in
control register set as PMGT1 = 1, PMGT0 = 1.
bits in control register set as PMGT1 = 1,
PMGT0 = 0.
200200200µA typPartial power-down. Power management bits in
control register set as PMGT1 = 1, PMGT0 = 1.
= 5.5 V: Typically 25 mW (8)
20 (6.5)20 (6.5)20 (6.5)mW maxV
363636µW typV
DD
= 3.6 V: Typically 15 mW (5.4)
DD
= 5.5 V
DD
= 3.6 V
DD
= 5.5 V: Typically 5.5 µW
DD
181818µW maxVDD = 3.6 V: Typically 3.6 µW
+0.05 × V
+0.025 × V
(bipolar mode)). This is explained in more detail in the calibration section of the data sheet.
REF
/–0.05 × V
REF
/–0.025 × V
REF
REF
REF
V max/minAllowable Offset Voltage Span for Calibration
V max/minAllowable Full-Scale Voltage Span for Calibration
± 0.025 × V
REF
REF
REF
,
REV. B
–3–
AD7854/AD7854L
(AV
= DVDD = +3.0 V to +5.5 V; f
DD
1
TIMING SPECIFICATIONS
Limit at T
MIN
, T
TA = T
MAX
MIN
to T
, unless otherwise noted)
MAX
(A, B, S Versions)
Parameter5 V3 VUnitsDescription
2
f
CLKIN
500500kHz minMaster Clock Frequency
44MHz max
3
t
1
t
2
t
CONVERT
1.81.8MHz maxL Version
100100ns minCONVST Pulsewidth
5090ns maxCONVST to BUSY ↑ Propagation Delay
4.54.5µs maxConversion Time = 18 t
1010µs maxL Version 1.8 MHz CLKIN. Conversion Time = 18 t
t
3
t
4
t
5
t
6
t
7
4
t
8
5
t
9
1515ns minHBEN to RD Setup Time
55ns minHBEN to RD Hold Time
00ns minCS to RD to Setup Time
00ns minCS to RD Hold Time
5570ns minRD Pulsewidth
5050ns maxData Access Time After RD
55ns minBus Relinquish Time After RD
4040ns max
t
10
t
11
t
12
t
13
t
14
t
15
t
16
t
17
4
t
18
t
19
t
20
t
21
t
22
t
23
6
t
CAL
6
t
CAL1
6
t
CAL2
NOTES
1
Sample tested at +25°C to ensure compliance. All input signals are specified with tr = tf = 5 ns (10% to 90% of VDD) and timed from a voltage level of 1.6 V.
2
Mark/Space ratio for the master clock input is 40/60 to 60/40.
3
The CONVST pulsewidth here only applies for normal operation. When the part is in power-down mode, a different CONVST pulsewidth applies (see Power-Down
section).
4
Measured with the load circuit of Figure 1 and defined as the time required for the output to cross 0.8 V or 2.4 V.
5
t9 is derived form the measured time taken by the data outputs to change 0.5 V when loaded with the circuit of Figure 1. The measured number is then extrapolated
back to remove the effects of charging or discharging the 50 pF capacitor. This means that the time, t
time of the part and is independent of the bus loading.
6
The typical time specified for the calibration times is for a master clock of 4 MHz. For the L version the calibration times will be longer than those quoted here due to
the 1.8 MHz master clock.
Specifications subject to change without notice.
6070ns minMinimum Time Between Reads
00ns minHBEN to WR Setup Time
55ns maxHBEN to WR Hold Time
00ns minCS to WR Setup Time
00ns maxCS to WR Hold Time
5570ns minWR Pulsewidth
1010ns minData Setup Time Before WR
55ns minData Hold Time After WR
1/2 t
CLKIN
1/2 t
CLKIN
ns minNew Data Valid Before Falling Edge of BUSY
5070ns minHBEN High Pulse Duration
5070ns minHBEN Low Pulse Duration
4060ns minPropagation Delay from HBEN Rising Edge to Data Valid
4060ns minPropagation Delay from HBEN Falling Edge to Data Valid
2.5 t
CLKIN
2.5 t
CLKIN
ns maxCS↑ to BUSY ↑ in Calibration Sequence
31.2531.25ms typFull Self-Calibration Time, Master Clock Dependent (125013
27.7827.78ms typInternal DAC Plus System Full-Scale Cal Time, Master Clock
3.473.47ms typSystem Offset Calibration Time, Master Clock Dependent
= 4 MHz for AD7854 and 1.8 MHz for AD7854L;
CLKIN
CLKIN
t
)
CLKIN
Dependent (111124 t
(13889 t
)
CLKIN
, quoted in the timing characteristics is the true bus relinquish
9
CLKIN
)
CLKIN
–4–
REV. B
AD7854/AD7854L
200µA
I
OL
+2.1V
I
OH
TO
OUTPUT
PIN
50pF
1.6mA
C
L
Figure 1. Load Circuit for Digital Output Timing
Specifications
PIN CONFIGURATION
FOR DIP, SOIC AND SSOP
REF
CONVST
/REF
IN
AGND
C
C
AIN(+)
AIN(–)
HBEN
AV
REF1
REF2
WR
RD
CS
OUT
DD
DB0
DB1
1
2
3
4
5
AD7854
6
TOP VIEW
(Not to Scale)
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
BUSY
CLKIN
DB11
DB10
DB9
DGND
DV
DD
DB8
DB7
DB6
DB5
DB4
DB3
DB2
ABSOLUTE MAXIMUM RATINGS
1
(TA = +25°C unless otherwise noted)
AVDD to AGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
DV
to DGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
DD
to DVDD . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +0.3 V
AV
DD
Analog Input Voltage to AGND . . . . –0.3 V to AV
Digital Input Voltage to DGND . . . . –0.3 V to DV
Digital Output Voltage to DGND . . . –0.3 V to DV
REF
/REF
IN
Input Current to Any Pin Except Supplies
to AGND . . . . . . . . . –0.3 V to AVDD + 0.3 V
OUT
2
. . . . . . . . . ± 10 mA
+ 0.3 V
DD
+ 0.3 V
DD
+ 0.3 V
DD
Operating Temperature Range
Commercial (A, B Versions) . . . . . . . . . . . –40°C to +85°C
Commercial (S Version) . . . . . . . . . . . . . . –55°C to +125°C
Storage Temperature Range . . . . . . . . . . . –65°C to +150°C
Stresses above those listed under Absolute Maximum Ratings may cause perma-
nent damage to the device. This is a stress rating only; functional operation of the
device at these or any other conditions above those listed in the operational
sections of this specification is not implied. Exposure to absolute maximum rating
conditions for extended periods may affect device reliability.
2
Transient currents of up to 100 mA will not cause SCR latchup.
ORDERING GUIDE
LinearityPower
TemperatureErrorDissipationPackage
ModelRange
1
(LSB)(mW)Option
2
AD7854AQ–40°C to +85°C115Q-28
AD7854SQ–55°C to +125°C115Q-28
AD7854AR–40°C to +85°C115R-28
AD7854BR–40°C to +85°C1/215R-28
AD7854ARS–40°C to +85°C115RS-28
AD7854LAQ
AD7854LAR
AD7854LARS
EVAL-AD7854CB
EVAL-CONTROL BOARD
NOTES
1
Linearity error refers to the integral linearity error.
2
Q = Cerdip; R = SOIC; RS = SSOP.
3
L signifies the low power version.
4
This can be used as a stand-alone evaluation board or in conjunction with the EVAL-CONTROL BOARD for
evaluation/demonstration purposes.
5
This board is a complete unit allowing a PC to control and communicate with all Analog Devices evaluation boards
ending in the CB designator. For more information on Analog Devices products and evaluation boards visit our
World Wide Web home page at http://www.analog.com.
3
3
3
4
–40°C to +85°C15.5Q-28
–40°C to +85°C15.5R-28
–40°C to +85°C15.5RS-28
5
REV. B
–5–
AD7854/AD7854L
PIN FUNCTION DESCRIPTIONS
PinMnemonicDescription
1CONVSTConvert Start. Logic input. A low to high transition on this input puts the track/hold into its hold
mode and starts conversion. When this input is not used, it should be tied to DV
2WRWrite Input. Active low logic input. Used in conjunction with CS and HBEN to write to internal registers.
3RDRead Input. Active low logic input. Used in conjunction with CS and HBEN to read from internal
registers.
4CSChip Select Input. Active low logic input. The device is selected when this input is active.
5REF
/Reference Input/Output. This pin is connected to the internal reference through a series resistor and is the
IN
REF
OUT
reference source for the analog-to-digital converter. The nominal reference voltage is 2.5 V and this appears
at the pin. This pin can be overdriven by an external reference and can be taken as high as AV
6AV
DD
this pin is tied to AV
Analog Positive Supply Voltage, +3.0 V to +5.5 V.
, then the C
DD
pin should also be tied to AVDD.
REF1
7AGNDAnalog Ground. Ground reference for track/hold, reference and DAC.
8C
REF1
Reference Capacitor (0.1 µF multilayer ceramic). This external capacitor is used as a charge source for the
internal DAC. The capacitor should be tied between the pin and AGND.
9C
REF2
Reference Capacitor (0.01 µF ceramic disc). This external capacitor is used in conjunction with the on-chip
reference. The capacitor should be tied between the pin and AGND.
10AIN(+)Analog Input. Positive input of the pseudo-differential analog input. Cannot go below AGND or above
AV
at any time, and cannot go below AIN(–) when the unipolar input range is selected.
DD
11AIN(–)Analog Input. Negative input of the pseudo-differential analog input. Cannot go below AGND or above
at any time.
AV
DD
12HBENHigh Byte Enable Input. The AD7854 operates in byte mode only but outputs 12 bits of data during a read
cycle with HBEN low. When HBEN is high, then the high byte of data that is written to or read from the
part is on DB0 to DB7. When HBEN is low, then the lowest byte of data being written to the part is on
DB0 to DB7. If reading from the part with HBEN low, then the lowest 12 bits of data appear on pins DB0
to DB11. This allows a single read from the ADC or from the control register in a 16-bit bus system.
However, two reads are needed to access the calibration registers. Also, two writes are necessary to write to
any of the registers.
DD
.
. When
DD
13–21DB0–DB8Data Bits 0 to 8. Three state data I/O pins that are controlled by CS, RD, WR and HBEN. Data output is
straight binary (unipolar mode) or twos complement (bipolar mode).
22DV
DD
Digital Supply Voltage, +3.0 V to +5.5 V.
23DGNDDigital Ground. Ground reference point for digital circuitry.
24–26DB9–DB11Data Bits 9 to 11. Three state data output pins that are controlled by CS, RD and HBEN. Data output is
straight binary (unipolar mode) or twos complement (bipolar mode). These output pins should be tied to
via 100 kΩ resistors when the AD7854/AD7854L is being interfaced to an 8-bit data bus.
DV
DD
27CLKINMaster Clock Signal for the device (4 MHz for AD7854, 1.8 MHz for AD7854L). Sets the conversion and
calibration times.
28BUSYBusy Output. The busy output is triggered high by the falling edge of CONVST and remains high until
conversion is completed. BUSY is also used to indicate when the AD7854/AD7854L has completed its onchip calibration sequence.
–6–
REV. B
AD7854/AD7854L
TERMINOLOGY
Integral Nonlinearity
This is the maximum deviation from a straight line passing
through the endpoints of the ADC transfer function. The endpoints of the transfer function are zero scale, a point 1/2 LSB
below the first code transition, and full scale, a point 1/2 LSB
above the last code transition.
Differential Nonlinearity
This is the difference between the measured and the ideal 1 LSB
change between any two adjacent codes in the ADC.
Unipolar Offset Error
This is the deviation of the first code transition (00 . . . 000 to
00 . . . 001) from the ideal AIN(+) voltage (AIN(–) + 1/2 LSB)
when operating in the unipolar mode.
Unipolar Gain Error
This is the deviation of the last code transition (111 . . . 110 to
111 . . . 111) from the ideal, i.e., AIN(–) +V
/2 – 1.5 LSB,
REF
after the unipolar offset error has been adjusted out.
Bipolar Positive Full-Scale Error
This applies to the bipolar modes only and is the deviation of the
last code transition from the ideal AIN(+) voltage. For bipolar
mode, the ideal AIN(+) voltage is (AIN(–) +V
/2 – 1.5 LSB).
REF
Negative Full-Scale Error
This applies to the bipolar mode only and is the deviation of the
first code transition (10 . . . 000 to 10 . . . 001) from the ideal
AIN(+) voltage (AIN(–) – V
/2 + 0.5 LSB).
REF
Bipolar Zero Error
This is the deviation of the midscale transition (all 0s to all 1s)
from the ideal AIN(+) voltage (AIN(–) – 1/2 LSB).
Track/Hold Acquisition Time
The track/hold amplifier returns into track mode and the end of
conversion. Track/Hold acquisition time is the time required for
the output of the track/hold amplifier to reach its final value,
within ±1/2 LSB, after the end of conversion.
Signal to (Noise + Distortion) Ratio
This is the measured ratio of signal to (noise + distortion) at the
output of the A/D converter. The signal is the rms amplitude of
the fundamental. Noise is the sum of all nonfundamental signals up to half the sampling frequency (f
/2), excluding dc. The
S
ratio is dependent on the number of quantization levels in the
digitization process; the more levels, the smaller the quantization noise. The theoretical signal to (noise + distortion) ratio for
an ideal N-bit converter with a sine wave input is given by:
Signal to (Noise + Distortion) = (6.02 N + 1.76) dB
Thus for a 12-bit converter, this is 74 dB.
Total Harmonic Distortion
Total harmonic distortion (THD) is the ratio of the rms sum of
harmonics to the fundamental. For the AD7854/AD7854L, it is
defined as:
2
2
2
2
2
+V
5
)
6
THD (dB ) = 20log
(V
+V
+V
2
3
+V
4
V
1
where V1 is the rms amplitude of the fundamental and V2, V3,
, V5 and V6 are the rms amplitudes of the second through the
V
4
sixth harmonics.
Peak Harmonic or Spurious Noise
Peak harmonic or spurious noise is defined as the ratio of the
rms value of the next largest component in the ADC output
spectrum (up to f
/2 and excluding dc) to the rms value of the
S
fundamental. Normally, the value of this specification is determined by the largest harmonic in the spectrum, but for ADCs
where the harmonics are buried in the noise floor, it will be a
noise peak.
Intermodulation Distortion
With inputs consisting of sine waves at two frequencies, fa and
fb, any active device with nonlinearities will create distortion
products at sum and difference frequencies of mfa ± nfb where
m, n = 0, 1, 2, 3, etc. Intermodulation distortion terms are
those for which neither m nor n are equal to zero. For example,
the second order terms include (fa + fb) and (fa – fb), while the
third order terms include (2fa + fb), (2fa – fb), (fa + 2fb) and
(fa – 2fb).
Testing is performed using the CCIF standard where two input
frequencies near the top end of the input bandwidth are used. In
this case, the second order terms are usually distanced in frequency from the original sine waves while the third order terms
are usually at a frequency close to the input frequencies. As a
result, the second and third order terms are specified separately.
The calculation of the intermodulation distortion is as per the
THD specification where it is the ratio of the rms sum of the
individual distortion products to the rms amplitude of the sum
of the fundamentals expressed in dBs.
REV. B
–7–
AD7854/AD7854L
AD7854/AD7854L ON-CHIP REGISTERS
The AD7854/AD7854L powers up with a set of default conditions, and the user need not ever write to the device. In this case the
AD7854/AD7854L will operate as a read-only ADC. The WR pin should be tied to DV
read-only ADC.
Extra features and flexibility such as performing different power-down options, different types of calibrations including system calibration, and software conversion start can be selected by writing to the part.
The AD7854/AD7854L contains a control register, ADC output data register, status register, test register and 10 calibra-tion registers. The control register is write-only, the ADC output data register and the status register are read-only, and the test and
calibration registers are both read/write registers. The test register is used for testing the part and should not be written to.
Addressing the On-Chip Registers
Writing
To write to the AD7854/AD7854L, a 16-bit word of data must be transferred. This transfer consists of two 8-bit writes. The first
8 bits of data that are written must consist of the 8 LSBs of the 16-bit word and the second 8 bits that are written must consist of the
8 MSBs of the 16-bit word. For each of these 8-bit writes, the data is placed on Pins DB0 to DB7, Pin DB0 being the LSB of each
transfer and Pin DB7 being the MSB of each transfer. The two MSBs of the 16-bit word, ADDR1 and ADDR0, are decoded to
determine which register is addressed, and the 14 LSBs are written to the addressed register. Table I shows the decoding of the
address bits, while Figure 2 shows the overall write register hierarchy.
Table I. Write Register Addressing
ADDR1ADDR0Comment
00This combination does not address any register.
01This combination addresses the TEST REGISTER. The 14 LSBs of data are written to the test register.
10This combination addresses the CALIBRATION REGISTER. The 14 least significant data bits are writ-
ten to the selected calibration register.
11This combination addresses the CONTROL REGISTER. The 14 least significant data bits are written to
the control register.
for operating the AD7854/AD7854L as a
DD
Reading
To read from the various registers the user must first write to Bits 6 and 7 in the Control Register, RDSLT0 and RDSLT1. These
bits are decoded to determine which register is addressed during a read operation. Table II shows the decoding of the read address
bits while Figure 3 shows the overall read register hierarchy. The power-up status of these bits is 00 so that the default read will be
from the ADC output data register. Note: when reading from the calibration registers, the low byte must always be read first.
Once the read selection bits are set in the control register all subsequent read operations that follow are from the selected register
until the read selection bits are changed in the control register.
Table II. Read Register Addressing
RDSLT1RDSLT0Comment
00All successive read operations are from the ADC OUTPUT DATA REGISTER. This is the default power-
up setting. There is always four leading zeros when reading from the ADC output data register.
01All successive read operations are from the TEST REGISTER.
10All successive read operations are from the CALIBRATION REGISTERS.
11All successive read operations are from the STATUS REGISTER.
The arrangement of the control register is shown below. The control register is a write only register and contains 14 bits of data. The
control register is selected by putting two 1s in ADDR1 and ADDR0. The function of the bits in the control register is described
below. The power-up status of all bits is 0.
MSB
ZEROZEROZEROZEROPMGT1PMGT0RDSLT1
RDSLT0AMODECONVSTCALMDCALSLT1CALSLT0STCAL
LSB
Control Register Bit Function Description
BitMnemonicComment
13ZEROThese four bits must be set to 0 when writing to the control register.
12ZERO
11ZERO
10ZERO
9PMGT1Power Management Bits. These two bits are used for putting the part into various power-down modes
8PMGT0(See Power-Down section for more details).
7RDSLT1Theses two bits determine which register is addressed for the read operations. See Table II.
6RDSLT0
5AMODEAnalog Mode Bit. This pin allows two different analog input ranges to be selected. A logic 0 in this bit
position selects range 0 to V
below AIN(–) and AIN(–) cannot go below AGND and data coding is straight binary. A logic 1 in this
bit position selects range –V
cannot go below AGND, so for this range, AIN(–) needs to be biased to at least +V
AIN(+) to go as low as AIN(–) –V
4CONVSTConversion Start Bit. A logic one in this bit position starts a single conversion, and this bit is automati-
cally reset to 0 at the end of conversion. This bit may also used in conjunction with system calibration
(see Calibration section).
3CALMDCalibration Mode Bit. A 0 here selects self-calibration and a 1 selects a system calibration (see Table III).
2CALSLT1Calibration Selection Bits and Start Calibration Bit. These bits have two functions.
1CALSLT0With the STCAL bit set to 1, the CALSLT1 and CALSLT0 bits determine the type of calibration per0STCALformed by the part (see Table III). The STCAL bit is automatically reset to 0 at the end of calibration.
With the STCAL bit set to 0, the CALSLT1 and CALSLT0 bits are decoded to address the calibration
register for read/write of calibration coefficients (see section on the calibration registers for more details).
(i.e., AIN(+) – AIN(–) = 0 to V
REF
/2 to +V
REF
REF
/2 (i.e., AIN(+) – AIN(–) = –V
REF
/2 V. Data coding is twos complement for this range.
). In this range AIN(+) cannot go
REF
REF
/2 to +V
/2). AIN(+)
REF
/2 to allow
REF
Table III. Calibration Selection
CALMDCALSLT1CALSLT0Calibration Type
00 0 A full internal calibration is initiated. First the internal DAC is calibrated, then the
internal gain error and finally the internal offset error are removed. This is the default setting.
001First the internal gain error is removed, then the internal offset error is removed.
010The internal offset error only is calibrated out.
011The internal gain error only is calibrated out.
10 0 A full system calibration is initiated. First the internal DAC is calibrated, followed by the
system gain error calibration, and finally the system offset error calibration.
101First the system gain error is calibrated out followed by the system offset error.
110The system offset error only is removed.
111The system gain error only is removed.
REV. B
–9–
AD7854/AD7854L
STATUS REGISTER
The arrangement of the status register is shown below. The status register is a read-only register and contains 16 bits of data. The
status register is selected by writing to the control register and putting two 1s in RDSLT1 and RDSLT0. The function of the bits in
the status register are described below. The power-up status of all bits is 0.
START
WRITE TO CONTROL REGISTER
SETTING RDSLT0 = RDSLT1 = 1
READ STATUS REGISTER
Figure 4. Flowchart for Reading the Status Register
MSB
ZEROZEROZEROZEROZEROZEROPMGT1PMGT0
ONEONEAMODEBUSYCALMDCALSLT1CALSLT0STCAL
LSB
Status Register Bit Function Description
BitMnemonicComment
15ZEROThese six bits are always 0.
14ZERO
13ZERO
12ZERO
11ZERO
10ZERO
9PMGT1Power Management Bits. These bits will indicate if the part is in a power-down mode or not. See Table VI
8PMGT0in Power-Down Section for description.
7ONEBoth these bits are always 1.
6ONE
5AMODEAnalog Mode Bit. When this bit is a 0, the device is set up for the unipolar analog input range. When this
bit is a 1, the device is set up for the bipolar analog input range.
4BUSYConversion/Calibration Busy Bit. When this bit is 1, this indicates that there is a conversion or calibration
in progress. When this bit is 0, there is no conversion or calibration in progress.
3CALMDCalibration Mode Bit. A 0 in this bit indicates a self-calibration is selected, and a 1 in this bit indicates a
system calibration is selected (see Table III).
2CALSLT1Calibration Selection Bits and Start Calibration Bit. The STCAL bit is read as a 1 if a calibration is in
1CALSLT0progress and as a 0 if there is no calibration in progress. The CALSLT1 and CALSLT0 bits indicate
0STCALwhich of the calibration registers are addressed for reading and writing (see section on the Calibration
Registers for more details).
–10–
REV. B
AD7854/AD7854L
CALIBRATION REGISTERS
The AD7854/AD7854L has 10 calibration registers in all, 8 for the DAC, 1 for offset and 1 for gain. Data can be written to or read
from all 10 calibration registers. In self- and system calibration, the part automatically modifies the calibration registers; only if the
user needs to modify the calibration registers should an attempt be made to read from and write to the calibration registers.
Addressing the Calibration Registers
The calibration selection bits in the control register CALSLT1 and CALSLT0 determine which of the calibration registers are
addressed (See Table IV). The addressing applies to both the read and write operations for the calibration registers. The user should
not attempt to read from and write to the calibration registers at the same time.
Table IV. Calibration Register Addressing
CALSLT1CALSLT0Comment
00This combination addresses the Gain (1), Offset (1) and DAC Registers (8). Ten registers in total.
01This combination addresses the Gain (1) and Offset (1) Registers. Two registers in total.
10This combination addresses the Offset Register. One register in total.
11This combination addresses the Gain Register. One register in total.
Writing to/Reading from the Calibration Registers
When writing to the calibration registers a write to the control
register is required to set the CALSLT0 and CALSLT1 bits.
When reading from the calibration registers a write to the control register is required to set the CALSLT0 and CALSLT1 bits
and also to set the RDSLT1 and RDSLT0 bits to 10 (this
addresses the calibration registers for reading). The calibration
register pointer is reset on writing to the control register setting
the CALSLT1 and CALSLT0 bits, or upon completion of all
the calibration register write/read operations. When reset it
points to the first calibration register in the selected write/read
sequence. The calibration register pointer points to the gain
calibration register upon reset in all but one case, this case
being where the offset calibration register is selected on its own
(CALSLT1 = 1, CALSLT0 = 0). Where more than one calibration register is being accessed, the calibration register pointer
is automatically incremented after each full calibration register
write/read operation. The calibration register address pointer is
incremented after the high byte read or write operation in byte
mode. Therefore when reading from or writing to the calibration registers, the low byte transfer must be carried out first, i.e.,
HBEN is at logic zero. The order in which the 10 calibration
registers are arranged is shown in Figure 5. Read/Write operations may be aborted at any time before all the calibration
registers have been accessed, and the next control register write
operation resets the calibration register pointer. The flowchart
in Figure 6 shows the sequence for writing to the calibration
registers. Figure 7 shows the sequence for reading from the calibration registers.
When reading from the calibration registers there are always two
leading zeros for each of the registers.
START
WRITE TO CONTROL REGISTER SETTING STCAL = 0
AND CALSLT1, CALSLT0 = 00, 01, 10, 11
CAL REGISTER POINTER IS
AUTOMATICALLY RESET
WRITE TO CAL REGISTER
(ADDR1 = 1, ADDR0 = 0)
CAL REGISTER POINTER IS
AUTOMATICALLY INCREMENTED
LAST
REGISTER
WRITE
OPERATION
OR
ABORT
?
FINISHED
NO
YES
Figure 6. Flowchart for Writing to the Calibration Registers
REV. B
CALIBRATION REGISTERS
CAL REGISTER
ADDRESS POINTER
CALIBRATION REGISTER ADDRESS POINTER POSITION IS
DETERMINED BY THE NUMBER OF CALIBRATION REGISTERS
ADDRESSED AND THE NUMBER OF READ/WRITE OPERATIONS.
GAIN REGISTER
OFFSET REGISTER
DAC 1ST MSB REGISTER
DAC 8TH MSB REGISTER (10)
Figure 5. Calibration Register Arrangement
(1)
(2)
(3)
–11–
AD7854/AD7854L
START
WRITE TO CONTROL REGISTER SETTING STCAL = 0, RDSLT1 = 1,
RDSLT0 = 0, AND CALSLT1, CALSLT0 = 00, 01, 10, 11
CAL REGISTER POINTER IS
AUTOMATICALLY RESET
READ CAL REGISTER
CAL REGISTER POINTER IS
AUTOMATICALLY INCREMENTED
LAST
REGISTER
READ
OPERATION
OR
ABORT
?
YES
FINISHED
NO
Figure 7. Flowchart for Reading from the Calibration
Registers
Adjusting the Offset Calibration Register
The offset calibration register contains 16 bits. The two MSBs
are zero and the 14 LSBs contain offset data. By changing the
contents of the offset register, different amounts of offset on the
analog input signal can be compensated for. Decreasing the
number in the offset calibration register compensates for negative offset on the analog input signal, and increasing the number
in the offset calibration register compensates for positive offset
on the analog input signal. The default value of the offset calibration register is 0010 0000 0000 0000 approximately. This is
not the exact value, but the value in the offset register should be
close to this value. Each of the 14 data bits in the offset register
is binary weighted; the MSB has a weighting of 5% of the reference voltage, the MSB-1 has a weighting of 2.5%, the MSB-2
has a weighting of 1.25%, and so on down to the LSB which has
a weighting of 0.0006%. This gives a resolution of ±0.0006% of
approximately. The resolution can also be expressed as
V
REF
±(0.05 × V
)/213 volts. This equals ±0.015 mV, with a 2.5 V
REF
reference. The maximum offset that can be compensated for is
±5% of the reference voltage, which equates to ±125 mV with a
2.5 V reference and ±250 mV with a 5 V
reference.
Q. If a +20 mV offset is present in the analog input signal and the
reference voltage is 2.5 V, what code needs to be written to the
offset register to compensate for the offset ?
A. 2.5 V reference implies that the resolution in the offset reg-
ister is 5% × 2.5 V/2
13
= 0.015 mV. +20 mV/0.015 mV =
1310.72; rounding to the nearest number gives 1311. In
binary terms this is 00 0101 0001 1111, therefore increase
the offset register by 00 0101 0001 1111.
This method of compensating for offset in the analog input signal allows for fine tuning the offset compensation. If the offset
on the analog input signal is known, there is no need to apply
the offset voltage to the analog input pins and do a system calibration. The offset compensation can take place in software.
Adjusting the Gain Calibration Register
The gain calibration register contains 16 bits. The two MSBs
are zero and the 14 LSBs contain gain data. As in the offset calibration register the data bits in the gain calibration register are
binary weighted, with the MSB having a weighting of 2.5% of
the reference voltage. The gain register value is effectively multiplied by the analog input to scale the conversion result over the
full range. Increasing the gain register compensates for a
smaller analog input range and decreasing the gain register compensates for a larger input range. The maximum analog input
range that the gain register can compensate for is 1.025 times
the reference voltage, and the minimum input range is 0.975
times the reference voltage.
–12–
REV. B
AD7854/AD7854L
CIRCUIT INFORMATION
The AD7854/AD7854L is a fast, 12-bit single supply A/D converter. The part requires an external 4 MHz/1.8 MHz master
clock (CLKIN), two C
capacitors, a CONVST signal to start
REF
conversion and power supply decoupling capacitors. The part
provides the user with track/hold, on-chip reference, calibration
features, A/D converter and parallel interface logic functions on
a single chip. The A/D converter section of the AD7854/
AD7854L consists of a conventional successive-approximation
converter based around a capacitor DAC. The AD7854/
AD7854L accepts an analog input range of 0 to +V
REF. VREF
can be tied to VDD. The reference input to the part connected
via a 150 kΩ resistor to the internal 2.5 V reference and to the
on-chip buffer.
A major advantage of the AD7854/AD7854L is that a conversion can be initiated in software as well as applying a signal to
the CONVST pin. The part is available in a 28-Lead SSOP
package, and this offers the user considerable space saving advantages over alternative solutions. The AD7854L version typically
consumes only 5.5 mW making it ideal for battery-powered
applications.
CONVERTER DETAILS
The master clock for the part is applied to the CLKIN pin.
Conversion is initiated on the AD7854/AD7854L by pulsing the
CONVST input or by writing to the control register and setting
the CONVST bit to 1. On the rising edge of CONVST (or at the
end of the control register write operation), the on-chip track/
hold goes from track to hold mode. The falling edge of the CLKIN
signal which follows the rising edge of CONVST initates the
conversion, provided the rising edge of CONVST (or WR when
converting via the control register) occurs typically at least 10 ns
before this CLKIN edge. The conversion takes 16.5 CLKIN
periods from this CLKIN falling edge. If the 10 ns setup time is
not met, the conversion takes 17.5 CLKIN periods.
The time required by the AD7854/AD7854L to acquire a signal
depends upon the source resistance connected to the AIN(+)
input. Please refer to the Acquisition Time section for more
details.
When a conversion is completed, the BUSY output goes low,
and the result of the conversion can be read by accessing the
data through the data bus. To obtain optimum performance
from the part, read or write operations should not occur during
the conversion or less than 200 ns prior to the next CONVST
rising edge. Reading/writing during conversion typically degrades the Signal to (Noise + Distortion) by less than 0.5 dBs.
The AD7854 can operate at throughput rates of over 200 kSPS
(up to 100 kSPS for the AD7854L).
With the AD7854L, 100 kSPS throughput can be obtained as
follows: the CLKIN and CONVST signals are arranged to give
a conversion time of 16.5 CLKIN periods as described above
and 1.5 CLKIN periods are allowed for the acquisition time.
With a 1.8 MHz clock, this gives a full cycle time of 10 µs,
which equates to a throughput rate of 100 kSPS.
When using the software conversion start for maximum
throughput, the user must ensure the control register write
operation extends beyond the falling edge of BUSY. The falling
edge of BUSY resets the CONVST bit to 0 and allows it to be
reprogrammed to 1 to start the next conversion.
TYPICAL CONNECTION DIAGRAM
Figure 8 shows a typical connection diagram for the AD7854/
AD7854L. The AGND and the DGND pins are connected
together at the device for good noise suppression. The first
CONVST applied after power-up starts a self-calibration
sequence. This is explained in the calibration section of the data
sheet. Applying the RD and CS signals causes the conversion
result to be output on the 12 data pins. Note that after power is
applied to AV
and DVDD, and the CONVST signal is applied,
DD
the part requires (70 ms + 1/sample rate) for the internal reference to settle and for the self-calibration to be completed.
4MHz/1.8MHz
OSCILLATOR
ANALOG
SUPPLY
+3V TO +5V
0V TO 2.5V
INPUT
REFERENCE
10
0.1
F
0.01
F
OPTIONAL
EXTERNAL
F
0.1
AIN(+)
AIN(–)
C
REF1
C
REF2
AGND
DGND
AD780/
REF192
F
AVDDDV
AD7854/
AD7854L
REF
F
0.1
DD
CLKIN
CONVST
HBEN
CS
RD
WR
BUSY
DB0
IN
/REF
DB11
OUT
0.1nF EXTERNAL REFERENCE
F ON-CHIP REFERENCE
0.1
CONVERSION
START SIGNAL
C/
P
Figure 8. Typical Circuit
For applications where power consumption is a major concern,
the power-down options can be programmed by writing to the
part. See Power-Down section for more detail on low power
applications.
REV. B
–13–
AD7854/AD7854L
ANALOG INPUT
The equivalent analog input circuit is shown in Figure 9. During the acquisition interval the switches are both in the track
position and the AIN(+) charges the 20 pF capacitor through
the 125 Ω resistance. On the rising edge of CONVST switches
SW1 and SW2 go into the hold position retaining charge on the
20 pF capacitor as a sample of the signal on AIN(+). The
AIN(–) is connected to the 20 pF capacitor, and this unbalances
the voltage at Node A at the input of the comparator. The
capacitor DAC adjusts during the remainder of the conversion
cycle to restore the voltage at Node A to the correct value. This
action transfers a charge, representing the analog input signal, to
the capacitor DAC which in turn forms a digital representation
of the analog input signal. The voltage on the AIN(–) pin directly
influences the charge transferred to the capacitor DAC at the
hold instant. If this voltage changes during the conversion period,
the DAC representation of the analog input voltage is altered.
Therefore it is most important that the voltage on the AIN(–)
pin remains constant during the conversion period. Furthermore, it is recommended that the AIN(–) pin is always connected
to AGND or to a fixed dc voltage.
125⍀
125⍀
TRACK
HOLD
SW1
NODE A
TRACK
SW2
20pF
HOLD
CAPACITOR
DAC
COMPARATOR
AIN(+)
AIN(–)
AGND
Figure 9. Analog Input Equivalent Circuit
Acquisition Time
The track-and-hold amplifier enters its tracking mode on the
falling edge of the BUSY signal. The time required for the
track-and-hold amplifier to acquire an input signal depends on
how quickly the 20 pF input capacitance is charged. There is a
minimum acquisition time of 400 ns. For large source impedances, >2 kΩ, the acquisition time is calculated using the formula:
t
= 9 × (RIN + 125 Ω) × 20 pF
ACQ
where R
is the source impedance of the input signal, and
IN
125 Ω, 20 pF is the input R, C.
DC/AC Applications
For dc applications, high source impedances are acceptable,
provided there is enough acquisition time between conversions
to charge the 20 pF capacitor. For example with R
= 5 kΩ,
IN
the required acquisition time is 922 ns.
For ac applications, removing high frequency components from
the analog input signal is recommended by use of an RC lowpass filter on the AIN(+) pin, as shown in Figure 11. In applications where harmonic distortion and signal to noise ratio are
critical, the analog input should be driven from a low impedance
source. Large source impedances significantly affect the ac performance of the ADC. They may require the use of an input
buffer amplifier. The choice of the amplifier is a function of the
particular application.
–72
THDVS.FREQUENCYFORDIFFERENT
SOURCE
IMPEDANCES
–76
–80
THD – dB
–84
–88
–92
010020
RIN = 1k⍀
RIN = 50⍀, 10nF
AS IN FIGURE 13
406080
INPUT FREQUENCY – kHz
Figure 10. THD vs. Analog Input Frequency
The maximum source impedance depends on the amount of
total harmonic distortion (THD) that can be tolerated. The
THD increases as the source impedance increases. Figure 10
shows a graph of the total harmonic distortion vs. analog input
signal frequency for different source impedances. With the
setup as in Figure 11, the THD is at the –90 dB level. With a
source impedance of 1 kΩ and no capacitor on the AIN(+) pin,
the THD increases with frequency.
In a single supply application (both 3 V and 5 V), the V+ and
V– of the op amp can be taken directly from the supplies to the
AD7854/AD7854L which eliminates the need for extra external
power supplies. When operating with rail-to-rail inputs and outputs at frequencies greater than 10 kHz, care must be taken in
selecting the particular op amp for the application. In particular,
for single supply applications the input amplifiers should be
connected in a gain of –1 arrangement to get the optimum performance. Figure 11 shows the arrangement for a single supply
application with a 50 Ω and 10 nF low-pass filter (cutoff frequency 320 kHz) on the AIN(+) pin. Note that the 10 nF is a
capacitor with good linearity to ensure good ac performance.
Recommended single supply op amps are the AD820 and the
AD820-3V.
(–V
REF
/2 TO +V
+3V TO +5V
V
IN
REF
V
REF
10k⍀
10k⍀
/2)
10k⍀
/2
10k⍀
V+
IC1
V–
10
50⍀
AD820
AD820-3V
0.1F
F
TO AIN(+) OF
AD7854/AD7854L
10nF
(NPO)
Figure 11. Analog Input Buffering
–14–
REV. B
AD7854/AD7854L
Input Ranges
The analog input range for the AD7854/AD7854L is 0 V to
V
in both the unipolar and bipolar ranges.
REF
The only difference between the unipolar range and the bipolar
range is that in the bipolar range the AIN(–) should be biased
up to at least +V
/2 and the output coding is twos comple-
REF
ment (see Table V and Figures 14 and 15).
Table V. Analog Input Connections
Analog InputInput ConnectionsConnection
RangeAIN(+)AIN(–)Diagram
/2
REF
2
1
REF
V
IN
V
IN
/2 biased about V
AGNDFigure 12
V
/2Figure 13
REF
/2. Output code format is twos complement.
REF
0 V to V
±V
REF
NOTES
1
Output code format is straight binary.
2
Range is ±V
Note that the AIN(–) pin on the AD7854/AD7854L can be
biased up above AGND in the unipolar mode, or above V
REF
/2
in bipolar mode if required. The advantage of biasing the lower
end of the analog input range away from AGND is that the analog
input does not have to swing all the way down to AGND. Thus,
in single supply applications the input amplifier does not have to
swing all the way down to AGND. The upper end of the analog
input range is shifted up by the same amount. Care must be
taken so that the bias applied does not shift the upper end of the
analog input above the AV
erence is the supply, AV
in unipolar mode or to AV
VIN = 0 TO V
REF
AIN(+)
AIN(–)
Figure 12. 0 to V
/2
AIN(+)
AIN(–)
/2 about V
REF
= 0 TO V
V
IN
REF
V
REF
Figure 13.±V
supply. In the case where the ref-
DD
, the AIN(–) should be tied to AGND
DD
/2 in bipolar mode.
DD
TRACK AND HOLD
AMPLIFIER
AD7854/AD7854L
Unipolar Input Configuration
REF
TRACK AND HOLD
AMPLIFIER
. . .
AD7854/AD7854L
/2 Bipolar Input Configuration
REF
. . .
DB0
DB11
DB0
DB11
STRAIGHT
BINARY
FORMAT
2’S
COMPLEMENT
FORMAT
Transfer Functions
For the unipolar range the designed code transitions occur
midway between successive integer LSB values (i.e., 1/2 LSB,
3/2 LSBs, 5/2 LSBs . . . FS – 3/2 LSBs). The output coding is
straight binary for the unipolar range with 1 LSB = FS/4096 =
3.3 V/4096 = 0.8 mV when V
= 3.3 V. The ideal input/
REF
output transfer characteristic for the unipolar range is shown in
Figure 14.
OUTPUT
CODE
111...111
111...110
111...101
111...100
FS
000...011
000...010
000...001
000...000
0V 1LSB
= (AIN(+) – AIN(–)), INPUT VOLTAGE
V
IN
1LSB =
4096
+FS –1LSB
Figure 14. AD7854/AD7854L Unipolar Transfer
Characteristic
Figure 13 shows the AD7854/AD7854L’s ±V
/2 bipolar ana-
REF
log input configuration. AIN(+) cannot go below 0 V, so for the
full bipolar range, AIN(–) should be biased to at least +V
REF
/2.
Once again the designed code transitions occur midway between
successive integer LSB values. The output coding is twos
complement with 1 LSB = 4096 = 3.3 V/4096 = 0.8 mV. The
ideal input/output transfer characteristic is shown in Figure 15.
OUTPUT
CODE
011...111
011...110
/2) – 1LSB
(V
000...001
000...000
111...111
000...010
000...001
000...000
0V
REF
(V
/2) + 1 LSB
REF
FS = V
1LSB =
/2
V
V
= (AIN(+) – AIN(–)), INPUT VOLTAGE
IN
REF
+ FS – 1LSB
V
REF
FS
4096
Figure 15. AD7854/AD7854L Bipolar Transfer Characteristic
REV. B
–15–
AD7854/AD7854L
REFERENCE SECTION
For specified performance, it is recommended that when using
an external reference, this reference should be between 2.3 V
and the analog supply AV
. The connections for the reference
DD
pins are shown below. If the internal reference is being used,
the REF
IN
/REF
capacitor to AGND very close to the REF
pin should be decoupled with a 100 nF
OUT
IN
/REF
OUT
pin. These
connections are shown in Figure 16.
If the internal reference is required for use external to the ADC,
it should be buffered at the REF
/REF
IN
pin and a 100 nF
OUT
capacitor should be connected from this pin to AGND. The typical
noise performance for the internal reference, with 5 V supplies is
150 nV/√Hz @ 1 kHz and dc noise is 100 µV p-p.
ANALOG
SUPPLY
+3V TO +5V
0.01
0.1
0.1F
0.1
F10F
AVDDDV
C
F
F
REF1
C
REF2
REFIN/REF
AD7854/
AD7854L
OUT
0.1
F
DD
Figure 16. Relevant Connections Using Internal Reference
The REFIN/REF
pin may be overdriven by connecting it to
OUT
an external reference. This is possible due to the series resistance from the REF
/REF
IN
This external reference can be in the range 2.3 V to AV
When using AV
from the REF
possible to the REF
as the reference source, the 10 nF capacitor
DD
/REF
IN
OUT
/REF
IN
should be connected to AV
pin to the internal reference.
OUT
DD
.
pin to AGND should be as close as
pin, and also the C
OUT
to keep this pin at the same volt-
DD
REF1
pin
age as the reference. The connections for this arrangement are
shown in Figure 17. When using AV
add a resistor in series with the AV
of filtering the noise associated with the AV
it may be necessary to
DD
supply. This has the effect
DD
supply.
DD
Note that when using an external reference, the voltage present
at the REF
/REF
IN
pin is determined by the external refer-
OUT
ence source resistance and the series resistance of 150 kΩ from
the REF
/REF
IN
pin to the internal 2.5 V reference. Thus, a
OUT
low source impedance external reference is recommended.
ANALOG
SUPPLY
+3V TO +5V
10
F
AVDDDV
C
0.1
F
REF1
0.1
F0.1F
DD
AD7854/AD7854L PERFORMANCE CURVES
Figure 18 shows a typical FFT plot for the AD7854 at 200 kHz
sample rate and 10 kHz input frequency.
0
–20
–40
–60
SNR – dB
–80
–100
–120
010020
FREQUENCY – kHz
AVDD = DVDD = 3.3V
F
SAMPLE
F
IN
SNR = 72.04dB
THD = –88.43dB
4060
= 10kHz
= 200kHz
80
Figure 18. FFT Plot
Figure 19 shows the SNR versus frequency for different supplies
and different external references.
74
73
72
71
S(N+D) RATIO – dB
70
69
010020
AVDD = DVDD WITH 2.5V REFERENCE
UNLESS STATED OTHERWISE
5.0V SUPPLIES, WITH 5V REFERENCE
5.0V SUPPLIES, L VERSION
3.3V SUPPLIES
4080
INPUT FREQUENCY – kHz
60
5.0V SUPPLIES
Figure 19. SNR vs. Frequency
Figure 20 shows the power supply rejection ratio versus frequency for the part. The power supply rejection ratio is defined
as the ratio of the power in ADC output at frequency f to the
power of a full-scale sine wave:
PSRR (dB) = 10 log (Pf/Pfs)
Pf = Power at frequency f in ADC output, Pfs = power of a full-
scale sine wave. Here a 100 mV peak-to-peak sine wave is
coupled onto the AV
supply while the digital supply is left
DD
unaltered. Both the 3.3 V and 5.0 V supply performances are
shown.
AD7854/
C
REF2
REFIN/REF
AD7854L
OUT
0.01
0.01
F
F
Figure 17. Relevant Connections, AVDD as the Reference
–16–
REV. B
AD7854/AD7854L
–78
–80
–82
–84
PSRR – dB
–86
–88
–90
010020
AV
= DVDD = 3.3V/5.0V,
DD
100mV pk-pk SINE WAVE ON AV
3.3V
4060
INPUT FREQUENCY – kHz
DD
5.0V
80
Figure 20. PSRR vs. Frequency
POWER-DOWN OPTIONS
The AD7854/AD7854L provides flexible power management to
allow the user to achieve the best power performance for a given
throughput rate. The power management options are selected
by programming the power management bits, PMGT1 and
PMGT0, in the control register. Table VI summarizes the powerdown options that are available and how they can be selected by
programming the power management bits in the control register.
The AD7854/AD7854L can be fully or partially powered down.
When fully powered down, all the on-chip circuitry is powered
down and I
is 10 µA typ. If a partial power-down is selected,
DD
then all the on-chip circuitry except the reference is powered
down and I
is 400 µA typ with the external clock running.
DD
Additional power savings may be made if the external clock is off.
The choice of full or partial power-down does not give any
significant improvement in the throughput rate which can be
achieved with a power-down between conversions. This is discussed in the next section—Power-Up Times. But a partial
power-down does allow the on-chip reference to be used externally even though the rest of the AD7854/AD7854L circuitry is
powered down. It also allows the AD7854/AD7854L to be powered up faster after a long power-down period when using the
on-chip reference (See Power-Up Times section—Using theInternal (On-Chip) Reference).
As can be seen from Table VI, the AD7854/AD7854L can be
programmed for normal operation, a full power-down at the end
of a conversion, a partial power-down at the end of a conversion
and finally a full power-down whether converting or not. The
full and partial power-down at the end of a conversion can be
used to achieve a superior power performance at slower throughput rates, in the order of 50 kSPS (see Power vs. Throughput Rate
section of this data sheet).
Table VI. Power Management Options
POWER-UP TIMES
Using an External Reference
When the AD7854/AD7854L are powered up, the parts are
powered up from one of two conditions. First, when the power
supplies are initially powered up and, secondly, when the parts
are powered up from a software power-down (see last section).
When AV
and DVDD are powered up, the AD7854/AD7854L
DD
enters a mode whereby the CONVST signal initiates a timeout
followed by a self-calibration. The total time taken for this timeout and calibration is approximately 70 ms—see Calibration onPower-Up in the calibration section of this data sheet. The powerup calibration mode can be disabled if the user writes to the control
register before a CONVST signal is applied. If the timeout and
self-calibration are disabled, then the user must take into account
the time required by the AD7854/AD7854L to power up before
a self-calibration is carried out. This power-up time is the time
taken for the AD7854/AD7854L to power up when power is
first applied (300 µs typ) or the time it takes the external refer-
ence to settle to the 12-bit level—whichever is the longer.
The AD7854/AD7854L powers up from a full software powerdown in 5 µs typ. This limits the throughput which the part is
capable of to 100 kSPS for the AD7854 and 60 kSPS for the
AD7854L when powering down between conversions. Figure 21
shows how a full power-down between conversions is implemented
using the CONVST pin. The user first selects the power-down
between conversions option by setting the power management
bits, PMGT1 and PMGT0, to 0 and 1 respectively in the control
register (see last section). In this mode the AD7854/AD7854L
automatically enters a full power-down at the end of a conversion, i.e., when BUSY goes low. The falling edge of the next
CONVST pulse causes the part to power up. Assuming the
external reference is left powered up, the AD7854/AD7854L
should be ready for normal operation 5 µs after this falling edge.
The rising edge of CONVST initiates a conversion so the
CONVST pulse should be at least 5 µs wide. The part automatically powers down on completion of the conversion. Where
the software convert start is used, the part may be powered up in
software before a conversion is initiated.
START CONVERSION ON RISING EDGE
POWER-UP ON FALLING EDGE
5s
CONVST
BUSY
POWER-UP
TIME
Figure 21. Using the
4.6s
t
CONVERT
NORMAL
OPERATION
CONVST
FULL
POWER-DOWN
POWER-UP
TIME
Pin to Power Up the AD7854
for a Conversion
PMGT1 PMGT0
BitBitComment
00Normal Operation
01Full Power-Down After a Conversion
10Full Power-Down
11Partial Power-Down After a Conversion
REV. B
–17–
AD7854/AD7854L
Using The Internal (On-Chip) Reference
As in the case of an external reference the AD7854/AD7854L can
power up from one of two conditions, power-up after the supplies are connected or power-up from a software power-down.
When using the on-chip reference and powering up when AV
DD
and DVDD are first connected, it is recommended that the powerup calibration mode be disabled as explained above. When using
the on-chip reference, the power-up time is effectively the time
it takes to charge up the external capacitor on the REF
REF
pin. This time is given by the equation:
OUT
t
= 9 × R × C
UP
IN
/
where R ≈ 150K and C = external capacitor.
The recommended value of the external capacitor is 100 nF;
this gives a power-up time of approximately 135 ms before a
calibration is initiated and normal operation should commence.
When C
is fully charged, the power-up time from a software
REF
power-down reduces to 5 µs. This is because an internal switch
opens to provide a high impedance discharge path for the reference capacitor during power-down—see Figure 22. An added
advantage of the low charge leakage from the reference capacitor
during power-down is that even though the reference is being
powered down between conversions, the reference capacitor
holds the reference voltage to within 0.5 LSBs with throughput
rates of 100 samples/second and over with a full power-down
between conversions. A high input impedance op amp like the
AD707 should be used to buffer this reference capacitor if it is
being used externally. Note, if the AD7854/AD7854L is left in
its powered-down state for more than 100 ms, the charge on
will start to leak away and the power-up time will increase.
C
REF
If this longer power-up time is a problem, the user can use a
partial power-down for the last conversion so the reference
remains powered up.
EXTERNAL
CAPACITOR
REF
DURING POWER-DOWN
IN/OUT
SWITCH OPENS
ON-CHIP
REFERENCE
TO OTHER CIRCUITRY
BUF
AD7854/
AD7854L
Figure 22. On-Chip Reference During Power-Down
POWER VS. THROUGHPUT RATE
The main advantage of a full power-down after a conversion is
that it significantly reduces the power consumption of the part
at lower throughput rates. When using this mode of operation,
the AD7854/AD7854L is only powered up for the duration of
the conversion. If the power-up time of the AD7854/AD7854L
is taken to be 5 µs and it is assumed that the current during
power-up is 4.5 mA/1.5 mA typ, then power consumption as a
function of throughput can easily be calculated. The AD7854
has a conversion time of 4.6 µs with a 4 MHz external clock,
and the AD7854L has a conversion time of 9 µs with a 1.8 MHz
clock. This means the AD7854/AD7854L consumes 4.5 mA/
1.5 mA typ for 9.6 µs/14 µs in every conversion cycle if the parts
are powered down at the end of a conversion. The four graphs,
Figures 24, 25, 26 and 27, show the power consumption of the
AD7854 and AD7854L for V
= 3 V as a function of through-
DD
put. Table VII lists the power consumption for various throughput
rates.
The automatic calibration that is performed on power-up
ensures that the calibration options covered in this section are
not required in a significant number of applications. A calibration
does not have to be initiated unless the operating conditions
change (CLKIN frequency, analog input mode, reference voltage, temperature, and supply voltages). The AD7854/AD7854L
has a number of calibration features that may be required in
some applications, and there are a number of advantages in performing these different types of calibration. First, the internal
errors in the ADC can be reduced significantly to give superior
dc performance; and second, system offset and gain errors can
be removed. This allows the user to remove reference errors
(whether it be internal or external reference) and to make use of
the full dynamic range of the AD7854/AD7854L by adjusting
the analog input range of the part for a specific system.
There are two main calibration modes on the AD7854/AD7854L,
self-calibration and system calibration. There are various options in both self-calibration and system calibration as outlined
previously in Table III. All the calibration functions are initiated by writing to the control register and setting the STCAL
bit to 1.
The duration of each of the different types of calibration is given
in Table IX for the AD7854 with a 4 MHz master clock. These
calibration times are master clock dependent. Therefore the
calibration times for the AD7854L (CLKIN = 1.8 MHz) are
larger than those quoted in Table VIII.
Table VIII. Calibration Times (AD7854 with 4 MHz CLKIN)
Type of Self-Calibration or System CalibrationTime
Full31.25 ms
Gain + Offset6.94 ms
Offset3.47 ms
Gain3.47 ms
Automatic Calibration on Power-On
The automatic calibration on power-on is initiated by the first
CONVST pulse after the AV
and DVDD power on. From the
DD
CONVST pulse the part internally sets a 32/72 ms (4 MHz/
1.8 MHz CLKIN) timeout. This time is large enough to ensure
that the internal reference has settled before the calibration is
performed. However, if an external reference is being used, this
reference must have stabilized before the automatic calibration
is initiated. This first CONVST pulse also triggers the BUSY
signal high, and once the 32/72 ms has elapsed, the BUSY signal
goes low. At this point the next CONVST pulse that is applied
initiates the automatic full self-calibration. This CONVST pulse
again triggers the BUSY signal high, and after 32/72 ms (4 MHz/
1.8 MHz CLKIN), the calibration is completed and the BUSY
signal goes low. This timing arrangement is shown in Figure 28.
The times in Figure 28 assume a 4 MHz/1.8 MHz CLKIN
signal.
AVDD = DV
CONVST
BUSY
DD
POWER ON
32/72 ms
TIMEOUT PERIOD
CONVERSION IS INITIATED
ON THIS EDGE
32/72 ms
AUTOMATIC
CALIBRATION
DURATION
Figure 28. Timing Arrangement for Autocalibration on
Power-On
The CONVST signal is gated with the BUSY internally so that
as soon as the timeout is initiated by the first CONVST pulse all
subsequent CONVST pulses are ignored until the BUSY signal
goes low, 32/72 ms later. The CONVST pulse that follows after
the BUSY signal goes low initiates an automatic full selfcalibration. This takes a further 32/72 ms. After calibration,
the part is accurate to the 12-bit level and the specifications
quoted on the data sheet apply, and all subsequent CONVST
pulses initiate conversions. There is no need to perform another
calibration unless the operating conditions change or unless a
system calibration is required.
This autocalibration at power-on is disabled if the user writes to
the control register before the autocalibration is initiated. If the
control register write operation occurs during the first 32/72 ms
timeout period, then the BUSY signal stays high for the 32/72 ms
and the CONVST pulse that follows the BUSY going low does
not initiate an automatic full self-calibration. It initiates a conversion and all subsequent CONVST pulses initiate conversions
as well. If the control register write operation occurs when the
automatic full self-calibration is in progress, then the calibration
is not be aborted; the BUSY signal remains high until the automatic full self-calibration is complete.
Self-Calibration Description
There are four different calibration options within the selfcalibration mode. There is a full self-calibration where the
DAC, internal offset, and internal gain errors are removed.
There is the (Gain + Offset) self-calibration which removes the
internal gain error and then the internal offset errors. The internal DAC is not calibrated here. Finally, there are the self-offset
and self-gain calibrations which remove the internal offset errors
and the internal gain errors respectively.
The internal capacitor DAC is calibrated by trimming each of
the capacitors in the DAC. It is the ratio of these capacitors to
each other that is critical, and so the calibration algorithm
ensures that this ratio is at a specific value by the end of the
calibration routine. For the offset and gain there are two
separate capacitors, one of which is trimmed during offset
calibration and one of which is trimmed during gain calibration.
In bipolar mode the midscale error is adjusted by an offset calibration and the positive full-scale error is adjusted by the gain
calibration. In unipolar mode the zero-scale error is adjusted by
the offset calibration and the positive full-scale error is adjusted
by the gain calibration.
–20–
REV. B
AD7854/AD7854L
Self-Calibration Timing
Figure 29 shows the timing for a software full self-calibration.
Here the BUSY line stays high for the full length of the selfcalibration. A self-calibration is initiated by writing to the control register and setting the STCAL bit to 1. The BUSY line
goes high at the end of the write to the control register, and
BUSY goes low when the full self-calibration is complete after a
time t
as show in Figure 29.
CAL
CS
WR
DATA
BUSY
t
23
DATA LATCHED INTO
CONTROL REGISTER
Hi-ZHi-Z
DATA
VALID
t
CAL
Figure 29. Timing Diagram for Full Self-Calibration
For the self-(gain + offset), self-offset and self-gain calibrations,
the BUSY line is triggered high at the end of the write to the
control register and stays high for the full duration of the selfcalibration. The length of time for which BUSY is high depends
on the type of self-calibration that is initiated. Typical values are
given in Table VIII. The timing diagram for the other selfcalibration options is similar to that outlined in Figure 29.
System Calibration Description
System calibration allows the user to remove system errors
external to the AD7854/AD7854L, as well as remove the errors
of the AD7854/AD7854L itself. The maximum calibration
range for the system offset errors is ±5% of V
system gain errors it is ±2.5% of V
. If the system offset or
REF
, and for the
REF
system gain errors are outside these ranges, the system calibration
algorithm reduces the errors as much as the trim range allows.
Figures 30 through 32 illustrate why a specific type of system
calibration might be used. Figure 30 shows a system offset calibration (assuming a positive offset) where the analog input
range has been shifted upwards by the system offset after the
system offset calibration is completed. A negative offset may
also be removed by a system offset calibration.
MAX SYSTEM FULL SCALE
V
– 1LSB
REF
SYS OFFSET
AGND
MAX SYSTEM OFFSET
IS ±5% OF V
ANALOG
INPUT
RANGE
REF
V
+ SYS OFFSET
REF
SYSTEM OFFSET
CALIBRATION
IS ±2.5% FROM V
V
– 1LSB
REF
SYS OFFSET
AGND
MAX SYSTEM OFFSET
IS ±5% OF V
REF
REF
ANALOG
INPUT
RANGE
Figure 30. System Offset Calibration
Figure 31 shows a system gain calibration (assuming a system
full scale greater than the reference voltage) where the analog
input range has been increased after the system gain calibration
is completed. A system full-scale voltage less than the reference
voltage may also be accounted for a by a system gain calibration.
MAX SYSTEM FULL SCALE
IS ±2.5% FROM V
SYS FULL S.
V
– 1LSB
REF
AGND
REF
ANALOG
INPUT
RANGE
SYSTEM OFFSET
CALIBRATION
MAX SYSTEM FULL SCALE
IS ±2.5% FROM V
SYS FULL S.
V
– 1LSB
REF
AGND
REF
ANALOG
INPUT
RANGE
Figure 31. System Gain Calibration
Finally in Figure 32 both the system offset error and gain error
are removed by the system offset followed by a system gain calibration. First the analog input range is shifted upwards by the
positive system offset and then the analog input range is
adjusted at the top end to account for the system full scale.
MAX SYSTEM FULL SCALE
IS ±2.5% FROM V
SYS F.S.
V
– 1LSB
REF
SYS OFFSET
AGND
MAX SYSTEM OFFSET
IS ±5% OF V
REF
REF
ANALOG
INPUT
RANGE
SYSTEM OFFSET
CALIBRATION
FOLLOWED BY
SYSTEM GAIN
CALIBRATION
MAX SYSTEM FULL SCALE
IS ±2.5% FROM V
V
+ SYS OFFSET
REF
SYS F.S.
– 1LSB
V
REF
SYS OFFSET
AGND
MAX SYSTEM OFFSET
IS ±5% OF V
REF
REF
ANALOG
INPUT
RANGE
REV. B
Figure 32. System (Gain + Offset) Calibration
–21–
AD7854/AD7854L
System Gain and Offset Interaction
The architecture of the AD7854/AD7854L leads to an interaction between the system offset and gain errors when a system
calibration is performed. Therefore it is recommended to perform
the cycle of a system offset calibration followed by a system gain
calibration twice. When a system offset calibration is performed,
the system offset error is reduced to zero. If this is followed by a
system gain calibration, then the system gain error is now zero,
but the system offset error is no longer zero. A second sequence
of system offset error calibration followed by a system gain calibration is necessary to reduce system offset error to below the
12-bit level. The advantage of doing separate system offset and
system gain calibrations is that the user has more control over
when the analog inputs need to be at the required levels, and the
CONVST signal does not have to be used.
Alternatively, a system (gain + offset) calibration can be performed. At the end of one system (gain + offset) calibration, the
system offset error is zero, while the system gain error is reduced
from its initial value. Three system (gain + offset) calibrations
are required to reduce the system gain error to below the 12-bit
error level. There is never any need to perform more than three
system (gain + offset) calibrations.
In bipolar mode the midscale error is adjusted for an offset calibration and the positive full-scale error is adjusted for the gain
calibration; in unipolar mode the zero-scale error is adjusted for
an offset calibration and the positive full-scale error is adjusted
for a gain calibration.
System Calibration Timing
The timing diagram in Figure 33 is for a software full system
calibration. It may be easier in some applications to perform
separate gain and offset calibrations so that the CONVST bit in
the control register does not have to be programmed in the
middle of the system calibration sequence. Once the write to the
control register setting the bits for a full system calibration is
completed, calibration of the internal DAC is initiated and the
BUSY line goes high. The full-scale system voltage should be
applied to the analog input pins, AIN(+) and AIN(–) at the start
of calibration. The BUSY line goes low once the DAC and
system gain calibration are complete. Next the system offset
voltage should be applied across the AIN(+) and AIN(–) pins
for a minimum setup time (t
) of 100 ns before the rising
SETUP
edge of CS. This second write to the control register sets the
CONVST bit to 1 and at the end of this write operation the
BUSY signal is triggered high (note that a CONVST pulse can
be applied instead of this second write to the control register).
The BUSY signal is low after a time t
when the system offset
CAL2
calibration section is complete. The full system calibration is now
complete.
The timing for a system (gain + offset) calibration is very similar
to that of Figure 33, the only difference being that the time t
replaced by a shorter time of the order of t
as the internal
CAL2
CAL1
is
DAC is not calibrated. The BUSY signal signifies when the gain
calibration is finished and when the part is ready for the offset
calibration.
DATA LATCHED INTO
CONTROL REGISTER
t
23
CS
WR
DATA
BUSY
AIN
Hi-Z
DATA
VALID
V
SYSTEM FULL SCALE
Hi-ZHi-Z
t
CAL1
t
SETUP
CONVST BIT SET
TO 1 IN CONTROL
DATA
VALID
t
23
REGISTER
t
CAL2
V
OFFSET
Figure 33. Timing Diagram for Full System Calibration
The timing diagram for a system offset or system gain calibration is shown in Figure 34. Here again a write to the control
register initiates the calibration sequence. At the end of the control register write operation the BUSY line goes high and it stays
high until the calibration sequence is finished. The analog input
should be set at the correct level for a minimum setup time
) of 100 ns before the CS rising edge and stay at the cor-
(t
SETUP
rect level until the BUSY signal goes low.
t
23
CS
WR
DATA
BUSY
AIN
Hi-ZHi-Z
t
SETUP
DATA
VALID
DATA LATCHED INTO
CONTROL REGISTER
t
CAL2
V
SYSTEM FULL SCALE
OR V
OFFSET
Figure 34. Timing Diagram for System Gain or System
Offset Calibration
–22–
REV. B
AD7854/AD7854L
DATA
VALID
t
11
t
12
t
11
t
12
t
13
t
14
t
10
t
15
t
16
t
17
HBEN
CS
WR
DATA
DATA
VALID
t
11
= 0ns MIN,
t
12
= 5ns MIN,
t
13
=
t
14
= 0ns MIN,
t
15
= 70ns MIN,
t
16
= 10ns MIN,
t
17
= 5ns MIN
PARALLEL INTERFACE
Reading
The timing diagram for a read cycle is shown in Figure 35. The
CONVST and BUSY signals are not shown here as the read
cycle may occur while a conversion is in progress or after the
conversion is complete.
The HBEN signal is low for the first read and high for the second read. This ensures that it is the lower 12 bits of the 16-bit
word are output in the first read and the 8 MSBs of the 16-bit
word are output in the second read. If required, the HBEN
signal may be high for the first read and low for the second
read to ensure that the high byte is output in the first read
and the lower byte in the second read. The CS and RD signals are gated together internally and level triggered active
low. Both CS and RD may be tied together as the timing specification for t
and t6 are both 0 ns min. The data is output a time t
5
8
after both CS and RD go low. The RD rising edge should be
used to latch the data by the user and after a time t
the data
9
lines will go into their high impedance state.
In Figure 35, the first read outputs the 12 LSBs of the 16-bit
word on pins DB0 to DB11 (DB0 being the LSB of the 12-bit
read). The second read outputs the 8 MSBs of the 16-bit word
on pins DB0 to DB7 (DB0 being the LSB of the 8-bit read). If the
system has a 12-bit or a 16-bit data bus, only one read operation
is necessary to obtain the 12-bit conversion result (12 bits are
output in the first read). A second read operation is not required.
If the system has an 8-bit data bus then two reads are needed.
Pins DB0 to DB7 should be connected the 8-bit data bus. Pins
DB8 to DB11 should be tied to DGND or DV
via 10 kΩ
DD
resistors. With this arrangement, HBEN is pulled low for the
first read and the 8 LSBs of the 16-bit word are output on pins
DB0 to DB7 (data on pins DB8 to DB11 will be ignored).
HBEN is pulled high for the second read and now the 8 MSBs
of the 16-bit word are output on pins DB0 to DB7.
t
HBEN
CS
RD
DATA
t
t
t
5
t
8
= 15ns MIN,
3
= 50ns MAX,
8
3
t
7
DATA
VALID
t
= 5ns MIN,
4
t
= 5/40ns MIN/MAX,
9
t
4
t
10
t
6
t
9
t
=
5
t
t
= 0ns MIN,
6
3
DATA
VALID
t
= 70ns MIN
10
t
4
to DB11. Bringing HBEN high causes the 8 MSBs of the 16-bit
word to be output on pins DB0 to DB7. Note that with this
arrangement the data lines are always active.
t
= 100ns MIN,
1
t
=
19
CONVERSION IS INITIATED ON THIS EDGE
t
18
NEW DATA
VALID
(DB0–DB11)
CONVST
BUSY
HBEN
DATA
t
1
t
2
OLD DATA VALID
t
ON PINS DB0 TO DB11
CONVERT
Figure 36. Read Cycle Timing Diagram with CS and
t
t
20
20
= 70ns MIN,
t
19
t
21
NEW DATA
VALID
(DB8–DB11)
ON PINS DB0 TO DB7
= 70ns MIN,
t
=
t
21
22
t
20
t
22
NEW DATA
VALID
(DB0–DB11)
= 60ns MAX
NEW DATA
VALID
(DB8–DB11)
RD
Tied Low
Writing
The timing diagram for a write cycle is shown in Figure 37. The
CONVST and BUSY signals are not shown here as the write
cycle may occur while a conversion is in progress or after the
conversion is complete.
To write a 16-bit word to the AD7854/AD7854L, two 8-bit
writes are required. The HBEN signal must be low for the first
write and high for the second write. This ensures that it is the
lower 8 bits of the 16-bit word are latched in the first write and
the 8 MSBs of the 16-bit word are latched in the second write.
For both write operations the 8 bits of data should be present on
pins DB0 to DB7 (DB0 being the LSB of the 8-bit write). Any
data on pins DB8 to DB11 is ignored when writing to the device.
The CS and WR signals are gated together internally. Both CS
and WR may be tied together as the timing specification for t
13
and t14 are both 0 ns min. The data is latched on the rising edge
of WR. The data needs to be set up a time t
rising edge and held for a time t
after the WR rising edge.
17
before the WR
16
Figure 35. Read Cycle Timing Diagram Using CS and
RD
In the case where the AD7854/AD7854L is operated as a readonly ADC, the WR pin can be tied permanently high. The read
operation need only consist of one read if the system has a 12bit or a 16-bit data bus.
When both the CS and RD signals are tied permanently low a
different timing arrangement results, as shown in Figure 36.
Here the data is output a time t
BUSY signal. This allows the falling edge of BUSY to be used
for latching the data. Again if HBEN is low during the conversion the 12 LSBs of the 16-bit word will be output on pins DB0
REV. B
before the falling edge of the
20
–23–
Figure 37. Write Cycle Timing Diagram
Resetting the Parallel Interface
If random data has been inadvertently written to the test register, it is necessary to write the 16-bit word 0100 0000 0000
0010 (in two 8-bit bytes) to restore the test register to its
default value.
AD7854/AD7854L
MICROPROCESSOR INTERFACING
The parallel port on the AD7854/AD7854L allows the device to
be interfaced to microprocessors or DSP processors as a memory
mapped or I/O mapped device. The CS and RD inputs are
common to all memory peripheral interfacing. Typical interfaces to different processors are shown in Figures 38 to 41.
In all the interfaces shown, an external timer controls the
CONVST input of the AD7854/AD7854L and the BUSY output interrupts the host DSP. Also, the HBEN pin is connected
to address line A0 (XA0 in the case of the TMS320C30). This
maps the AD7854/AD7854L to two locations in the processor
memory space, ADCaddr and ADCaddr+1. Thus when writing
to the ADC, first the 8 LSBs of the 16-bit are written to address
location ADCaddr and then the 8 MSBs to location ADCaddr+1.
All the interfaces use a 12-bit data bus, so only one read is needed
from location ADCaddr to access the ADC output data register
or the status register. To read from the other registers, the
8 MSBs must be read from location ADCaddr+1. Interfacing
to 8-bit bus systems is similar, except that two reads are
required to obtain data from all the registers.
AD7854/AD7854L to ADSP-21xx
Figure 38 shows the AD7854/AD7854L interfaced to the
ADSP-21xx series of DSPs as a memory mapped device. A
single wait state may be necessary to interface the AD7854/
AD7854L to the ADSP-21xx depending on the clock speed of
the DSP. This wait state can be programmed via the data
memory waitstate control register of the ADSP-21xx (please see
ADSP-2100 Family Users Manual for details). The following
instruction reads data from the AD7854/AD7854L:
AX0 = DM(ADCaddr)
Data can be written to the AD7854/AD7854L using the
instructions:
DM (ADCaddr) = AY0
DM (ADCaddr+1) = AY1
where ADCaddr is the address of the AD7854/AD7854L in
ADSP-21xx data memory, AX0 contains the data read from the
ADC, and AY0 contains the 8 LSBs and AY1 the 8 MSBs of
data written to the AD7854/AD7854L.
A13–A1
ADSP-21xx*
DMS
IRQ2
D23–D8
A0
WR
RD
ADDRESS BUS
ADDR
EN
DECODE
DATA BUS
CS
AD7854/
AD7854L*
HBEN
WR
RD
BUSY
DB11–DB0
AD7854/AD7854L to TMS32020, TMS320C25 and TMS320C5x
A parallel interface between the AD7854/AD7854L and the
TMS32020, TMS320C25 and TMS320C5x family of DSPs are
shown in Figure 39. The memory mapped addresses chosen for
the AD7854/AD7854L should be chosen to fall in the I/O
memory space of the DSPs.
The parallel interface on the AD7854/AD7854L is fast enough
to interface to the TMS32020 with no extra wait states. In the
TMS320C25 interface, data accesses may be slowed sufficiently
when reading from and writing to the part to require the insertion of one wait state. In such a case, this wait state can be
generated using the single OR gate to combine the CS and
MSC signals to drive the READY line of the TMS320C25, as
shown in Figure 39. Extra wait states are necessary when using
the TMS320C5x at their fastest clock speeds. Wait states can
be programmed via the IOWSR and CWSR registers (please see
TMS320C5x User Guide for details).
Data is read from the ADC using the following instruction:
IN D,ADCaddr
where D is the memory location where the data is to be stored
and ADCaddr is the I/O address of the AD7854/AD7854L.
Data is written to the ADC using the following two instructions:
OUT D8LSB, ADCaddr
OUT D8MSB, ADCaddr+1
where D8LSB is the memory location where the 8 LSBs of data
are stored, D8MSB is the location where the 8 MSBs of data are
stored and ADCaddr and ADCaddr+1 are the I/O memory
spaces that the AD7854/AD7854L is mapped into.
A15–A1
TMS32020/
TMS320C25/
TMS320C50*
READY
MSC
STRB
INTx
D23–D0
*ADDITIONAL PINS OMITTED FOR CLARITY
IS
A0
R/W
ADDRESS BUS
ADDR
EN
DECODE
DATA BUS
TMS320C25
ONLY
CS
AD7854/
AD7854L*
HBEN
WR
RD
BUSY
DB11–DB0
Figure 39. AD7854/AD7854L to TMS32020/C25/C5x
Parallel Interface
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 38. AD7854/AD7854L to ADSP-21xx Parallel Interface
–24–
REV. B
AD7854/AD7854L
AD7854/AD7854L to TMS320C30
Figure 40 shows a parallel interface between the AD7854/
AD7854L and the TMS320C3x family of DSPs. The
AD7854/AD7854L is interfaced to the Expansion Bus of the
TMS320C3x. Two wait states are required in this interface.
These can be programmed using the WTCNT bits of the
Expansion Bus Control register (see TMS320C3x Users Guide
for details). Data from the AD7854/AD7854L can be read
using the following instruction:
LDI *ARn,Rx
Data can be loaded into the AD7854/AD7854L using the
instructions:
STI Ry,*ARn++
STI Rz,*ARn--
where ARn is an auxiliary register containing the lower 16 bits
of the address of the AD7854/AD7854L in the TMS320C3x
memory space, Rx is the register into which the ADC data is
loaded during a load operation, Ry contains the 8 LSBs of
data and Rz contains the 8 MSBs of data to be written to the
AD7854/AD7854L.
XA12–XA1
TMS320C30*
XD23–XD0
XA0
IOSTRB
XR/W
INTx
EXPANSION ADDRESS BUS
ADDR
DECODE
EXPANSION DATA BUS
CS
AD7854/
AD7854L*
HBEN
WR
RD
BUSY
DB11–DB0
AD7854/AD7854L to DSP5600x
Figure 41 shows a parallel interface between the AD7854/
AD7854L and the DSP5600x series of DSPs. The AD7854/
AD7854L should be mapped into the top 64 locations of Y data
memory. If extra wait states are needed in this interface, they
can be programmed using the Port A bus control register (please
see DSP5600x User’s Manual for details). Data can be read
from the DSP5600x using the following instruction:
MOVE Y:ADCaddr, X0
Data can be written to the AD7854/AD7854L using the following two instructions:
MOVE X0, Y:ADCaddr
MOVE X1, Y:ADCaddr+1
Where ADCaddr is the address in the DSP5600x address space
to which the AD7854/AD7854L has been mapped.
A15–A1
DSP56000/
DSP56002*
D23–D0
*ADDITIONAL PINS OMITTED FOR CLARITY
X/Y
DS
A0
WR
RD
IRQ
ADDRESS BUS
ADDR
DECODE
DATA BUS
CS
AD7854/
AD7854L*
HBEN
WR
RD
BUSY
DB11–DB0
Figure 41. AD7854/AD7854L to DSP5600x Parallel Interface
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 40. AD7854/AD7854L to TMS320C30 Parallel
Interface
REV. B
–25–
AD7854/AD7854L
APPLICATION HINTS
Grounding and Layout
The analog and digital supplies of the AD7854/AD7854L are
independent and separately pinned out to minimize coupling
between the analog and digital sections of the device. The part
has very good immunity to noise on the power supplies as can
be seen by the PSRR versus frequency graph. However, care
should still be taken with regard to grounding and layout.
The printed circuit board on which the AD7854/AD7854L is
mounted should be designed such that the analog and digital
sections are separated and confined to certain areas of the
board. This facilitates the use of ground planes that can be
easily separated. A minimum etch technique is generally best
for ground planes as it gives the best shielding. Digital and
analog ground planes should only be joined in one place. If
the AD7854/AD7854L is the only device requiring an AGND
to DGND connection, then the ground planes should be
connected at the AGND and DGND pins of the AD7854/
AD7854L. If the AD7854/AD7854L is in a system where
multiple devices require AGND to DGND connections, the
connection should still be made at one point only, a star ground
point which should be established as close as possible to the
AD7854/AD7854L.
Avoid running digital lines under the device as these couple
noise onto the die. The analog ground plane should be allowed
to run under the AD7854/AD7854L to avoid noise coupling.
The power supply lines to the AD7854/AD7854L should use as
large a trace as possible to provide low impedance paths and
reduce the effects of glitches on the power supply line. Fast
switching signals like clocks and the data inputs should be
shielded with digital ground to avoid radiating noise to other
sections of the board and clock signals should never be run near
the analog inputs. Avoid crossover of digital and analog signals.
Traces on opposite sides of the board should run at right angles
to each other. This reduces the effects of feedthrough through
the board. A microstrip technique is by far the best but is not
always possible with a double-sided board. In this technique,
the component side of the board is dedicated to ground planes
while signals are placed on the solder side.
Good decoupling is also important. All analog supplies should
be decoupled with a 10 µF tantalum capacitor in parallel with
0.1 µF disc ceramic capacitor to AGND. All digital supplies
should have a 0.1 µF disc ceramic capacitor to DGND. To
achieve the best performance from these decoupling components, they must be placed as close as possible to the device,
ideally right up against the device. In systems where a common
supply voltage is used to drive both the AV
AD7854/AD7854L, it is recommended that the system’s AV
and DVDD of the
DD
DD
supply is used. In this case an optional 10 Ω resistor between
the AV
pin and DVDD pin can help to filter noise from digital
DD
circuitry. This supply should have the recommended analog
supply decoupling capacitors between the AV
pin of the
DD
AD7854/AD7854L and AGND and the recommended digital
supply decoupling capacitor between the DV
pin of the
DD
AD7854/AD7854L and DGND.
Evaluating the AD7854/AD7854L Performance
The recommended layout for the AD7854/AD7854L is outlined
in the evaluation board for the AD7854/AD7854L. The evaluation board package includes a fully assembled and tested
evaluation board, documentation, and software for controlling
the board from the PC via the EVAL-CONTROL BOARD.
The EVAL-CONTROL BOARD can be used in conjunction
with the AD7854/AD7854L Evaluation board, as well as many
other Analog Devices evaluation boards ending in the CB designator, to demonstrate/evaluate the ac and dc performance of the
AD7854/AD7854L.
The software allows the user to perform ac (fast Fourier transform) and dc (histogram of codes) tests on the AD7854/
AD7854L. It also gives full access to all the AD7854/AD7854L
on-chip registers allowing for various calibration and powerdown options to be programmed.