GENERAL DESCRIPTION
The AD7804/AD7808 are quad/octal 10-bit digital-to-analog convert-
ers, with serial load capabilities, while the AD7805/AD7809 are quad/
octal 10-bit digital-to-analog converters with parallel load capabilities.
These parts operate from a +3.3 V to +5 V ( ±10%) power supply and
incorporates an on-chip reference. These DACs provide output signals
in the form of V
BIAS
± V
SWING
. V
SWING
is derived internally from V
BIAS
.
On-chip control registers include a system control register and channel
control registers. The system control register has control over all DACs
in the package. The channel control registers allow individual control
of DACs. The complete transfer function of each individual DAC can
be shifted around the V
BIAS
point using an on-chip Sub DAC. All
DACs contain double buffered data inputs, which allow all analog
outputs to be simultaneously updated using the asynchronous LDAC
input.
Control Channels Main Sub
Features Controlled DAC DAC
Hardware Clear All ÏÏ
System Control
Power Down* All ÏÏ
System Standby** All ÏÏ
System Clear All Ï
Input Coding All ÏÏ
Channel Control
Channel Standby** Selective ÏÏ
Channel Clear Selective Ï
V
BIAS
Selective ÏÏ
**Power-down function powers down all internal circuitry including the reference.
**Standby functions power down all circuitry except for the reference.
FUNCTIONAL BLOCK DIAGRAMS
V
OUT
D
V
OUT
C
V
OUT
B
V
OUT
A
CHANNEL C
CONTROL REG
CHANNEL B
CONTROL REG
CHANNEL A
CONTROL REG
DAC
REGISTER
DAC D
V
BIAS
DATA
REGISTER
AV
DD
DIVIDER
CHANNEL D
CONTROL REG
REFIN
REFOUT
LDACCLR
AV
DD
DV
DD
AGND DGND
CLKIN
FSIN
AD7804/
AD7808
COMP
SDIN
POWER ON
RESET
DAC
REGISTER
DAC C
V
BIAS
DATA
REGISTER
DAC
REGISTER
DAC B
V
BIAS
DATA
REGISTER
MUX
DAC
REGISTER
DAC A
V
BIAS
DATA
REGISTER
SYSTEM
CONTROL REG
INPUT SHIFT
REGISTER &
CONTROL LOGIC
MUX
MUX
1.23V REF
MUX
V
OUT
G*
V
OUT
E*
V
OUT
H*
V
OUT
F*
PD**
**ONLY AD7804 SHOWN FOR CLARITY
**SHOWS ADDITIONAL CHANNELS ON THE AD7808
**PIN ON THE AD7808 ONLY
VOUTD
VOUTC
VOUTB
VOUTA
CHANNEL C
CONTROL REG
CHANNEL B
CONTROL REG
CHANNEL A
CONTROL REG
DAC
REGISTER
DAC D
VBIAS
DATA
REGISTER
AVDD
DIVIDER
CHANNEL D
CONTROL REG
REFIN
REFOUT
LDACCLR
AVDD DVDD AGND DGND
WR
CS
AD7805/
AD7809
COMP
POWER ON
RESET
MUX
DAC
REGISTER
DAC C
VBIAS
DATA
REGISTER
DAC
REGISTER
DAC B
VBIAS
DATA
REGISTER
MUX
DAC
REGISTER
DAC A
VBIAS
DATA
REGISTER
SYSTEM
CONTROL REG
INPUT
REGISTER
MUX
MUX
1.23V REF
CONTROL
LOGIC
MODE A0 A1 DB9 DB2 DB1 DB0
VOUTG*
VOUTH*
PD**
**ONLY AD7805 SHOWN FOR CLARITY
**SHOWS ADDITIONAL CHANNELS ON THE AD7809
**PIN ON THE AD7809 ONLY
A2**
VOUTE*
VOUTF*
*Patent pending.
Page Index on Page 26.
REV. 0
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
a
3.3 V to 5 V Quad/Octal 10-Bit DACs
© Analog Devices, Inc., 1996
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 617/329-4700 Fax: 617/326-8703
FEATURES
Four 10-Bit DACs in One Package
Serial and Parallel Loading Facilities Available
AD7804 Quad 10-Bit Serial Loading
AD7805 Quad 10-Bit Parallel Loading
AD7808 Octal 10-Bit Serial Loading
AD7809 Octal 10-Bit Parallel Loading
3.3 V to 5 V Operation
Power-Down Mode
Power-On Reset
Standby Mode (All DACs/Individual DACs)
Low Power All CMOS Construction
10-Bit Resolution
Double Buffered DAC Registers
Dual External Reference Capability
APPLICATIONS
Optical Disk Drives
Instrumentation and Communication Systems
Process Control and Voltage Setpoint Control
Trim Potentiometer Replacement
Automatic Calibration
AD7804/AD7805/AD7808/AD7809*
AD7804/AD7805/AD7808/AD7809
REV. 0
–2–
Parameter B Grade
1
C Grade
1
Units Comments
STATIC PERFORMANCE
MAIN DAC
Resolution 10 10 Bits
Relative Accuracy ±3±2 LSB max
Gain Error ±3±3 % FSR max
Bias Offset Error
2
–80/+40 –60/+40 mV max DAC Code = 0.5 Full Scale
Zero-Scale Error
3
VBIAS
16 /+40
VBIAS
16 /+40
mV max DAC Code = 000H for Offset Binary
Monotonicity 9 10 Bits and 200H for Twos Complement Coding
Minimum Load Resistance 2 2 k min
SUB DAC
Resolution 8 8 Bits
Differential Nonlinearity ±0.125 ±0.125 LSB typ Refers to an LSB of the Main DAC
±0.5 ±0.5 LSB max
OUTPUT CHARACTERISTICS
Output Voltage Range
3
V
BIAS
± 15/16 × V
BIAS
V
BIAS
± 15/16 × V
BIAS
V 2s Complement Coding
V
BIAS
/16 to 31/16 × V
BIAS
V
BIAS
/16 to 31/16 × V
BIAS
V Offset Binary Coding
Voltage Output Settling Time to 10 Bits 4 4 µs max Typically 1.5 µs
Slew Rate 2.5 2.5 V/µs typ
Digital-to-Analog Glitch Impulse 1 1 nV-s typ 1 LSB Change Around the Major Carry
Digital Feedthrough 0.5 0.5 nV-s typ
Digital Crosstalk 0.5 0.5 nV-s typ
Analog Crosstalk ±0.2 ±0.2 LSB typ
DC Output Impedance 2 2 typ
Power Supply Rejection Ratio 0.002 0.002 %/% typ V
DD
± 10%
DAC REFERENCE INPUTS
REF IN Range 1.0 to V
DD
/2 1.0 to V
DD
/2 V min to V max
REF IN Input Leakage ±1±1µA max Typically ±1 nA
DIGITAL INPUTS
Input High Voltage, V
IH
@ V
DD
= 5 V 2.4 2.4 V min
Input High Voltage, V
IH
@ V
DD
= 3.3 V 2.1 2.1 V min
Input Low Voltage, V
IL
@ V
DD
= 5 V 0.8 0.8 V max
Input Low Voltage, V
IL
@ V
DD
= 3.3 V 0.6 0.6 V max
Input Leakage Current ±10 ±10 µA max
Input Capacitance 10 10 pF max
Input Coding 2s Comp/Binary 2s Comp/Binary
REFERENCE OUTPUT
REF OUT Output Voltage 1.23 1.23 V nom
REF OUT Error ±8±8 % max
REF OUT Temperature Coefficient –100 –100 ppm/°C typ
REF OUT Output Impedance 5 5 k nom
POWER REQUIREMENTS
V
DD
(AV
DD
and DV
DD
) 3/5.5 3/5.5 V min to V max
I
DD
(AI
DD
Plus DI
DD
)Excluding Load Currents
Normal Mode 12 12 mA max V
IH
= V
DD
, V
IL
= DGND
System Standby (SSTBY) Mode 250 250 µAV
IH
= V
DD
, V
IL
= DGND
Power-Down (PD) Mode
@ +25°C 0.8 0.8 µA max V
IH
= V
DD
, V
IL
= DGND
T
MIN
–T
MAX
1.5 1.5 µA max
Power Dissipation Excluding Power Dissipated in Load
Normal Mode 66 66 mW max
System Standby (SSTBY) Mode 1.38 1.38 mW max
Power-Down (PD) Mode
@ +25°C 4.4 4.4 µW max
T
MIN
–T
MAX
8.25 8.25 µW max
NOTES
1
Temperature range is –40°C to +85°C.
2
Can be minimized using the Sub DAC.
3
V
BIAS
is the center of the output voltage swing and can be V
DD
/2, Internal Reference or REFIN as determined by MX1 and MX0 in the channel control register.
Specifications subject to change without notice.
(AV
DD
and DV
DD
= 3.3 V 6 10% to 5 V 6 10%; AGND = DGND = 0 V;
Reference = Internal Reference; C
L
= 100 pF; R
L
= 2 kV to GND. Sub DAC at Midscale. All specifications T
MIN
to T
MAX
unless otherwise noted.)
AD7804/AD7805–SPECIFICATIONS
Parameter B Grade
1
Units Comments
STATIC PERFORMANCE
MAIN DAC
Resolution 10 Bits
Relative Accuracy ±4 LSB max
Gain Error ±3 % FSR max
Bias Offset Error
2
±60 mV max DAC Code = 0.5 Full Scale
Zero-Scale Error ±35 mV max DAC Code = 000H for Offset Binary
Monotonicity 9 Bits and 200H for Twos Complement
Minimum Load Resistance 2 k min Coding
SUB DAC
Resolution 8 8 Bits
Differential Nonlinearity ±0.125 LSB typ Refers to an LSB of the Main DAC
±0.5 LSB max
OUTPUT CHARACTERISTICS
Output Voltage Range
3
V
BIAS
± 15/16 × V
BIAS
V 2s Complement Coding
V
BIAS
/16 to 31/16 × V
BIAS
V Offset Binary Coding
Voltage Output Settling Time to 10 Bits 4 µs max Typically 1.5 µs
Slew Rate 2.5 V/µs typ
Digital-to-Analog Glitch Impulse 1 nV-s typ 1 LSB Change Around the Major Carry
Digital Feedthrough 0.5 nV-s typ
Digital Crosstalk 0.5 nV-s typ
Analog Crosstalk ±0.2 LSB typ
DC Output Impedance 2 typ
Power Supply Rejection Ratio 0.002 %/% typ V
DD
± 10%
DAC REFERENCE INPUTS
REF IN Range 1.0 to V
DD
/2 V min to V max
REF IN Input Leakage ±1µA max Typically ±1 nA
DIGITAL INPUTS
Input High Voltage, V
IH
@ V
DD
= 5 V 2.4 V min
Input High Voltage, V
IH
@ V
DD
= 3.3 V 2.1 V min
Input Low Voltage, V
IL
@ V
DD
= 5 V 0.8 V max
Input Low Voltage, V
IL
@ V
DD
= 3.3 V 0.6 V max
Input Leakage Current ±10 µA max
Input Capacitance 8 pF max
Input Coding 2s Comp/Binary
REFERENCE OUTPUT
REF OUT Output Voltage 1.23 V nom
REF OUT Error ±8 % max
REF OUT Temperature Coefficient –100 –100 ppm/°C typ
REF OUT Output Impedance 5 5 k nom
POWER REQUIREMENTS
V
DD
(AV
DD
and DV
DD
) 3/5.5 3/5.5 V min to V max
I
DD
(AI
DD
Plus DI
DD
)Excluding Load Currents
Normal Mode 18 mA max V
IH
= V
DD
, V
IL
= DGND
System Standby (SSTBY) Mode 250 µA max V
IH
= V
DD
, V
IL
= DGND
Power-Down (PD) Mode
@ +25°C1µA max V
IH
= V
DD
, V
IL
= DGND
T
MIN
–T
MAX
3µA max
Power Dissipation Excluding Power Dissipated in Load
Normal Mode 99 mW max
System Standby (SSTBY) Mode 1.38 mW max
Power-Down (PD) Mode
@ +25°C 5.5 µW max
T
MIN
–T
MAX
16.5 µW max
NOTES
1
Temperature range is 40°C to +85°C.
2
Can be minimized using the Sub DAC.
3
V
BIAS
is the center of the output voltage swing and can be V
DD
/2, Internal Reference or REFIN as determined by MX1 and MX0 in the channel control register.
Specifications subject to change without notice.
(AV
DD
and DV
DD
= 3.3 V 6 10% to 5 V 6 10%; AGND = DGND = 0 V;
Reference = Internal Reference; C
L
= 100 pF; R
L
= 2 kV to GND. Sub DAC at Midscale. All specifications T
MIN
to T
MAX
unless otherwise noted.)
AD7808/AD7809–SPECIFICATIONS
AD7804/AD7805/AD7808/AD7809
REV. 0 –3–
AD7804/AD7805/AD7808/AD7809
REV. 0
–4–
(VDD = 3.3 V 6 10% to 5 V 6 10%; AGND = DGND = 0 V; Reference =
Internal Reference. All specifications TMIN to TMAX unless otherwise noted.)
Limit at T
MIN
, T
MAX
Parameter All Versions Units Description
t
1
100 ns min CLKIN Cycle Time
t
2
40 ns min CLKIN High Time
t
3
40 ns min CLKIN Low Time
t
4
30 ns min FSIN Setup Time
t
5
30 ns min Data Setup Time
t
6
5 ns min Data Hold Time
t
6A
6 ns min LDAC Hold Time
t
7
90 ns max FSIN Hold Time
20 ns min
t
8
40 ns min LDAC, CLR Pulse Width
t
9
100 ns min LDAC Setup Time
NOTES
1
Sample tested during initial release and after any redesign or process change that may affect this parameter. All input signals are specified with tr = tf = 5 ns and
timed from a voltage of (V
IL
+ V
IH
)/2.
CLKIN(I)
FSIN(I)
SDIN(I) DB15
t
2
t
3
t
7
LDAC
2
t
8
CLR
LDAC
1
t
5
t
6A
t
1
t
9
t
8
t
4
t
5
t
6
DB0
1
TIMING REQUIREMENTS FOR SYNCHRONOUS LDAC UPDATE OR LDAC MAY BE TIED PERMANENTLY LOW IF REQUIRED.
2
TIMING REQUIREMENTS FOR ASYNCHRONOUS LDAC UPDATE.
Figure 1. Timing Diagram for AD7804 and AD7808
AD7804/AD7808 TIMING CHARACTERISTICS
1
AD7804/AD7805/AD7808/AD7809
–5–
REV. 0
AD7805/AD7809 TIMING CHARACTERISTICS
1
(VDD = 3.3 V 6 10% to 5 V 6 10%; AGND = DGND = 0 V; Reference
= Internal Reference. All specifications TMIN to TMAX unless otherwise noted.)
Limit at T
MIN
, T
MAX
Parameter All Versions Unit Description
t
1
25 ns min Mode Valid to Write Setup Time
t
2
4.5 ns min Mode Valid to Write Hold Time
t
3
25 ns min Address Valid to Write Setup Time
t
4
4.5 ns min Address Valid to Write Hold Time
t
5
25 ns min Data Setup Time
t
6
4.5 ns min Data Hold Time
t
6A
6 ns min LDAC Valid to Write Hold Time
t
7
40 ns min Chip Select to Write Setup Time
t
8
0 ns min Chip Select to Write Hold Time
t
9
40 ns min Write Pulse Width
t
10
100 ns min Time Between Successive Writes
t
11
40 ns min LDAC, CLR Pulse Width
t
12
100 ns min Write to LDAC Setup Time
NOTE
1
Sample tested during initial release and after any redesign or process change that may affect this parameter. All input signals are specified with tr = tf = 5 ns and
timed from a voltage of (V
IL
+ V
IH
)/2.
MODE
CS
WR
DATA
LDAC2
CLR
LDAC1
t
1
t
2
t
3
t
4
t
7
t
8
t
9
t
5
t
6
t
10
t
11
t
12
t
11
1
TIMING REQUIREMENTS FOR SYNCHRONOUS LDAC UPDATE OR LDAC MAY BE TIED PERMANENTLY LOW IF REQUIRED.
2
TIMING REQUIREMENTS FOR ASYNCHRONOUS LDAC UPDATE.
t
6A
A0, A1, A2
Figure 2. Timing Diagram for AD7805/AD7809 Parallel Write
AD7804/AD7805/AD7808/AD7809
REV. 0
–6–
PDIP (N-24) Package, Power Dissipation . . . . . . . . . 670 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 105°C/W
Lead Temperature, Soldering (10 sec) . . . . . . . . . . . +260°C
SOIC (R-28) Package, Power Dissipation . . . . . . . . . 875 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . . 70°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
PDIP (N-28) Package, Power Dissipation . . . . . . . . . 875 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . . 75°C/W
Lead Temperature, Soldering (10 sec) . . . . . . . . . . . +260°C
SSOP (RS-28) Package, Power Dissipation . . . . . . . . 875 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 110°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
TQFP (ST-44B) Package, Power Dissipation . . . . . . 450 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 116°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
NOTES
1
Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only and functional
operation of the device at these or any other conditions above those listed in the
operational sections of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
2
The outputs may be shorted to voltages in this range provided the power dissipation
of the package is not exceeded.
3
Transient currents of up to 100 mA will not cause SCR latchup.
ABSOLUTE MAXIMUM RATINGS
1
(T
A
= +25°C unless otherwise noted)
DV
DD
to DGND . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
AV
DD
to AGND . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
AGND to DGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V + 0.3 V
Digital Input Voltage to DGND . . . . –0.3 V to DV
DD
+ 0.3 V
Analog Input Voltage to AGND . . . . . –0.3 V to AV
DD
+ 0.3 V
COMP to AGND . . . . . . . . . . . . . . . –0.3 V to AV
DD
+ 0.3 V
REF OUT to AGND . . . . . . . . . . . . . . . . . . –0.3 V to + AV
DD
REF IN to AGND . . . . . . . . . . . . . . . –0.3 V to AV
DD
+ 0.3 V
V
OUT
to AGND
2
. . . . . . . . . . . . . . . . –0.3 V to AV
DD
+ 0.3 V
Input Current to Any Pin Except Supplies
3
. . . . . . . ±10 mA
Operating Temperature Range
AD7804/AD7805 Commercial Plastic
(B, C Versions) . . . . . . . . . . . . . . . . . . . . –40°C to +85°C
AD7808/AD7809 Commercial Plastic
(B, C Versions) . . . . . . . . . . . . . . . . . . . . –40°C to +85°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C
Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . +150°C
SOIC (R-16) Package, Power Dissipation . . . . . . . . . 450 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . . 75°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
PDIP (N-16) Package, Power Dissipation . . . . . . . . . 670 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 116°C/W
Lead Temperature, Soldering (10 sec) . . . . . . . . . . . +260°C
SOIC (R-24) Package, Power Dissipation . . . . . . . . . 450 mW
θ
JA
Thermal Impedance . . . . . . . . . . . . . . . . . . . . . . 75°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
ORDERING GUIDE
Supply Temperature Relative Package
Model Voltage Range Accuracy Option*
AD7804BN 3.3 V to 5 V –40°C to +85°C±3 LSB N-16
AD7804BR 3.3 V to 5 V –40°C to +85°C±3 LSB R-16
AD7804CN 3.3 V to 5 V –40°C to +85°C±2 LSB N-16
AD7804CR 3.3 V to 5 V –40°C to +85°C±2 LSB R-16
AD7805BN 3.3 V to 5 V –40°C to +85°C±3 LSB N-28
AD7805BR 3.3 V to 5 V –40°C to +85°C±3 LSB R-28
AD7805BRS 3.3 V to 5 V –40°C to +85°C±3 LSB RS-28
AD7805CN 3.3 V to 5 V –40°C to +85°C±2 LSB N-28
AD7805CR 3.3 V to 5 V –40°C to +85°C±2 LSB R-28
AD7805CRS 3.3 V to 5 V –40°C to +85°C±2 LSB RS-28
AD7808BN 3.3 V to 5 V –40°C to +85°C±4 LSB N-24
AD7808BR 3.3 V to 5 V –40°C to +85°C±4 LSB R-24
AD7809BST 3.3 V to 5 V –40°C to +85°C±4 LSB ST-44B
*N = DIP, R = SOIC, RS = SSOP, ST = TQFP.
WARNING!
ESD SENSITIVE DEVICE
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although these devices feature proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
AD7804/AD7805/AD7808/AD7809
–7–
REV. 0
AD7804/AD7808 PIN FUNCTION DESCRIPTION
AD7804 AD7808
Pin No. Pin No. Mnemonic Description
1 1, 6 AGND Ground reference point for analog circuitry.
2, 3 2, 3 V
OUT
B, V
OUT
A Analog output voltage from the DACs.
4 4 REFOUT Reference Output. This is a bandgap reference and is typically 1.23 V.
5PD Active low input used to put the part into low power mode reducing current consumption
to 1 µA.
7, 8 V
OUT
F, V
OUT
E Analog output voltages from the DACs.
59
FSIN Level-triggered control input (active low). This is the frame synchronization signal for the
input data. When FSIN goes low, it enables the input shift register and data is transferred
on the falling edges of CLKIN.
610
LDAC LDAC Input. When this digital input is taken low, all DAC registers are simultaneously
updated with the contents of the data registers. If LDAC is tied permanently low, or is
low on the sixteenth falling clock edge with timing similar to that of SDIN, an automatic
update will take place.
7 11 SDIN Serial Data Input. These devices accept a 16-bit word. Data is clocked into the input shift
register on the falling edge of CLKIN.
8 12 DGND Ground reference point for digital circuitry.
913DV
DD
Digital Power Supply.
10 14 CLKIN Clock Input. Data is clocked into the input shift register on the falling edges of CLKIN.
11 15 CLR Asynchronous CLR Input. When this input is taken low, all Main DAC outputs are
cleared either to V
BIAS
or to V
BIAS
/16 volts. All Sub DACs are also cleared and thus the
transfer function of the Main DAC will remain centered around the V
BIAS
point.
16 N/C No Connect. This pin should be left open circuit.
17, 18 V
OUT
H, V
OUT
G Analog output voltages from the DACs.
12 20 REFIN This is an external reference input for the DACs. When this reference is selected for a
DAC in the control register, the analog output from the selected DAC swings around this
point.
13 21 COMP Compensation Pin. This pin provides an output from the internal V
DD
/2 divider and is
provided for ac bypass purposes only. This pin should be decoupled with 1 nF capacitors
to both AV
DD
and AGND. This pin can be overdriven with an external reference, thus
giving the facility for two external references on the part.
14, 15 22, 23 V
OUT
D, V
OUT
C Analog output voltage from the DACs .
16 24, 19 AV
DD
Analog Power Supply. +3.3 V to +5 V.
AD7804 PIN CONFIGURATION AD7808 PIN CONFIGURATION
14
13
12
11
16
15
10
98
1
2
3
4
7
6
5TOP VIEW
(Not to Scale)
AD7804
AGND
COMP
V
OUT
D
V
OUT
C
AV
DD
V
OUT
B
V
OUT
A
REFOUT
DV
DD
CLR
REFINFSIN
LDAC
SDIN
DGND
CLKIN
V
OUT
A
REFOUT
V
OUT
B
FSIN
PD
AGND
V
OUT
F
V
OUT
E
LDAC
AGND
V
OUT
H
V
OUT
C
V
OUT
G
AV
DD
NC
1
2
3
7
24
23
22
21
20
19
18
17
16
15
14
13
8
9
10
11
12
4
5
6TOP VIEW
(Not to Scale)
AD7808
V
OUT
D
COMP
REFIN
AV
DD
DV
DD
CLKIN
CLR
SDIN
DGND
AD7804/AD7805/AD7808/AD7809
REV. 0
–8–
AD7805/AD7809 PIN FUNCTION DESCRIPTION
AD7805 AD7809
Pin No. Pin No. Mnemonic Description
1, 11, 13, N/C No Connect. These pins should be left open circuit.
20, 33
1 2, 5, 39, 40 AGND Ground reference point for analog circuitry.
2, 3 41, 42 V
OUT
B, V
OUT
A Analog output voltages from the DACs .
4 43 REFOUT Reference Output. This is a bandgap reference and is typically 1.23 V.
5–10, 3, 4, 6, 7, 9, DB9–DB2 Data Inputs. DB9 to DB2 are the 8 MSBs of the data word.
12, 13 10, 15, 23
19–20 24, 26 DB1, DB0 DB1 and DB0 function as the 2 LSBs of the 10-bit word in 10-bit parallel mode but
have other functions when BYTE loading structure is used.
8, 12 V
OUT
F, V
OUT
E Analog output voltages from the DACs.
11 14 LDAC LDAC Input. When this digital input is taken low, all DAC registers are simultaneously up-
dated with the contents of the DAC data registers. If LDAC is tied permanently low, or is
low during the rising edge of WR similar to data inputs, an automatic update will take place.
14 16 DGND Ground reference point for digital circuitry.
15 17 DV
DD
Digital Power Supply.
16 18 WR Write Input WR is an active low logic input which is used in conjunction with CS and
the address pins to write data to the relevant registers.
17 21 CS Chip Select. Active low logic input.
18 19 CLR Asynchronous CLR Input. When this input is taken low, all Main DAC outputs are
cleared either to V
BIAS
or to V
BIAS
/16 volts. All Sub DACs are also cleared and thus the
transfer function of the MAIN DAC will remain centered around the V
BIAS
point.
22, 25 V
OUT
H, V
OUT
G Analog output voltages from the DACs.
21, 22 27, 29, 30 A2, A1, A0 DAC Address Inputs. These digital inputs are used in conjunction with CS and WR to de-
termine which DAC channel control register or DAC data register is loaded from the input
register. These address bits are don’t cares when writing to the system control register.
23 31 MODE Logic Input. Logic high enables writing to the DAC data registers, a logic low enables
writing to the control registers.
24 32 REFIN This is an external reference input for the DAC. When this reference is selected for the DAC
in the control register, the analog output from the selected DAC swings around this point.
25 34 COMP Compensation Pin. This pin provides an output from the internal V
DD
/2 divider and is
provided for ac bypass purposes only. This pin should be decoupled with 1 nF capacitors
to both AV
DD
and AGND. This pin can be overdriven with an external reference, thus
giving the facility for two external references on the part.
26, 27 35, 36 V
OUT
D, V
OUT
C Analog output voltages from the DACs.
28 28, 37, 38 AV
DD
Analog Power Supply.
44 PD Active low input used to put the part into low power mode reducing current consump-
tion to 1 µA.
AD7805 PIN CONFIGURATION AD7809 PIN CONFIGURATION
26
25
24
23
28
27
22
218
1
2
3
4
7
6
5
20
19
18
17
16
1514
9
10
13
12
11
TOP VIEW
(Not to Scale)
AGND
COMP
V
OUT
D
V
OUT
C
AV
DD
V
OUT
B
V
OUT
A
REFOUT
A1
MODE
REFIN
DB9
DB8
DB7
DB6
A0
AD7805
DB1
DB0
DB5
DB4
DV
DD
CS
CLR
LDAC
DB3
DB2
DGND
WR
12
13
14 15 16 17 18 19
20
21 22
3
4
5
6
7
1
2
10
11
8
9
40 39 3841
42
4344 36 35 3437
29
30
31
32
27
28
25
26
23
24
33
PIN 1
IDENTIFIER
TOP VIEW
(Not to Scale)
NC
REFIN
MODE
A0
A1
AV
DD
A2
AD7809
TQFP
NC
AGND
DB9
DB8
AGND
DB7
DB6
NC = NO CONNECT
V
OUT
F
DB5
DB4
NC
DB0
V
OUT
G
DB1
DB2
V
OUT
E
NC
LDAC
DV
DD
DB3
DGND
WR
CLR
NC
CS
V
OUT
H
PD
REFOUT
V
OUT
A
V
OUT
B
AGND
AGND
AV
DD
AV
DD
COMP
V
OUT
C
V
OUT
D
AD7804/AD7805/AD7808/AD7809
–9–
REV. 0
TERMINOLOGY
Relative Accuracy
For the DACs, relative accuracy or endpoint nonlinearity is a
measure of the maximum deviation, in LSBs, from a straight
line passing through the endpoints of the DAC transfer func-
tion. Figures 32 and 33 show the linearity at 3 V and 5 V
respectively.
Differential Nonlinearity
Differential nonlinearity is the difference between the measured
change and the ideal 1 LSB change between any two adjacent
codes. A specified differential nonlinearity of ±1 LSB maxi-
mum ensures monotonicity.
Bias Offset Error
If the DACs are ideal, the output voltage of any DAC with mid-
scale code loaded will be equal to V
BIAS
where V
BIAS
is selected
by MX1 and MX0 in the control register. The DAC bias offset
error is the difference between the actual output voltage and
V
BIAS
, expressed in mV.
Gain Error
The difference between the actual and ideal analog output
range, expressed as a percent of full-scale range. It is the devia-
tion in slope of the DAC transfer characteristic from ideal.
Zero-Scale Error
The zero-scale error is the actual output minus the ideal output
from any DAC when zero code is loaded to the DAC. If offset
binary coding is used, the code loaded is 000Hex, and if twos
complement coding is used, a code of 200HEX is loaded to the
DAC to calculate the zero-scale error. Zero-scale error is ex-
pressed in mV.
Digital-to-Analog Glitch Impulse
Digital-to-analog glitch impulse is the impulse injected into the
analog output when the digital inputs change state with the
DAC selected and the LDAC used to update the DAC. It is
normally specified as the area of the glitch in nV-s and is mea-
sured when the digital input code is changed by 1 LSB at the
major carry transition. Regardless of whether offset binary or 2s
complement coding is used, the major carry transition occurs at
the analog output voltage change of V
BIAS
to V
BIAS
– 1 LSB
or vice versa.
Digital Feedthrough
Digital feedthrough is a measure of the impulse injected into the
analog output of a DAC from the digital inputs of the same
DAC but is measured when the DAC is not updated. It is speci-
fied in nV secs and is measured with a full-scale code change on
the data bus, i.e., from all 0s to all 1s and vice versa.
Digital Crosstalk
Digital crosstalk is the glitch impulse transferred to the output
of one converter due to a digital code change to another DAC.
It is specified in nV-s.
Analog Crosstalk
Analog crosstalk is a change in output of any DAC in response
to a change in the output of one or more of the other DACs. It
is measured in LSBs.
Power Supply Rejection Ratio (PSRR)
This specification indicates how the output of the DAC is af-
fected by changes in the power supply voltage. Power-supply
rejection ratio is quoted in terms of % change in output per %
change in V
DD
for full-scale output of the DAC. V
DD
is varied
±10%.
AD7804/AD7808 INTERFACE SECTION
The AD7804 and AD7808 are serial input devices. Three lines
control the serial interface, FSIN, CLKIN and SDIN. The tim-
ing diagram is shown in Figure 1.
Two mode bits (MD1 and MD0) which are DB13 and DB14 of
the serial word written to the AD7804/AD7808 are used to de-
termine whether writing is to the DAC data registers or the con-
trol registers of the device. These parts contain a system control
register for controlling the operation of all DACs in the package
as well as a channel control register for controlling the operation of
each individual DAC. Table I shows how to access these registers.
Table I. Register Selection Table for the AD7804/AD7808
MD1 MD0 Function
0 0 Write enable to system control register
0 1 Write enable to channel control register
1 X Write enable to DAC data registers.
When the FSIN input goes low, data appearing on the SDIN
line is clocked into the input register on each falling edge of
CLKIN. Data to be transferred to the AD7804/AD7808 is
loaded MSB first. Figure 4 shows the loading sequence for the
AD7804/AD7808 system control register, Figure 5 shows the
sequence for the channel control register write, and Figures 6
and 7 show the sequence for loading data to the Main and Sub
DAC data registers. Figure 3 shows the internal registers associ-
ated with the AD7804/AD7808 serial interface DACs. Only one
DAC structure is shown for clarity.
DATA REGISTER
8
VBIAS
INTERNAL VREF
VDD/2
REFIN
VOUT
FSIN
CLKIN
SDIN
TO ALL
CHANNELS
SINGLE
CHANNEL DAC REGISTER
8
8-BIT DAC
(SUB DAC)
DATA REGISTER
10
DAC REGISTER
10
10-BIT DAC
(MAIN DAC)
CHANNEL
CONTROL
REGISTER
MUX
SYSTEM
CONTROL
REGISTER
16-BIT INPUT SHIFT REGISTER
DECODER
Figure 3. AD7804/AD7808 Internal Registers
AD7804/AD7805/AD7808/AD7809
REV. 0
–10–
DB15 MSB DB0 (LSB)
X MD0 = 1 MD1 = 0 A2* A1 A0 MX1 MX0 X X X STBY CLR 0 X X
X = DON’T CARE
*APPLICABLE TO THE AD7808 ONLY AND ARE DON’T CARE CONDITIONS WHEN OPERATING THE AD7804.
Figure 5. AD7804/AD7808 Channel Control Register Loading Sequence
DB15 MSB DB0 (LSB)
MAIN/SUB MD0 = X MD1 = 1 A2* A1 A0 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
X = DON’T CARE
*APPLICABLE TO THE AD7808 ONLY AND ARE DON’T CARE CONDITIONS WHEN OPERATING THE AD7804.
Figure 6. AD7804/AD7808 Main DAC Data Register Loading Sequence (
MAIN
/SUB = 0)
DB15 MSB DB0 (LSB)
MAIN/SUB MD0 = X MD1 = 1 A2* A1 A0 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 X X
X = DON’T CARE
*APPLICABLE TO THE AD7808 ONLY AND ARE DON’T CARE CONDITIONS WHEN OPERATING THE AD7804.
Figure 7. AD7804/AD7808 Sub DAC Data Register Loading Sequence (
MAIN
/SUB = 1)
MSB LSB
X MD0 = 0 MD1 = 0 X XXXX0 BIN/COMP PD SSTBY SCLR 0 X X
X = DON’T CARE
Figure 4. AD7804/AD7808 System Control Register Loading Sequence
AD7804/AD7808 SYSTEM CONTROL REGISTER (MD1 = 0,
MD0 = 0)
The bits in this register allow control over all DACs in the pack-
age. The control bits include power down (PD), DAC input
coding select (BIN/COMP), system standby (SSTBY) and a sys-
tem clear (SCLR). The function of these bits is as follows:
Power Down (PD)
This bit in the control register is used to shut down the complete
device. With a 0 in this position, the reference and all DACs are
put into low power mode. Writing a 1 to this bit puts the part in
the normal operating mode. When in power-down mode, the
contents of all registers are retained and are valid when the de-
vice is put back into normal operation.
Coding (BIN/COMP)
This bit in the system control register allows the user to select
one of two input coding schemes. The available schemes are
Twos complement coding and offset binary coding. All DACs
will be configured with the same input coding scheme. Writing
a zero to the control register selects twos complement coding,
while writing a 1 to this bit in the control register selects offset
binary coding.
With twos complement coding selected the output voltage from
the Main DAC is of the form :
V
OUT
=V
BIAS
±V
SWING
where
VSWING is 15
16 ×VBIAS
With Offset Binary coding selected the output voltage from the
Main DAC ranges from:
V
OUT
=V
BIAS
16 toV
OUT
=31
16 ×V
BIAS
When the system control register is selected by writing zeros to
the mode bits, MD1 and MD0 the address bits are ignored as
the system control register controls all DACs in the package.
When MD1 = 0 and MD0 = 1, writing is to the channel control
register. Only the DAC selected by the address bits will be af-
fected by writing to this register. Each individual DAC has a
channel control register.
The DACs data registers are addressed by writing a one to
MD1 (DB13); the condition of MD0 (DB14) does not matter
when writing to the data registers. DB15 determines whether
writing is to the Main DAC data register or to the Sub DAC
data register. The Main DAC is 10 bits wide and the Sub DAC
is 8 bits wide. Thus when writing to the Sub DAC DB1 and
DB0 become don’t cares. The Sub DAC is used to offset the
complete transfer function of the Main DAC around its V
BIAS
point. The Sub DAC has 1/8 LSB resolution and will enable the
transfer function of the Main DAC to be offset by ± V
BIAS
/32.
When the LDAC line goes low, all DAC registers in the device
are simultaneously loaded with the contents of their respective
DAC data registers, and the outputs change accordingly.
Bringing the CLR line low resets the DAC data and DAC regis-
ters. This hardware clear affects both the Main and Sub DACs.
This operation sets the analog output of the Main DAC to V
BIAS
/
16 when offset binary coding is selected and the output is set to
V
BIAS
when twos complement coding is used. V
BIAS
is the output
of the internal multiplexer as shown in Figure 3. The output of
the Sub DAC is used to shift the transfer function of the Main
DAC around the V
BIAS
point and the contribution from the Sub
DAC is zero following an external hardware clear. Software
clears affect the Main DACs only.
AD7804/AD7805/AD7808/AD7809
–11–
REV. 0
V
BIAS
can be the internal bandgap reference, the internal V
DD
/2
reference or the external REFIN as determined by MX1 and
MX0 in the channel control register. A second external refer-
ence can be used if required by overdriving the V
DD
/2 reference
which appears at the COMP pin.
System Standby (SSTBY)
This bit allows all the DACs in the package to be put into low
power mode simultaneously but the reference is not affected.
Writing a one to the SSTBY bit in the system control register
puts all DACs into standby mode. On writing a one to this bit
all linear circuitry is switched off and the DAC outputs are con-
nected through a high impedance to ground. The DACs come
out of standby mode when a 0 is written to the SSTBY bit.
System Clear Function (SCLR )
This function allows the user to clear the contents of all data
and DAC registers in software. Writing a one to the SCLR bit
in the control register clears the DAC’s outputs. A zero in this
bit position puts the DAC in normal operating mode. The out-
put of the Main DACs are cleared to one of two voltages de-
pending on the input coding used. If twos complement coding
is selected, then issuing a software clear will reset the output of
the Main DAC to midscale (V
BIAS
). If offset binary coding is se-
lected, the Main DAC output will be reset to V
BIAS
/16 following
the execution of a software clear. This system clear function
does not affect the Sub DAC; the Sub DAC data register retains
its value during a system software clear (SCLR).
AD7804/AD7808 CHANNEL CONTROL REGISTER (MD1 = 0,
MD0 = 1)
This register allows the user to have control over individual
DACs in the package. The control bits in this register include
the address bits for the selected DAC, standby (STBY), indi-
vidual DAC clear (CLR) and multiplexer output selection
(MX1 and MX0). The function of these bits follows.
DAC Selection (A2, A1, A0)
Bits A2, A1 and A0 in the input registers are used to address a
specific DAC. Table IIa shows the selection table for the DACs
of the AD7804. Table IIb shows the selection table for the
DACs of the AD7808.
Table IIa. DAC Selection Table for the AD7804
A2 A1 A0 Function
X 0 0 DAC A Selected
X 0 1 DAC B Selected
X 1 0 DAC C Selected
X 1 1 DAC D Selected
Table IIb. DAC Selection Table for the AD7808
A2 A1 A0 Function
0 0 0 DAC A Selected
0 0 1 DAC B Selected
0 1 0 DAC C Selected
0 1 1 DAC D Selected
1 0 0 DAC E Selected
1 0 1 DAC F Selected
1 1 0 DAC G Selected
1 1 1 DAC H Selected
Standby (STBY)
This bit allows the selected DAC in the package to be put into
low power mode. Writing a zero to the STBY bit in the channel
control register puts the selected DAC into standby mode. On
writing a zero to this bit all linear circuitry is switched off and
the DAC output is connected through a high impedance to
ground. The DAC is returned to normal operation by writing a
one to the STBY bit.
Software Clear Function ( CLR)
This function allows the user to clear the contents of the se-
lected DAC’s data in software. Writing a one to the CLR bit in
the control register clears the DAC’s output. A zero in the CLR
bit position puts the DAC in normal operating mode. This soft-
ware CLR operation clears only the Main DAC, the contents of
the Sub DAC is unaffected by a CLR operation. The output of
the Main DAC can be cleared to one of two places depending
on the input coding used. An LDAC pulse is required to acti-
vate the channel clear function and must be applied after the bit
in the channel control register is set or reset. If twos comple-
ment coding is selected, then issuing a software clear will reset
the output of the Main DAC to midscale (V
BIAS
). If offset binary
coding is selected, the Main DAC output will be reset to V
BIAS
/16
following the execution of a software clear.
Multiplexer Selection (MX1, MX0)
These two bits are used to select the reference input for the se-
lected DAC. Table III shows the options available.
Table III. Multiplexer Output Selection
MX1 MX0 V
BIAS
00V
DD
/2
0 1 INTERNAL V
REF
1 0 REFIN
1 1 Undetermined
AD7804/AD7808 SUB DAC DATA REGISTER
Figure 7 shows the loading sequence for writing to the data reg-
isters of the DACs. DB15 determines whether writing is to the
Main or Sub DAC’s data register. A one in this position selects
the addressed Sub DAC’s data register. The Sub DAC is 8 bits
wide and thus DB1 and DB0 of the 16-bit input word are don’t
cares when writing to the Sub DAC. This Sub DAC allows the
complete transfer function of each individual DAC to be offset
around the V
BIAS
point. This is achieved by either adding or
subtracting to the output of the Main DAC. This Sub DAC has
a span of
±V
BIAS
/32 with 1/8-bit resolution. The coding scheme
for the Sub DAC is the same as that for the Main DAC. With
offset binary coding the transfer function for the Sub DAC is
VBIAS
16 ×(NB 128)
256
where NB is the digital code written to the Sub DAC and varies
from 0 to 255.
With twos complement coding the transfer function for the Sub
DAC is
V
BIAS
16 ×NB
256
()
where NB is the digital code written to the Sub DAC and varies
from –128 to 127. V
BIAS
can be either the internal bandgap ref-
erence, the internal V
DD
/2 reference or the external REFIN as
AD7804/AD7805/AD7808/AD7809
REV. 0
–12–
determined by MX1 and MX0 in the channel control register as
shown in Table III. The internal V
DD
/2 reference is provided at
the COMP pin. This internal reference can be overdriven with
an external reference thus providing the facility for two external
references.
AD7804/AD7808 POWER-UP CONDITIONS
When power is applied to the device, the device will come up in
standby mode where all the linear circuitry excluding the refer-
ence are switched off. Figure 8 shows the relevant default val-
ues for the system control register. Since a write to the system
control register is required to remove the standby condition the
only bits for which default conditions are applicable are PD and
SSTBY. Figure 9 details the relevant default conditions for the
Channel Control Register.
PD SSTBY
11
Figure 8. Default Conditions for System Control Register
on Power-Up
STBY CLR MX1 MX0
1 1 0 0
Figure 9. Default Conditions for Channel Control Register
on Power-Up
After power has been applied to the device the following proce-
dure should be followed to communicate and set up the device.
First a write to the system control register is required to clear
the SSTBY bit and change the input coding scheme if required.
For example to remove standby and set up offset binary input
coding 0060Hex should be written to the input register, if twos
complement coding is required 0020Hex should be written to
the input register. MD1 and MD0 are decoded in the input reg-
ister and this allows the data to be written to the system control
register.
Step two requires writing to the channel control register which
allows individual control over each DAC in the package and al-
lows the V
BIAS
for the DAC to be selected as well as individual
DAC standby and clear functions. For example if channel A is
to be configured for normal operation with internal reference se-
lected then 4110Hex should be written to the input register. In
the input register, the MD1 and MD0 bits are decoded in asso-
ciation with the address bits to give access to the required chan-
nel control register. The third and final step is to write data to
the selected DAC. To write half scale to channel A Main DAC,
2200Hex should be written to the input register, the MSB in the
sixteen bit stream selects the Main DAC and the next three bits
address the DAC and the final 10 bits contain the data. To
write half scale to channel A Sub DAC then A200 should be
written to the input register. The flowchart in Figure 10 shows
in graphical form the steps required in communicating with the
AD7804/AD7808.
POWER-UP
WRITE TO SYSTEM
CONTROL REGISTER
WRITE TO CHANNEL
CONTROL REGISTER
ALL CHANNELS
CONFIGURED
WRITE TO SELECTED
MAIN OR SUB DAC
DATA REGISTERS
DATA LOADING
COMPLETE
CHANGE
CHANNEL
CONFIGURATION
CHANGE SYSTEM
CONFIGURATION
SYSTEM
CONFIGURATION
CHANNEL
CONFIGURATION
DATA WRITE
END
N
N
N
N
Y
Y
Y
Y
Figure 10. Flowchart for Controlling the DAC Following
Power-Up
AD7805/AD7809 INTERFACE SECTION
The AD7805 and AD7809 are parallel data input devices and
contain both control registers and data registers. The system
control register has global control over all DACs in the package
while the channel control register allows control over individual
DACs in the package. Two data registers are also available, one
for the 10-bit Main DAC and the second is for the 8-bit Sub
DAC. In the parallel mode, CS and WR in association with the
address pins control the loading of data. Data is transferred
from the data register to the DAC register under the control of
the LDAC signal. Only data contained in the DAC register de-
termines the analog output of any DAC. The timing diagram for
10-bit parallel loading is shown in Figure 2. The MODE pin on
the device determines whether writing is to the data registers or
to the control registers. When MODE is at a logic one, writing
is to the data registers. In the next write to the data registers a
bit in the channel control register determines whether the Main
DAC or the Sub DAC is addressed. This means that to address
either the Main or the Sub DAC the Main/Sub bit in the control
register has to be set appropriately before the data register write.
A logic zero on the mode pin enables writing to the control reg-
ister. Bit MD0 determines whether writing is to the system con-
trol register or to the addressed channel control register.
Bringing the CLR line low resets the DAC registers to one of
two known conditions depending on the coding scheme se-
lected. The hardware clear affects both the Main and Sub
DAC registers. With offset binary coding a clear sets the output
AD7804/AD7805/AD7808/AD7809
–13–
REV. 0
DB9 DB0
DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 X X
X = DON’T CARE
Figure 14. AD7805/AD7809 Main DAC Data Register (Top)
and Sub DAC Data Register (Bottom) Configuration
(MODE = 1,
10
/8 = 0)
Figure 15 shows the bit allocations when 8-bit parallel operation
is selected in the system control register. DB9 to DB2 are re-
tained as data bits. DB1 acts as a high byte or low byte enable.
When DB1 is low, the eight MSBs of the data word are loaded
to the input register. When DB1 is high, the low byte consisting
of the two LSBs are loaded to the input register. DB0 is used to
select either the Main or Sub DAC when in the byte mode.
DB9 DB2 DB1 DB0
DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 0 MAIN/SUB
X X X X X X DB1 DB0 1 MAIN/SUB
X = DON’T CARE
Figure 15. AD7805/AD7809 Main DAC Data Register Con-
figuration (MODE = 1,
10
/8 = 1,
MAIN
/SUB = 0)
Figure 16 shows the bit allocations for writing to the Sub DAC.
DB9 DB2 DB1 DB0
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 X MAIN/SUB
X = DON’T CARE
Figure 16. AD7805/AD7809 Sub DAC Data Register Con-
figuration (MODE = 1,
MAIN
/SUB = 1)
Each DAC has a separate channel control register. The follow-
ing is a brief discussion on the bits in each of the control registers.
DAC Selection (A2, A1, A0)
The external address pins in conjunction with CS, WR, and
MODE are used to address the various DAC data and control
registers. Table IVa shows how these DAC registers can be ad-
dressed on the AD7805. Table IVb shows how these registers
are addressed on the AD7809. Refer to Figures 12 to 16 for infor-
mation on the registers.
Table IVa. AD7805 DAC Data/Control Register
Selection Table
MODE A1 A0 Function Selected
0 0 0 DAC A Control Registers
0 0 1 DAC B Control Registers
0 1 0 DAC C Control Registers
0 1 1 DAC D Control Registers
1 0 0 DAC A Data Registers
1 0 1 DAC B Data Registers
1 1 0 DAC C Data Registers
1 1 1 DAC D Data Registers
of the Main DAC to the bottom of the transfer function, V
BIAS
/16.
With twos complement coding the output of the DAC is cleared
to midscale which is V
BIAS
. A hardware clear always clears the
output of the Sub DAC to midscale thus the output of the Sub
DAC makes zero contribution to the output of the channel.
DATA REGISTER
8
V
BIAS
INTERNAL V
REF
V
DD
/2
REFIN
V
OUT
CS
WR
LDAC
TO ALL
CHANNELS
SINGLE
CHANNEL DAC REGISTER
8
8-BIT DAC
(SUB DAC)
DATA REGISTER
10
DAC REGISTER
10
10-BIT DAC
(MAIN DAC)
CHANNEL
CONTROL
REGISTER
MUX
SYSTEM
CONTROL
REGISTER
INPUT REGISTER
DECODER
CONTROL
LOGIC
D9 D2 D1 D0MODE ADDR
Figure 11. AD7805/AD7809 Internal Registers
AD7805/AD7809 CONTROL REGISTERS
Access to the control registers of the AD7805/AD7809 is
achieved by taking the mode pin to a logic low. The control reg-
ister of these DACs are configured as in Figures 12 and 13.
There are two control registers associated with the part. System
control register which looks after the input coding, data format,
power down, system clear and system standby. The channel
control register contains bits that affect the operation of the se-
lected DAC. The external address bits are used to select the
DACs. These registers are 8 bits wide and the last two bits are
control bits. The mode pin must be low to have access to the
control registers.
DB9 DB2 DB1 DB0
XX
10/8 BIN/COMP PD SSTBY SCLR 0 X MD0 = 0
X = DON’T CARE
Figure 12. AD7805/AD7809 System Control Register Con-
figuration, (MODE = 0)
DB9 DB2 DB1 DB0
MX1 MX0 MAIN/SUB X X STBY CLR 0 X MD0 = 1
X = DON’T CARE
Figure 13. AD7805/AD7809 Channel Control Register Con-
figuration (MODE = 0)
The external mode pin must be taken high to allow data to be
written to the DAC data registers. Figure 14 shows the bit allo-
cations when 10-bit parallel operation is selected in the system
control register.
AD7804/AD7805/AD7808/AD7809
REV. 0
–14–
Table IVb. AD7809 DAC Data/Control Register
Selection Table
MODE A2 A1 A0 Function Selected
0 0 0 0 DAC A Control Register
0 0 0 1 DAC B Control Register
0 0 1 0 DAC C Control Register
0 0 1 1 DAC D Control Register
0 1 0 0 DAC E Control Register
0 1 0 1 DAC F Control Register
0 1 1 0 DAC G Control Register
0 1 1 1 DAC H Control Register
1 0 0 0 DAC A Data Register
1 0 0 1 DAC B Data Register
1 0 1 0 DAC C Data Register
1 0 1 1 DAC D Data Register
1 1 0 0 DAC E Data Register
1 1 0 1 DAC F Data Register
1 1 1 0 DAC G Data Register
1 1 1 1 DAC H Data Register
AD7805/AD7809 SYSTEM OR CHANNEL CONTROL
REGISTER SELECTION
MD0
0 This enables writing to the system control register.
The contents of this are shown in Figure 12. Mode
must be low to access this control register.
1 This enables writing to the channel control register.
The contents of this are shown in Figure 13. Mode
must also be low to access this control register.
AD7805/AD7809 SYSTEM CONTROL REGISTER
The bits in this register allow control over all DACs in the pack-
age. The control bits include data format (10/8), power down
(PD), DAC input coding select (BIN/COMP), system standby
(SSTBY) and a system clear (SCLR). The function of these bits
is as follows:
Data Format
10/8
0 10 Bit parallel loading structure.
1 Byte loading structure. (8+2 loading).
Input Coding
BIN/COMP
0 Twos complement coding.
1 Offset Binary Coding.
Power Down
PD
0 Complete power down of device.
1 Normal operation (default on power-up).
System Standby
SSTBY
0 Normal operation.
1 All DACs in the package put in standby mode (default
on power-up).
System Clear
SCLR
0 Normal operation.
1 All DACs in the package are cleared to a known state de-
pending on the coding scheme selected. The SCLR bit
clears the Main DACs only; the Sub DACs are unaf-
fected by the system clear function. The main DAC is
cleared to different levels depending on the coding
scheme. With offset binary coding the Main DAC output
is cleared to the bottom of the transfer function V
BIAS
/16.
With twos complement coding the Main DAC output is
cleared to midscale V
BIAS
. The channel output will be the
sum of the Main DAC and Sub DAC contributions.
AD7805/AD7809 CHANNEL CONTROL REGISTER
This register allows the user to have control over individual
DACs in the package. The control bits in this register include
multiplexer output selection (MX1 and MX0), Main or Sub
DAC selection (MAIN/SUB), standby (STBY) and individual
DAC clear (CLR). The function of these bits is as follows.
Multiplexer Selection (MX1, MX0)
Table V shows the V
BIAS
selection using MX1 and MX0 bits in
the channel control register.
Table V. V
BIAS
Selection Table
MX1 MX0 V
BIAS
00V
DD
/2 (Default on Power-Up)
0 1 INTERNAL VREF
1 0 REFIN
1 1 Undetermined
Main DAC or Sub DAC Selection
MAIN/SUB
0 Writing a 0 to this bit means that the data in the next
data register write is transferred to the selected Main
DAC.
1 Writing a 1 to this bit means that the data in the next
data register write is transferred to the selected Sub DAC.
This applies to the 10-bit parallel load feature. In byte
load mode, (Figure 15) DB0 selects the Main or Sub
DAC data registers.
Standby
STBY
0 Places the selected DAC and its associated linear cir-
cuitry in Standby Mode.
1 Normal operation (default on power-up).
Clear
CLR
0 Normal operation.
1 Clears the output of the selected Main DAC to one
of two conditions depending on the input coding se-
lected. With offset binary coding the Main DAC out-
put is cleared to the bottom of the transfer function,
V
BIAS
/16 and with twos complement coding the Main
DAC output is cleared to midscale V
BIAS
. The Sub
DAC is unaffected by a clear operation. An LDAC sig-
nal has to be applied to the DAC for a channel clear to
be implemented.
AD7804/AD7805/AD7808/AD7809
–15–
REV. 0
POWER-UP CONDITIONS ( POWER-ON RESET )
When power is applied to the AD7805/AD7809 the device pow-
ers up in a known condition. The device powers up in system
standby (SSTBY) mode where all DACs in the package are in
low power mode, the reference is active and the outputs of the
DACs are connected internally through a high impedance to
ground. Figure 17 show the default conditions for the system
control register. Since a write to the system control register is re-
quired to remove the standby condition, relevant default condi-
tions are only applicable for PD and SSTBY in the system
control register. The following are the bits in the channel con-
trol register for which default conditions are applicable, STBY,
CLR, MX1 and MX0. Figure 18 shows the default conditions
for the channel control register.
PD SSTBY
11
Figure 17. Default Conditions for the AD7805/AD7809
System Control Register on Power-Up
STBY CLR MX1 MX0
110 0
Figure 18. Default Conditions for the AD7805/AD7809
Channel Control Register on Power-Up
The flowchart in Figure 19 shows the steps necessary to control
the AD7805/AD7809 following power-on. This flowchart de-
tails the necessary steps when using the AD7805/AD7809 in its
10-bit parallel mode. The first step is to write to the system con-
trol register to clear the SSTBY bit and to configure the part for
10-bit parallel mode and select the required coding scheme. The
next step is to determine whether writing is to the Main or Sub
DAC. This is achieved by writing to the channel control regis-
ter. Other bits that need to be configured in the channel control
register are MX1 and MX0 which determine the source of the
V
BIAS
for the selected DAC and the channel STBY and channel
CLR bits need to be configured as desired. Once writing to the
channel control register is complete, data can now be written to
the selected Main or Sub DAC.
Parallel data can also be written to the device in 8+2 format to
allow interface to 8-bit processors. Eight-bit mode is invoked by
writing a one to the 10/8 bit in the system control register.
When in the 8-bit mode the two unused data bits (DB1 and
DB0) are used as hardware control bits and have the same tim-
ing characteristics as the address inputs. DB1 is a don’t care bit
when writing to both the system and channel control registers;
DB0 acts as the mode select bit and must be low to enable writ-
ing to the system control register and when high enables access
to the channel control register.
When in the 8-bit data write mode, DB1 acts as a low byte and
high byte enable, when low data is written to the 8 MSBs of the
DAC and when high data is written to the two LSBs. DB0 acts
as a bit to select writing to the Main or Sub DAC. When DB0 is
low, writing is to the Main DAC, and when high, writing is to
the Sub DAC data register. In the 8+2 mode the channel con-
trol register does not have to be accessed to switch between
writing to the Main and Sub DACs as in the 10-bit parallel
WRITE TO SYSTEM
CONTROL REGISTER
START
WRITE TO
MAIN DAC
WRITE TO
SUB DAC
RECONFIGURE
SYSTEM
END
WRITE TO CHANNEL
CONTROL REGISTER
WRITE TO MAIN DAC
DATA REGISTER
WRITING
COMPLETE
Y
N
N
N
WRITE TO CHANNEL
CONTROL REGISTER
WRITE TO SUB DAC
DATA REGISTER
WRITING
COMPLETE
N
Y
Y
Y
Y
Figure 19. Flowchart for Controlling the AD7805/AD7809
DACs in 10-Bit Parallel Mode Following Power-Up
mode as the selection can be made using the hardware bit DB0 and
this will reduce the software overheads when accessing the DACs.
CLEAR FUNCTIONS
There are three methods of clearing the output of the Main
DAC in these devices. The first is the external hardware clear.
An active low logic signal applied to this pin clears all the DACs
in the package. The voltage to which the output is cleared will
depend on the input coding selected. The Main DAC outputs
are cleared to midscale (V
BIAS
) in twos complement format and
to the bottom of the transfer function (V
BIAS
/16) in offset binary
format. The second way of clearing the main DACs is a software
clear by asserting the SCLR bit in the system control register of
the part. Writing a one to this bit clears all DACs in the pack-
age. The third method of clearing a DAC is to write a one to the
CLR bit in the channel control register. This differs from that of
the system control register in that only the selected DACs out-
put is cleared. The channel clear requires an LDAC pulse to
activate it.
There is only one way of clearing the output of the Sub DAC
and that is to use the external hardware clear. The output of the
Sub DAC is cleared to midscale (0 V) regardless of the input
coding being used. Figure 20 shows a simplified diagram of the
implementation of the clear functions for a single DAC in the
package.
A2
A1
A0
EXT CLR
SYSTEM CLR
CHANNEL
CLR
CLR
MAIN DAC
ALL OTHER CIRCUITRY OMITTED FOR CLARITY
LDAC
ADDR
DECODER
CLR
SUB DAC
Figure 20.
CLR
Functions for MAIN and SUB DACs
AD7804/AD7805/AD7808/AD7809
REV. 0
–16–
POWER-DOWN AND STANDBY FUNCTIONS
There are two distinct low power modes on the device, power-
down mode and standby mode. When in power-down mode all
circuitry including the reference are put into low power mode
and power dissipation from the package is at its minimum.
A2
A1
A0
SYSTEM PD
SYSTEM STBY
STANDBY
MAIN & SUB
DAC
ONLY ONE DAC SHOWN FOR CLARITY
ADDR
DECODER
STANDBY
INT
REFERENCE
CHANNEL STBY
Figure 21. Implementation of Power-Down and Standby
Functions
The standby functions allow either the selected DAC or all DACs
in the package to be put into low power mode. The reference is
not switched off when any of the standby functions are invoked.
The PD bit in the system control register is used to shut down
the complete device. With a 0 in this position the reference and all
DACs are put into low power mode. Writing a 1 to this bit puts the
part in the normal operating mode. When in power-down mode
the contents of all registers are retained and are valid when the de-
vice is taken out of power down. The SSTBY bit which resides
in the system control register can be used to put all DACs and
their associated linear circuitry into standby mode, the SSTBY
function does not power down the reference. The STBY bit in
the channel control register can be used to put a selected DAC
and its associated linear circuitry into standby mode. Figure 18
shows a simplified diagram of how the power-down and standby
functions are implemented for a single DAC in the package.
LDAC FUNCTION
LDAC input is a logic input that allows all DAC registers to be
simultaneously updated with the contents of the DAC data reg-
isters. LDAC input has two operating modes, a synchronous mode
and an asynchronous mode. The LDAC input condition is sam-
pled on the sixteenth falling edge on the AD7804/AD7808 and is
sampled on the rising edge of write on the AD7805/AD7809. If
LDAC is low on the sixteenth falling clock edge or on the rising
edge of WR, an automatic or synchronous update will take
place. LDAC input can be tied permanently low or have timing
similar to that of the data inputs to operate in the synchronous
mode.
If LDAC is high during the sample period, the AD7804/
AD7805/AD7808/AD7809 assumes an asynchronous update.
When in the asynchronous mode, an LDAC setup time has to
be allowed following the sixteenth falling clock edge or the rising
edge of WR before the LDAC can be activated.
ANALOG OUTPUTS
The AD7804 and AD7805 DACs contain four independent
voltage output Main DACs with 10-bit resolution. The AD7808
and AD7809 contain eight independent voltage output main
DACs with 10-bit resolution. Each Main DAC has an associ-
ated Sub DAC with 8-bit resolution which can be used to offset
the complete transfer function of the Main DAC around the
V
BIAS
point. These DACs produce an output voltage in the form
of V
BIAS
±V
SWING
where V
SWING
is 15/16 of V
BIAS
.
The digital input code to these DACs can be in twos comple-
ment or offset binary form. All DACs will be configured with
the same input coding scheme which is programmed through
the system control register. The default condition on power-up
is for offset binary coding.
TWOS COMPLEMENT CODING
Table VI shows the 2s complement transfer function for the
Main DAC.
Table VI. 2s Complement Code Table for Main DAC
Digital Input Analog Output
MSB
...
LSB
0111111111 V
BIAS
(1+1.875 × 511/1024)
0111111110 V
BIAS
(1+1.875 × 510/1024)
0000000001 V
BIAS
(1+1.875 × 1/1024)
0000000000 V
BIAS
1111111111 V
BIAS
(1–1.875 × 1/1024)
1000000001 V
BIAS
(1–1.875 × 511/1024)
1000000000 V
BIAS
(1–1.875 × 512/1024)
Figure 22 shows the Main DAC transfer function for twos
complement coding. Any Main DAC output voltage can be
expressed as:
V
OUT
' = V
BIAS
+ 1.875 × V
BIAS
× NA/1024
where NA is the decimal equivalent of the twos complement in-
put code. NA ranges from –512 to +511.
V
BIAS
DAC OUTPUT VOLTAGE
200 201DAC INPUT CODE 3FF 000 001 1FE 1FF
V
BIAS
16
31
16
V
BIAS
Figure 22. Main DAC Output Voltage vs. DAC Input Codes
(HEX) for Twos Complement Coding
AD7804/AD7805/AD7808/AD7809
–17–
REV. 0
Table VII shows the 2s complement transfer function for the
Sub DAC. Figure 23 shows the Sub DAC transfer function for
twos complement coding. Any Sub DAC output voltage can be
expressed as: V
OUT
" = V
BIAS
/16 × (NB/256)
where NB is the decimal equivalent of the twos complement
input code. NB ranges from –128 to +127.
Table VII. 2s Complement Code Table for Sub DAC
Digital Input Analog Input
MSB . . . LSB
01111111 (V
BIAS
/16) × (127/256)
01111111 (V
BIAS
/16) × (126/256)
00000001 (V
BIAS
/16) × (1/256)
00000000 0
11111111 (–V
BIAS
/16) × (1/256)
10000001 (–V
BIAS
/16) × (127/256)
10000000 (–V
BIAS
/16) × (128/256)
0
DAC OUTPUT VOLTAGE
80 81DAC INPUT CODE FF 00 01 7E 7F
127 3
V
BIAS
256 16
128 3
V
BIAS
256 16
Figure 23. Sub DAC Output Voltage vs. DAC Input Codes
(HEX) for Twos Complement Coding
The total output for a single channel when using twos comple-
ment coding is the sum of the voltage from the Main DAC and
the Sub DAC.
V
OUT
= V
OUT
' + V
OUT
"
= V
BIAS
+ 1.875 × V
BIAS
× (NA/1024 + V
BIAS
/16 × (NB/256))
= V
BIAS
× (1 + 1.875 × NA/1024 + NB/4096)
where NA ranges from –512 to +511 and NB ranges from –128 to
+127. Figure 28 shows a pictorial view of the transfer function for
any DAC.
Configuring the AD7805/AD7809 for Twos Complement Coding
Figure 24 shows a typical configuration for the AD7805/AD7809.
The circuit can be used for either 3.3 V or 5 V operation and uses
the internal V
DD
/2 as the reference for the part and 10-bit paral-
lel interfacing is used. The following are the steps required to
operate the Main DACs in this part.
+3.3V/+5V
0.01µF
AD7805/
AD7809
AV
DD
DV
DD
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
AGNDDGND
LDAC
CLR
COMP
MODE
D9
D0
CS
WR
DV
DD
REFIN
REFOUT
0.1µF 0.1µF
10µF
A1
A0
DIGITAL INTERFACE
0.01µF
A2*
*USED ON THE AD7809 ONLY
Figure 24. Typical Configuration for AD7805/AD7809
System Control Register Write:
MODE = 0, address inputs (A2, A1, A0) are don’t cares.
Write 020 Hex Configure part for 10-bit parallel, twos
complement coding, normal operation
Channel Control Register Write:
MODE = 0, address inputs (A2, A1, A0) select desired channel.
Write 011 Hex Internal V
DD
/2 selected as V
BIAS
for
DAC, and any DAC data writes that fol-
low are to the Main DAC.
DAC Data Register Write:
MODE = 1, address inputs (A2, A1, A0) select desired channel.
Write XXX Hex With MODE = 1 all data writes are to
the selected DAC. XXX is the required
data. 200 Hex will give zero scale and 1FF
Hex will give full scale from the DAC.
AD7804/AD7805/AD7808/AD7809
REV. 0
–18–
OFFSET BINARY CODING
Table VIII shows the offset binary transfer function for the Main
DAC.
Table VIII. Offset Binary Code Table for Main DAC
Digital Inputs Analog Output
MSB . . . LSB
1111111111 V
BIAS
+1.875 × V
BIAS
(1023–512)/1024
1111111110 V
BIAS
+1.875 × V
BIAS
(1022–512)/1024
1000000001 V
BIAS
+1.875 × V
BIAS
/1024
1000000000 V
BIAS
0111111111 V
BIAS
+1.875 × V
BIAS
(511–512)/1024
0000000001 V
BIAS
+1.875 × V
BIAS
(1–512)/1024
0000000000 V
BIAS
/16
NOTE: The span range is (30/16) × V
BIAS
= 1.875 × V
BIAS
V
BIAS
DAC OUTPUT VOLTAGE
000 001DAC INPUT CODE 1FF 200 201 3FE 3FF
V
BIAS
16
31
16
3
V
BIAS
Figure 25. Main DAC Output Voltage vs. DAC Input Codes
(HEX) for Offset Binary Coding
Figure 25 shows the Main DAC transfer function when offset
binary coding is used. With offset binary coding selected the
output voltage can be calculated as follows:
V
OUT
' = V
BIAS
+ 1.875 × V
BIAS
× ((NA-512)/1024)
where NA is the decimal equivalent of the offset binary input
code. NA ranges from 0 to 1023.
Table IX shows the offset binary transfer function for the Sub
DAC. Figure 26 shows the Sub DAC transfer function for
offset binary coding. Any Sub DAC output voltage can be
expressed as:
V
OUT
" = V
BIAS
/16 × [(NB-128)/256]
where NB is the decimal equivalent of the offset binary input
code. NB ranges from 0 to 255.
Table VI and Figure 22 show the analog outputs available for
the above configuration. The following is the procedure re-
quired if the complete transfer function needs to be offset
around the V
BIAS
point. Table VII and Figure 23 show the ana-
log output variations available from the Sub DAC.
System Control Register Write:
MODE = 0, address inputs (A2, A1, A0) are don’t cares.
Write 020 Hex Configure part for 10-bit parallel, twos
complement coding, normal operation
Channel Control Register Write:
MODE = 0, address inputs (A2, A1, A0) select desired channel.
Write 091 Hex Internal V
DD
/2 selected as V
BIAS
for
DAC, and any DAC data writes that fol-
low are to the Sub DAC.
DAC Data Register Write:
MODE = 1, address inputs (A2, A1, A0) select desired channel.
Write XX Hex With MODE = 1 all data writes are to
the selected DACs Sub DAC. XX is the
required data. 7F Hex will give zero scale
and 80 Hex will give full scale from the
Sub DAC.
Channel Control Register Write:
MODE = 0, address inputs (A2, A1, A0) select desired channel.
Write 011 Hex Internal V
DD
/2 selected as V
BIAS
for
DAC, and any DAC data writes that fol-
low are to the Main DAC.
DAC Data Register Write:
MODE = 1, address inputs (A2, A1, A0) select desired channel.
Write XXX Hex With MODE = 1 all data writes are to
the selected Main DAC. XXX is the re-
quired data. 1FF Hex will give zero scale
and 200 Hex will give full scale from the
DAC.
AD7804/AD7805/AD7808/AD7809
–19–
REV. 0
Table IX. Offset Binary Code Table for Sub DAC
Digital Input Analog Output
MSB . . . LSB
11111111 V
BIAS
/16 × 127/256
11111110 V
BIAS
/16 × 126/256
10000001 V
BIAS
/16 × 1/256
10000000 0
01111111 –V
BIAS
/16 × 1/256
00000001 –V
BIAS
/16 × 127/256
00000000 –V
BIAS
/32
0
DAC OUTPUT VOLTAGE
00 01DAC INPUT CODE 7F 80 81 FE FF
127 3
V
BIAS
128 32
V
BIAS
32
Figure 26. Sub DAC Output Voltage vs. DAC Input Codes
(HEX) for Offset Binary Coding
Configuring the AD7804/AD7808 for Offset Binary Coding
Figure 27 shows a typical configuration for the AD7804/AD7808.
This circuit can be used for both 3.3 V or 5 V operation and
uses an external AD589 as the reference for the part and serial
interfacing with offset binary coding is used. The MX1 and
MX0 bits in the system control register have to be set to enable
selection of the AD589 as the reference. The following are the
steps required to operate the DACs in this part. Figures 4 to 7
show the contents of the registers on the AD7804/AD7808.
+3.3V/+5V
0.01µF
AD7804/
AD7808
AV
DD
DV
DD
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
AGNDDGND
LDAC
CLR
COMP
FSIN
SDIN
CLKIN
DV
DD
REFIN
REFOUT
0.1µF 0.1µF
10µF
SERIAL INTERFACE
0.01µF
AD589
6.8k
Figure 27. Typical Configuration for AD7804/AD7808
Using an AD589 1.23 V Reference for the AD7804/AD7808
System Control Register Serial Write:
Write 0060 Hex Mode bits select system control register
and configure system for offset binary cod-
ing and normal operation.
Channel Control Register Serial Write:
Write 4210 Hex Mode bits select channel control register,
channel A is configured for operation with
external reference.
Main DAC Data Register Serial Write:
Write 23FF Hex This 16-bit write selects writing to channel
A and writes full scale to the Main DAC.
Sub DAC Data Register Serial Write:
Write A3FF Hex This 16-bit write selects writing to channel
A Sub DAC and writes full scale to the
Sub DAC.
Table VIII and Figure 25 show the analog outputs available for
the above configuration when writing to the Main DAC only
while Table IX and Figure 26 show the contributions from the
Sub DAC to the overall transfer function. The total output for a
single channel when using offset binary coding is the sum of that
from the Main DAC and the Sub DAC.
V
OUT
= V
OUT
' + V
OUT
"
= V
BIAS
+ 1.875 × V
BIAS
× ((NA-512)/1024) + V
BIAS
/16
= × [(NB-128)/256]
= V
BIAS
× (1 + 1.875 × ((NA-512)/1024) + (NB-128)/
4096)
where NA ranges from 0 to +1023 and NB ranges from 0 to
+255. Figure 28 shows a pictorial view of the transfer function
for any DAC channel.
AD7804/AD7805/AD7808/AD7809
REV. 0
–20–
V
BIAS
232
MAIN DAC RANGE
SUB DAC RANGE
CHANNEL RANGE MIN CODE LOADED TO SUB DAC
CHANNEL RANGE CENTRE CODE LOADED TO SUB DAC
CHANNEL RANGE MAX CODE LOADED TO SUB DAC
V
BIAS
3232
V
BIAS
6232
V
BIAS
132
V
BIAS
332
V
BIAS
3132
V
BIAS
3332
V
BIAS
6132
V
BIAS
6332
Figure 28. Pictorial View of Transfer Function for Any DAC Channel
Grounding and Layout Techniques
To obtain optimum performance from the AD7804/AD7805/
AD7808/AD7809 care should be taken with the layout. Causes
for concern would be feedthrough from the interface bus onto
the analog circuitry particularly the reference pins and ground
loops. The board should be designed such that the analog and
digital sections are separated as much as possible. Ground plan-
ing and shielding should be used as much as possible. Digital
and analog ground planes should only be joined in one place to
avoid ground loops. The ideal place to join the ground planes is
at the analog and digital ground pins of the DAC. Alternatively
a star ground should be established on the board to which all
other grounds are returned. Good decoupling is important in
achieving optimum performance. All supplies, analog or digital,
should be decoupled with 10 µF tantalum and 0.1 µF ceramic
capacitors to their respective grounds, and should be as close as
possible to the pins of the device. The main aim of the bypass-
ing element is to maximize the charge stored in the bypass loop
while simultaneously minimizing the inductance of this loop. In-
ductance in the loop acts as an impedance to high frequency
transients and results in power supply spiking. By keeping the
decoupling as close as possible to the device, the loop area is kept
to a minimum thus reducing the possibility of power supply spikes.
On the AD7805 the REFOUT pin of the device is located next
to the DB9 of the data bus, to reduce the risk of digital
feedthrough and noise being coupled from the digital section
onto the reference, the REFOUT pin and any trace connected
to it should be shielded with analog ground. To reduce the noise
on this reference it should be decoupled with a 0.01 µF capaci-
tor to analog ground, keeping the capacitor as close as possible
to the device. The comp pin which is the output from the inter-
nal V
DD
/2 reference is located next to V
OUT
D on the DAC and
is sensitive to noise pickup and feedthrough from the DAC out-
put and thus should be shielded with analog ground to keep this
reference point as quiet as possible. The comp pin should be de-
coupled both to AV
DD
and AGND with 1–10 nF ceramic ca-
pacitors. The external REFIN pin should also be shielded with
analog ground from the digital pins located next to it.
The same precautions should be taken with the reference pins
on the AD7804/AD7808 to reduce the risk of noise pickup and
feedthrough.
Reference Settling Time
With the REFOUT on the AD7804/AD7805/AD7808/AD7809
decoupled with a 0.01 µF capacitor to AGND it takes the
REFOUT approximately 2 ms to fully settle after taking the de-
vice out of power down. When this capacitor is reduced to 1 nF
the settling time reduces to 150 µs. The size of the capacitor re-
quired on the REFOUT depends to a large extent on the layout,
if the REFOUT is well shielded with AGND the size of the ca-
pacitor can be reduced thus reducing the settling time for the
reference. The internal V
DD
/2 reference provided at the comp
pin when decoupled with a 1 nF capacitor to both AV
DD
and
AGND has very fast settling time, typically less than 500 ns.
CURRENT – mA
0.150000
0.075000
0.000000
–0.5 0.5–0.4
V
OUT
– V
–0.3 –0.2 –0.1 0.0 0.1 0.2 0.3 0.4
0.125000
0.100000
0.050000
0.025000
SINK CURRENT
SOURCE CURRENT
V
DD
= 5.5V
V
DD
= 3V
MAIN DAC = ZERO SCALE
SUB DAC = MID SCALE
V
BIAS
= V
DD
/2
T
A
= +25°C
Figure 29. Sink and Source Current with Zero Scale
Loaded to DAC. V
DD
= 5 V and V
DD
= 3 V
5.200000
5.140000
5.100000
–6.0 6.0
V
OUT
– V
–4.0 –2.0 0.0 2.0 4.0
5.180000
5.160000
5.120000
SINK CURRENT
SOURCE CURRENT
R
L
= INFINITY
R
L
= 2k
CURRENT – mA
V
DD
= 5.5V
MAIN DAC = FULL SCALE
SUB DAC = MID SCALE
V
BIAS
= V
DD
/2
T
A
= +25°C
Figure 30. Sink and Source Current at Full Scale with
V
DD
= 5 V
2.850000
2.790000
2.750000
–6.0 6.0
V
OUT
– V
–4.0 –2.0 0.0 2.0 4.0
2.830000
2.810000
2.770000
SINK CURRENT
SOURCE CURRENT
R
L
= INFINITY
R
L
= 2k
CURRENT – mA
V
DD
= 3V
MAIN DAC = FULL SCALE
SUB DAC = MID SCALE
V
BIAS
= V
DD
/2
T
A
= +25°C
Figure 31. Sink and Source Current at Full Scale with
V
DD
= 3 V
AV
DD
= DV
DD
= 5V
V
BIAS
= V
DD
/2
T
A
= +25°C
SUB DAC LOADED WITH
1/2 SCALE
2.0
1.0
0.0
–1.0
–2.00 100 200 300 400 500 600 700 800 900 1023
DAC CODE
INTEGRAL LINEARITY – LSBs
1.5
0.5
–0.5
–1.5
Figure 32. Integral Linearity with 5 V Operation
2.0
1.0
0.0
–1.0
–2.00 100 200 300 400 500 600 700 800 900 1023
DAC CODE
INTEGRAL LINEARITY – LSBs
AVDD = DVDD = 3V
VBIAS = VDD/2
TA = +25°C
SUB DAC LOADED WITH
1/2 SCALE
1.5
0.5
–0.5
–1.5
Figure 33. Integral Linearity with 3 V Operation
1.225
1.2160 200
DAC OUTPUT
40 80 120 160
1.224
ns
V
DD
= 3V
R
L
= 2k ||100pF
CODE CHANGE
011111 1111 TO
100000 0000
T
A
= +25°C
1.223
1.222
1.221
1.220
1.219
1.218
1.217
18020 60 100 140
Figure 34. Digital-to-Analog Glitch Impulse
Typical Performance Characteristics–AD7804/AD7805/AD7808/AD7809
REV. 0 –21–
AD7804/AD7805/AD7808/AD7809
REV. 0
–22–
MICROPROCESSOR INTERFACING
AD7804/AD7808–ADSP-2101/ADSP-2103 Interface
Figure 35 shows a serial interface between the AD7804/AD7808
and the ADSP-2101/ADSP-2103. The ADSP-2101/ADSP-
2103 should be set up to operate in the SPORT Transmit Alter-
nate Framing Mode. The ADSP-2101/ADSP-2103 SPORT is
programmed through the SPORT control register and should be
configured as follows: Internal Clock Operation, Active Low
Framing, 16-bit Word Length. Transmission is initiated by writ-
ing a word to the TX register after the SPORT has been en-
abled. The data is clocked out on each rising edge of the serial
clock and clocked into the AD7804/AD7808 on the falling edge
of the SCLK.
+5V
LDAC
ADSP-2101/
ADSP-2103*
CLKIN
DT
*ADDITIONAL PINS OMITTED FOR CLARITY
FSIN
SDIN
SCLK
AD7804*/
AD7808
TFS
FO
CLR
Figure 35. ADSP-2101/ADSP-2103 Interface
AD7804/AD7808–68HC11/68L11 Interface
Figure 36 shows a serial interface between the AD7804/AD7808
and the 68HC11/68L11 microcontroller. SCK of the 68HC11/
68L11 drives the CLKIN of the AD7804/AD7808, while the
MOSI output drives the serial data line of the DAC. The FSIN
signal is derived from a port line (PC7). The setup conditions
for correct operation of this interface are as follows: the
68HC11/68L11 should be configured so that its CPOL bit is a 0
and its CPHA bit is a 1. When data is being transmitted to the
DAC the FSIN line is taken low (PC7). When the 68HC11/
68L11 is configured as above, data appearing on the MOSI out-
put is valid on the falling edge of SCK. Serial data from the
68HC11/68L11 is transmitted in 8-bit bytes with only eight fall-
ing clock edges occurring in the transmit cycle. Data is transmit-
ted MSB first. In order to load data to the AD7804/AD7808,
PC7 is left low after the first eight bits are transferred and a sec-
ond serial write operation is performed to the DAC and then
PC7 is taken high at the end of this procedure. In the diagram
shown LDAC and CLR are also controlled from the bit pro-
grammable lines of the 68HC11/68L11. The user can bring
LDAC low after every two bytes have been transmitted to up-
date that particular DAC which has been programmed or alter-
natively it is possible to wait until all the input registers have
been loaded before updating takes place.
LDAC
68HC11/68L11*
SDIN
SCK
*ADDITIONAL PINS OMITTED FOR CLARITY
FSIN
CLKIN
MOSI
AD7804*/
AD7808
PC7
PC6
PC5 CLR
Figure 36. AD7804/AD7808–68HC11/68L11 Interface
AD7804/AD7808–80C51/80L51 Interface
Figure 37 shows a serial interface between the AD7804/AD7808
and the 80C51/80L51 microcontroller. The setup for the inter-
face is as follows, TXD of the 80C51/80L51 drives CLKIN of
the AD7804/AD7808 while RXD drives the serial data line of
the part. The FSIN signal is again derived from a bit program-
mable pin on the port in this case port line P3.3 is used. When
data is to be transmitted to the part, P3.3 is taken low. Data on
RXD is valid on the falling edge of TXD. The 80C51/80L51
transmits data in eight bit bytes thus only eight falling clock
edges occur in the transmit cycle. To load data to the DAC,
P3.3 is left low after the first eight bits are transmitted and a
second write cycle is initiated to transmit the second byte of
data, P3.3 is taken high following the completion of this cycle.
The 80C51/80L51 outputs the serial data in a format which has
the LSB first. The AD7804/AD7808 requires its data with the
MSB as the first bit received. The 80C51/80L51 transmit rou-
tine should take this into account. In the diagram shown LDAC
and CLR are also controlled from the bit programmable lines of
the 80C51/80L51 port. The user can bring LDAC low after
every two bytes have been transmitted to update that particular
DAC which has been programmed or alternatively it is possible
to wait until all the input registers have been loaded before up-
dating takes place.
LDAC
80C51/80L51*
SDIN
TXD
*ADDITIONAL PINS OMITTED FOR CLARITY
FSIN
SCLK
RXD
AD7804*/
AD7808
P3.4
P3.5
P3.3
CLR
Figure 37. AD7804/AD7808–80C51/80L51 Interface
AD7804/AD7805/AD7808/AD7809
–23–
REV. 0
AD7805/AD7809–ADSP-2101 Interface
Figure 38 shows a parallel interface between the AD7805/AD7809
and the ADSP-2101/ADSP-2103 digital signal processor.
Fast interface timing allows the AD7805/AD7809 interface di-
rectly to the DSP. In this interface an external timer is used to
update the DACs.
DATA BUS
A0 A1
CS
LDAC
WR
DMD0
DMD15
ADSP-2101*/
ADSP-2103*
TIMER
MODE
ADDR
DECODE
ADDRESS BUS
DMA0
DMA14
DMS EN
WR
DB0
DB9
**ADDITIONAL PINS OMITTED FOR CLARITY
**AD2 CONTAINED ON THE AD7809 ONLY
AD7805*/
AD7809
A2**
Figure 38. AD7805/AD7809–ADSP-2101/ADSP-2103
Interface
Data is loaded to the AD7805/AD7809 input register using the
following instruction:
DM(DAC) = MR0,
MR0 = ADSP-2101 MR0 Register.
DAC = Decoded DAC Address.
AD7805/AD7809–TMS32020 Interface
Figure 39 shows a parallel interface between the AD7805/AD7809
and the TMS32020 processor.
ADDR
DECODE
DATA BUS
ADDRESS BUS
A0 A1
CS
DB0
DB9
LDAC
A0
A15
IS EN
D0
D15
TMS32020
WR
STRB
R/W
**ADDITIONAL PINS OMITTED FOR CLARITY
**AD2 CONTAINED ON THE AD7809 ONLY
AD7805*/
AD7809
A2**
Figure 39. AD7805/AD7809–TMS32020 Interface
Again fast interface timing allows the AD7805/AD7809 inter-
face directly to the processor. Data is loaded to the AD7805/
AD7809 input latch using the following instruction:
OUT DAC, D.
DAC = Decoded DAC Address.
D = Data Memory Address.
Certain applications may require that the updating of the DAC
latch be controlled by the microprocessor rather than the exter-
nal timer. One option as shown in the TMS32020 interface is to
decode the LDAC from the address bus so that a write opera-
tion to the DAC latch (at a separate address to the input latch)
updates the output.
AD7805/AD7809– 8051/8088 Interface
Figure 40 shows a parallel interface between the AD7805/
AD7809 and the 8051/8088 processors.
Figure 40. AD7805/AD7809–8051/8088 Interface
AD7804/AD7805/AD7808/AD7809
REV. 0
–24–
APPLICATIONS
Opto-Isolated Interface for Process Control Applications
The AD7804/AD7808 has a versatile serial three-wire serial in-
terface making it ideal for generating accurate voltages in pro-
cess control and industrial applications. Due to noise, safety
requirements, or distance, it may be necessary to isolate the
AD7804/AD7808 from the controller. This can easily be
achieved by using opto-isolators which will provide isolation in
excess of 3 kV. The serial loading structure of the AD7804/
AD7808 makes it ideally suited fo r use in opto-isolated appli-
cations. Figure 41 shows an opto-isolated interface to the
AD7804/AD7808 where SDIN, CLKIN and FSIN a re driven
from optocouplers. LDAC is hardwired low to reduce the number
of interface lines and this ensures that each DAC is updated follow-
ing the sixteenth serial clock of a write cycle.
AD7804/
AD7808
AV
DD
V
DD
1
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
AGNDDGND
LDAC
CLR
CLKIN
DV
DD
REFIN
0.1µF
10µF
REFOUT
+5V
REGULATOR
CLKIN
V
DD
10k
FSIN
FSIN
V
DD
10k
SDIN
DATA
V
DD
10k
POWER
1 TO 10nF
Figure 41. AD7804/AD7808 Opto-Isolated Interface
Decoding Multiple AD7808s
The FSIN pin on the AD7808s can be used in applications to
decode a number of DACs. In this application all DACs in the
system receive the same serial clock and serial data, but only the
FSIN to one of the DACs will be active at any one time allowing
access to eight channels in this thirty-two channel system. The
74HC139 is used as a 2- to 4-line decoder to address any of the
DACs in the system. To prevent timing errors from occurring
the enable input should be brought to its inactive state while the
coded address inputs are changing state. Figure 42 shows a sys-
tem decoding multiple AD7808s in a multichannel system.
ENABLE
74HC139
AD7808
FSIN
SDIN
CLKIN
AD7808
FSIN
SDIN
CLKIN
AD7808
FSIN
SDIN
CLKIN
AD7808
FSIN
SDIN
CLKIN
LDAC
LDAC
LDAC
LDAC
SDIN
CLKIN
DGND
CODED
ADDRESS
1G
1A
1B
1Y0
1Y1
1Y2
1Y3
V
CC
V
DD
Figure 42. Decoding Multiple AD7808s Using the
FSIN
Pin
AD7805 As a Digitally Programmable Window Detector
A digitally programmable upper/lower limit detector using two
DACs in the AD7805 is shown in Figure 43. The upper and
lower limits for the test are loaded to DACs A and B that in
turn set the limits on the CMP04. If a signal at the V
IN
input is
not within the programmed window an LED will indicate the
fail condition. Only one limit detector is shown below but can
easily be adapted for a dual channel system by using the extra
DACs on the AD7805 and the two unused comparators on the
CMP04.
+5V
0.01µF
AD7805
AV
DD
DV
DD
V
OUT
A
V
OUT
B
V
OUT
C
V
OUT
D
AGNDDGND
LDAC
CLR
COMP
MODE
D9
D0
CS
WR
DV
DD
0.1µF 10µF
0.01µF
V
IN
PASS/
FAIL
1k
FAIL 1k
PASS
1/2 CMP-404
1/6 74HC05
Figure 43. Digitally Programmable Window Detector
AD7804/AD7805/AD7808/AD7809
–25–
REV. 0
Low Cost, Two-Channel Mixer Using AD7805, SSM2164 and
OP275
The SSM2164 is a quad voltage controlled amplifier (VCA)
with 120 dB of gain control range. Each VCA in the package is
a current in, current out device with a –33 mV/dB voltage con-
trol input port. Figure 44 shows a basic application circuit
which can be used to implement a low cost stereo, two channel
mixer. A 30 k resistor converts the input voltage to an input
current for the VCA. The 500 resistor and 560 pF capacitor
on the input are added to ensure stable operation of the
SSM2164. The I
OUT
pin of the SSM2164 should be maintained
at virtual ground and thus the OP275 is operated in its inverting
mode. Its wide bandwidth, high slew rate and low power make it
ideal for a current to voltage converter. A 30 k feedback resis-
tor is chosen to match the input resistor and thus give unity gain
for a zero volt control voltage input. The 100 pF capacitors re-
duce high frequency noise and can be increased to reduce the
low pass cutoff frequency for further noise reduction. The
AD7805 in the circuit is used to control the attenuation of the
VCA, this application circuit only gives attenuation. The voltage
output from the AD7805 provides a low impedance drive to the
SSM2164 so attenuation can be controlled accurately. With a
5 V V
DD
and a V
BIAS
of V
DD
/2 the AD7805 has an LSB size of
approximately 4.5 mV. Therefore, the attenuation can be con-
trolled with a resolution of 0.136 dB/bit and thus 750 codes are
required to provide the full 100 dB of attenuation.
Dual External Reference Input Capability
It is possible to operate the AD7804/AD7805/AD7808/AD7809
with two externally applied references. Figure 45 shows the con-
nections for the AD7804. Reference one, the AD589, is con-
nected to the REFIN pin of the part; the second reference, the
AD780, is used to overdrive the internal VDD/2 reference
which is provided at the COMP pin of the device. With the cir-
cuit shown in Figure 45 it is possible to configure two of the
channels for operation with the AD780 2.5 V reference and the
other two with the AD589 1.23 V reference. The channel con-
trol register allows the user to select the reference for the indi-
vidual channels.
DVDD
0.01µF
AD7804
AVDD
VOUTA
VOUTB
VOUTC
VOUTD
AGNDDGND
LDAC
CLR
COMP
FSIN
SDIN
CLKIN
DVDD
0.1µF
10µF
SERIAL
INTERFACE
REFOUT
REFIN
AD589
+5V
0.1µF
AD780
VIN
GND
VO6.8k
Figure 45. Two Externally Applied References
+5V
0.01µF AD7805
AVDD
DVDD
VOUTA
VOUTB
VOUTC
VOUTD
AGNDDGND
LDAC
CLR
COMP
MODE
D9
D0
CS
WR
DVDD
0.1µF 10µF
0.01µF
IN1
VC1
IN2
VC2
IN3
VC3
IN4
VC4
SSM2164
+15V
–15V
–V
500
560pF
30k 30k
500
560pF
VIN3V
IN4
500
560pF
30k 30k
500
560pF
VIN2V
IN1
+V
100pF
30k
+15V
–15V
VOUTB
100pF
30k
+15V
–15V
VOUTA
1/2 OP275
1/2 OP275
Figure 44. Low Cost, Two-Channel Mixer
AD7804/AD7805/AD7808/AD7809
REV. 0
–26–
PAGE INDEX
(AD7804/AD7808 SERIAL INTERFACE PART)
Topic Page No.
Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2, 3
Timing Information
Timing Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Ordering Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin Function Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Terminology
Relative Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Differential Nonlinearity . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Bias Offset Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Gain Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Zero-Scale Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Digital-to-Analog Glitch Impulse . . . . . . . . . . . . . . . . . . . . 9
Digital Feedthrough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Digital Crosstalk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Analog Crosstalk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Power Supply Rejection Ratio . . . . . . . . . . . . . . . . . . . . . . 9
Interface Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
System Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Channel Control Register . . . . . . . . . . . . . . . . . . . . . . . . . 11
SUB DAC Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Power-Up Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Clear Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Power-Down and Standby Functions . . . . . . . . . . . . . . . . . 16
LDAC Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Analog Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Transfer Functions
Pictorial View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Twos Complement (Main DAC) . . . . . . . . . . . . . . . . . . . 16
Twos Complement (Sub DAC) . . . . . . . . . . . . . . . . . . . . 17
Complete Channel Transfer Function . . . . . . . . . . . . . . . 17
Offset Binary (Main DAC) . . . . . . . . . . . . . . . . . . . . . . . . 18
Offset Binary (Sub DAC) . . . . . . . . . . . . . . . . . . . . . . . . . 19
Grounding and Layout Techniques . . . . . . . . . . . . . . . . . . . 20
Reference Settling Time . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Typical Performance Characteristics . . . . . . . . . . . . . . . . . . 21
Microprocessor Interfacing
ADSP-2101/ADSP-2103 . . . . . . . . . . . . . . . . . . . . . . . . . 22
68HC11/68L11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
80C51/80L51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Applications
Opto-Isolated Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Decoding Multiple ICs . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Mechanical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
PAGE INDEX
(AD7805/AD7809 PARALLEL INTERFACE PART)
Topic Page No.
Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2, 3
Timing Information
Timing Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . 6
Ordering Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin Function Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Terminology
Relative Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Differential Nonlinearity . . . . . . . . . . . . . . . . . . . . . . . . . 9
Bias Offset Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Gain Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Zero-Scale Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Digital-to-Analog Glitch Impulse . . . . . . . . . . . . . . . . . . . 9
Digital Feedthrough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Digital Crosstalk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Analog Crosstalk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Power Supply Rejection Ratio . . . . . . . . . . . . . . . . . . . . . 9
Interface Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
System Control Registers . . . . . . . . . . . . . . . . . . . . . . . . 14
Channel Control Register . . . . . . . . . . . . . . . . . . . . . . . . 14
Power-Up Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Clear Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Power-Down and Standby Functions . . . . . . . . . . . . . . . . 16
LDAC Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Analog Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Transfer Functions
Pictorial View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Twos Complement (Main DAC) . . . . . . . . . . . . . . . . . . 16
Twos Complement (Sub DAC) . . . . . . . . . . . . . . . . . . . 17
Complete Channel Transfer Function . . . . . . . . . . . . . . 17
Offset Binary (Main DAC) . . . . . . . . . . . . . . . . . . . . . . . 18
Offset Binary (Sub DAC) . . . . . . . . . . . . . . . . . . . . . . . . 19
Grounding and Layout Techniques . . . . . . . . . . . . . . . . . . 20
Reference Settling Time . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Typical Performance Characteristics . . . . . . . . . . . . . . . . . 21
Microprocessor Interfacing
ADSP-2101/ADSP-2103 . . . . . . . . . . . . . . . . . . . . . . . . 23
TMS32020 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8051/8088 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Applications
Programmable Window Detector . . . . . . . . . . . . . . . . . . 24
Low Cost Two-Channel Mixer . . . . . . . . . . . . . . . . . . . 25
Dual External Reference Input Capability . . . . . . . . . . . 25
Mechanical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
AD7804/AD7805/AD7808/AD7809
–27–
REV. 0
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
Plastic DIP (N-28)
PIN 1
0.580 (14.73)
0.485 (12.32)
114
1528
0.625 (15.87)
0.600 (15.24)
0.015 (0.381)
0.008 (0.204)
0.195 (4.95)
0.125 (3.18)
0.250
(6.35)
MAX
0.022 (0.558)
0.014 (0.356) 0.100
(2.54)
BSC
0.200 (5.05)
0.125 (3.18)
0.070 (1.77)
MAX
0.060 (1.52)
0.015 (0.38)
0.150
(3.81)
MIN
SEATING
PLANE
1.565 (39.70)
1.380 (35.10)
SOIC (R-28)
PIN 1
0.2992 (7.60)
0.2914 (7.40)
0.4193 (10.65)
0.3937 (10.00)
1
28 15
14
0.0125 (0.32)
0.0091 (0.23)
0.0500 (1.27)
0.0157 (0.40)
8
°
0
°
0.0291 (0.74)
0.0098 (0.25) x 45
°
0.0192 (0.49)
0.0138 (0.35)
0.0500 (1.27)
BSC
0.1043 (2.65)
0.0926 (2.35)
0.7125 (18.10)
0.6969 (17.70)
0.0118 (0.30)
0.0040 (0.10)
SSOP (RS-28)
1. LEAD NO. 1 IDENTIFIED BY A DOT.
2. LEADS WILL BE EITHER TIN PLATED OR SOLDER DIPPED
IN ACCORDANCE WITH MIL-M-38510 REQUIREMENTS
0.009 (0.229)
0.005 (0.127)
0.03 (0.762)
0.022 (0.558)
8
°
0
°
0.0256 (0.65)
BSC
0.407 (10.34)
0.397 (10.08)
0.008 (0.203)
0.002 (0.050)
0.07 (1.78)
0.066 (1.67)
PIN 1
15
14
1
28
0.311 (7.9)
0.301 (7.64)
0.212 (5.38)
0.205 (5.207)
0.015 (0.38)
0.010 (0.25)
Plastic DIP (N-16)
16
18
9
0.840 (21.33)
0.745 (18.93)
0.280 (7.11)
0.240 (6.10)
PIN 1
SEATING
PLANE
0.022 (0.558)
0.014 (0.356)
0.060 (1.52)
0.015 (0.38)
0.210 (5.33)
MAX 0.130
(3.30)
MIN
0.070 (1.77)
0.045 (1.15)
0.100
(2.54)
BSC
0.160 (4.06)
0.115 (2.93)
0.325 (8.25)
0.300 (7.62)
0.015 (0.381)
0.008 (0.204)
0.195 (4.95)
0.115 (2.93)
SOIC (R-16)
16 9
81
0.4133 (10.50)
0.3977 (10.00)
0.4193 (10.65)
0.3937 (10.00)
0.2992 (7.60)
0.2914 (7.40)
PIN 1
SEATING
PLANE
0.0118 (0.30)
0.0040 (0.10)
0.0192 (0.49)
0.0138 (0.35)
0.1043 (2.65)
0.0926 (2.35)
0.0500
(1.27)
BSC 0.0125 (0.32)
0.0091 (0.23)
0.0500 (1.27)
0.0157 (0.40)
8°
0°
0.0291 (0.74)
0.0098 (0.25) x 45°
AD7804/AD7805/AD7808/AD7809
REV. 0
–28–
C2107–18–4/96
PRINTED IN U.S.A.
Plastic DIP (N-24)
0.325 (8.25)
0.300 (7.62)
0.015 (0.381)
0.008 (0.203)
0.195 (4.95)
0.115 (2.93)
PIN 1 0.280 (7.11)
0.240 (6.10)
24
1
13
12
0.210
(5.33)
MAX
0.022 (0.558)
0.014 (0.356) 0.100 (2.54)
BSC 0.070 (1.77)
0.045 (1.15) SEATING
PLANE
0.130
(3.30)
MIN
1.275 (32.30)
1.125 (28.60) 0.015
(0.38)
MIN
0.160 (4.06)
0.115 (2.92)
SOIC (R-24)
112
13
24
15.6 (0.614)
15.2 (0.598)
0.299 (7.6)
0.291 (7.4)
0.419 (10.65)
0.394 (10.00)
0.050 (1.27) 0.019 (0.49)
0.014 (0.35) 0.104 (2.65)
0.093 (2.35)
0.012 (0.3)
0.004 (0.1) 0.005 (1.27)
0.016 (0.40)
0.013 (0.32)
0.009 (0.23)
0° - 8°
0.03 (0.75)
0.01 (0.25)
TQFP (ST-44B)
TOP VIEW
(PINS DOWN)
1
33
34
44
11
12
23
22
0.018 (0.45)
0.012 (0.30)
0.031 (0.80)
BSC
0.394
(10.0)
SQ
0.472 (12.00) SQ
0.04134 (1.05)
0.0374 (0.95)
0.006 (0.15)
0.002 (0.05)
SEATING
PLANE
0.047 (1.20)
MAX
0.030 (0.75)
0.018 (0.45)
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).