AD7880
REV. 0
–9–
MICROPROCESSOR INTERFACING
The AD7880 high speed bus timing allows direct interfacing to
real time digital signal processors, DSPs, as well as modern high
speed, 16-bit microprocessors. Suitable microprocessor inter-
faces are shown in Figures 15 through 20.
AD7880–ADSP-2100 Interface
Figure 15 shows an interface between the AD7880 and the
ADSP-2100. Conversion is initiated using a timer to drive the
CONVST input asynchronously to the microprocessor. This al-
lows very accurate control of the sampling instant. When con-
version is complete, the AD7880
BUSY line goes high. An
inverter on this
BUSY output drives the IRQ line low thus pro-
viding an interrupt to the ADSP-2100 when conversion is com-
pleted. The conversion result is then read from the AD7880 into
the ADSP-2100 with the following instruction:
MR0 = DM(ADC)
where MR0 is the ADSP-2100 MR0 Register and
where ADC is the AD7880 address.
TIMER
DMA0
DMA13
DMD15
DMD0
DMS
EN
ADDR
DECODE
ADDRESS BUS
ADSP-2100
(ADSP-2101/
ADSP-2102)
* ADDITIONAL PINS OMITTED FOR CLARITY
DATA BUS
CONVST
CS
DB11
DB0
RD
BUSY
AD7880*
IRQn
DMRD (RD)
Figure 15. AD7880–ADSP-2100 (ADSP-2101/ADSP-2102)
Interface
AD7880-ADSP-2101/ADSP-2102 Interface
The interface outlined in Figure 15 also forms the basis for an
interface between the AD7880 and the ADSP-2101/ADSP-2102.
The READ line of the ADSP-2101/ADSP-2102 is labeled
RD.
In this interface, the
RD pulse width of the processor can be
programmed using the Data Memory Wait State Control Regis-
ter. The instruction used to read a conversion result is as out-
lined for the ADSP-2100.
AD7880-TMS32010 Interface
An interface between the AD7880 and the TMS32010 is shown
in Figure 16. Once again the conversion is initiated using an ex-
ternal timer and the TMS32010 is interrupted when conversion
is completed. The following instruction is used to read the con-
version result from the AD7880:
IN D,ADC
where D is Data Memory Address and
where ADC is the AD7880 address.
PA0
PA2
D15
D0
MEN
ADDR
DECODE
ADDRESS BUS
TIMER
DATA BUS
CONVST
CS
DB11
DB0
RD
AD7880*
TMS32010
*ADDITIONAL PINS OMITTED FOR CLARITY
INT
DEN
EN
BUSY
Figure 16. AD7880–TMS32010 Interface
AD7880–TMS320C25 Interface
Figure 17 shows an interface between the AD7880 and the
TMS320C25. As with the two previous interfaces, conversion is
initiated with a timer, and the processor is interrupted when the
conversion sequence is completed. The TMS320C25 does not
have a separate
RD output to drive the AD7880 RD input di-
rectly. This has to be generated from the processor
STRB and
R/
W outputs with the addition of some logic gates. The RD sig-
nal is OR-gated with the
MSC signal to provide the one WAIT
state required in the read cycle for correct interface timing.
Conversion results are read from the AD7880 using the follow-
ing instruction:
IN D,ADC
where D is Data Memory Address and
where ADC is the AD7880 address.
A0
A15
D15
D0
IS
EN
ADDR
DECODE
ADDRESS BUS
TIMER
DATA BUS
CONVST
CS
DB11
DB0
RD
AD7880*
TMS320C25
*ADDITIONAL PINS OMITTED FOR CLARITY
INTn
R/W
STRB
MSC
READY
BUSY
Figure 17. AD7880–TMS320C25 Interface
Some applications may require that the conversion be initiated
by the microprocessor rather than an external timer. One option
is to decode the AD7880
CONVST from the address bus so that
AD7880
–10–
REV. 0
a write operation starts a conversion. Data is read at the end of
the conversion sequence as before. Figure 19 shows an example
of initiating conversion using this method. A similar implemen-
tation can be used for DSPs. Note that for all interfaces, a read
operation should not be attempted during conversion.
AD7880–MC68000 Interface
An interface between the AD7880 and the MC68000 is shown
in Figure 18. As before, conversion is initiated using an external
timer. The AD7880
BUSY line can be used to interrupt the
processor or, alternatively, software delays can ensure that con-
version has been completed before a read to the AD7880 is at-
tempted. Because of the nature of its interrupts, the 68000
requires additional logic (not shown in Figure 18) to allow it to
be interrupted correctly. For further information on 68000 in-
terrupts, consult the 68000 users manual.
The MC68000
AS and R/W outputs are used to generate a
separate
RD input signal for the AD7880. CS is used to drive
the 68000
DTACK input to allow the processor to execute a
normal read operation to the AD7880. The conversion results
are read using the following 68000 instruction:
MOVE.W ADC, D0
where D0 is the 68000 D0 register
where ADC is the AD7880 address
A0
A15
D15
D0
ADDR
DECODE
ADDRESS BUS
DATA BUS
CONVST
CS
DB11
DB0
RD
AD7880*
MC68000
*ADDITIONAL PINS OMITTED FOR CLARITY
R/W
AS EN
DTACK
TIMER
Figure 18. AD7880–MC68000 Interface
AD7880–8086 Interface
Figure 19 shows an interface between the AD7880 and the
8086 microprocessor. Unlike the previous interface examples,
the microprocessor initiates conversion. This is achieved by gat-
ing the 8086
WR signal with a decoded address output (differ-
ent to the AD7880
CS address). Conversion is initiated and the
result is read from the AD7880 using the following instruction:
MOV AX, ADC
where AX is the 8086 accumulator and
where ADC is the AD7880 address
AD15
AD0
ADDR
DECODE
ADDRESS BUS
ADDRESS/DATA BUS
CONVST
CS
DB11
DB0
RD
AD7880*
8086
*ADDITIONAL PINS OMITTED FOR CLARITY
WR
RD
LATCHALE
Figure 19. AD7880–8086 Interface
AD7880–6809 Interface
The AD7880 can also interface quite easily with 8-bit micro-
processors. The 12-bit parallel data output from the AD7880
can be read into the microprocessor as an 8+4 byte structure.
Figure 20 shows an interface to the MC6809 8-bit microproces-
sor. As in previous cases, conversion is initiated using an exter-
nal timer. At the end of conversion,
BUSY triggers a one-shot
which drives the
IRQ interrupt input of the microprocessor. A
double read is then performed to two unique addresses. The
first read fetches the lower 8 bits (DB0–DB7) and loads the
74HC374 latch with the upper 4 bits (DB8–DB11). The sec-
ond read fetches these upper 4 bits.
A0
A15
D7
D0
ADDR
DECODE
ADDRESS BUS
TIMER
DATA BUS
CONVST
CS
DB7
DB0
RD
AD7880*
MC6809
*ADDITIONAL PINS OMITTED FOR CLARITY
R/W
IRQ
E
BUSY
ONE
SHOT
Q3
Q0
CLK
D3
D0
74HC374
OE
DB8
DB11
Figure 20. AD7880–6809 Interface
AD7880
REV. 0
–11–
V+
+
C1
10µF
C2
0.1µF
IC1
ANALOG
INPUT
V+
V–
AB
V–
AB
LK2
LK3
TO ADC
LK1
SKT1
C3
10µF
C4
0.1µF
V+
V
DD
Figure 21. Analog Input Buffering
When it is required to drive the AD7880 with the 0 V to 10 V
input range, an external supply must be connected to V+ (see
Figure 21).
In bipolar operation, positive and negative supplies must be
connected to V+ and V–.
The AD711 is a general purpose op amp which could be used
to drive the analog input of the AD7880.
POWER-DOWN CONTROL (MODE INPUT)
The AD7880 is designed for systems which need to have mini-
mum power consumption. This includes such applications as
hand held, portable battery powered systems and remote moni-
toring systems. As well as consuming minimum power under
normal operating conditions, typically 20 mW, the AD7880
can be put into a power-down or sleep mode when not required
to convert signals. When in this power-down mode, the
AD7880 consumes approximately 2 mW of power.
The AD7880 is powered down by bringing the MODE input
pin to a Logic Low in conjunction with keeping the
RD input
control High. The AD7880 will remain in the power-down
mode until MODE is brought to a Logic High again. The
MODE input should be driven with CD4000 or HCMOS logic
levels.
It is recommended that one “dummy” conversion be imple-
mented before reading conversion data from the AD7880 after
it has been in the power-down mode. This is required to reset
all internal logic and control circuitry. In a remote monitoring
system where, say, 10 conversions are required to be taken with
a sampling interval of 1 second, an additional 11th conversion
must be carried out. Figure 22 gives a plot of power consumption
01
2
TIME – secs
POWER
CONSUMPTION – mW
20
2
CONVERTING
POWER-DOWN
CONVERTING
POWER-DOWN
1.65 x 10
4
Figure 22. Power Consumption for Normal Operation
and Power-Down Operation vs. Time
APPLICATION HINTS
Good printed circuit board (PCB) layout is as important as the
circuit design itself in achieving high speed A/D performance.
The AD7880’s comparator is required to make bit decisions on
an LSB size of 1.22 mV. To achieve this, the designer must be
conscious of noise both in the ADC itself and in the preceding
analog circuitry. Switching mode power supplies are not recom-
mended, as the switching spikes will feed through to the com-
parator causing noisy code transitions. Other causes of concern
are ground loops and digital feedthrough from microprocessors.
These are factors which influence any ADC, and a proper PCB
layout which minimizes these effects is essential for best
performance.
LAYOUT HINTS
Ensure that the layout for the printed circuit board has the digi-
tal and analog signal lines separated as much as possible. Take
care not to run digital tracks alongside analog signal tracks.
Guard (screen) the analog input with AGND.
Establish a single point analog ground (star ground) separate
from the logic system ground at the AD7880 AGND pin or as
close as possible to the AD7880. Connect all other grounds and
the AD7880 DGND to this single analog ground point. Do not
connect any other digital grounds to this analog ground point.
Low impedance analog and digital power supply common re-
turns are essential to low noise operation of the ADC, so make
the foil width for these tracks as wide as possible. The use of
ground planes minimizes impedance paths and also guards the
analog circuitry from digital noise. The circuit layout of Fig-
ures 26 and 27 have both analog and digital ground planes
which are kept separated and only joined together at the
AD7880 AGND pin.
NOISE
Keep the input signal leads to V
IN
and signal return leads from
AGND as short as possible to minimize input noise coupling. In
applications where this is not possible, use a shielded cable be-
tween the source and the ADC. Reduce the ground circuit im-
pedance as much as possible since any potential difference in
grounds between the signal source and the ADC appears as an
error voltage in series with the input signal.
ANALOG INPUT BUFFERING
To achieve specified performance, it is recommended that the
analog input (V
INA
, V
INB
) be driven from a low impedance
source. This necessitates the use of an input buffer amplifier.
The choice of op amp will be a function of the particular appli-
cation and the desired analog input range. The data acquisition
circuit, described in this data sheet allows for various op amp
configurations. Figure 21 shows the analog input buffer circuit.
The options available to drive the supply of the op amp are:
Single +5 V (derived from PCB 5 V supply)
Dual Supply (externally supplied to V+ and V–)
±5 V, ±12 V or ±15 V
The simplest configuration is the 0 V to 5 V range of Figure 5.
A single supply 5 V op amp is recommended for such an imple-
mentation. This will allow for operation of the AD7880 in the 0
V to 5 V unipolar range without supplying an external supply to
V+ and V–. The 5 V supply is derived from the systems
+5 V V
DD
supply.

AD7880BN

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC CMOS SGL +5V Supply Lo Pwr 12B Sampling
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union