FEATURES
Dual 12-Bit, 2-Channel ADC
Fast Throughput Rate
1 MSPS
Specified for V
Low Power
11.4 mW Max at 1 MSPS with 3 V Supplies
24 mW Max at 1 MSPS with 5 V Supplies
Wide Input Bandwidth
70 dB SNR at 300 kHz Input Frequency
Onboard Reference 2.5 V
Flexible Power/Throughput Rate Management
Simultaneous Conversion/Read
No Pipeline Delays
High-Speed Serial Interface SPI
MICROWIRE
Shut-Down Mode
1 A Max
20-Lead TSSOP Package
of 2.7 V to 5.25 V
DD
TM
/DSP Compatible
TM
/QSPITM/
SAR ADC with Serial Interface
AD7866
FUNCTIONAL BLOCK DIAGRAM
BUF
T/H
T/H
BUF
D
AAV
CAP
REF SELECT
12-BIT
SUCCESSIVE-
APPROXIMATION
ADC
CONTROL
LOGIC
12-BIT
SUCCESSIVE-
APPROXIMATION
ADC
D
B
CAP
AD7866
DGND
DDDVDD
OUTPUT
DRIVERS
OUTPUT
DRIVERS
D
A0
RANGE
SCLK
CS
V
D
V
A1
V
A2
V
B1
V
B2
V
REF
2.5V
REF
MUX
MUX
AGND AGND
OUT
DRIVE
OUT
A
B
GENERAL DESCRIPTION
The AD7866 is a dual 12-bit high-speed, low power, successiveapproximation ADC. The part operates from a single 2.7 V to 5.25 V
power supply and features throughput rates up to 1 MSPS. The
device contains two ADCs, each preceded by a low-noise, wide
bandwidth track/hold amplifier which can handle input frequencies
in excess of 10 MHz.
The conversion process and data acquisition are controlled
using standard control inputs allowing easy interfacing to
microprocessors or DSPs. The input signal is sampled on the
falling edge of CS and conversion is also initiated at this point.
The conversion time is determined by the SCLK frequency.
There are no pipelined delays associated with the part.
The AD7866 uses advanced design techniques to achieve very low
power dissipation at high throughput rates. With 3 V supplies
and 1 MSPS throughput rate, the part consumes a maximum of
3.8 mA. With 5 V supplies and 1 MSPS, the current consumption
is a maximum of 4.8 mA. The part also offers flexible power/
throughput rate management when operating in sleep mode.
The analog input range for the part can be selected to be a 0 V
to V
range or a 2 × V
REF
range with either straight binary or
REF
two’s complement output coding. The AD7866 has an
on-chip 2.5 V reference which can be overdriven if an external
SPI and QSPI are trademarks of Motorola Inc.
MICROWIRE is a trademark of National Semiconductor Corporation.
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 that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
reference is preferred. Each on-board ADC can also be supplied
with a separate individual external reference.
The AD7866 is available in a 20-lead thin shrink small outline
(TSSOP) package.
PRODUCT HIGHLIGHTS
1. The AD7866 features two complete ADC functions allowing
simultaneous sampling and conversion of two channels. Each
ADC has a 2-channel input multiplexer. The conversion
result of both channels is available simultaneously on separate
data lines, or both may be taken on one data line if only one
serial port is available.
2. High Throughput with Low Power Consumption—The
AD7866 offers a 1 MSPS throughput rate with 11.4 mW
maximum power consumption when operating at 3 V.
3. Flexible Power/Throughput Rate Management—The
conversion rate is determined by the serial clock allowing
the power consumption to be reduced as the conversion time
is reduced through a SCLK frequency increase. Power
efficiency can be maximized at lower throughput rates if the
part enters sleep during conversions.
4. No Pipeline Delay—The part features two standard successiveapproximation ADCs with accurate control of the sampling
instant via a CS input and once off conversion control.
Resolution1212Bits
Integral Nonlinearity± 1.5± 1LSB max
± 1.5LSB max
Differential Nonlinearity–0.95/+1.25 –0.95/+1.25LSB max
0 V to V
Input Range
REF
B Grade, 0 V to V
0 V to 2 × V
range only; ±0.5 LSB typ
REF
range; ± 0.5
REF
LSB
Guaranteed No Missed Codes to 12 Bits
Straight Binary Output Coding
Offset Error± 8± 8LSB max
Offset Error Match± 1.2± 1.2LSB typ
Gain Error± 2.5± 2.5LSB max
Gain Error Match± 0.2± 0.2LSB typ
2 × V
Input Range–V
REF
REF
to +V
Biased about V
REF
Positive Gain Error± 2.5± 2.5LSB maxTwo’s Complement Output Coding
Zero Code Error± 8± 8LSB max
Zero Code Error Match± 0.2± 0.2LSB typ
Negative Gain Error± 2.5± 2.5LSB max
ANALOG INPUT
Input Voltage Ranges0 to V
0 to 2 × V
REF
REF
0 to V
REF
0 to 2 × V
VRANGE Pin Low upon CS Falling Edge
VRANGE Pin High upon CS Falling Edge
REF
DC Leakage Current± 500± 500nA max
Input Capacitance3030pF typWhen in Track
1010pF typWhen in Hold
REFERENCE INPUT/OUTPUT
Reference Input Voltage2.52.5V± 1% for Specified Performance
Reference Input Voltage Range
DC Leakage Current± 30±30µA maxV
Input Capacitance2020pF typ
Reference Output Voltage
Output Impedance
V
REF
4
5
6
2/32/3V min/V max REF SELECT Pin Tied High
Pin;
± 160± 160µA maxD
REF
CAP
A, D
CAP
B Pins;
2.45/2.552.45/2.55V min/V max
2525Ω typVDD = 5 V
4545Ω typV
DD
= 3 V
Reference Temperature Coefficient5050ppm/°C typ
REF OUT Error (T
MIN
to T
)±15± 15mV typ
MAX
LOGIC INPUTS
Input High Voltage, V
Input Low Voltage, V
Input Current, I
Input Capacitance, C
INL
IN
IN
INH
3
0.7 V
DRIVE
0.3 V
DRIVE
± 1± 1µA maxTypically 15 nA, V
1010pF max
0.7 V
0.3 V
DRIVE
DRIVE
V min
V max
= 0 V or V
IN
LOGIC OUTPUTS
Output High Voltage, V
Output Low Voltage, V
Floating-State Leakage Current±1± 1µA maxV
Floating-State Output Capacitance
OH
OL
3
V
DRIVE
– 0.2 V
– 0.2V minI
DRIVE
0.40.4V maxI
1010pF max
= 200 µA
SOURCE
= 200 µA
SINK
= 2.7 V to 5.25 V
DD
Output CodingStraight (Natural) BinarySelectable with Either Input Range
Conversion Time1616SCLK cycles 800 ns with SCLK = 20 MHz
Track/Hold Acquisition Time
Throughput Rate11MSPS maxSee Serial Interface Section
POWER REQUIREMENTS
V
DD
V
DRIVE
7
I
DD
Normal Mode (Static)3.13.1mA maxVDD = 4.75 V to 5.25 V. Add 0.5 mA
Operational, f
= 1 MSPS4.84.8mA maxVDD = 4.75 V to 5.25 V. Add 0.5 mA
S
Partial Power-Down Mode1.61.6mA maxf
Partial Power-Down Mode560560µA max(Static) Add 100 µA Typical if Using Internal
Full Power-Down Mode11µA maxSCLK On or Off.
Power Dissipation
7
Normal Mode (Operational)2424mW maxVDD = 5 V
Partial Power-Down (Static)2.82.8mW maxV
Full Power-Down (Static)55µW maxV
NOTES
1
Temperature ranges as follows: A, B Versions: –40°C to +85°C.
2
See Terminology section.
3
Sample tested @ 25°C to ensure compliance.
4
External reference range that may be applied at V
5
Relates to pins V
6
See Reference section for D
7
See Power Versus Throughput Rate section.
Specifications subject to change without notice.
REF
, D
CAP
A, or D
CAP
3
B.
CAP
A, D
B output impedances.
CAP
300300ns max
2.7/5.252.7/5.25V min/max
2.7/5.252.7/5.25V min/max
Digital I/Ps = 0 V or V
Typical if Using Internal Reference
2.82.8mA maxV
= 2.7 V to 3.6 V. Add 0.35 mA
DD
Typical if Using Internal Reference
Typical if Using Internal Reference
3.83.8mA maxV
= 2.7 V to 3.6 V. Add 0.5 mA
DD
Typical if Using Internal Reference
= 100 kSPS, f
S
SCLK
Add 0.2 mA Typ if Using Internal Reference
Reference
11.411.4mW maxV
1.681.68mW maxV
= 3 V
DD
= 5 V. SCLK On or Off.
DD
= 3 V. SCLK On or Off.
DD
= 5 V. SCLK On or Off.
DD
33 µW maxVDD = 3 V. SCLK On or Off.
, D
REF
CAP
A, or D
CAP
B.
DRIVE
= 20 MHz
REV. 0
–3–
AD7866
WARNING!
ESD SENSITIVE DEVICE
TIMING SPECIFICATIONS
1
(VDD = 2.7 V to 5.25 V, V
= 2.7 V to 5.25 V, V
DRIVE
= 2.5 V; TA = T
REF
MIN
to T
, unless otherwise noted.)
MAX
Limit at
ParameterT
2
f
SCLK
MIN
, T
MAX
UnitDescription
10kHz min
20MHz max
t
CONVERT
16 × t
SCLK
800ns maxf
t
QUIET
t
2
3
t
3
3
t
4
t
5
t
6
t
7
4
t
8
4
t
9
50ns maxMinimum Time Between End of Serial Read and Next Falling Edge of CS
10ns minCS to SCLK Setup Time
25ns maxDelay from CS Until D
40ns maxData Access Time After SCLK Falling Edge. V
0.4 t
SCLK
0.4 t
SCLK
10ns minSCLK to Data Valid Hold Time
25ns maxCS Rising Edge to D
10ns minSCLK Falling Edge to D
50ns maxSCLK Falling Edge to D
NOTES
1
Sample tested at 25°C to ensure compliance. All input signals are specified with tr = tf = 5 ns (10% to 90% of V
2
Mark/Space ratio for the CLK input is 40/60 to 60/40.
3
Measured with the load circuit of Figure 1 and defined as the time required for the output to cross 0.8 V or 2.0 V.
4
t
are derived from 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
8, t9
back to remove the effects of charging or discharging the 50 pF capacitor. This means that the times t
relinquish times of the part and are independent of the bus loading.
Stresses above those listed under Absolute Maximum Ratings may cause permanent
damage to the device. This is a stress rating only; functional operation of the device
at these or any other conditions above those 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 latch up.
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection. Although
the AD7866 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.
AD7866ARU–40°C to +85°C12Thin Shrink SO (TSSOP)RU-20
AD7866BRU–40°C to +85°C12Thin Shrink SO (TSSOP)RU-20
EVAL-AD7866CB
EVAL-CONTROL BRD22Controller Board
NOTES
1
This can be used as a stand-alone evaluation board or in conjunction with the evaluation board controller for evaluation/demonstration purposes.
2
This evaluation board controller is a complete unit, allowing a PC to control and communicate with all Analog Devices evaluation boards ending in the CB designators.
1
Evaluation Board(TSSOP)
PIN CONFIGURATION
REF SELECT
D
CAP
AGND
V
V
V
V
AGND
D
CAP
V
REF
1
2
B
3
4
B2
5
B1
6
A2
7
A1
8
9
A
10
AD7866
TOP VIEW
(Not to Scale)
20
19
18
17
16
15
14
13
12
11
A0
CS
SCLK
V
DRIVE
D
OUT
D
OUT
DGND
DV
DD
AV
DD
RANGE
B
A
PIN FUNCTION DESCRIPTIONS
Pin No.MnemonicFunction
1REF SELECTInternal/External Reference Selection Pin. Logic Input. If this pin is tied to GND, the on-chip
2.5 V reference is used as the reference source for both ADC A and ADC B. In addition, pins V
D
A, and D
CAP
logic high, an external reference can be supplied to the AD7866 through the V
case decoupling capacitors are required on D
B must be tied to decoupling capacitors. If the REF SELECT pin is tied to a
CAP
A and D
CAP
B. However, if the V
CAP
pin, in which
REF
pin is tied to
REF
REF
,
AGND while REF SELECT is tied to a logic low, an individual external reference can be applied
2, 9D
CAP
B, D
to both ADC A and ADC B through pins D
ADecoupling capacitors are connected to these pins to decouple the reference buffer for each respective
CAP
A and D
CAP
B, respectively. See Reference section.
CAP
ADC. The on-chip reference can be taken from these pins and applied externally to the rest of a
system. Depending on the polarity of the REF SELECT pin and the configuration of the V
REF
pin,
these pins can also be used to input a separate external reference to each ADC. The range of the
external reference is dependent on the analog input range selected. See Reference section.
3, 8AGNDAnalog Ground. Ground reference point for all analog circuitry on the AD7866. All analog input
signals and any external reference signal should be referred to this AGND voltage. Both of these
pins should connect to the AGND plane of a system. The AGND and DGND voltages should
ideally be at the same potential and must not be more than 0.3 V apart even on a transient basis.
4, 5V
6, 7V
10V
B2, VB1
A2, VA1
REF
Analog Inputs of ADC B. Single-ended analog input channels. The input range on each channel is 0 V
to V
or a 2 × V
REF
range depending on the polarity of the RANGE pin upon the falling edge of CS.
REF
Analog Inputs of ADC A. Single-ended analog input channels. The input range on each channel is 0 V
to V
or a 2 × V
REF
range depending on the polarity of the RANGE pin upon the falling edge of CS.
REF
Reference Decoupling Pin and External Reference Selection Pin. This pin is connected to the internal reference and requires a decoupling capacitor. The nominal reference voltage is 2.5 V and this
appears at the pin; however, if the internal reference is to be used externally in a system, it must be
taken from either the D
CAP
A or D
B pins. This pin is also used in conjunction with the REF SELECT
CAP
pin when applying an external reference to the AD7866. See REF SELECT pin description.
REV. 0
–5–
AD7866
PIN FUNCTION DESCRIPTIONS (continued)
Pin No.MnemonicFunction
11RANGEAnalog Input Range and Output Coding Selection Pin. Logic Input. The polarity on this pin will
determine what input range the analog input channels on the AD7866 will have, and it will also
select what type of output coding the ADC will use for the conversion result. On the falling edge of
CS, the polarity of this pin is checked to determine the analog input range of the next conversion. If
this pin is tied to a logic low, the analog input range is 0 V to V
part will be straight binary (for the next conversion). If this pin is tied to a logic high when CS goes
low, the analog input range is 2 × V
and the output coding for the part will be two’s complement.
REF
However, if after the falling edge of CS the logic level of the RANGE pin has changed upon the eighth
SCLK falling edge, the output coding will change to the other option without any change in the
analog input range. (See Analog Input and ADC Transfer Function sections.)
12AV
DD
Analog Supply Voltage, 2.7 V to 5.25 V. This is the only supply voltage for all analog circuitry on
the AD7866. The AV
and DV
DD
voltages should ideally be at the same potential and must not
DD
be more than 0.3 V apart even on a transient basis. This supply should be decoupled to AGND.
13DV
DD
Digital Supply Voltage, 2.7 V to 5.25 V. This is the supply voltage for all digital circuitry on the
AD7866. The DV
and AV
DD
voltages should ideally be at the same potential and must not be
DD
more than 0.3 V apart even on a transient basis. This supply should be decoupled to DGND.
14DGNDDigital Ground. This is the ground reference point for all digital circuitry on the AD7866. The
DGND and AGND voltages should ideally be at the same potential and must not be more than
0.3 V apart even on a transient basis.
15, 16D
OUT
A, D
BSerial Data Outputs. The data output is supplied to this pin as a serial data stream. The bits are
OUT
clocked out on the falling edge of the SCLK input. The data appears on both pins simultaneously
from the simultaneous conversions of both ADCs. The data stream consists of one leading zero
followed by three STATUS bits, followed by the 12 bits of conversion data. The data is provided
MSB first. If CS is held low for a further 16 SCLK cycles after the conversion data has been output
on either D
OUT
A or D
B, the data from the other ADC follows on the D
OUT
data from a simultaneous conversion on both ADCs to be gathered in serial format on either D
17V
DRIVE
or D
Logic Power Supply Input. The voltage supplied at this pin determines what voltage the interface
B alone using only one serial port. See Serial Interface section.
OUT
will operate at. This pin should be decoupled to DGND.
18SCLKSerial Clock. Logic Input. A serial clock input provides the SCLK for accessing the data from the
AD7866. This clock is also used as the clock source for the conversion process.
19CSChip Select. Active low logic input. This input provides the dual function of initiating conversions
on the AD7866 and also frames the serial data transfer.
20A0Multiplexer Select. Logic Input. This input is used to select the pair of channels to be converted
simultaneously, i.e. Channel 1 of both ADC A and ADC B, or Channel 2 of both ADC A and
ADC B. The logic state of this pin is checked upon the falling edge of CS and the multiplexer is set
up for the next conversion. If it is low, the following conversion will be performed on Channel 1 of
each ADC; if it is high, the following conversion will be performed on Channel 2 of each ADC.
and the output coding from the
REF
pin. This allows
OUT
OUT
A
–6–
REV. 0
AD7866
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 LSB
below the first code transition, and full scale, a point 1 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.
Offset Error
This applies when using Straight Binary output coding. It is the
deviation of the first code transition (00 . . . 000) to (00 . . . 001)
from the ideal, i.e., AGND + 1 LSB.
Offset Error Match
This is the difference in Offset Error between the two channels.
Gain Error
This applies when using Straight Binary output coding. It is the
deviation of the last code transition (111 . . . 110) to (111 . . . 111)
from the ideal (i.e., V
– 1 LSB) after the offset error has been
REF
adjusted out.
Gain Error Match
This is the difference in Gain Error between the two channels.
Zero Code Error
This applies when using the two’s complement output coding option,
in particular with the 2 × V
about the V
point. It is the deviation of the midscale transition
REF
(all 1s to all 0s) from the ideal V
input range as –V
REF
voltage, i.e., V
IN
REF
to +V
– 1 LSB.
REF
REF
biased
Zero Code Error Match
This is the difference in Zero Code Error between the two
channels.
Positive Gain Error
This applies when using the two’s complement output coding
option, in particular with the 2 × V
+V
biased about the V
REF
point. It is the deviation of the
REF
input range as –V
REF
REF
to
last code transition (011 . . . 110) to (011 . . . 111) from the
ideal (i.e., +V
– 1 LSB) after the Zero Code Error has
REF
been adjusted out.
Negative Gain Error
This applies when using the two’s complement output coding
option, in particular with the 2 × V
+V
biased about the V
REF
point. It is the deviation of the first
REF
input range as –V
REF
REF
to
code transition (100 . . . 000) to (100 . . . 001) from the ideal
(i.e., –V
+ 1 LSB) after the Zero Code Error error has been
REF
adjusted out.
Track/Hold Acquisition Time
The track/hold amplifier returns into track mode after 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 ratio
S
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 AD7866, it is defined as:
2
THD dB
()=
20
log
2
VVVV
++++
V
3242526
2
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).
The AD7866 is tested 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 dB.
Channel-to-Channel Isolation
Channel-to-channel isolation is a measure of the level of crosstalk
between channels. It is measured by applying a full-scale (2 × V
REF
),
455 kHz sine wave signal to all non selected input channels and
determining how much that signal is attenuated in the selected
channel with a 10 kHz signal (0 V to V
). The figure given is
REF
the worst-case across all four channels for the AD7866.
PSR (Power Supply Rejection)
See Performance Curves section.
REV. 0
–7–
AD7866
PERFORMANCE CURVES
TPC 1 shows a typical FFT plot for the AD7866 at 1 MHz sample
rate and 300 kHz input frequency. TPC 2 shows the signal-to(noise + distortion) ratio performance versus input frequency for
various supply voltages while sampling at 1 MSPS with an SCLK
of 20 MHz.
TPC 3a through TPC 4b show the power supply rejection ratio
versus AVDD supply ripple frequency for the AD7866 under different conditions. The power supply rejection ratio is defined as the
ratio of the power in the ADC output at full-scale frequency f,
to the power of a 100 mV sine wave applied to the ADC AV
DD
supply of frequency fS:
PSRR (dB) = 10 log (Pf/Pf
)
S
Typical Performance Characteristics
0
4098 POINT FFT
f
= 1MSPS
SAMPLE
–15
f
= 300kHz
IN
SNR = 70.31dB
THD = –85.47dB
SFDR = –86.64dB
–35
–55
SNR – dB
–75
–95
–115
0500100
50150250350450
200300400
FREQUENCY – kHz
Pf = Power at frequency f in ADC output, PfS = power at fre-
quency f
peak-to-peak sine wave is coupled onto the AV
coupled onto the ADC AVDD supply. Here a 100 mV
S
supply while
DD
the digital supply is left unaltered. TPCs 3a and 3b show the
PSRR of the AD7866 when there is no decoupling on the supply,
while TPCs 4a and 4b show the PSRR with decoupling capacitors
of 10 µF and 0.1 µF on the supply.
TPC 5 and TPC 6 show typical DNL and INL plots for the AD7866.
TPC 7 shows a graph of the total harmonic distortion versus analog
input frequency for various source impedances.
TPC 8 shows a graph of total harmonic distortion versus analog
input frequency for various supply voltages. See Analog Input
section.
0
100mV p-p SINEWAVE ON AV
–10
2.5V EXT REFERENCE ON V
TA = 25ⴗC
–20
–30
–40
–50
–60
–70
–80
–90
–100
VDD = 5.25V
VDD = 3.6V
1k
PSRR – dB
VDD = 2.7V
10k
AVDD RIPPLE FREQUENCY – Hz
DD
REF
VDD = 4.75V
100k1M
TPC 1. Dynamic Performance
–61
TA = 25 C
–63
–65
DRIVE
VDD = V
= 4.75V
–67
–69
SINAD – dB
–71
–73
–75
10k1000k100k
VDD = V
INPUT FREQUENCY – Hz
TPC 2. SINAD vs. Input Frequency
VDD = V
DRIVE
VDD = V
DRIVE
= 3.6V
DRIVE
= 2.7V
= 5.25V
–8–
TPC 3a. PSRR vs. Supply Ripple Frequency,
without Supply Decoupling
0
100mV p-p SINEWAVE ON AV
–10
2.5V EXT REFERENCE ON D
T
= 25ⴗC
A
–20
–30
–40
–50
V
= 2.7V
PSRR – dB
–100
–60
–70
–80
–90
DD
VDD = 4.75V
1k
VDD = 5.25V
VDD = 3.6V
10k
AVDD RIPPLE FREQUENCY – Hz
DD
A, D
CAP
B
CAP
100k1M
TPC 3b. PSRR vs. Supply Ripple Frequency,
without Supply Decoupling
REV. 0
AD7866
INPUT FREQUENCY – Hz
–70
10k
THD – dB
–72
–74
–76
–78
–80
–82
100k1000k
TA = 25ⴗC
–84
–86
–88
–90
VDD = V
DRIVE
= 2.7V
VDD = V
DRIVE
= 3.6V
VDD = V
DRIVE
= 4.75V
VDD = V
DRIVE
= 5.25V
0
100mV p-p SINEWAVE ON AV
–10
2.5V EXT REFERENCE ON V
TA = 25ⴗC
–20
–30
–40
–50
PSRR – dB
–60
VDD = 2.7V
–70
–80
VDD = 3.6V
–90
–100
1k
10k
AVDD RIPPLE FREQUENCY – Hz
DD
REF
100k1M
TPC 4a. PSRR vs. Supply Ripple Frequency,
with Supply Decoupling
0
100mV p-p SINEWAVE ON AV
–10
2.5V EXT REFERENCE ON D
T
= 25ⴗC
A
–20
–30
–40
–50
VDD = 2.7V
PSRR – dB
–60
–70
–80
–90
VDD = 4.75V
–100
1k
VDD = 3.6V
10k
AVDD RIPPLE FREQUENCY – Hz
DD
A, D
CAP
B
CAP
100k1M
INL – LSB
–0.2
–0.4
–0.6
–0.8
–1.0
–60
–65
–70
–75
THD – dB
–80
–85
–90
1.0
0.8
0.6
0.4
0.2
0.0
500 1000 1500 2000 2500 3000 3500 4000
0
ADC – Code
TPC 6. DC INL Plot
TA = 25ⴗC
= 4.75V
V
DD
10k
100k1000k
INPUT FREQUENCY – Hz
RIN = 100⍀
RIN = 50⍀
RIN = 10⍀
DNL – LSB
REV. 0
TPC 4b. PSRR vs. Supply Ripple Frequency,
with Supply Decoupling
1.0
0.8
0.6
0.4
0.2
0
–0.2
–0.4
–0.6
–0.8
–1.0
0
500 1000 1500 2000 2500 3000 3500 4000
ADC – Code
TPC 5. DC DNL Plot
TPC 7. THD vs. Analog Input Frequency
for Various Source Impedances
TPC 8. THD vs. Analog Input Frequency
for Various Supply Voltages
–9–
AD7866
CIRCUIT INFORMATION
The AD7866 is a fast, micropower, dual 12-bit, single supply,
A/D converter that operates from a 2.7 V to 5.25 V supply.
When operated from either a 5 V supply or a 3 V supply, the
AD7866 is capable of throughput rates of 1 MSPS when provided
with a 20 MHz clock.
The AD7866 contains two on-chip track/hold amplifiers, two
successive-approximation A/D converters, and a serial interface
with two separate data output pins, housed in a 20-lead TSSOP
package, which offers the user considerable space-saving advantages
over alternative solutions. The serial clock input accesses data
from the part but also provides the clock source for each
successive-approximation A/D converter. The analog input range for
the part can be selected to be a 0 V to V
REF
input or a 2 × V
REF
input
with either straight binary or two’s complement output coding.
The AD7866 has an on-chip 2.5 V reference which can be overdriven if an external reference is preferred. In addition, each ADC
can be supplied with an individual separate external reference.
The AD7866 also features power-down options to allow power
saving between conversions. The power-down feature is implemented across the standard serial interface as described in the
Modes of Operation section.
CONVERTER OPERATION
The AD7866 has two successive-approximation analog-to-digital
converters, each based around a capacitive DAC. Figures 2 and 3
show simplified schematics of one of these ADCs. The ADC is
comprised of control logic, a SAR, and a capacitive DAC, all of
which are used to add and subtract fixed amounts of charge from
the sampling capacitor to bring the comparator back into a balanced condition. Figure 2 shows the ADC during its acquisition
phase. SW2 is closed and SW1 is in position A, the comparator is
held in a balanced condition and the sampling capacitor acquires
the signal on V
V
IN
AGND
for example.
A1
A
SW1
CAPACITIVE
DAC
CONTROL
B
SW2
COMPARATOR
LOGIC
CAPACITIVE
DAC
A
V
AGND
IN
SW1
B
SW2
COMPARATOR
CONTROL
LOGIC
Figure 3. ADC Conversion Phase
ANALOG INPUT
Figure 4 shows an equivalent circuit of the analog input structure
of the AD7866. The two diodes D1 and D2 provide ESD protection for the analog inputs. Care must be taken to ensure that
the analog input signal never exceeds the supply rails by more
than 300 mV. This will cause these diodes to become forwardbiased and start conducting current into the substrate. 10 mA
is the maximum current these diodes can conduct without causing
irreversible damage to the part. The capacitor C1 in Figure 4
is typically about 10 pF and can primarily be attributed to pin
capacitance. The resistor R1 is a lumped component made up
of the on resistance of a switch. This resistor is typically about
100 Ω. The capacitor C2 is the ADC sampling capacitor and
has a capacitance of 20 pF typically. For ac applications, removing high-frequency components from the analog input signal is
recommended by use of an RC low-pass filter on the relevant
analog input pin. 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 will
significantly affect the ac performance of the ADC. This may
necessitate the use of an input buffer amplifier. The choice of
the op amp will be a function of the particular application.
V
DD
D1
V
IN
C1
D2
CONVERT PHASE – SWITCH OPEN
TRACK PHASE – SWITCH CLOSED
C2
R1
Figure 4. Equivalent Analog Input Circuit
Figure 2. ADC Acquisition Phase
When the ADC starts a conversion (see Figure 3), SW2 will
open and SW1 will move to position B causing the comparator
to become unbalanced. The Control Logic and the capacitive
DAC are used to add and subtract fixed amounts of charge
from the sampling capacitor to bring the comparator back
into a balanced condition. When the comparator is rebalanced
the conversion is complete. The Control Logic generates the ADC
output code. Figures 10 and 11 show the ADC transfer functions.
–10–
When no amplifier is used to drive the analog input the source
impedance should be limited to low values. The maximum
source impedance will depend on the amount of total harmonic
distortion (THD) that can be tolerated. The THD will increase
as the source impedance increases and performance will degrade
(see TPC 7).
Analog Input Ranges
The analog input range for the AD7866 can be selected to be 0 V
to V
or 2 × V
REF
with either straight binary or two’s comple-
REF
ment output coding. The RANGE pin is used to select both the
analog input range and the output coding, as shown in Figures 5
through 8. On the falling edge of CS, point A, the logic level of
the RANGE pin is checked to determine the analog input range
of the next conversion. If this pin is tied to a logic low then the
REV. 0
AD7866
analog input range will be 0 V to V
and the output coding
REF
from the part will be straight binary (for the next conversion). If this
pin is at a logic high when CS goes low, then the analog input
range will be 2 × V
and the output coding for the part will
REF
be two’s complement. However, if after the falling edge of CS,
the logic level of the RANGE pin has changed upon the eighth
falling SCLK edge, point B, the output coding will change to the
other option without any change in the analog input range. So for
the next conversion, two’s complement output coding could be selected
with a 0 V to V
input range, for example, if the RANGE pin
REF
is low upon the falling edge of CS and high upon the eighth falling
SCLK edge, as shown in Figure 7. Figures 5 through 8 show
examples of timing diagrams when selecting a particular analog input
range with a particular output coding format. Table I also summarizes
the required logic level of the RANGE pin for each selection.
The Logic Input A0 is used to select the pair of channels to be
converted simultaneously. The Logic state of this pin is also
checked upon the falling edge of CS and the multiplexers are set
up for the next conversion. If it is low, the following conversion
Table I. Analog Input and Output Coding Selection
Range LevelRange Level
@ Point A
1
@ Point B
2
Input Range
LowLow0 V to V
HighHighV
LowHighV
HighLow0 V to 2 × V
NOTES
1
Point A = Falling edge of CS.
2
Point B = Eighth falling edge of SCLK.
3
Selected for NEXT conversion.
will be performed on Channel 1 of each ADC; if it is high,
the following conversion will be performed on Channel 2 of
each ADC.
Handling Bipolar Input Signals
Figure 9 shows how useful the combination of the 2 × V
REF
input
range and the two’s complement output coding scheme is for
handling bipolar input signals. If the bipolar input signal is biased
about V
then V
scale and +V
range of 2 × V
and two’s complement output coding is selected,
REF
becomes the zero code point, –V
REF
becomes positive full-scale, with a dynamic
REF
.
REF
is negative full-
REF
Transfer Functions
The designed code transitions occur at successive integer LSB
values (i.e., 1 LSB, 2 LSBs, etc.). The LSB size is = V
REF
/4096.
The ideal transfer characteristic for the AD7866 when straight
binary coding is selected is shown in Figure 10 and the ideal
transfer characteristic for the AD7866 when two’s complement
coding is selected is shown in Figure 11.
REF
REF
REF
± V
/2 ± V
3
Output Coding
Straight Binary
REF
REF
REF
Two’s Complement
/2Two’s Complement
Straight Binary
3
AB
CS
1816161
SCLK
RANGE
A
D
OUT
D
B
OUT
Figure 5. Selecting 0 V to V
AB
CS
1816161
SCLK
RANGE
D
A
OUT
D
B
OUT
Figure 6. Selecting V
REF
± V
0V TO V
REF
INPUT RANGE
STRAIGHT BINARY
Input Range with Straight Binary Output Coding
REF
ⴞ V
V
REF
REF
INPUT RANGE
TWO’S COMPLEMENT
Input Range with Two’s Complement Output Coding
REF
REV. 0
–11–
AD7866
AB
CS
1816161
SCLK
RANGE
D
A
OUT
D
B
OUT
Figure 7. Selecting V
CS
SCLK
RANGE
D
A
OUT
D
B
OUT
/2 ± V
REF
AB
1816161
Figure 8. Selecting 0 V to 2 × V
/2 ⴞ V
V
REF
INPUT RANGE
/2 Input Range with Two’s Complement Output Coding
REF
0V TO 2 ⴛ V
INPUT RANGE
Input Range with Straight Binary Output Coding
REF
REF
/2
REF
TWO’S COMPLEMENT
STRAIGHT BINARY
V
REF
100nF
V
0V
V
R1 = R2 = R3 = R4
R4
R3
R2
470nF
R1
Figure 9. Handling Bipolar Signals with the AD7866
111...111
111...110
111...000
011...111
ADC CODE
000...010
000...001
000...000
1LSB
0V
ANALOG INPUT
1LSB = V
V
REF
REF
– 1LSB
/4096
Figure 10. Straight Binary Transfer Characteristic with 0 V
Input Range
to V
REF
V
DD
V
DSP/P
111
000
000
1LSB = 2 ⴛ V
+ 1LSB
V
REF
ANALOG INPUT
DD
REF
– 1LSB
/4096
+V
REF
– 1LSB–V
470nF
REF SELECT
V
REF
D
A
CAP
D
B
CAP
AD7866
V
IN
+V
REF
V
REF
–V
REF
V
DRIVE
D
OUT
(= 2 ⴛ V
(= 0V)
TWO'S
COMPLEMENT
)
REF
011...111
011...110
000...001
000...000
111...111
ADC CODE
100...010
100...001
100...000
011
000
100
REF
Figure 11. Two’s Complement Transfer Characteristic
with V
REF
± V
Input Range
REF
–12–
REV. 0
Digital Inputs
D
CAP
B
D
CAP
A
V
REF
470nF
AD7866
470nF
100nF
D
CAP
B
D
CAP
A
V
REF
AD7866
V
REF
REF SELECT
D
CAP
B
D
CAP
A
V
REF
470nF
AD7866
470nF
V
REF
REF SELECT
V
DRIVE
The digital inputs applied to the AD7866 are not limited by the
maximum ratings which limit the analog inputs. Instead, the
digital inputs applied can go to 7 V and are not restricted by the
+ 0.3 V limit as on the analog inputs. See maximum ratings.
V
DD
Another advantage of SCLK, RANGE, REF SELECT, A0,
and CS not being restricted by the V
+ 0.3 V limit is the fact
DD
that power supply sequencing issues are avoided. If one of
these digital inputs is applied before V
, there is no risk of
DD
latch-up as there would be on the analog inputs if a signal greater
than 0.3 V were applied prior to V
V
DRIVE
The AD7866 also has the V
DRIVE
voltage at which the serial interface operates. V
.
DD
feature. V
controls the
DRIVE
DRIVE
allows the
ADC to easily interface to both 3 V and 5 V processors. For
example, if the AD7866 was operated with a V
V
pin could be powered from a 3 V supply, allowing a large
DRIVE
of 5 V, the
DD
dynamic range with low voltage digital processors. For example,
the AD7866 could be used with the 2 × V
V
of 5 V while still being able to interface to 3 V digital parts.
DD
input range, with a
REF
REFERENCE SECTION
The AD7866 has various reference configuration options. The
REF SELECT pin allows the choice of using an internal 2.5 V
reference or applying an external reference, or even an individual
external reference for each on-chip ADC if desired. If the REF
SELECT pin is tied to AGND then the on-chip 2.5 V reference
is used as the reference source for both ADC A and ADC B. In
addition, pins V
REF
A, and D
CAP
B must be tied to decoupling
CAP
, D
capacitors (100 nF, 470 nF, and 470 nF recommended, respectively). If the REF SELECT pin is tied to a logic high, then an
external reference can be supplied to the AD7866 through the
pin to overdrive the on-chip reference, in which case decoupling
V
REF
capacitors are required on D
the V
pin is tied to AGND while REF SELECT is tied to a
REF
A and D
CAP
B again. However, if
CAP
logic low, then an individual external reference can be applied to
both ADC A and ADC B through pins D
CAP
A and D
CAP
B,
respectively. Table II summarizes these reference options.
For specified performance the last configuration was used, with
the same reference voltage applied to both D
A and D
CAP
CAP
B.
The connections for the relevant reference pins are shown in the
typical connection diagrams. If the internal reference is being
used, the V
AGND very close to the V
pin should have a 100 nF capacitor connected to
REF
pin. These connections are shown
REF
in Figure 12.
AD7866
Figure 12. Relevant Connections When Using
Internal Reference
Figure 13 shows the connections required when an external
reference is applied to D
A and D
CAP
reference voltage is applied at each pin; however, a different voltage may be applied at each of these pins for each on-chip ADC.
An external reference applied at these pins may have a range from
2 V to 3 V but for specified performance it must be within ±1%
of 2.5 V. Figure 14 shows the third option which is to overdrive the
internal reference through the V
series resistance from the V
REF
external reference can have a range from 2 V to 3 V, but again to get
as close as possible to the specified performance a 2.5 V reference is
desirable. D
A and D
CAP
B decouple each on-chip reference buffer
CAP
as shown in Figure 15. If the on-chip 2.5 V reference is being used,
and is to be applied externally to the rest of the system, it may
Figure 13. Relevant Connections When Applying an
External Reference at D
A and/or D
CAP
Figure 14. Relevant Connections When Applying an
External Reference at V
REF
B. In this example the same
CAP
pin. This is possible due to the
REF
pin to the internal reference. This
B
CAP
REV. 0
Table II. Reference Selection
Reference OptionREF SELECTV
REF
1
D
A and D
CAP
CAP
2
B
InternalLowDecoupling CapacitorDecoupling Capacitor
Externally through V
REF
HighExternal ReferenceDecoupling Capacitor
Externally through
D
A and/or D
CAP
BLowAGNDExternal Reference A and/or
CAP
Reference B
NOTES
1
Recommended value of decoupling capacitor = 100 nF.
2
Recommended value of decoupling capacitor = 470 nF.
–13–
AD7866
EXT REF
100nF
2.5V
REF
REF
D
BUF A
BUF B
D
AV
CAP
B
CAP
EXT REF
EXT REF
470nF
ADC A
ADC B
470nF
Figure 15. Reference Circuit
be taken from either the V
pins. If it is taken from the V
pin or one of the D
REF
pin, it must be buffered before
REF
CAP
A or D
CAP
B
being applied elsewhere as it will not be capable of sourcing more
than a few microamps. If the reference voltage is taken from
either the D
A pin or D
CAP
B pin, a buffer is not strictly neces-
CAP
sary. Either pin is capable of sourcing current in the region of
100 µA; however, the larger the source current requirement, the
greater the voltage drop seen at the pin. The output impedance of
each of these pins is typically 50 Ω. In addition, this point represents the actual voltage applied to the ADC internally so any
voltage drop due to the current load or disturbance due to a
dynamic load will directly affect the ADC conversion. For
this reason, if a large current source is necessary, or a dynamic
load is present, it is recommended to use a buffer on the output
to drive a device.
Examples of suitable external reference devices that may be
applied at pins V
REF
CAP
A, or D
B are the AD780, REF192,
CAP
, D
REF43, or AD1582.
MODES OF OPERATION
The mode of operation of the AD7866 is selected by controlling
the (logic) state of the CS signal during a conversion. There
are three possible modes of operation, Normal Mode, Partial
Power-Down Mode, and Full Power-Down Mode. The point at
which CS is pulled high after the conversion has been initiated
will determine which power-down mode, if any, the device will
enter. Similarly, if already in a power-down mode, CS can
control whether the device will return to normal operation or
remain in power-down. These modes of operation are designed
to provide flexible power management options. These options
can be chosen to optimize the power dissipation/throughput
rate ratio for differing application requirements.
Normal Mode
This mode is intended for fastest throughput rate performance as
the user does not have to worry about any power-up times with
the AD7866 remaining fully powered all the time. Figure 16 shows
the general diagram of the operation of the AD7866 in this mode.
The conversion is initiated on the falling edge of CS as described in
the Serial Interface section. To ensure the part remains fully powered up at all times CS must remain low until at least 10 SCLK
falling edges have elapsed after the falling edge of CS. If CS is
brought high any time after the 10th SCLK falling edge, but before
the 16th SCLK falling edge, the part will remain powered up but
the conversion will be terminated and D
OUT
A and D
OUT
B will go
back into three-state. Sixteen serial clock cycles are required to
complete the conversion and access the conversion result. The
line will not return to three-state after 16 SCLK cycles have
D
OUT
elapsed, but instead when CS is brought high again. If CS is left
low for a further 16 SCLK cycles then the result from the other
ADC on board will also be accessed on the same D
OUT
line as
shown in Figure 22 (see Serial Interface section). The STATUS
bits provided prior to each conversion result will identify which
ADC the following result will be from. Once 32 SCLK cycles
have elapsed, the D
SCLK falling edge. If CS is brought high prior to this, the D
line will return to three-state on the 32nd
OUT
OUT
line
will return to three-state at that point. Hence, CS may idle low after
32 SCLK cycles, until it is brought high again sometime prior to the
next conversion (effectively idling CS low), if so desired, as the bus
will still return to three-state upon completion of the dual result read.
Once a data transfer is complete and D
OUT
A and D
OUT
B have
returned to three-state, another conversion can be initiated after
the quiet time, t
, has elapsed by bringing CS low again.
QUIET
Partial Power-Down Mode
This mode is intended for use in applications where slower
throughput rates are required. Either the ADC is powered down
between each conversion, or a series of conversions may be performed at a high throughput rate and the ADC is then powered
down for a relatively long duration between these bursts of several
conversions. When the AD7866 is in Partial Power-Down, all
analog circuitry is powered down except for the on-chip reference
and reference buffer.
SCLK
D
OUT
D
OUT
CS
1
A
B
STATUS BITS AND CONVERSION RESULT
10
16
Figure 16. Normal Mode Operation
–14–
REV. 0
AD7866
To enter Partial Power-Down, the conversion process must be
interrupted by bringing CS high anywhere after the second falling
edge of SCLK and before the 10th falling edge of SCLK as shown
in Figure 17. Once CS has been brought high in this window of
SCLKs, the part will enter Partial Power-Down and the conversion that was initiated by the falling edge of CS will be terminated
and D
OUT
A and D
B will go back into three-state. If CS is
OUT
brought high before the second SCLK falling edge, the part
will remain in normal mode and will not power down. This will
avoid accidental power-down due to glitches on the CS line.
In order to exit this mode of operation and power the AD7866 up
again, a dummy conversion is performed. On the falling edge of CS
the device will begin to power up, and will continue to power up as
long as CS is held low until after the falling edge of the 10th SCLK.
In the case of an external reference, the device will be fully powered up once 16 SCLKs have elapsed and valid data will result
from the next conversion as shown in Figure 18. If CS is brought
high before the second falling edge of SCLK, the AD7866 will again
go into partial power-down. This avoids accidental power-up due
to glitches on the CS line; although the device may begin to power
up on the falling edge of CS, it will power down again on the rising
edge of CS. If the AD7866 is already in Partial Power-Down mode
and CS is brought high between the second and tenth falling edges
of SCLK, the device will enter Full Power-Down mode. For more
information on the power-up times associated with partial powerdown in various configurations, see the Power-Up Times section.
Full Power-Down Mode
This mode is intended for use in applications where slower
throughput rates are required than those in the Partial PowerDown mode, as power-up from a Full Power-Down takes substantially longer than that from partial power-down. This mode is
more suited to applications where a series of conversions performed
at a relatively high throughput rate would be followed by a long
period of inactivity and hence power-down. When the AD7866 is
in Full Power-Down, all analog circuitry is powered down. Full
Power-Down is entered in a similar way as Partial Power-Down,
except the timing sequence shown in Figure 17 must be executed
twice. The conversion process must be interrupted in a similar
fashion by bringing CS high anywhere after the second falling
edge of SCLK and before the 10th falling edge of SCLK. The device
will enter Partial Power Down at this point. To reach Full PowerDown, the next conversion cycle must be interrupted in the
same way, as shown in Figure 19. Once CS has been brought high
in this window of SCLKs, the part will power down completely.
NOTE: It is not necessary to complete the 16 SCLKs once CS
has been brought high to enter a power-down mode.
To exit Full Power-Down, and power the AD7866 up again, a
dummy conversion is performed, as when powering up from
Partial Power-Down. On the falling edge of CS the device
will begin to power up, and will continue to power up as long as
CS is held low until after the falling edge of the 10th SCLK.
The power-up time required must elapse before a conversion
can be initiated as shown in Figure 20. See the Power-up Times
section for the power-up times associated with the AD7866.
POWER-UP TIMES
The AD7866 has two power-down modes, Partial PowerDown and Full Power-Down, which are described in detail in
the Modes of Operation section. This section deals with the
power-up time required when coming out either of these
modes. It should be noted that the power-up times quoted
, D
apply with the recommended capacitors on the V
and D
B pins in place.
CAP
REF
CAP
A,
To power up from Full Power-Down approximately 4 ms should
be allowed from the falling edge of CS, shown in Figure 20 as
t
POWER UP
. Powering up from Partial Power-Down requires
much less time. If the internal reference is being used, the power-up
D
D
REV. 0
CS
SCLK
OUT
OUT
A
B
THE PART BEGINS
TO POWER UP
1
A
CS
SCLK
D
OUT
D
OUT
1
A
B
102
THREE-STATE
Figure 17. Entering Partial Power-Down Mode
THE PART MAY BE FULLY
POWERED UP; SEE POWER-UP
TIMES SECTION
10
INVALID DATAVALID DATA
16
116
Figure 18. Exiting Partial Power-Down Mode
–15–
16
AD7866
SCLK
D
OUT
D
OUT
D
D
CS
A
B
CS
SCLK
OUT
OUT
A
B
THE PART ENTERS
PARTIAL POWER-DOWN
116
2
INVALID DATAINVALID DATA
10
THREE-STATETHREE-STATE
THE PART BEGINS
TO POWER-UP
116
2
THE PART ENTERS
FULL POWER-DOWN
Figure 19. Entering Full Power-Down Mode
THE PART BEGINS
TO POWER UP
1
t
POWER UP
10
INVALID DATAVALID DATA
16
116
THE PART IS
FULLY POWERED UP
Figure 20. Exiting Full Power-Down Mode
10
time is typically 4 µs; but if an external reference is being used, the
power-up time is typically 1 µs. This means that with any fre-
quency of SCLK up to 20 MHz, one dummy cycle will always be
sufficient to allow the device to power up from Partial Power-Down
(see Figure 18) when using an external reference. Once the dummy
cycle is complete, the ADC will be fully powered up and the input
signal will be acquired properly. A dummy cycle may well be sufficient to power up the part when using an internal reference also,
provided the SCLK is slow enough to allow the required powerup time to elapse before a valid conversion is requested. In addition
to this, it should be ensured that the quiet time, t
QUIET
, has still
been allowed from the point where the bus goes back into threestate after the dummy conversion to the next falling edge of CS.
Alternatively, instead of slowing the SCLK to make the dummy
cycle long enough, the CS high time could just be extended to
include the required power-up time as in Figure 20 when powering up from Full Power-Down.
The difference in the power-up time needed, when coming out
of Partial Power-Down, between the two cases where an internal
or external reference is being used, is primarily due to the on-chip
reference buffers. These power down in Partial Power-Down
mode and must be powered up again if the internal reference is
being used, but do not need to be powered up again if an external reference is being used. The time needed to power these
buffers up is not just their own power-up time but also the time
required to charge up the decoupling capacitors present on the
pins V
REF
A, and D
CAP
CAP
B.
, D
It should also be noted that when powering up from Partial
Power-Down, the track-and-hold, which was in hold mode
while the part was powered down, returns to track mode after
the first SCLK edge the part receives after the falling edge of
CS. This is shown as point A in Figure 18.
When power supplies are first applied to the AD7866, the ADC
may power up in either of the power-down modes or the normal
–16–
mode. Because of this, it is best to allow a dummy cycle to elapse to
ensure the part is fully powered up before attempting a valid conversion. Likewise, if it is intended to keep the part in the partial
power-down mode immediately after the supplies are applied,
two dummy cycles must be initiated. The first dummy cycle must
hold CS low until after the 10th SCLK falling edge (see Figure 16);
in the second cycle CS must be brought high before the 10th
SCLK edge but after the second SCLK falling edge (see Figure 17).
Alternatively, if it is intended to place the part in Full PowerDown mode when the supplies have been applied, three dummy
cycles must be initiated. The first dummy cycle must hold CS low
until after the 10th SCLK falling edge (see Figure 16); the
second and third dummy cycles place the part in Full PowerDown (see Figure 19). See the Modes of Operation section.
Once supplies are applied to the AD7866, enough time must be
allowed for any external reference to power up and charge any
reference capacitor to its final value, or enough time must be
allowed for the internal reference buffer to charge the various
reference buffer decoupling capacitors to their final values. Then,
to place the AD7866 in normal mode, a dummy cycle (1 µs to
4 µs approximately) should be initiated. If the first valid conversion is then performed directly after the dummy conversion,
care must be taken to ensure that adequate acquisition time has
been allowed. As mentioned earlier, when powering up from the
power-down mode, the part will return to track upon the first
SCLK edge applied after the falling edge of CS. However, when
the ADC powers up initially after supplies are applied, the trackand-hold will already be in track. This means that (assuming one
has the facility to monitor the ADC supply current) if the ADC
powers up in the desired mode of operation and thus a dummy
cycle is not required to change mode, then neither is a dummy
cycle required to place the track-and-hold into track. If no current
monitoring facility is available, the relevant dummy cycle(s)
should be performed to ensure the part is in the required mode.
REV. 0
AD7866
POWER VERSUS THROUGHPUT RATE
By using the Partial Power-Down mode on the AD7866 when not
converting, the average power consumption of the ADC decreases
at lower throughput rates. Figure 21 shows how as the throughput
rate is reduced, the part remains in its partial power-down state longer
and the average power consumption over time drops accordingly.
100
VDD = 5V
10
1
POWER – mW
0.1
0.01
0
SCLK = 20MHz
50100
VDD = 3V
SCLK = 20MHz
150200250300350
THROUGHPUT – kSPS
Figure 21. Power vs. Throughput for Partial Power-Down
For example, if the AD7866 is operated in a continuous sampling
mode with a throughput rate of 100 kSPS and an SCLK of 20 MHz
= 5 V), and the device is placed in Partial Power-Down mode
(V
DD
between conversions, then the power consumption is calculated
as follows. The maximum power dissipation during normal
operation is 24 mW (V
= 5 V). If the power-up time allowed
DD
from Partial Power-Down is one dummy cycle, i.e., 1 µs, (assumes
use of an external reference) and the remaining conversion time is
another cycle, i.e., 1 µs, then the AD7866 can be said to dissipate
24 mW for 2 µs during each conversion cycle. For the remainder of
the conversion cycle, 8 µs, the part remains in Partial Power-Down
mode. The AD7866 can be said to dissipate 2.8 mW for the
remaining 8 µs of the conversion cycle. If the throughput rate is
100 kSPS, the cycle time is 10 µs and the average power dissipated
during each cycle is (2/10) ⫻ (24 mW) + (8/10) ⫻ (2.8 mW) =
7.04 mW. If V
= 3 V, SCLK = 20 MHz and the device is again
DD
in Partial Power-Down mode between conversions, the power
dissipated during normal operation is 8.4 mW. The AD7866 can
be said to dissipate 8.4 mW for 2 ms during each conversion
cycle and 1.68 mW for the remaining 8 ms where the part is
in Partial Power-Down. With a throughput rate of 100 kSPS,
the average power dissipated during each conversion cycle is
(2/10) ⫻ (8.4 mW) + (8/10) ⫻ (1.68 mW) = 3.02 mW. Figure 21
shows the power versus throughput rate when using the Partial
Power-Down mode between conversions with both 5 V and 3 V
supplies for the AD7866.
SERIAL INTERFACE
Figure 22 shows the detailed timing diagram for serial interfacing
to the AD7866. The serial clock provides the conversion clock
and also controls the transfer of information from the AD7866
during conversion.
The CS signal initiates the data transfer and conversion process.
The falling edge of CS puts the track-and-hold into hold mode,
takes the bus out of three-state and the analog input is sampled at
this point. The conversion is also initiated at this point and will
require 16 SCLK cycles to complete. Once 13 SCLK falling edges
have elapsed, then the track and hold will go back into track on
the next SCLK rising edge as shown in Figure 22 at point B. On
the rising edge of CS, the conversion will be terminated and D
and D
B will go back into three-state. If CS is not brought
OUT
OUT
A
high, but instead held low for a further 16 SCLK cycles on
SCLK
D
OUT
REV. 0
SCLK
D
D
CS
A
CS
OUT
OUT
t
2
12345 13141516
t
3
A
B
THREESTATE
0 RANGEA0A/BDB11DB2DB1DB0
THREE-
STATE
1 LEADING ZERO,
3 STATUS BITS
t
2
234
1
t
3
0 RANGEDB11
1 LEADING ZERO,
3 STATUS BITS
A0/A0ZERODB1
t
6
t
4
DB10
t
B
t
7
5
Figure 22. Serial Interface Timing Diagram
t
6
14
5
t
5
t
4
A
t
7
A
1516
DB0
A
17
ZERORANGE A0/ A0ONEDB11
1 LEADING ZERO,
3 STATUS BITS
Figure 23. Reading Data from Both ADCs on One D
–17–
OUT
t
8
B
Line
THREESTATE
DB1
t
QUIET
B
t
DB0
32
9
B
THREESTATE
AD7866
Table III. STATUS Bit Description
BitBit NameComment
15ZEROLeading Zero. This bit will always be a zero output.
14RANGEThe polarity of this bit reflects the analog input range that has been selected with the RANGE
pin. If it is a 0, it means that in the previous transfer upon the falling edge of the CS, the range pin was
at a logic low providing an analog input range from 0 V to V
it means that in the previous transfer upon the falling edge of CS, the RANGE pin was at a logic high
resulting in an analog input range of 2 × V
selected for this conversion. See Analog Input section.
REF
13A0This bit indicates on which channel the conversion is being performed, Channel 1 or Channel 2 of the
ADC in question. If this bit is a 0, the conversion result will be from Channel 1 of the ADC, and
if it is a 1, the result will be from Channel 2 of the ADC in question.
12A/BThis bit indicates which ADC the conversion result is from. If this bit is a 0, the result is from ADC A;
and if it is a 1, the result is from ADC B. This is especially useful if only one serial port is available
for use and one D
D
A, the data from conversion B will be output on D
OUT
Likewise, if CS is held low for a further 16 SCLK cycles on D
the data from conversion A will be output on D
trated in Figure 23 where the case for D
A is shown. Note that
OUT
in this case the DOUT line in use will go back into three-state on
the 32nd SCLK rising edge or the rising edge of CS, whichever
occurs first.
Sixteen serial clock cycles are required to perform the conversion
process and to access data from one conversion on either data
line of the AD7866. CS going low provides the leading zero to
be read in by the microcontroller or DSP. The remaining data is
then clocked out by subsequent SCLK falling edges, beginning
with the first of three data STATUS bits, thus the first falling clock
edge on the serial clock has the leading zero provided and also
clocks out the first of three STATUS bits. The final bit in the
data transfer is valid on the 16th falling edge, having being clocked
out on the previous (15th) falling edge. In applications with a
slower SCLK, it is possible to read in data on each SCLK rising
edge, i.e., the first rising edge of SCLK after the CS falling edge
would have the leading zero provided and the 15th rising SCLK
edge would have DB0 provided.The three STATUS bits that
follow the leading zero provide information with respect to
the conversion result that follows them on the D
Table III shows how these identification bits can be interpreted.
line is used, as shown in Figure 23.
OUT
B. This is illus-
OUT
OUT
OUT
A.
B,
The SPORT0 control register should be set up as follows:
TFSW = RFSW = 1, Alternate Framing
INVRFS = INVTFS = 1, Active Low Frame Signal
DTYPE = 00, Right Justify Data
SLEN = 1111, 16-Bit Data Words
ISCLK = 1, Internal Serial Clock
TFSR = RFSR = 1, Frame Every Word
IRFS = 0
ITFS = 1
The SPORT1 control register should be set up as follows:
TFSW = RFSW = 1, Alternate Framing
INVRFS = INVTFS = 1, Active Low Frame Signal
DTYPE = 00, Right Justify Data
SLEN = 1111, 16-Bit Data Words
ISCLK = 0, External Serial Clock
TFSR = RFSR = 1, Frame Every Word
IRFS = 0
ITFS = 1
To implement the power-down modes on the AD7866 SLEN
should be set to 1001 to issue an 8-bit SCLK burst. The connection diagram is shown in Figure 24. The ADSP-218x has the
line in use.
OUT
TFS0 and RFS0 of the SPORT0 and the RFS1 of SPORT1 tied
together, with TFS0 set as an output and both RFS0 and RFS1
set as inputs. The DSP operates in Alternate Framing Mode
MICROPROCESSOR INTERFACING
The serial interface on the AD7866 allows the parts to be directly
connected to a range of many different microprocessors. This
section explains how to interface the AD7866 with some of the
more common microcontroller and DSP serial interface protocols.
AD7866 to ADSP-218x
The ADSP-218x family of DSPs are directly interfaced to the
AD7866 without any glue logic required. The V
DRIVE
pin of the
AD7866 takes the same supply voltage as that of the ADSP-218x.
This allows the ADC to operate at a higher supply voltage than
the serial interface, i.e., ADSP-218x, if necessary. This example
shows both D
OUT
A and D
B of the AD7866 connected to
OUT
both serial ports of the ADSP-218x.
and the SPORT control register is set up as described. The Frame
synchronization signal generated on the TFS is tied to CS and
as with all signal processing applications equidistant sampling is
necessary. However, in this example, the timer interrupt is used
to control the sampling rate of the ADC and under certain conditions, equidistant sampling may not be achieved.
The Timer and other registers are loaded with a value that
will provide an interrupt at the required sample interval. When
an interrupt is received, a value is transmitted with TFS/DT
(ADC control word). The TFS is used to control the RFS and
hence the reading of data. The frequency of the serial clock is set
in the SCLKDIV register. When the instruction to transmit with
TFS is given, (i.e., AX0 = TX0), the state of the SCLK is checked.
The DSP will wait until the SCLK has gone High, Low, and
High before transmission will start. If the timer and SCLK values
are chosen such that the instruction to transmit occurs on or near
the rising edge of SCLK, the data may be transmitted or it may
wait until the next clock edge.
for this conversion. If it is a 1,
REF
–18–
REV. 0
AD7866
For example, if the ADSP-2189 had a 20 MHz crystal, such that
it had a master clock frequency of 40 MHz then the master cycle
time would be 25 ns. If the SCLKDIV register is loaded with
the value 3, a SCLK of 5 MHz is obtained, and eight master
clock periods will elapse for every 1 SCLK period. Depending
on the throughput rate selected, if the timer register was loaded
with the value, say 803, (803 + 1 = 804) 100.5 SCLKs will occur
between interrupts and subsequently between transmit instructions.
This situation will result in non-equidistant sampling as the
transmit instruction is occurring on a SCLK edge. If the number
of SCLKs between interrupts is a whole integer figure of N,
equidistant sampling will be implemented by the DSP.
AD7866*
SCLK
CS
D
A
OUT
B
D
OUT
V
DRIVE
*ADDITIONAL PINS OMITTED
FOR CLARITY
ADSP-21xx*
SCLK0
SCLK1
TFS0
RFS0
RSF1
DR0
DR1
V
DD
Figure 24. Interfacing the AD7866 to the ADSP-218x
AD7866*
SCLK
D
A
OUT
B
D
OUT
CS
V
DRIVE
*ADDITIONAL PINS OMITTED
FOR CLARITY
TMS320C541*
CLKX0
CLKR0
CLKX1
CLKR1
DR0
DR1
FSX0
FSR0
FSR1
V
DD
Figure 25. Interfacing the AD7866 to the TMS320C541
AD7866 to TMS320C541
The serial interface on the TMS320C541 uses a continuous serial
clock and frame synchronization signals to synchronize the data
transfer operations with peripheral devices like the AD7866. The
CS input allows easy interfacing between the TMS320C541 and
the AD7866 without any glue logic required. The serial ports of
the TMS320C541 are set up to operate in burst mode with internal
CLKX (Tx serial clock on serial port 0) and FSX0 (Tx frame
sync from serial port 0). The serial port control registers (SPC)
must have the following setup:
The format bit, FO, may be set to 1 to set the word length to 8 bits,
in order to implement the power-down modes on the AD7866.
The connection diagram is shown in Figure 25. It should be
noted that for signal processing applications, it is imperative
that the frame synchronization signal from the TMS320C541
will provide equidistant sampling. The V
pin of the AD7866
DRIVE
takes the same supply voltage as that of the TMS320C541. This
allows the ADC to operate at a higher voltage than the serial
interface, i.e., TMS320C541, if necessary.
AD7866 to DSP-563xx
The connection diagram in Figure 26 shows how the AD7866
can be connected to the ESSI (Synchronous Serial Interface) of the
DSP-563xx family of DSPs from Motorola. Each ESSI (two on-board)
is operated in Synchronous Mode (Bit SYN = 1 in CRB register)
with internally generated word length frame sync for both Tx and
Rx (bits FSL1 = 0 and FSL0 = 0 in CRB). Normal operation
of the ESSI is selected by making MOD = 0 in the CRB. Set the
word length to 16 by setting bits WL1 = 1 and WL0 = 0 in CRA.
To implement the power-down modes on the AD7866 the
word length can be changed to eight bits by setting bits WL1 = 0
and WL0 = 0 in CRA. The FSP Bit in the CRB should be set to 1
so the frame sync is negative. It should be noted that for signal processing applications, it is imperative that the frame synchronization
signal from the DSP-563xx will provide equidistant sampling.
In the example shown in Figure 26, the serial clock is taken from
the ESSI0 so the SCK0 pin must be set as an output, SCKD = 1,
while the SCK1 pin is set up as an input, SCKD = 0. The frame
sync signal is taken from SC02 on ESSI0, so SCD2 = 1, while
on ESSI1, SCD2 = 0 so SC12 is configured as an input. The
pin of the AD7866 takes the same supply voltage as that
V
DRIVE
of the DSP-563xx. This allows the ADC to operate at a higher
voltage than the serial interface, i.e., DSP-563xx, if necessary.
AD7866*
SCLK
D
A
OUT
D
B
OUT
CS
V
DRIVE
*ADDITIONAL PINS OMITTED
FOR CLARITY
DSP-563xx*
SCK0
SCK1
SRD0
SRD1
SC02
SC12
V
DD
Figure 26. Interfacing to the DSP-563xx
APPLICATION HINTS
Grounding and Layout
The analog and digital supplies to the AD7866 are independent
and separately pinned out to minimize coupling between the analog
and digital sections of the device. The AD7866 has very good
immunity to noise on the power supplies as can be seen by the
PSRR vs. Supply Ripple Frequency plots, TPC 3a – TPC 4b.
However, care should still be taken with regard to grounding
and layout.
The printed circuit board that houses the AD7866 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
REV. 0
–19–
AD7866
shielding. Both AGND pins of the AD7866 should be sunk in the
AGND plane. Digital and analog ground planes should be joined
at only one place. If the AD7866 is in a system where multiple
devices require an AGND-to-DGND connection, the connection
should still be made at one point only, a star ground point that
should be established as close as possible to the AD7866.
Avoid running digital lines under the device as these will couple
noise onto the die. The analog ground plane should be allowed
to run under the AD7866 to avoid noise coupling. The power
supply lines to the AD7866 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 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 will reduce 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 10 µF tantalum in parallel with 0.1 µF capacitors
to AGND. All digital supplies should have at least a 0.1 µF disc
ceramic capacitor to DGND. V
should have a 0.1 µF ceramic
DRIVE
capacitor to DGND. To achieve the best from these decoupling
components, they must be placed as close as possible to the device,
ideally right up against the device. The 0.1 µF capacitors should
have low Effective Series Resistance (ESR) and Effective Series
Inductance (ESI), such as common ceramic or surface mount types,
which provide a low
cies to handle transient
impedance path to ground at high frequen-
currents due to internal logic switching.
Figure 27 shows the recommended supply decoupling scheme.
For information on the decoupling requirements of each reference
configuration, see the Reference section.
AD7866
DV
DGND
V
DRIVE
DD
0.1F10F
0.1F
AV
0.1F10F
DD
AGND
AGND
Figure 27. Recommended Supply Decoupling Scheme
Evaluating the AD7866 Performance
The recommended layout for the AD7866 is outlined in the evaluation board for the AD7866. The evaluation board package includes
a fully assembled and tested evaluation board, documentation, and
software for controlling the board from the PC via the EVALBOARD CONTROLLER. The EVAL-BOARD CONTROLLER
can be used in conjunction with the AD7866 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 AD7866.
The software allows the user to perform ac (fast Fourier transform)
and dc (histogram of codes) tests on the AD7866.
C02672–0–1/02(0)
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
20-Lead Thin Shrink Small Outline Package
(RU-20)
0.260 (6.60)
0.252 (6.40)
20
PIN 1
0.006 (0.15)
0.002 (0.05)
SEATING
PLANE
1
0.0256 (0.65)
BSC
11
0.177 (4.50)
0.169 (4.30)
10
0.0433 (1.10)
MAX
0.0118 (0.30)
0.0075 (0.19)
0.256 (6.50)
0.246 (6.25)
0.0079 (0.20)
0.0035 (0.090)
8ⴗ
0ⴗ
PRINTED IN U.S.A.
0.028 (0.70)
0.020 (0.50)
–20–
REV. 0
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.