AD7398/AD7399
Rev. C | Page 16 of 24
POWER-ON RESET
When the V
DD
power supply is turned on, an internal reset
strobe forces all the input and DAC registers to the zero-code
state. The V
DD
power supply should have a smooth positive
ramp without drooping in order to have consistent results,
especially in the region of V
DD
= 1.5 V to 2.2 V. The V
SS
supply
has no effect on the power-on reset performance. The DAC
register data stays at zero until a valid serial register data load
takes place.
ESD Protection Circuits
All logic input pins contain back-biased ESD protection Zeners
connected to ground (GND) and V
DD
as shown in Figure 28.
02179-028
GND
V
DD
DIGITAL INPUTS
5k
Figure 28. Equivalent ESD Protection Circuits
MICROPROCESSOR INTERFACING
Microprocessor interfacing to the AD7398/AD7399 is via a
serial bus that uses standard protocol compatible with DSP
processors and microcontrollers. The communications channel
requires a 3-wire interface consisting of a clock signal, a data
signal, and a synchronization signal. The AD7398/AD7399
require a 16-bit/14-bit data word with data valid on the rising edge
of CLK. The DAC update can be done automatically when all the
data is clocked in, or it can be done under control of
LDAC
.
ADSP-2101 to AD7398/AD7399 Interface
Figure 29 shows a serial interface between the AD7398/AD7399
and the ADSP-2101. The ADSP-2101 is set to operate in the serial
port (SPORT) transmit alternate framing mode. The ADSP-2101 is
programmed through the SPORT control register and should be
configured as follows: Internal clock operation, active low framing,
16-bit-word length. For the AD7398, transmission is initiated by
writing a word to the Tx register after the SPORT has been
enabled. For the AD7399, the first two bits are dont care as the
AD7399 keeps the last 14 bits. Similarly, transmission is initiated
by writing a word to the Tx register after the SPORT has been
enabled. Because of the edge-triggered difference, an inverter is
required at the SCLKs between the DSP and the DAC.
02179-029
AD7398/
AD7399
ADSP-2101
1
FO LDAC
TFS CS
DT SDI
SCLK CLK
1
ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 29. ADSP-2101 to AD7398/AD7399 Interface
68HC11/68L11 to AD7398/AD7399 Interface
Figure 30 shows a serial interface between the AD7398/AD7399
and the 68HC11/68L11 microcontroller. SCK of the 68HC11/
68L11 drives the CLK of the DAC, and the MOSI output drives the
serial data lines SDI.
CS
signal is driven from one of the port lines.
The 68HC11/68L11 are configured for master mode; MSTR = 1,
CPOL = 0, and CPHA = 0. Data appearing on the MOSI output is
valid on the rising edge of SCK.
02179-030
AD7398/
AD7399
68HC11/
68L11
1
PC6 LDAC
PC7 CS
MOS1 SDI
SCK CLK
1
ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 30. 68HC11/68L11 to AD7398/AD7399 Interface
MICROWIREto AD7398/AD7399 Interface
Figure 31 shows an interface between the AD7398/AD7399 and
any MICROWIRE-compatible device. Serial data is shifted out
on the falling edge of the serial clock and into the AD7398/
AD7399 on the rising edge of the serial clock. No glue logic is
required as the DAC clocks data into the input shift register on
the rising edge.
02179-031
AD7398/
AD7399
MICROWIRE
1
SO SDI
SCK CLK
1
ADDITIONAL PINS OMITTED FOR CLARITY.
CS CS
Figure 31. MICROWIRE to AD7398/AD7399 Interface
80C51/80L51 to AD7398/AD7399 Interface
A serial interface between the AD7398/AD7399 and the 80C51/
80L51 microcontroller is shown in Figure 32
. TxD of the micro-
controller drives the CLK of the AD7398/AD7399, and RxD drives
the serial data line of the DAC. P3.3 is a bit-programmable pin on
the serial port that is used to drive
CS
.
02179-032
AD7398/
AD7399
80C51/
80L51
1
P3.4
LDAC
P3.3
CS
RxD
SDI
TxD CLK
1
ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 32. 80C51/80L51 to AD7398/AD7399 Interface
AD7398/AD7399
Rev. C | Page 17 of 24
Note that the 80C51/80L51 provide the LSB first, although the
AD7398/AD7399 expect the MSB of the 16-bit/14-bit word
first. Care should be taken to ensure the transmit routine takes
this into account. This can usually be done with software by
shifting out and accumulating the bits in the correct order
before inputting to the DAC. In addition, 80C51 outputs two
byte words/16 bits of data. Thus for AD7399, the first two bits,
after rearrangement, should be don’t care as they are dropped
from the 14-bit word of the AD7399.
When data is to be transmitted to the DAC, P3.3 is taken low.
Data on RxD is valid on the falling edge of TxD, so the clock
must be inverted as the DAC clocks data into the input shift
register on the rising edge of the serial clock. The 80C51/80L51
transmit their data in 8-bit bytes with only eight falling clock
edges occurring in the transmit cycle. As the AD7399 requires a
14-bit word, P3.3 (or any one of the other programmable bits) is the
CS
input signal to the DAC; therefore P3.3 should be brought low
at the beginning of the 16-bit write cycle 2 × 8 bit-words, and held
low until the 16-bit 2 × 8 cycle is completed. After that, P3.3 is
brought high again and the new data loads to the DAC. Again, the
first two bits, after rearranging, should be dont care.
LDAC
on the
AD7398/AD7399 can also be controlled by the 80C51/80L51 serial
port output by using another bit-programmable pin, P3.4.
AD7398/AD7399
Rev. C | Page 18 of 24
APPLICATIONS INFORMATION
STAIRCASE WINDOWS COMPARATOR
Many applications need to determine whether voltage levels are
within predetermined limits. Some requirements are for
nonoverlapping windows and others for overlapping windows.
Both circuit configurations are shown in Figure 33 and
Figure 34, respectively.
02179-033
AD8564
10k
+
+
WINDOW 1
V+
10k
+
+
WINDOW 2
V+
AD8564
10k
+
+
WINDOW 3
V+
10k
+
+
WINDOW 4
V+
1/2
AD8564
10k
+
+
WINDOW 5
V+
V
TEST
V
REF
AD7398/
AD7399
GND
V
DD
V
OUT
AV
REF
A
V
OUT
BV
REF
B
V
OUT
CV
REF
C
V
OUT
DV
REF
D
Figure 33. Nonoverlapping Windows Comparator
02179-034
V
REF
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
GND
WINDOW 2
WINDOW 1
WINDOW 3
WINDOW 4
WINDOW 5
Figure 34. Nonoverlapping Windows Range
02179-035
AD8564
10k
+
+
WINDOW 1
V+
10k
+
+
WINDOW 2
V+
1/2
AD8564
10k
+
+
WINDOW 3
V+
V
TEST
V
REF
AD7398/
AD7399
GND
V
DD
V
OUT
A
V
REF
A
V
OUT
B
V
REF
B
V
OUT
CV
REF
C
V
OUT
D
V
REF
D
Figure 35. Overlapping Windows Comparator
02179-036
V
REF
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
GND
WINDOW 1
WINDOW 2
WINDOW 3
Figure 36. Overlapping Windows Range
The nonoverlapping circuit employs one AD7398/AD7399 and
ten comparators to achieve five voltage windows. These windows
range between V
REF
and analog ground as shown in Figure 34.
Similarly, the overlapping circuit employs six comparators to
achieve three overlapping windows (see Figure 36).

AD7399BRZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC Quad Serial-Input 10-Bit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union