DAC0854 Quad 8-Bit Voltage-Output
Serial D/A Converter with Readback
DAC0854 Quad 8-Bit Voltage-Output Serial D/A Converter with Readback
January 1995
General Description
The DAC0854 is a complete quad 8-bit voltage-output digital-to-analog converter that can operate on a single 5V supply. It includes on-chip output amplifiers, internal voltage reference, and a serial microprocessor interface. By combining
in one package the reference, amplifiers, and conversion
circuitry for four D/A converters, the DAC0854 minimizes
wiring and parts count and is hence ideally suited for applications where cost and board space are of prime concern.
The DAC0854 also has a data readback function, which can
be used by the microprocessor to verify that the desired
input word has been properly latched into the DAC0854’s
data registers. The data readback function simplifies the design and reduces the cost of systems which need to verify
data integrity.
The logic comprises a MICROWIRE
TM
-compatible serial interface and control circuitry. The interface allows the user to
write to any one of the input registers or to all four at once.
The latching registers are double-buffered, consisting of 4
separate input registers and 4 DAC registers. Double buffering allows all 4 DAC outputs to be updated simultaneously.
The four reference inputs allow the user to configure the
system to have a separate output voltage range for each
DAC. The output voltage of each DAC can range between
0.3V and 2.8V and is a function of V
input word.
BIAS,VREF
, and the
Connection Diagram
Features
Y
Singlea5V supply operation
Y
MICROWIRE serial interface allows easy interface to
many popular microcontrollers including the COPS
and HPCTMfamilies of microcontrollers
Y
Data readback capability
Y
Output data can be formatted to read back MSB or
LSB first
Y
Versatile logic allows selective or global update of the
DACs
Y
Power fail flag
Y
Output amplifiers can drive 2 kX load
Y
Synchronous/asynchronous update of the DAC outputs
Key Specifications
Y
Guaranteed monotonic over temperature
Y
Integral linearity error
Y
Output settling time2.7 ms max
Y
Analog output voltage range0.3V to 2.8V
Y
Supply voltage range4.5V to 5.5V
Y
Clock frequency10 MHz max
Y
Power dissipation (f
Y
On-board reference2.65Vg2% max
e
10 MHz)95 mW max
CLK
g
(/2 LSB max
Applications
Y
Automatic test equipment
Y
Industrial process controls
Y
Automotive controls and diagnostics
Y
Instrumentation
Ordering Information
TM
Industrial (b40§CkT
a
85§C)Package
A
DAC0854BIN, DAC0854CINN20A Molded DIP
DAC0854CIJJ20A Ceramic DIP
DAC0854BIWM, DAC0854CIWMM20B Small Outline
k
Military (b55§CkT
a
125§C)
A
DAC0854CMJ/883J20A Ceramic DIP
Top View
TL/H/11261– 1
COPSTM, HPCTMand MICROWIRETMare trademarks of National Semiconductor Corporation.
C
1995 National Semiconductor CorporationRRD-B30M75/Printed in U. S. A.
TL/H/11261
Page 2
Absolute Maximum Ratings (Notes1&2)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales
Office/Distributors for availability and specifications.
10 MHz unless otherwise specified. Boldface limits apply for T
e
25§C.
A
BIAS
e
1.4V, R
e
2kX(RLis the load resistor on
L
TypicalLimitUnits
(Note 3)(Note 4)(Limits)
e
e
DV
5.5V2.0V (min)
CC
e
e
DV
4.5V0.8V (max)
CC
e
0.8 mA2.4V (min)
3.2 mA0.4V (max)
10kX (max)
k
CC
k
4mA26mV
k
4 mA; CMJ Suffix215mV
k
0 mA2.5mV
L
5.5V, I
e
4mA25mV
L
A
3
Page 4
Converter Electrical Characteristics (Continued)
e
e
DV
The following specifications apply for AV
the analog outputs – pins 1, 11, 14, and 19) and f
e
TJfrom T
MIN
to T
. All other limits apply for T
MAX
CC
CC
CLK
5V, V
e
SymbolParameterConditions
AC ELECTRICAL CHARACTERISTICS (Continued)
t
CZ1
t
CZ0
t
1H
t
0H
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is
functional. These ratings do not guarantee specific performance limits, however. For guaranteed specifications and test conditions, see the Converter Electrical
Characteristics. The guaranteed specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not
operated under the listed test conditions.
Note 2: All voltages are measured with respect to ground, unless otherwise specified.
Note 3: When the input voltage (V
to 5 mA or less.
Note 4: The sum of the currents at all pins that are driven beyond the power supply voltages should not exceed 20 mA.
Note 5: The maximum power dissipation must be derated at elevated temperatures and is dictated by T
(package junction to ambient thermal resistance), and TA(ambient temperature). The maximum allowable power dissipation at any temperature is
e
(T
P
Dmax
packages and versions of the DAC0854.
Note 6: Human body model, 100 pF discharged through a 1.5 kX resistor.
Note 7: See AN450 ‘‘Surface Mounting Methods and Their Effect on Production Reliability’’ of the section titled ‘‘Surface Mount’’ found in any current Linear
Databook for other methods of soldering surface mount devices.
Note 8: Typicals are at T
Note 9: Limits are guaranteed to National’s AOQL (Average Outgoing Quality Level).
Note 10: A monotonicity of 8 bits for the DAC0854 means that the output voltage changes in the same direction (or remains constant) for each increase in the input
code.
Note 11: Integral linearity error is the maximum deviation of the output from the line drawn between zero and full-scale (excluding the effects of zero error and fullscale error).
Note 12: Full-scale error is measured as the deviation from the ideal 2.800V full-scale output when V
Note 13: Full-scale error tempco and zero error tempco are defined by the following equation:
where Error (T
voltage span of the DAC0854, which depends on V
Note 14: Zero error is measured as the deviation from the ideal 0.310V output when V
Note 15: Power Supply Sensitivity is the maximum change in the offset error or the full-scale error when the power supply differs from its optimum 5V by up to
0.25V (5%). The load resistor R
Note 16: Positive or negative settling time is defined as the time taken for the output of the DAC to settle to its final full-scale or zero output to within
This time shall be referenced to the 50% point of the positive edge of CS
Note 17: Digital crosstalk is the glitch measured on the output of one DAC while applying an all 0s to all 1s transition at the input of the other DACs.
Note 18: All DACs have full-scale outputs latched and DI is clocked with no update of the DAC outputs. The glitch is then measured on the DAC outputs.
Note 19: Clock feedthrough is measured for each DAC with its output at full-scale. The serial clock is then applied to the DAC at a frequency of 10 MHz and the
glitch on each DAC full-scale output is measured.
Note 20: Channel-to-channel isolation is a measure of the effect of a change in one DAC’s output on the output of another DAC. The V
between 1.4V and 2.65V at a frequency of 15 kHz while the change in full-scale output of the second DAC is measured. The first DAC is loaded with all 0s.
Note 21: Glitch energy is the difference between the positive and negative glitch areas at the output of the DAC when a 1 LSB digital input code change is applied
to the input. The glitch energy will have its largest value at one of the three major transitions. The peak value of the maximum glitch is separately specified.
Note 22: Power Supply Rejection Ratio is measured by varying AV
of this signal imposed on a full-scale output of the DAC under consideration.
Note 23: The bandgap reference tempco is defined by the following equation:
where T
Note 24: A Military RETS specification is available upon request.
Jmax
ROOM
Output Hi-Z to Valid 137ns (max)
Output Hi-Z to Valid 042ns (max)
CS to Output Hi-Z10 kX with 60 pF130ns (max)
CS to Output Hi-Z10 kX with 60 pF117ns (max)
) at any pin exceeds the power supply rails (V
IN
b
TA)/HJAor the number given in the Absolute Maximum Ratings, whichever is lower. The table below details T
10 MHz unless otherwise specified. Boldface limits apply for T
e
25§C.
A
BIAS
e
1.4V, R
e
2kX(RLis the load resistor on
L
TypicalLimitUnits
(Note 3)(Note 4)(Limits)
k
IN
)bError (T
MAX
V
SPAN
MIN
, which initiates the update of the analog outputs.
DVCCbetween 4.75V and 5.25V with a frequency of 10 kHz and measuring the proportion
)bV
REF(TMIN
REF(TROOM
)
l
GND or V
Jmax
REF
Va) the absolute value of current at that pin should be limited
IN
Jmax
(§C)HJA(§C/W)
e
2.650V and V
REF
T
MAX
2.650V, V
10
T
MAX
) and V
6
10
b
T
(
MIN
e
1.400V, and the digital input word is all zeros.
BIAS
6
b
T
(
MIN
REF(TROOM
).
)
MIN
(Ð
) is the zero error or full-scale error at T
e
)
(Ð
REF(TMIN
(maximum junction temperature), H
and HJAfor the various
Jmax
e
1.400V.
BIAS
MIN
(in volts); V
REF
is the output
SPAN
of the first DAC is varied
g
0.5 LSB.
A
JA
4
Page 5
Typical Converter Performance Characteristics
Zero Error vs
Temperature
Zero Error PSRR
vs Temperature
Full-Scale Error
vs Temperature
Full-Scale Error PSRR
vs Temperature
Typical Reference Performance Characteristics
Supply Current
vs Temperature
Supply Current vs
Clock Frequency
TL/H/11261– 2
Bandgap Voltage
vs Temperature
TL/H/11261– 3
Line Regulation
vs Temperature
TL/H/11261– 4
5
Page 6
TRI-STATE Test Circuits and Waveforms
Timing Waveforms
Data Input Timing
Timing Diagrams
TL/H/11261– 5
TL/H/11261– 7
TL/H/11261– 9
TL/H/11261– 6
TL/H/11261– 8
Data Output Timing
TL/H/11261– 10
FIGURE 1. Write to One DAC with Update of Output (AUe1)
6
TL/H/11261– 11
Page 7
Timing Diagrams (Continued)
* DACs are written to LSB first.
DAC1 is written to first, then DACs 2, 3, and 4.
FIGURE 2. Write to All DACs with Update of Outputs (AUe1)
FIGURE 3. Read One DAC, DO Changes on Falling Edge, DO LSB First (AUe1)
TL/H/11261– 12
TL/H/11261– 13
*DAC1 is read first, then DACs 2, 3, and 4.
FIGURE 4. Read All DACs, DO LSB First, DO Changes on Falling Edge (AUe1)
TL/H/11261– 14
7
Page 8
Block Diagram
Pin Description
V
(19)The voltage output connections of the
OUT1
V
(1)four DACS. These provide output
OUT2
V
(14)voltages in the range 0.3V –2.8V.
OUT3
V
(11)
OUT4
V
OUT(16) The internal voltage reference output.
REF
V
(2)V
BIAS1
V
(13)inputs of output amplifiers 1 and 2,
BIAS2
GND(7)The system ground pin. Connect to
DV
(10)The digital and analog power supply
CC
AV
(17)pins. The power supply range of the
CC
The output of the reference is 2.65V
g
2%. This pin should be bypassed with
a 220 mF capacitor.
is connected to the non-inverting
BIAS1
thereby setting the virtual ground
voltage for DAC’s 1 and 2, while V
performs this function for DAC’s 3 and 4.
The allowed range is 0.3V –1.4V.
clean ground point.
DAC0854 is 4.5V – 5.5V. To guarantee
accuracy, it is required that the AV
and DVCCpins be bypassed separately
with bypass capacitors of 10 mF
tantalum in parallel with 0.1 mF ceramic.
BIAS2
CC
AU
(4)When this pin is taken low, all DAC outputs
will be asynchronously updated. CS
held high during the update.
V
(18) The voltage reference inputs for the four
REF1
V
(20) DACs. The allowed range is 0V–2.75V.
REF2
V
(15)
REF3
V
(12)
REF4
CS
(3)The Chip Select control input. This input is
active low.
CLK(5)The external clock input pin.
DI(9)The serial data input. The data is clocked in
LSB first. Preceding the data byte are 4 or 6
bits of instructions.
DO(6)The serial data output. The data can be
clocked out either MSB or LSB first, and on
either the positive or negative edge of the
clock.
INT
(8)The power interrupt output. On an
interruption of the power supply, this pin
goes low. Since this pin has an open drain
output, a 10 kX pull-up resistor must be
connected to the supply.
8
TL/H/11261– 15
must be
Page 9
Applications Information
FUNCTIONAL DESCRIPTION
The DAC0854 is a monolithic quad 8-bit digital-to-analog
converter that is designed to operate on a single 5V supply.
Each of the four units is comprised of an input register, a
DAC register, a shift register, a current output DAC, and an
output amplifier. In addition, the DAC0854 has an onboard
bandgap reference and a logic unit which controls the internal operation of the DAC0854 and interfaces it to microprocessors.
Each of the four internal 8-bit DACs uses a modified R-2R
ladder to effect the digital-to-analog conversion
The resistances corresponding to the 2 most significant bits
are segmented to reduce glitch energy and to improve
matching. The bottom of the ladder has been modified so
that the voltage across the LSB resistor is much larger than
the input offset voltage of the buffer amplifier. The input
digital code determines the state of the switches in the ladder network. The sum of currents I
and is given by
a
I
OUT2
e
I
OUT1
OUT1
b
V
V
REF
R
#
and I
BIAS
J
OUT2
255
256
(Figure 5).
is fixed
The current output I
amplifier and converted to a voltage. The output voltage of
each DAC is a function of V
word, and is given by
e
V
OUT
2(V
REF
b
is applied to the internal output
OUT2
, and the digital input
511
a
V
128
V
BIAS
BIAS,VREF
DATA
)
256
BIAS
255
b
V
REF
128
The output voltage range for each DAC is 0.3V –2.8V. This
range can be achieved by using the internal 2.65V reference
and a voltage divider network which provides a V
1.40V
(Figure 6).
In this case the DAC transfer function is
(DATA)
V
OUT
e
2.5
256
a
0.310
BIAS
The output impedance of any external reference that is
used will affect the accuracy of the conversion. In order that
this error be less than (/2 LSB, the output impedance of the
external reference must be less than 7.8X.
of
FIGURE 5. Equivalent Circuit of R-2R Ladder and Output Amplifier
FIGURE 6. Generating a V
e
1.40V from the Internal Reference
BIAS
9
TL/H/11261– 16
TL/H/11261– 17
Page 10
Digital Interface
The DAC0854 has two interface modes: a WRITE mode
and a READ mode. The WRITE mode is used to convert an
8-bit digital input word into a voltage. The READ mode is
used to read back the digital data that was sent to one or all
of the DACs. These modes are selected by the appropriate
setting of the RD/WR
byte. The instruction byte precedes the data byte at the DI
pin. In both modes, a high level on the Start Bit (SB) alerts
the DAC to respond to the remainder of the input stream.
bit, which is part of the instruction
TABLE I. WRITE Mode Instruction Set (Writing to a Single DAC)
TABLE II. WRITE Mode Instruction Set (Writing to all DACs)
SBRD/WRGU
BitÝ1BitÝ2BitÝ3BitÝ4
1010Write all DACs, no update of outputs
1011Write all DACs, update all outputs on CS rising edge
Table I lists the instruction set for the WRITE mode when
writing to only a single DAC, and Table II lists the instruction
set for a global write. The DACs are always written to LSB
first. All DACs will be written to if the global bit (G) is high;
DAC 1 is written to first, then DACs 2, 3 and 4 (in that order).
If the update bit is high, then the DAC output will be updated
on the rising edge of CS
be placed only in the input register. Chip Select (CS
remain low for at least one clock cycle after the last data bit
has been entered. (See
Description
; otherwise, the new data byte will
Figures 1
Description
and2)
) must
10
Page 11
Digital Interface (Continued)
Table III lists the instruction set for the READ mode. By the
appropriate setting of the global (G) and address (A1 and
A0) bits, one can select a specific DAC to be read, or one
can read all the DACs in succession, starting with DAC 1.
The R/F
rising or the falling edge of the system clock. With the R/F
bit high, the data changes on the rising edge that occurs 1(/2
clock cycles after the end of the instruction byte. With the
R/F
BitÝ1BitÝ2BitÝ3BitÝ4BitÝ5BitÝ6BitÝ7
bit determines whether the data changes on the
bit low, the data changes on the falling edge that oc-
TABLE III. READ MODE Instruction Set
SBRD/WRGR/FM/LA1A0
1100000Read DAC 1, LSB first, data changes on the falling edge
1100001Read DAC 2, LSB first, data changes on the falling edge
1100010Read DAC 3, LSB first, data changes on the falling edge
1100011Read DAC 4, LSB first, data changes on the falling edge
1100100Read DAC 1, MSB first, data changes on the falling edge
1100101Read DAC 2, MSB first, data changes on the falling edge
1100110Read DAC 3, MSB first, data changes on the falling edge
1100111Read DAC 4, MSB first, data changes on the falling edge
1101000Read DAC 1, LSB first, data changes on the rising edge
1101001Read DAC 2, LSB first, data changes on the rising edge
1101010Read DAC 3, LSB first, data changes on the rising edge
1101011Read DAC 4, LSB first, data changes on the rising edge
1101100Read DAC 1, MSB first, data changes on the rising edge
1101101Read DAC 2, MSB first, data changes on the rising edge
1101110Read DAC 3, MSB first, data changes on the rising edge
1101111Read DAC 4, MSB first, data changes on the rising edge
1110010Read all DACs, LSB first, data changes on the falling edge
1110110Read all DACs, MSB first, data changes on the falling edge
1111010Read all DACs, LSB first, data changes on the rising edge
1111110Read all DACs, MSB first, data changes on the rising edge
curs 1 clock cycle after the end of the instruction byte. One
can choose to read the data back MSB first or LSB first by
setting the M/L
An asynchronous update of all the DAC outputs can be
achieved by taking AU
ters are loaded into the DAC registers, with the update occurring on the falling edge of AU
during an asynchronous update.
All DAC registers will have their contents reset to all zeros
on power up.
bit. (See
Figures 3
low. The contents of the input regis-
Description
and4)
.CSmust be held high
Power Fail Function
If a power failure occurs on the system using the DAC0854
then the INT
cycle. To force this output high again and reset this flag, the
CS
pin will have to be brought low. When this is done the
INT
output will be pulled high again via an external 10 kX
pull-up resistor. This feature may be used by the microprocessor to discard data whose integrity is in question.
pin will be pulled low on the next power-up
Power Supplies
The DAC0854 is designed to operate from aa5V (nominal)
supply. There are two supply pins, AV
pins allow separate external bypass capacitors for the analog and digital portions of the circuit. To guarantee accurate
conversions, the two supply pins should each be bypassed
with a 0.1 mF ceramic capacitor in parallel with a 10 mF
tantalum capacitor.
11
and DVCC. These
CC
Page 12
Typical Applications
FIGURE 7. Trimming the Offset of a 5V Op Amp Biased at Mid Supply
FIGURE 8. Trimming the Offset of a Dual Supply Op Amp Biased at Ground
TL/H/11261– 18
TL/H/11261– 19
FIGURE 9. Bringing the Output Range Down to Ground
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
DAC0854 Quad 8-Bit Voltage-Output Serial D/A Converter with Readback
SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or2. A critical component is any component of a life
systems which, (a) are intended for surgical implantsupport device or system whose failure to perform can
into the body, or (b) support or sustain life, and whosebe reasonably expected to cause the failure of the life
failure to perform, when properly used in accordancesupport device or system, or to affect its safety or
with instructions for use provided in the labeling, caneffectiveness.
be reasonably expected to result in a significant injury
to the user.
National SemiconductorNational Semiconductor National Semiconductor National SemiconductorNational SemiconductoresNational Semiconductor
CorporationGmbHJapan Ltd.Hong Kong Ltd.Do Brazil Ltda.(Australia) Pty, Ltd.
2900 Semiconductor DriveLivry-Gargan-Str. 10Sumitomo Chemical13th Floor, Straight Block,Rue Deputado Lacorda FrancoBuilding 16
P.O. Box 58090D-82256 F4urstenfeldbruck Engineering CenterOcean Centre, 5 Canton Rd.120-3ABusiness Park Drive
Santa Clara, CA 95052-8090 GermanyBldg. 7FTsimshatsui, KowloonSao Paulo-SPMonash Business Park
Tel: 1(800) 272-9959Tel: (81-41) 35-01-7-1, Nakase, Mihama-Ku Hong KongBrazil 05418-000Nottinghill, Melbourne
TWX: (910) 339-9240Telex: 527649Chiba-City,Tel: (852) 2737-1600Tel: (55-11) 212-5066Victoria 3168 Australia
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.