AD7801
–9–
REV. 0
V
O
UT
=2×V
REF
N
256
where:
N is the decimal equivalent of the binary input
code. N ranges from 0 to 255.
V
REF
is the voltage applied to the external REFIN pin
when the external reference is selected and is V
DD
/2
if the internal reference is used.
Table I. Output Voltage for Selected Input Codes
Digital Analog Output
MSB . . . LSB
1111 1111
2×
255
256
×V
REF
V
1111 1110
2×
254
256
×V
REF
V
1000 0001
2×
129
256
×V
REF
V
1000 0000 V
REF
V
0111 1111
2×
127
256
×V
REF
V
0000 0001
2×
V
REF
256
V
0000 0000 0 V
2V
REF
V
REF
0
DAC OUTPUT VOLTAGE
DAC INPUT CODE 00 01 7F 80 81 FE FF
Figure 26. DAC Transfer Function
POWER-ON RESET
The AD7801 has a power-on reset circuit designed to allow
output stability during power up. This circuit holds the DAC in
a reset state until a write takes place to the DAC. In the reset
state all zeros are latched into the input register of the DAC and
the DAC register is in transparent mode thus the output of the
DAC is held at ground potential until a write takes place to the
DAC. The power-on reset circuitry generates a PON STRB
signal which is a gating signal used within the logic to identify
a power-on condition.
POWER-DOWN FEATURES
The AD7801 has a power-down feature implemented by
exercising the external PD pin. An active low signal puts the
complete DAC into power-down mode. When in power-down,
the current consumption of the device is reduced to less than
1 µA max at +25°C or 2 µA max over temperature, making the
device suitable for use in portable battery powered equipment.
The internal reference resistors, the reference bias servo loop,
the output amplifier and associated linear circuitry are all shut
down when the power-down is activated. The output terminal
sees a load of 23 k to GND when in power-down mode as
shown in Figure 25. The contents of the data register are
unaffected when in power-down mode. The device typically
comes out of power-down in 13 µs (see Figure 10).
V
DD
11.7k
11.7k
I
DAC
V
REF
Figure 25. Output Stage During Power-Down
Analog Outputs
The AD7801 contains a voltage output DAC with 8-bit resolution
and rail-to-rail operation. The output buffer provides a gain of
two at the output. Figures 2, 3 and 4 show the source and sink
capabilities of the output amplifier. The slew rate of the output
amplifier is typically 7.5 V/µs and has a full-scale settling to
eight bits with a 100 pF capacitive load in typically 1.2 µs.
The input coding to the DAC is straight binary. Table I shows
the binary transfer function for the AD7801. Figure 26 shows
the DAC transfer function for binary coding. Any DAC output
voltage can be expressed as:
AD7801
–10–
REV. 0
Figure 27 shows a typical setup for the AD7801 when using its
internal reference. The internal reference is selected by tying the
REFIN pin to V
DD
. Internally in the reference section there is a
reference detect circuit that will select the internal V
DD
/2 based
on the voltage connected to the REFIN pin. If REFIN is within
a threshold voltage of a PMOS device (approximately 1 V) of
V
DD
the internal reference is selected. When the REFIN voltage
is more than 1 V below V
DD
, the externally applied voltage at
this pin is used as the reference for the DAC. The internal
reference on the AD7801 is V
DD
/2, the output current to
voltage converter within the AD7801 provides a gain of two.
Thus the output range of the DAC is from 0 V to V
DD
, based on
Table I.
DATA BUS CONTROL
INPUTS
AD7801
CS WR LDAC
V
OUT
V
OUT
D7-D0
CLR
PD
V
DD
REF IN
V
DD
= 3V TO 5V
V
DD
AGND DGND
10mF0.1mF
Figure 27. Typical Configuration Selecting the Internal
Reference
Figure 28 shows a typical setup for the AD7801 when using an
external reference. The reference range for the AD7801 is from
1 V to V
DD
/2 V. Higher values of reference can be incorporated
but will saturate the output at both the top and bottom end of
the transfer function. There is a gain of two from input to output
on the AD7801. Suitable references for 5 V operation are the
AD780 and REF192. For 3 V operation a suitable external
reference would be the AD589 a 1.23 V bandgap reference.
DATA BUS CONTROL
INPUTS
AD7801
CS
WR
LDAC
V
OUT
V
OUT
D7-D0
CLR
PD
V
DD
REF IN
V
DD
= 3V TO 5V
V
DD
AGND DGND
10mF0.1mF
0.1mF
EXT REF
V
OUT
V
IN
GND
AD780/REF192 WITH V
DD
= 5V
OR
AD589 WITH V
DD
= 3V
Figure 28. Typical Configuration Using An External
Reference
MICROPROCESSOR INTERFACING
AD7801–ADSP-2101/ADSP-2103 Interface
Figure 29 shows an interface between the AD7801 and the ADSP-
2101/ADSP-2103. The fast interface timing associated with the
AD7801 allows easy interface to the ADSP-2101/ADSP-2103.
LDAC is permanently tied low in this circuit so the DAC
output is updated on the rising edge of the WR signal.
Data is loaded to the AD7801 input register using the following
ADSP-21xx instruction.
DM(DAC) = MR0
MR0 = ADSP-21xx MR0 Register.
DAC = Decoded DAC Address.
ADDR
DECODE
EN
ADDRESS BUS
AD7801*
CS
LDAC
WR
DB7
DB0
DATA BUS
*
ADDITIONAL CIRCUITRY OMITTED FOR CLARITY.
DMA14
DMA0
DMS
WR
DMD15
DMD0
ADSP-2101*/
ADSP-2103*
Figure 29. AD7801–ADSP-2101/ADSP-2103 Interface
AD7801–TMS320C20 Interface
Figure 30 shows an interface between the AD7801 and the
TMS320C20. Data is loaded to the AD7801 using the following
instruction:
OUT DAC, D
DAC = Decoded DAC Address.
D = Data Memory Address.
ADDR
DECODE
EN
ADDRESS BUS
AD7801*
CS
LDAC
WR
DB7
DB0
DATA BUS
*
ADDITIONAL CIRCUITRY OMITTED FOR CLARITY.
A15
A0
IS
STRB
D15
D0
TMS320C20
R/W
Figure 30. AD7801–TMS320C20 Interface
AD7801
–11–
REV. 0
In the circuit shown the LDAC is hardwired low thus the DAC
output is updated on the rising edge of WR. Some applications
may require synchronous updating of the DAC in the AD7801.
In this case the LDAC signal can be driven from an external
timer or can be controlled by the microprocessor. One option
for synchronous updating is to decode the LDAC from the ad-
dress bus so a write operation at this address will synchronously
update the DAC output. A simple OR gate with one input
driven from the decoded address and the second input from the
WR signal will implement this function.
AD7801–8051/8088 Interface
Figure 31 shows a serial interface between the AD7801 and the
8051/8088 processors.
ADDR
DECODE
EN
ADDRESS BUS
AD7801*
CS
LDAC
WR
DB7
DB0
DATA BUS
*
ADDITIONAL CIRCUITRY OMITTED FOR CLARITY.
A15
A8
PSEN OR DEN
WR
AD7
AD0
8051/8088*
ALE
OCTAL
LATCH
Figure 31. AD7801–8051/8088 Interface
APPLICATIONS
Bipolar Operation Using the AD7801
The AD7801 has been designed for unipolar operation but
bipolar operation is possible using the circuit in Figure 32. The
circuit shown is configured for an output voltage range of –5 V
to +5 V. Rail-to-rail operation at the amplifier output is achievable
by using an AD820 or OP295 as the output amplifier.
The output voltage for any input code can be calculated as
follows:
V
O
= R
2
1+
R4
R3
/ R1+R2
()
×
2V
REF
D
256
V
REF
R4
R3
Where D is the decimal equivalent of the code loaded to the
DAC and V
REF
is the reference voltage input.
With V
REF
= 2.5 V, R1 = R3 = 10 k and R2 = R4 = 20 k and
V
DD
= 5 V.
V
O
=
10D
256
–5
DATA
BUS
CONTROL
INPUTS
AD7801
CS
WR LDAC
V
OUT
D7-D0
CLR
PD
V
DD
REF IN
V
DD
= 3V TO 5V
V
DD
AGND DGND
10mF0.1mF
0.1mF
EXT REF
V
OUT
V
IN
GND
AD780/REF192
WITH V
DD
= 5V
OR
AD589 WITH V
DD
= 3V
R1
10k
R2
20k
+5V
±5V
R3
10k
R4
20k
–5V
AD820/
OP295
Figure 32. Bipolar Operation Using the AD7801
Decoding Multiple AD7801s in a System
The CS pin on the AD7801 can be used in applications to
decode a number of DACs. In this application, all DACs in the
system receive the same input data, but only the CS to one of
the DACs will be active at any one time allowing access to one
channel in the system. The 74HC139 is used as a two-to-four
line decoder to address any of the DACs in the system. To
prevent timing errors from occurring, the Enable input on the
74HC139 should be brought to its inactive state while the
Coded Address inputs are changing state. Figure 33 shows a
diagram of a typical setup for decoding multiple AD7801
devices in a system. The built-in power-on reset circuit on the
AD7801 ensures that the outputs of all DACs in the system
power up with zero volts on their outputs.
AD7801
CS
WR
D0
D7
LDAC
V
OUT
AD7801
CS
WR
D0
D7
LDAC
V
OUT
AD7801
CS
WR
D0
D7
LDAC
V
OUT
AD7801
CS
WR
D0
D7
LDAC
V
OUT
74HC139
V
CC
V
DD
1G
1A
1B
DGND
ENABLE
CODED
ADDRESS
WR
1Y0
1Y1
1Y2
1Y3
DATA BUS
Figure 33. Decoding Multiple AD7801s

AD7801BRUZ-REEL

Mfr. #:
Manufacturer:
Description:
Digital to Analog Converters - DAC 2.7V-5.5V VOut 8-Bit Parallel Input
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union