AD7878
–12–
REV. A
The MC68000 AS and R/W outputs are used to generate sepa-
rate DMWR and DMRD inputs for the AD7878. As with the
three interfaces previously described, WAIT states are inserted if
a read/write operation is attempted while the track/hold amplifier
is going from the track to the hold mode.
Figure 21. AD7878–MC68000 Interface
Typical AD7878 Microprocessor Operating Sequence
After power-up or reset, the status/control register is initialized
by writing to the AD7878. This enables the ALFL output if
required for a microprocessor interrupt and sets the effective word
length of the FIFO memory. The processor now executes the
main body of the program while waiting for an ADC interrupt.
This interrupt will occur when the preprogrammed number of
samples are collected in the FIFO memory. The interrupt ser-
vice routine first interrogates DB5(FOOR) of the status/control
register to determine if any sample in the FIFO memory is out
of range. If all data samples are valid, then the program pro-
ceeds to read the FIFO memory. If, on the other hand, at least
one sample is out of range, then an overrange routine is called.
There are many actions that can be taken by the out of range
routine, the selection of which is application dependent. One
option is to ignore all the current samples residing in the FIFO
memory, reinitialize the status/control register and return to the
main body of the program. Another option is to check the indi-
vidual out of range status of each word in the FIFO memory
and to discard the invalid ones. The underrange or overrange
status of each word can also be determined and the analog input
adjusted accordingly before returning to the main program.
Note: there is no need to check the out-of-range status if the
analog input is always assured to be within range.
THROUGHPUT RATE
The AD7878 has a maximum specified throughput rate (sample
rate) of 100 kHz. This is a worst-case test condition and specifi-
cations apply for reduced sampling rates, provided that Nyquist
criterion is obeyed. The throughput rate must take into account
ADC CONVST pulse width, ADC conversion time and the
track/hold amplifier acquisition time. The time required for each
of these tasks is shown in Table II for a selection of DSP proces-
sors. Since the ADC clock has to be synchronized to the micro-
processor dock, the conversion time depends on the micro-
processor used. In addition, time must be allowed for reading data
from the AD7878. If this task is performed during the track/
hold amplifier acquisition period, then it does not impact the
overall throughput rate. However, if the read operations occur
during a conversion, they may stretch the conversion time and
reduce the track/hold amplifier acquisition time. The track/hold
amplifier requires a minimum of 2 µs to operate to specification.
The time required to read from the AD7878 depends on the
number of FIFO memory locations to be read and the software
organization.
As an example, consider an application using the ADSP-2100
and the AD7878 with a throughput rate of 100 kHz. The time
required for the CONVST pulse and the ADC conversion is
7.375 µs. This leaves 2.625 µs for the track/hold acquisition
time and for reading the ADC (both operations occurring in
parallel). The ADSP-2100, when operating from a 32 MHz
clock, has an instruction cycle of 125 ns and an interrupt re-
sponse time of 500 ns. This allows adequate time to perform
16 read operations within the time budget allowed.
Table II. AD7878 Throughput Rate
CONVST Conversion T/H Acquisition
Pulse Width Time Time
Number of Non-
Clock Cycles 2 min 57 max Applicable
ADSP-2100
1
250 ns min 7.125 µs max 2 µs min
TMS32010
2
400 ns min 11.14 µs max 2 µs min
TMS32020
2
400 ns min 11.14 µs max 2 µs min
NOTES
1
ADSP-2100 Clock Frequency = 32 MHz.
2
TMS320XX Clock Frequency = 20 MHz.
APPLICATION HINTS
Good printed circuit board (PCB) layout is as important as the
overall circuit design itself in achieving high speed A/D perfor-
mance. The AD7878 is required to make bit decisions on an
LSB size of 1.465 mV. To achieve this, the designer has to 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 concerns are
ground loops and digital feedthrough from microprocessors.
These factors influence any ADC, and a proper PCB layout that
minimizes these effects is essential for best performance.
LAYOUT HINTS
Ensure that the layout for the printed circuit board has the
digital and analog signal lines separated as much as possible.
Take care not to run any digital track alongside an analog signal
track. Guard (screen) the analog input with AGND.
AD7878
–13–
REV. A
Establish a single point analog ground (star ground) separate
from the logic system ground at Pin 22 (AGND) or as dose as
possible to the AD7878, as shown in Figure 22. Connect all
other grounds and Pin 7 (AD7878 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 returns 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 layouts of Figures 25 and 26 have both analog and digital
ground planes, which are kept separated and only joined to-
gether at the AD7878 AGND pin.
NOISE
Keep the input signal leads to V
IN
and signal return leads from
AGND (Pin 22) as short as possible to minimize input noise
coupling. In applications where this is not possible, use a
shielded cable between the source and the ADC. Reduce the
ground circuit impedance as much as possible since any poten-
tial difference in grounds between the signal source and the
ADC appears as an error voltage in series with the input signal.
Figure 22. Power Supply Grounding Practice
DATA ACQUISITION BOARD
Figure 23 shows the AD7878 in a data acquisition circuit that
will interface directly to either the ADSP-2100, TMS32010 or
the TMS32020. The corresponding printed circuit board (PCB)
layout and silkscreen are shown in Figures 24 to 26.
The only additional component required for a full data acquisi-
tion system is an antialiasing filter. There is a component grid
provided near the analog input on the PCB which may be used
for such a filter or any other conditioning circuitry. To facilitate
this option, a wire link (labelled LK1 on the PCB) is required
on the analog input track. This link connects the input signal to
either the component grid or directly to the buffer amplifier
driving the AD7878 analog input.
Microprocessor connections to the PCB can be made by either
of two ways:
1. 96-contact (3 ROW) Eurocard connector.
2. 26-contact (2 ROW) IDC connector.
The 96-contact Eurocard connector is directly compatible with
the ADSP-2100 Evaluation Board Prototype Expansion Con-
nector. The expansion connector on the ADSP-2100 has eight
decoded drip enable outputs labelled ECE8 to ECE1. ECE6 is
used to drive the AD7878 CS input on the data acquisition
board. To avoid selecting onboard RAM sockets at the same
time, LK6 on the ADSP-2100 board must be removed. In addi-
tion, the expansion connector on the ADSP-2100 has four inter-
rupts labelled EIRQ3 to EIRQ0. The AD7878 ALFL output
connects to EIRQ0. The AD7878 and ADSP-2100 data lines
are aligned for left justified data transfer.
The 26-way IDC connector contains all the necessary contacts
for both the TMS32010 and TMS32020. There are two
switches on the data acquisition board that must be set to en-
able the appropriate interface configuration (see Table III). The
interface connections for the TMS32010/32020 and IDC signal
contact numbers are shown in Table IV and Figure 23. Note the
AD7878 CS input must be decoded from the address bus prior
to the AD7878 evaluation board for the TMS320XX interfaces.
Connections to the analog input (V
IN
) and the CONVST input
are made via two BNC sockets labelled SKT1 and SKT2 on the
silkscreen. If the CONVST input is derived from either the
microprocessor or ADC clock, the effects of clock noise cou-
pling will be reduced.
Table III. AD7878 PCB Switch Settings
SWITCH SETTING
Microprocessor SW1 SW2
ADSP-2100 A A
TMS32010 B A
TMS32020 B B
POWER SUPPLY CONNECTIONS
The PCB requires two analog supplies and one 5 V digital sup-
ply. Connections to the analog supplies are made directly to the
PCB as shown on the silk screen in Figure 24. The connections
are labelled V+ and V– and the range for both of these supplies
is 12 V to 15 V. Connection to the 5 V digital supply is made
through either of the two microprocessor connectors. The +5 V
and –5 V analog power supplies required by the AD7878 are
generated from two voltage regulators on the V+ and V– power
supply inputs (IC3 and IC4 in Figure 23).
COMPONENT LIST
IC1 AD711 Op Amp
IC2 AD7878 Analog-to-Digital
Converter
IC3 MC78L05 5 V Regulator
IC4 MC79L05 –5 V Regulator
IC5* 74HC00 Quad NAND Gate
IC6* 74HC04 Hex Inverter
IC7 74HC02 Quad NOR Gate
SW1 Single Pole Double Throw
SW2 Double Pole Double Throw
LK1 Wire Link for Analog Input
C1, C3, C5, C7, C9 10 µF Capacitors
C11, C13, C15
C2, C4, C6, C8, C10 0.1 µF Capacitors
C12, C14, C16
R1*, R2* 10 k Resistors
SKT1, SKT2 BNC Sockets
SKT3 26-Contact (2 Row) IDC
Connector
SKT4 96-Contact (3 Row) Eurocard
Connector
*Not required for ADSP-2100 Interface.
AD7878
–14–
REV. A
Figure 23. Data Acquisition Circuit Using the AD7878
Figure 24. PCB Silkscreen for Figure 23

AD7878LPZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC CMOS Complete 12-Bit 100kHz Sampling
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union