AD7893
–9–
REV. E
The AD7893 counts the serial clock edges to know which bit
from the output register should be placed on the SDATA out-
put. To ensure that the part does not lose synchronization, the
serial clock counter is reset on the falling edge of the
CONVST
input, provided the SCLR line is low. The user should ensure
that a falling edge on the
CONVST input does not occur while
a serial data read operation is in progress.
MICROPROCESSOR/MICROCONTROLLER INTERFACE
The AD7893 provides a two-wire serial interface that can be
used for connection to the serial ports of DSP processors and
microcontrollers. Figures 6 through 9 show the AD7893 inter-
faced to a number of different microcontrollers and DSP pro-
cessors. The AD7893 accepts an external serial clock and, as a
result, in all interfaces shown here, the processor/controller is
configured as the master, providing the serial clock with the
AD7893 configured as the slave in the system.
AD7893-8051 Interface
Figure 6 shows an interface between the AD7893 and the
8XC51 microcontroller. The 8XC51 is configured for its Mode
0 serial interface mode. The diagram shows the simplest form of
the interface where the AD7893 is the only part connected to
the serial port of the 8XC51 and, therefore, no decoding of the
serial read operations is required. It also makes no provisions for
monitoring when conversion is complete on the AD7893.
Either of these two tasks can readily be accomplished with minor
modifications to the interface. To chip select the AD7893 in
systems where more than one device is connected to the 8XC51’s
serial port, a port bit configured as an output from one of the
8XC51’s parallel ports can be used to gate on or off the serial
clock to the AD7893. A simple AND function on this port bit
and the serial clock from the 8XC51 will provide this function.
The port bit should be high to select the AD7893 and low when
it is not selected.
To monitor the conversion time on the AD7893, a scheme such
as previously outlined with
CONVST can be used. This can be
implemented in two ways. One is to connect the
CONVST line
to another parallel port bit that is configured as an input. This
port bit can then be polled to determine when conversion is
complete. An alternative is to use an interrupt driven system, in
which case the
CONVST line should be connected to the INT1
input of the 8XC51.
The serial clock rate from the 8XC51 is limited to significantly
less than the allowable input serial clock frequency with which
the AD7893 can operate. As a result, the time to read data from
the part will actually be longer than the conversion time of the
part. This means that the AD7893 cannot run at its maximum
throughput rate when used with the 8XC51.
AD7893-68HC11 Interface
An interface circuit between the AD7893 and the 68HC11
microcontroller is shown in Figure 7. For the interface shown,
the 68HC11 SPI port is used, and the 68HC11 is configured in
its single-chip mode. The 68HC11 is configured in the master
mode with its CPOL bit set to a logic zero and its CPHA bit set
to a logic one. As with the previous interface, the diagram shows
the simplest form of the interface where the AD7893 is the only
part connected to the serial port of the 68HC11 and, therefore,
no decoding of the serial read operations is required. It also
makes no provisions for monitoring when conversion is com-
plete on the AD7893.
Once again, either of these two tasks can readily be accom-
plished with minor modifications to the interface. To chip select
the AD7893 in systems where more than one device is con-
nected to the 68HC11’s serial port, a port bit, configured as an
output from one of the 68HC11’s parallel ports, can be used to
gate on or off the serial clock to the AD7893. A simple AND
function on this port bit and the serial clock from the 68HC11
will provide this function. The port bit should be high to select
the AD7893 and low when it is not selected.
To monitor the conversion time on the AD7893, a scheme such
as outlined in the previous interface with
CONVST can be
used. This can be implemented in two ways. One is to connect
the
CONVST line to another parallel port bit that is configured
as an input. This port bit can then be polled to determine when
conversion is complete. An alternative is to use an interrupt
driven system, in which case the
CONVST line should be con-
nected to the IRQ input of the 68HC11.
The serial clock rate from the 68HC11 is limited to significantly
less than the allowable input serial clock frequency with which
the AD7893 can operate. As a result, the time to read data from
the part will actually be longer than the conversion time of the
part. This means that the AD7893 cannot run at its maximum
throughput rate when used with the 68HC11.
AD7893
SDATA
SCLK
8XC51
P3.0
P3.1
Figure 6. AD7893 to 8XC51 Interface
AD7893
SDATA
SCLK
68HC11
SCK
MISO
Figure 7. AD7893 to 68HC11 Interface
AD7893
REV. E
–10–
AD7893–ADSP-2105 Interface
An interface circuit between the AD7893 and the ADSP-2105
DSP processor is shown in Figure 8. In the interface shown, the
RFS1 output from the ADSP-2105’s SPORT1 serial port is
used to gate the serial clock (SCLK1) of the ADSP-2105 before
it is applied to the SCLK input of the AD7893. The RFS1 out-
put is configured for active high operation. The interface
ensures a noncontinuous clock for the AD7893’s serial clock
input with only sixteen serial clock pulses provided, and the
serial clock line of the AD7893 remaining low between data
transfers. The SDATA line from the AD7893 is connected to
the DR1 line of the ADSP-2105’s serial port.
AD7893
SDATA
SCLK
ADSP-2105
DR1
RFS1
SCLK1
Figure 8. AD7893 to ADSP-2105 Interface
The timing relationship between the SCLK1 and RFS1 outputs
of the ADSP-2105 are such that the delay between the rising
edge of the SCLK1 and the rising edge of an active high RFS1
is up to 25 ns. There is also a requirement that data must be set
up 10 ns prior to the falling edge of the SCLK1 to be read cor-
rectly by the ADSP-2105. The data access time for the AD7893
is 50 ns from the rising edge of its SCLK input. Assuming a
10 ns propagation delay through the external AND gate, the
high time of the SCLK1 output of the ADSP-2105 must be
(50 + 25 + 10 + 10) ns, i.e., 95 ns. This means that the
serial clock frequency with which the interface of Figure 13 can
work with is limited to 5.26 MHz.
An alternative scheme is to configure the ADSP-2105 to accept
an external serial clock. In this case, an external noncontinuous
serial clock that drives the serial clock inputs of both the ADSP-
2105 and the AD7893 is provided. In this scheme, the serial
clock frequency is limited to 5 MHz by the ADSP-2105.
To monitor the conversion time on the AD7893, a scheme such
as outlined in previous interfaces with
CONVST can be used.
This can be implemented by connecting the
CONVST line
directly to the
IRQ2 input of the ADSP-2105.
AD7893–DSP56000 Interface
Figure 9 shows an interface circuit between the AD7893 and the
DSP56000 DSP processor. The DSP5600 is configured for nor-
mal mode asynchronous operation with gated clock. It is also set
up for a 16-bit word with the gated serial clock being generated
by the DSP56000 and appears on the SC0 pin. The SC0 pin
should be configured as an output by setting bit SCD0 to 1. In
this mode, the DSP56000 provides sixteen serial clock pulses to
the AD7893 in a serial read operation. The DSP56000 assumes
valid data on the first falling edge of SCK, so the interface is
simply two-wire as shown in Figure 9.
To monitor the conversion time on the AD7893, a scheme such
as outlined in previous interface examples with
CONVST can
be used. This can be implemented by connecting the
CONVST
line directly to the
IRQA input of the DSP56000.
AD7893
SDATA
SCLK
DSP56000
SC0
SRD
Figure 9. AD7893 to DSP56000 Interface
AD7893 PERFORMANCE
Linearity
The linearity of the AD7893 is determined by the on-chip 12-bit
D/A converter. This is a segmented DAC that is laser trimmed
for 12-bit integral linearity and differential linearity. Typical
relative numbers for the part are ±1/4 LSB, while the typical
DNL errors are ±1/2 LSB.
Noise
In an A/D converter, noise exhibits itself as code uncertainty in
dc applications and as the noise floor (in an FFT, for example)
in ac applications. In a sampling A/D converter like the AD7893,
all information about the analog input appears in the baseband
from dc to 1/2 the sampling frequency. The input bandwidth of
the track/hold exceeds the Nyquist bandwidth; therefore, an
antialiasing filter should be used to remove unwanted signals
above f
S
/2 in the input signal in applications where such signals
exist.
Figure 10 shows a histogram plot for 8192 conversions of a dc
input using the AD7893. The analog input was set at the center
of a code transition. The timing and control sequence used was
per Figure 3 where the optimum performance of the ADC was
achieved. It can be seen that almost all the codes appear in the
one output bin, indicating very good noise performance from
the ADC. The rms noise performance for the AD7893-2 for the
above plot was 87 µV. Since the analog input range, and hence
LSB size, on the AD7893-10 is eight times what it is for the
AD7893-2, the same output code distribution results in an out-
put rms noise of 700 µV for the AD7893-10.
CODE
9000
1000
(X–4) (X–3)
OCCURRENCES OF CODE
(X–2) (X–1) X (X+1) (X+2) (X+3) (X+4)
8000
5000
4000
3000
2000
7000
6000
0
SAMPLING FREQUENCY = 102.4kHz
T
A
= +25
°
C
Figure 10. Histogram of 8192 Conversions of a DC Input
AD7893
–11–
REV. E
Effective Number of Bits
The formula for signal to (noise + distortion) ratio (see Termi-
nology section) is related to the resolution or number of bits in
the converter. Rewriting the formula gives a measure of perfor-
mance expressed in effective number of bits (N):
N = (SNR – 1.76) / 6.02
where SNR is Signal to (Noise + Distortion) Ratio.
The effective number of bits for a device can be calculated from
its measured signal to (noise + distortion) ratio. Figure 13 shows
a typical plot of effective number of bits versus frequency for the
AD7893-2 from dc to f
SAMPLING
/2. The sampling frequency is
102.4 kHz. The plot shows that the AD7893 converts an input
sine wave of 51.2 kHz to an effective numbers of bits of 11,
which equates to a signal to (noise + distortion) level of 68 dB.
INPUT FREQUENCY – kHz
12.0
11.5
10.0
0 51.225.6
EFFECTIVE NUMBER OF BITS
11.0
10.5
Figure 13. Effective Number of Bits vs. Frequency
The same data is presented in Figure 11 as in Figure 10 except
that, in this case, the output data read for the device occurs dur-
ing conversion. This has the effect of injecting noise onto the die
while bit decisions are being made; this increases the noise gen-
erated by the AD7893. The histogram plot for 8192 conversions
of the same dc input now shows a larger spread of codes with
the rms noise for the AD7893-2 increasing to 210 µV. This ef-
fect will vary depending on where the serial clock edges appear
with respect to the bit trials of the conversion process. It is pos-
sible to achieve the same level of performance when reading
during conversion as when reading after conversion, depending
on the relationship of the serial dock edges to the bit trial points.
CODE
7500
(X–4) (X–3)
OCCURRENCES OF CODE
7000
6500
6000
0
5500
5000
4500
4000
3500
3000
2500
2000
1500
1000
500
(X–2) (X–1) (X+1) (X+2) (X+3) (X+4)X
SAMPLING
FREQUENCY = 102.4kHz
T
A
= +25
°
C
Figure 11. Histogram of 8192 Conversions with Read Dur-
ing Conversion
Dynamic Performance
With a combined conversion and acquisition time of 7.5 µs, the
AD7893 is ideal for wide bandwidth signal processing applica-
tions. These applications require information on the ADC’s
effect on the spectral content of the input signal. Signal to (noise
+ distortion) ratio, total harmonic distortion, peak harmonic or
spurious noise, and intermodulation distortion are all specified.
Figure 12 shows a typical FFT plot of a 10 kHz, 0 V to +2.5 V
input after being digitized by the AD7893-2, operating at a
102.4 kHz sampling rate. The signal to (noise + distortion)
ratio is 71.5 dB, and the total harmonic distortion is –83 dB.
FREQUENCY – kHz
SNR IS SIGNAL TO (NOISE AND DISTORTION) RATIO
0
–30
–180
0 51.225.6
SIGNAL AMPLITUDE – dB
–60
–80
–120
SAMPLE RATE = 102.4kHz
INPUT FREQUENCY = 10kHz
SNR = 71.5dB
T
A
= +25°C
Figure 12. AD7893 FFT Plot

AD7893ARZ-5

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC Bipolar Input SGL Spply 12B Serial 6uS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union