FEATURES
14-Bit/16-Bit Multiplying DAC
Guaranteed Monotonicity
Output Control on Power-Up and Power-Down
Internal or External Control
Versatile Serial Interface
DAC Clears to 0 V in Both Unipolar and Bipolar Output
Ranges
APPLICATIONS
Industrial Process Control
PC Analog I/O Boards
Instrumentation
GENERAL DESCRIPTION
The AD7849 is a 14-bit/16-bit serial input multiplying DAC.
The DAC architecture ensures excellent differential linearity
performance, and monotonicity is guaranteed to 14 bits for the
A grade and to 16 bits for all other grades over the specified
temperature ranges.
During power-up and power-down sequences (when the supply
voltages are changing), the V
impedance path. To prevent the output of A3 being shorted to
0 V during this time, transmission gate G1 is also opened.
These conditions are maintained until the power supplies
stabilize and a valid word is written to the DAC register. At this
time, G2 opens and G1 closes. Both transmission gates are also
externally controllable via the Reset In (RST IN) control input.
For instance, if the RST IN input is driven from a battery supervisor chip, then on power-off or during a brown out, the RSTIN input will be driven low to open G1 and close G2. The DAC
must be reloaded, with RST IN high, to re-enable the output.
Conversely, the on-chip voltage detector output (RST OUT) is
also available to the user to control other parts of the system.
pin is clamped to 0 V via a low
OUT
14-Bit/16-Bit DAC
AD7849*
FUNCTIONAL BLOCK DIAGRAM
V
DDVCC
V
REF+
R
A1
16-
SEG-
V
REF–
R
R
DGND
MENT
SWITCH
MATRIX
4
AD7849
SDIN SCLK
10-BIT/
12-BIT
DAC
10/
A2
12
DAC
LATCH
10/
12
INPUT
LATCH
INPUT SHIFT REGISTER/
CONTROL LOGIC
SYNC CLR BIN/
COMP
The AD7849 has a versatile serial interface structure and can be
controlled over three lines to facilitate opto-isolator applications.
SDOUT is the output of the on-chip shift register and can be
used in a daisy-chain fashion to program devices in the multichannel system. The DCEN (Daisy Chain Enable) input controls this function.
The BIN/COMP pin sets the DAC coding; with BIN/COMP
set to 0, the coding is straight binary; and with it set to 1, the
coding is 2s complement. This allows the user to reset the DAC
to 0 V in both the unipolar and bipolar output ranges.
The part is available in a 20-lead DIP and 20-lead SOIC package.
R
R
A3
LOGIC
CIRCUITRY
VOLTAGE
MONITOR
DCEN SDOUT
G1
G2
LDAC
R
OFS
RST IN
V
OUT
AGND
RST OUT
V
SS
*Protected by U.S. Patent No. 5,319,371.
REV. B
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.
Differential Nonlinearity±0.25±0.9±0.5LSBs maxAll Grades Guaranteed Monotonic Over Temperature
MAX
±5±16±8LSBs max
Gain Error @ +25°C±1± 4± 4LSBs typV
T
MIN
to T
MAX
±4±16±16LSBs max
Offset Error @ +25°C±1±4±4LSBs typ
T
to T
MIN
Gain TC
Offset TC
MAX
3
3
±6±24±16LSBs max
±2±2±2ppm FSR/°C typ
±2±2±2ppm FSR/°C typ
BIPOLAR OUTPUTV
Relative Accuracy @ +25°C±2±3±2LSBs typ
to T
T
MIN
Differential Nonlinearity±0.25±0.9±0.5LSBs maxAll Grades Guaranteed Monotonic Over Temperature
MAX
±3±8±4LSBs max
Gain Error @ +25°C±1± 4± 4LSBs typV
T
MIN
to T
MAX
±4±16±16LSBs max
Offset Error @ +25°C±0.5±2±2LSBs typ
T
MIN
to T
MAX
±3±12±8LSBs max
Bipolar Zero Error @ +25°C±0.5±2±2LSBs typ
T
to T
MIN
MAX
3
Gain TC
Offset TC
3
Bipolar Zero TC
3
±4±12±8LSBs max
±2±2±2ppm FSR/°Ctyp
±2±2±2ppm FSR/°Ctyp
±2±2±2ppm FSR/°Ctyp
REFERENCE INPUT
Input Resistance252525kΩ minResistance from V
434343kΩ maxTypically 34 kΩ
V
RangeVSS + 6 toVSS + 6 toVSS + 6 toVolts
REF+
V
RangeVSS + 6 toVSS + 6 toVSS + 6 toVolts
REF–
VDD – 6VDD – 6VDD – 6
VDD – 6VDD – 6VDD – 6
OUTPUT CHARACTERISTICS
Output Voltage SwingVSS + 4 toVSS + 4 toVSS + 4 toV max
VDD – 4VDD – 4VDD – 4
Resistive Load222kΩ minTo 0 V
Capacitive Load200200200pF maxTo 0 V
Output Resistance0.30.30.3Ω typ
Short Circuit Current± 25± 25± 25mA typVoltage Range: –10 V to +10 V
DIGITAL INPUTS
V
, Input High Voltage2.42.42.4V min
INH
V
, Input Low Voltage0.80.80.8V max
INL
I
, Input Current±10±10±10µA max
INH
CIN, Input Capacitance101010pF max
DIGITAL OUTPUTS
VOL (Output Low Voltage)0.40.40.4Volts maxI
VOH (Output High Voltage)4.04.04.0Volts minI
Floating State Leakage Current±10±10±10µA max
Floating State Output
Capacitance101010pF max
POWER REQUIREMENTS
V
DD
V
SS
V
CC
I
DD
I
SS
I
CC
Power Supply Sensitivity
4
+14.25/+15.75 +14.25/+15.75 +14.25/+15.75 V min/V max
–14.25/–15.75 –14.25/–15.75 –14.25/–15.75V min/V max
+4.75/+5.25+4.75/+5.25+4.75/+5.25V min/V max
555mA maxV
555mA maxV
5
2.52.52.5mA maxV
0.41.51.5LSB/V max
Power Dissipation100100100mW typV
NOTES
1
Temperature ranges: A, B, C Versions: –40°C to +85°C; T Version: –55°C to +125°C.
2
Minimum load for T Version is 3 kΩ.
3
Guaranteed by design and characterization, not production tested.
4
The AD7849 is functional with power supplies of ± 12 V. See Typical Performance Curves.
5
Sensitivity of Gain Error, Offset Error and Bipolar Zero Error to VDD, VSS variations.
Specifications subject to change without notice.
loaded with 2 kΩ,2 200 pF to 0 V; V
OUT
B, C, T Versions: 1 LSB = 2 (V
= 0 V, V
REF–
Load = 10 MΩ
OUT
= –5 V, V
REF–
Load = 10 MΩ
OUT
= 1.6 mA
SINK
= 400 µA
SOURCE
Unloaded, V
OUT
Unloaded, V
OUT
= VDD – 0.1 V, V
INH
Unloaded
OUT
= 0 V to +10 V
OUT
= –10 V to +10 V
OUT
to V
REF+
= VDD – 0.1 V, V
INH
= VDD – 0.1 V, V
INH
INL
REF+
REF+–VREF–
REF+–VREF–
REF–
= 0.1 V
= +5 V;
14
)/2
)/2
= 0.1 V
INL
= 0.1 V
INL
16
–2–
REV. B
AD7849
RESET SPECIFICATIONS
power-down sequence.) V
unloaded.
OUT
(These specifications apply when the device goes into the Reset mode during a power-up or
All input signals are specified with tr = tf = 5 ns (10% to 90% of 5 V) and timed from a voltage level of 1.6 V.
3
SCLK mark/space ratio range is 40/60 to 60/40.
4
SDO load capacitance is 50 pF.
Specification subject to change without notice.
REV. B
200200ns minSCLK Cycle Time
5050ns minSYNC to SCLK Setup Time
7070ns minSYNC to SCLK Hold Time
1010ns minData Setup Time
4040ns minData Hold Time
8080ns maxSCLK Falling Edge to SDO Valid
8080ns minLDAC, CLR Pulsewidth
3030µs maxDigital Input Rise Time
3030µs maxDigital Input Fall Time
–3–
AD7849
SD103C
1N5711
1N5712
1N4148
V
DD
V
CC
V
DD
V
CC
AD7849
WARNING!
ESD SENSITIVE DEVICE
ABSOLUTE MAXIMUM RATINGS
1
(TA = +25°C unless otherwise noted)
VDD to DGND . . . . . . . . . . . . . . . . . . . . . . . . . –0.4 V to +17 V
to DGND2 . . . . . . . . . . . . . . . . . . –0.4 V, VDD + 0.4 V or
V
CC
+7 V (Whichever Is Lower)
V
to DGND . . . . . . . . . . . . . . . . . . . . . . . . . –0.4 V to –17 V
Lead Temperature, Soldering (Soldering 10 secs) . . . 260°C
NOTES
1
Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; 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
VCC must not exceed VDD by more than 0.4 V. If it is possible for this to happen
during power-up or power-down (for example, if V
VDD is still 0 V), the following diode protection scheme will ensure protection.
3
V
may be shorted to DGND, +10 V, –10 V, provided that the power dissipation
OUT
of the package is not exceeded.
4
Transient currents of up to 100 mA will not cause SCR latch-up.
is greater than +0.4 V while
CC
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 the AD7849 features 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.
ORDERING GUIDE
TemperatureResolutionBipolarPackage
ModelRange(Bits)INL (LSBs)Option
*
AD7849AN–40°C to +85°C14± 3N-20
AD7849BN–40°C to +85°C16± 8N-20
AD7849CN–40°C to +85°C16±4N-20
AD7849AR–40°C to +85°C14± 3R-20
AD7849BR–40°C to +85°C16±8R-20
AD7849CR–40°C to +85°C16± 4R-20
AD7849TQ–55°C to +125°C16± 8Q-20
This is the analog weighting of 1 bit of the digital word in a DAC.
For the AD7849, B, C and T versions, 1 LSB = (V
16
2
. For the AD7849, A version, 1 LSB = (V
REF+–VREF–
– V
REF+
REF–
)/
)/214.
Relative Accuracy
Relative accuracy or endpoint nonlinearity is a measure of the
maximum deviation from a straight line passing through the
endpoints of the DAC transfer function. It is measured after
adjusting for both endpoints (i.e., offset and gain errors are adjusted out) and is normally expressed in least significant bits or
as a percentage of full-scale range.
Differential Nonlinearity
Differential nonlinearity is the difference between the measured
change and the ideal change between any two adjacent codes. A
specified differential nonlinearity of less than ±1 LSB over the
operating temperature range ensures monotonicity.
Gain Error
Gain error is a measure of the output error between an ideal
DAC and the actual device output with all 1s loaded after offset
error has been adjusted out. Gain error is adjustable to zero
with an external potentiometer.
PIN FUNCTION DESCRIPTION
PinMnemonicDescription
Offset Error
This is the error present at the device output with all 0s loaded
in the DAC. It is due to op amp input offset voltage and bias
current and the DAC leakage current.
Bipolar Zero Error
When the AD7849 is connected for bipolar output and
(100 . . . 000) is loaded to the DAC, the deviation of the analog
output from the ideal midscale of 0 V, is called the bipolar zero
error.
Digital-to-Analog Glitch Impulse
This is the amount of charge injected from the digital inputs to
the analog output when the inputs change state. This is normally specified as the area of the glitch in nV-secs.
Multiplying Feedthrough Error
This is an ac error due to capacitive feedthrough from either of
the V
terminals to V
REF
when the DAC is loaded with all 0s.
OUT
Digital Feedthrough
When the DAC is not selected (SYNC is held high), high frequency logic activity on the digital inputs is capacitively coupled
through the device to show up as noise on the V
pin. This
OUT
noise is digital feedthrough.
1V
REF+
2V
REF–
3V
SS
V
Input. The DAC is specified for V
REF+
V
Input. The DAC is specified for V
REF–
of +5 V. The DAC is fully multiplying so that the V
REF+
of –5 V. Since the DAC is fully multiplying the V
REF–
Negative supply for the analog circuitry. This is nominally –15 V.
range is +5 V to –5 V.
REF+
range is –5 V to +5 V.
REF–
4SYNCData Synchronization Logic Input. When it goes low, the internal logic is initialized in readiness for a new data word.
5SCLKSerial Clock Logic Input. Data is clocked into the input register on each SCLK falling edge.
6V
CC
Positive supply for the digital circuitry. This is nominally +5 V.
7SDOUTSerial Data Output. With DCEN at Logic “1,” this output is enabled and the serial data in the input shift register is
clocked out on each rising edge of SCLK.
8DCENDaisy-Chain Enable Logic Input. Connect this pin high if a daisy-chain interface is being used, otherwise this pin must be
connect low.
9BIN/COMPLogic Input. This input selects the data format to be either binary or 2s complement. In the unipolar output range,
natural binary format is selected by connecting the input to a Logic “0.” In the bipolar output range, offset binary is
selected by connecting this input to a Logic “0” and 2s complement is selected by connecting it to a Logic “1.”
10DGNDDigital Ground. Ground reference point for the on-chip digital circuitry.
11LDACLoad DAC Logic Input. This input updates the DAC output. The DAC output is updated on the falling edge of this
signal or alternatively, if this input is permanently low, an automatic update mode is selected whereby the DAC is updated
on the 16th falling SCLK edge.
12SDINSerial Data Input. The 16-bit serial data word is applied to this input.
13CLRClear Logic Input. Taking this input low sets V
ment output range. It sets V
OUT
to V
in the offset binary bipolar output range.
REF–
to 0 V in both the unipolar output range and the bipolar 2s comple-
OUT
14RSTINReset Logic Input. This input allows external access to the internal reset logic. Applying a Logic “0” to this input, resets
the DAC output to 0 V. In normal operation it should be tied to Logic “1.”
15RSTOUTReset Logic Output. This is the output from the on-chip voltage monitor used in the reset circuit. It may used to control
other system components if desired.
16AGNDThis is the analog ground for the device. It is the point to which the output gets shorted in the reset mode.
17V
DD
Positive supply for the analog circuitry. This is +15 V nominal.
18NCNo Connect. Leave unconnected.
19V
20R
OUT
OFS
DAC Output Voltage Pin.
Input to summing resistor of DAC output amplifier. This is used to select output voltage ranges. See Figures 16 to 19
in “APPLYING THE AD7849.”
REV. B
–5–
AD7849
Typical Performance Curves
V
1
REF+
V
4
OUT
CH1 1.00V
CH4 1.00mV
M 20.0µs CH1 –300mV
C1 FREQ
9.9942kHz
C1 RMS
728mV
C4 RMS
556µV
7
6
5
4
3
– mV pk-pk
OUT
V
2
1
0
2
10
VDD = +15V
V
= –15V
SS
V
= 1V rms
REF+
V
= 0V
REF–
10
3
FREQUENCY – Hz
4
10
5
10
6
10
Figure 1a. AC Feedthrough
SYNC
1
SDIN
2
C4 AREA
247.964n V
V
4
OUT
CH1 5.00V
CH 2 5.00V
CH4 200mV
M 1.00µs CH1 3.7V
Figure 2a. Digital-to-Analog Glitch Impulse Without
Internal Deglitcher
22
20
18
VDD = +15V
16
V
= –15V
SS
V
= ±5V SINE WAVE
14
12
– V pk-pk
10
OUT
V
REF+
V
= 0V
REF–
GAIN = +2
8
6
4
2
2
10
3
10
4
10
FREQUENCY – Hz
5
10
6
10
Figure 1b. AC Feedthrough vs. Frequency
LDAC
1
2
SDIN
S
V
OUT
4
CH1 5.00V
CH 2 5.00V
CH4 50.0mV
M 5.00µs CH 1 2.3V
Figure 2b. Digital-to-Analog Glitch Impulse with
Internal Deglitcher
C1 Pk-Pk
V
V
REF+
OUT
1
2
CH1 10.0V
CH 2 20.0VM 2.5µs CH 1 –400mV
10.4V
C2 Pk-Pk
20.8V
C2 RISE
2.79230µs
C2 FALL
3.20385µs
Figure 3. Large Signal Frequency Response
–6–
Figure 4. Pulse Response (Large Signal)
REV. B
AD7849
2
TA = +25°C
V
V
1.5
GAIN = 1
1
INL – LSBs
0.5
0
111612.25
REF+
REF–
= +5V
= 0V
V
V
13.514.75
VDD/VSS – Volts
1
REF+
2
OUT
CH1 100mV
CH 2 200mVM 2.00µs CH1 –10mV
Figure 5. Pulse Response (Small Signal)
V
DD
V
OUT
LDAC
1
2
3
CH1 10.0V
CH3 5.00V
C1 Pk-Pk
104mV
C2 Pk-Pk
216mV
C2 RISE
458ns
C2 FALL
452.4ns
CH 2 10.0V M 10.0ms CH 1 7.8V
C1 RISE
3.808 ms
C2 RISE
8µs
Figure 6. Typical Integral Nonlinearity vs. Supplies
0.5
TA = +25°C
V
= +5V
REF+
V
= 0V
0.375
REF–
GAIN = 1
V
DD
Figure 8. Turn-On Characteristics
7.8V
C1 FALL
4.7621ms
1
0.25
DNL – LSBs
V
0.125
OUT
2
Figure 7. Typical Differential Nonlinearity vs. Supplies
0
111612
1314
VDD/VSS – Volts
15
CH1 10.0V
CH 2 10.0V M 1.00msCH 1 7.8V
Figure 9. Turn-Off Characteristics
REV. B
–7–
AD7849
CIRCUIT DESCRIPTION
D/A CONVERSION
Figure 10 shows the D/A section of the AD7849. There are
three on-chip DACs each of which has its own buffer amplifier.
DAC1 and DAC2 are 4-bit DACs. They share a 16-resistor
string but have their own analog multiplexers. The voltage reference is applied to the resistor string. DAC3 is a 12-bit voltage
mode DAC with its own output stage.
The 4 MSBs of the 16-bit digital input code drive DAC1 and
DAC2 while the 12 LSBs control DAC3. Using DAC1 and
DAC2, the MSBs select a pair of adjacent nodes on the resistor
string and present that voltage to the positive and negative
inputs of DAC3. This DAC interpolates between these two
voltages to produce the analog output voltage.
To prevent nonmonotonicity in the DAC due to amplifier offset
voltages, DAC1 and DAC2 “leap-frog” along the resistor string.
For example, when switching from Segment 1 to Segment 2,
DAC1 switches from the bottom of Segment 1 to the top of
Segment 2 while DAC 2 remains connected to the top of Segment 1. The code driving DAC3 is automatically complemented to compensate for the inversion of its inputs. This
means that any linearity effects due to amplifier offset voltages
remain unchanged when switching from one segment to the
next and 16-bit monotonicity is ensured if DAC3 is monotonic.
So, 12-bit resistor matching in DAC3 guarantees overall 16-bit
monotonicity. This is much more achievable than the 16-bit
matching which a conventional R-2R structure would have
needed.
Output Stage
The output stage of the AD7849 is shown in Figure 11. It is capable of driving a load of 2 kΩ in parallel with 200 pF. The
feedback and offset resistors allow the output stage to be configured for gains of 1 or 2. Additionally, the offset resistor may be
used to shift the output range.
The AD7849 has a special feature to ensure output stability
during power-up and power-down sequences. This is specifically available for control applications where actuators must not
be allowed to move in an uncontrolled fashion.
DAC 3
R
OFS
R
10kΩ
R
10kΩ
ONE-SHOT
LDAC
G3
CIRCUITRY
VOLTAGE
MONITOR
C1
LOGIC
RSTIN
G1
G2
V
OUT
AGND
RSTOUT
Figure 11. AD7849 Output Stage
When the supply voltages are changing, the V
pin is clamped
OUT
to 0 V via a low impedance path . To prevent the output of A3
being shorted to 0 V during this time, transmission gate G1 is
also opened. These conditions are maintained until the power
supplies stabilize and a valid word is written to the DAC register. At this time, G2 opens and G1 closes. Both transmission
gates are also externally controllable via the Reset In (RST IN)
control input. For instance, if the RST IN input is driven from a
battery supervisor chip, then on power-off or during a brownout, the RST IN input will be driven low to open G1 and close
G2. The DAC has to be reloaded, with RST IN high, to re-enable the output. Conversely, the on-chip voltage detector output (RST OUT) is also available to the user to control other
parts of the system.
The AD7849 output buffer is configured as a track-and-hold
amplifier. Although normally tracking its input, this amplifier is
placed in a hold mode for approximately 5 µs after the leading
edge of LDAC. This short state keeps the DAC output at its
previous voltage while the AD7849 is internally changing to its
new value. So, any glitches that occur in the transition are not
seen at the output. In systems where the LDAC is permanently
low, the deglitching will not be in operation.
V
+
REF
DAC 1
S1
S3
S15
S17
DB15–DB12
V
–
REF
R
R
R
R
R
R
DAC 2
S2
S4
S14
S16
DB15–DB12
DAC 3
A1
A2
10-BIT/12-BIT
DAC
10/12
OUTPUT
STAGE
Figure 10. AD7849 D/A Conversion
–8–
REV. B
SCLK
SYNC
BIN/COMP
SDIN
(AD7849B/C/T)
SDIN
(AD7849A)
LDAC, CLR
t
1
t
2
t
4
t
5
t
4
t
5
DB13DB0
DCEN IS TIED PERMANENTLY LOW
t
3
DB0DB15
Figure 12. Timing Diagram (Stand-Alone Mode)
AD7849
t
7
DIGITAL INTERFACE
The AD7849 contains an input serial to parallel shift register
and a DAC latch. A simplified diagram of the input loading
circuitry is shown in Figure 12. Serial data on the SDIN input
is loaded to the input register under control of DCEN, SYNC
and SCLK. When a complete word is held in the shift register it
may then be loaded into the DAC latch under control of
LDAC. Only the data in the DAC latch determines the analog
output on the AD7849.
The DCEN (daisy-chain enable) input is used to select either a
stand-alone mode or a daisy-chain mode. The loading format is
slightly different depending on which mode is selected.
Serial Data Loading Format (Stand-Alone Mode)
With DCEN at Logic 0 the stand-alone mode is selected. In this
mode a low SYNC input provides the frame synchronization
signal which tells the AD7849 that valid serial data on the SDIN
input will be available for the next 16 falling edges of SCLK. An
internal counter/decoder circuit provides a low gating signal so
that only 16 data bits are clocked into the input shift register.
After 16 SCLK pulses the internal gating signal goes inactive
(high) thus locking out any further clock pulses. Therefore either a continuous clock or a burst clock source may be used to
clock in the data.
The SYNC input is taken high after the complete 16-bit word is
loaded in.
The AD7849B, AD7849C and AD7849T versions are 16-bit
resolution DACS and have a straight 16-bit load format, with
the MSB (DB15) being loaded first. The AD7849A is a 14-bit
DAC but the loading structure is still 16-bit. The MSB (DB13)
is loaded first and the final two bits of the 16-bit stream must
be 0s.
There are two ways in which the DAC latch and hence the analog output may be updated. The status of the LDAC input is
examined after SYNC is taken low. Depending on its status,
one of two update modes is selected.
If LDAC = 0 then the automatic update mode is selected. In
this mode the DAC latch and analog output are updated automatically when the last bit in the serial data stream is clocked
in. The update thus takes place on the sixteenth falling SCLK
edge.
If LDAC = 1 then the automatic update is disabled. The DAC
latch update and output update are now separate. The DAC
latch is updated on the falling edge of LDAC. However, the
output update is delayed for a further 5 µs by means of an inter-
nal track-and-hold amplifier in the output stage. This function
results in lower digital-to-analog glitch impulse at the DAC
output. Note that the LDAC input must be taken back high
again before the next data transfer is initiated.
DCEN
SYNC
SCLK
SDIN
LDAC
CLR
RESET
COUNTER/
DECODER
AUTO-UPDATE
CIRCUITRY
GATED
EN
SIGNAL
÷
16
GATED
SCLK
INPUT
SHIFT REGISTER
(16 BITS)
DAC LATCH
(14/16 BITS)
SDOUT
Figure 13. Simplified Loading Structure
REV. B
–9–
AD7849
SD103C
1N5711
1N5712
1N4148
V
DD
V
CC
V
DD
V
CC
AD7849
SCLK
SYNC
BIN/COMP
SDIN
(AD7849B/C/T)
SDOUT
(AD7849B/C/T)
SDIN
(AD7849A)
SDOUT
(AD7849A)
LDAC, CLR
t
2
DB15 (N)
DB13 (N)
DCEN IS TIED PERMANENTLY HIGH
DB0 (N)
Figure 14. Timing Diagram (Daisy-Chain Mode)
t
1
DB0 (N)
t
t
6
6
t
4
t
DB15
(N+1)
DB15 (N)
t
4
t
5
DB13
(N+1)
DB13 (N)
t
3
5
DB0
(N+1)
DB0 (N)
DB0
(N+1)
DB0 (N)
t
7
Serial Data Loading Format (Daisy Chain Mode)
By connecting DCEN high, the daisy-chain mode is enabled.
This mode of operation is designed for multi-DAC systems
where several AD7849s may be connected in cascade. In this
mode, the internal gating circuitry on SCLK is disabled and a
serial data output facility is enabled. The internal gating signal
is permanently active (low) so that the SCLK signal is continuously applied to the input shift register when SYNC is low. The
data is clocked into the register on each falling SCLK edge after
SYNC going low. If more than 16 clock pulses are applied, the
data ripples out of the shift register and appears on the
SDOUT line. By connecting this line to the SDIN input on the
next AD7849 in the chain, a multi-DAC interface may be constructed. Sixteen SCLK pulses are required for each DAC in the
system. Therefore the total number of clock cycles must equal
16 × N where N is the total number of devices in the chain.
When the serial transfer to all devices is complete, SYNC is
taken high. This prevents any further data being clocked into
the input register.
A continuous SCLK source may be used if it can be arranged
that SYNC is held low for the correct number of clock cycles.
Alternatively, a burst clock containing the exact number of clock
cycles may be used and SYNC taken high some time later.
When the transfer to all input registers is complete, a common
LDAC signal updates all DAC latches with the data in each input register. All analog outputs are therefore updated simultaneously, 5 µs after the falling edge of LDAC.
Clear Function (CLR)
The clear function bypasses the input shift register and loads the
DAC Latch with all 0s. It is activated by taking CLR low. In all
ranges except the Offset Binary bipolar range (–5 V to +5 V) the
output voltage is reset to 0 V. In the offset binary bipolar range
the output is set to V
. This clear function is distinct and
REF–
separate from the automatic power-on reset feature of the device.
APPLYING THE AD7849
Power Supply Sequencing and Decoupling
In the AD7849, VCC should not exceed VDD by more than
0.4 V. If this does happen then an internal diode can be turned
on and produce latch-up in the device. Care should be taken to
employ the following power supply sequence: V
; VSS; VCC.
DD
In systems where it is possible to have an incorrect power
sequence (for example, if V
is greater than 0.4 V while VDD is
CC
still 0 V), the circuit of Figure 15 may be used to ensure that
the Absolute Maximum Ratings are not exceeded.
Figure 15. Power Supply Protection
–10–
REV. B
AD7849
V
OUT
(–10V TO +10V)
+15V
+5V
V
DD
V
CC
V
REF+
V
OUT
R
OFS
AGND
DGNDV
REF–
V
SS
–15V
AD7849*
SIGNAL
GND
*
ADDITIONAL PINS
OMITTED FOR CLARITY
AD588
C1
1µF
R2
100kΩ
R3
100kΩ
R1
39kΩ
6
15
2
8
5
14
7
9
3
1
10
12
11
4
13
16
Unipolar Configuration
Figure 16 shows the AD7849 in the unipolar binary circuit configuration. The DAC is driven by the AD586, +5 V reference.
Since R
is tied to 0 V, the output amplifier has a gain of ×2
OFS
and the output range is 0 V to +10 V. If a 0 V to +5 V range is
required, R
should be tied to V
OFS
, configuring the output
OUT
stage for a gain of ×1. Table I gives the code table for the circuit
of Figure 16.
+15V+5V
V
2
AD586
1nF
C1
4
SIGNAL GND
*
ADDITIONAL PINS
OMITTED FOR CLARITY
68
5
R1
10kΩ
DDVCC
V
REF+
AD7849*
V
REF–
V
SS
–15V
V
OUT
R
OFS
AGND
DGND
V
OUT
(0 TO +10V)
Figure 16. Unipolar Binary Operation
Table I. Code Table for Figure 16
Binary Number in DAC LatchAnalog Output
MSB LSB(V
OUT
)
1111 1111 1111 1111+10 (65535/65536) V
1000 0000 0000 0000+10 (32768/65536) V
0000 0000 0000 0001+10 (1/65536) V
0000 0000 0000 00000 V
Offset and gain may be adjusted in Figure 16 as follows: To adjust offset, disconnect the V
with all 0s and adjust the V
input from 0 V, load the DAC
REF–
voltage until V
REF–
= 0 V. For
OUT
gain adjustment, the AD7849 should be loaded with all 1s and
R1 adjusted until V
(B, T and C, 16-bit versions). For the 14-bit A version, V
= 10 (65535)/65536 = 9.9998474 V,
OUT
OUT
should be 10 (16383/16384) = 9.9993896 V.
If a simple resistor divider is used to vary the V
voltage, it is
REF–
important that the temperature coefficients of these resistors match
that of the DAC input resistance (–300 ppm/°C). Otherwise, extra
offset errors will be introduced over temperature. Many circuits
will not require these offset and gain adjustments. In these circuits, R1
circuit and Pin 2 (V
can be omitted. Pin 5 of the AD586 may be left open
,
) of the AD7849 tied to 0 V.
REF–
Bipolar Configuration
Figure 17 shows the AD7849 set up for ±10 V bipolar operation. The AD588 provides precision ±5 V tracking outputs
which are fed to the V
REF+
and V
inputs of the AD7849.
REF–
The code table for Figure 17 is shown in Table II.
Full-scale and bipolar-zero adjustment are provided by varying
the gain and balance on the AD588. R2 varies the gain on the
AD588 while R3 adjusts the +5 V and –5 V outputs together
with respect to ground.
Figure 17. Bipolar ±10 V Operation
Table II. Offset Binary Code Table for Figure 17
Binary Number in DAC LatchAnalog Output
MSB LSB(V
OUT
)
1111 1111 1111 1111+10 (32767/32768) V
1000 0000 0000 0001+10 (1/32768) V
1000 0000 0000 00000 V
0111 1111 1111 1111–10 (1/32768) V
0000 0000 0000 0000–10 (32768/32768) V
For bipolar-zero adjustment on the AD7849, load the DAC
with 100 . . . 000 and adjust R3 until V
= 0 V. Full scale is
OUT
adjusted by loading the DAC with all 1s and adjusting R2 until
= 9.999694 V.
V
OUT
When bipolar-zero and full-scale adjustment are not needed, R2
and R3 can be omitted, Pin 12 on the AD588 should be connected to Pin 11 and Pin 5 should be left floating.
If a user wants a ±5 V output range with the circuit of Figure
17, simply tie Pin 20 (R
) to Pin 19 (V
OFS
), thus reducing the
OUT
output gain stage to unity and giving an output range of ±5 V.
REV. B
–11–
AD7849
Other Output Voltage Ranges
In some cases, users may require output voltage ranges other
than those already mentioned. One example is systems which
need the output voltage to be a whole number of millivolts (i.e.,
1 mV, 2 mV, etc.,). If Figure 18 is used, then the LSB size is
125 µV. This makes it possible to program whole millivolt values at the output. Table III shows the code table for Figure 18.
+15V+5V
V
V
DD
CC
8
1
AD584
4
SIGNAL
*
GND
OMITTED FOR CLARITY
R1
8.192V
R2
ADDITIONAL PINS
V
V
REF+
AD7849*
REF–
R
OFS
V
OUT
DGND
AGND
V
OUT
(0V TO +8.192V)
Figure 18. 0 V to 8.192 V Output Range
Table III. Code Table for Figure 18
Binary NumberAnalog Output
in DAC Latch(V
OUT
)
MSB LSB
1111 1111 1111 11118.192 V (65535/65536) = 8.1919 V
1000 0000 0000 00008.192 V (32768/65536) = 4.096 V
0000 0000 0000 10008.192 V (8/65536) = 0.001 V
0000 0000 0000 01008.192 V (4/65536) = 0.0005 V
0000 0000 0000 00108.192 V (2/65536) = 0.00025 V
0000 0000 0000 00018.192 V (1/65536) = 0.000125 V
Generating ⴞ5 V Output Range From Single +5 V Reference
The diagram below shows how to generate a ±5 V output range
when using a single +5 V reference. V
and R
is connected to V
OFS
. The +5 V reference input is
REF+
is connected to 0 V
REF–
applied to these pins. With all 0s loaded to the DAC, the noninverting terminal of the output stage amplifier is at 0 V and
is simply the inverse of V
V
OUT
. With all 1s loaded to the
REF+
DAC, the noninverting terminal of the output stage amplifier is
at 5 V and so V
C1
1nF
*
ADDITIONAL PINS
OMITTED FOR CLARITY
OUT
2
8
AD586
4
SIGNAL GND
is also at 5 V.
6
5
R1
10kΩ
+15V+5V
V
DD
R
OFS
V
REF+
AD7849*
V
REF–
V
SS
–15V
V
CC
V
OUT
DGND
AGND
V
OUT
(–5V TO +5V)
MICROPROCESSOR INTERFACING
Microprocessor interfacing to the AD7849 is via a serial bus
which uses standard protocol compatible with DSP processors
and microcontrollers. The communications channel requires a
three-wire interface consisting of a clock signal, a data signal
and a synchronization signal. The AD7849 requires a 16-bit
data word with data valid on the falling edge of SCLK. For all
the interfaces, the DAC update may be done automatically
when all the data is clocked in or it may be done under control
of LDAC.
Figures 20 to 24 show the AD7849 configured for interfacing to
a number of popular DSP processors and microcontrollers.
AD7849-ADSP-2101/ADSP-2102 Interface
Figure 20 shows a serial interface between the AD7849 and the
ADSP-2101/ADSP-2102 DSP processor. The ADSP-2101/
ADSP-2102 contains two serial ports and either port may be
used in the interface. The data transfer is initiated by TFS going
low. Data from the ADSP-2101/ ADSP-2102 is clocked into the
AD7849 on the falling edge of SCLK. The DAC can be updated by holding LDAC high while performing the write cycle.
TFS must be taken high after the 16-bit write cycle. LDAC is
brought low at the end of the cycle and the DAC output is updated. In the interface shown the DAC is updated using an external timer which generates an LDAC pulse. This could also be
done using a control or decoded address line from the processor. Alternatively, if the LDAC input is hardwired low the output update takes place automatically on the 16th falling edge of
SCLK.
TIMER
ADSP-2101
ADSP-2102*
SCLK
DT
TFS
*ADDITIONAL PINS OMITTED FOR CLARITY
LDAC
SCLK
SDIN
SYNC
AD7849*
Figure 20. AD7849 to ADSP-2101/ADSP-2102 Interface
AD7849-DSP56000 Interface
A serial interface between the AD7849 and the DSP56000 is
shown in Figure 21. The DSP56000 is configured for Normal
Mode Asynchronous operation with Gated Clock. It is also set
up for a 16-bit word with SCK and SC2 as outputs and the FSL
control bit set to a “0”. SCK is internally generated on the
DSP56000 and applied to the AD7849 SCLK input. Data from
the DSP56000 is valid on the falling edge of SCK. The SC2
output provides the framing pulse for valid data. This line must
be inverted before being applied to the SYNC input of the
AD7849.
In this interface an LDAC pulse generated from an external
timer is used to update the outputs of the DACs. This update
can also be produced using a bit programmable control line
from the DSP56000.
Figure 19. Generating ±5 V Output Range From Single +5 V
–12–
REV. B
AD7849
TIMER
DSP56000
SCK
STD
SC2
*ADDITIONAL PINS OMITTED FOR CLARITY
LDAC
SCLK
SDIN
SYNC
AD7849*
Figure 21. AD7849 to DSP56000 Interface
AD7849-TMS320C2x Interface
Figure 22 shows a serial interface between the AD7849 and the
TMS320C2x DSP processor. In this interface, the CLKX and
FSX signals for the TMS320C2x should be generated using
external clock/timer circuitry. The FSX pin of the TMS320C2x
must be configured as an input. Data from the TMS320C2x is
valid on the falling edge of CLKX.
CLOCK/TIMER
TMS320C2x
FSX
CLKX
DX
*ADDITIONAL PINS OMITTED FOR CLARITY
SYNC
SCLK
SDIN
LDAC
AD7849*
Figure 22. AD7849 to TMS320C2x Interface
The clock/timer circuitry generates the LDAC signal for the
AD7849 to synchronize the update of the output with the serial
transmission. Alternatively, the automatic update mode may be
selected by connecting LDAC to DGND.
AD7849-68HC11 Interface
Figure 23 shows a serial interface between the AD7849 and the
68HC11 microcontroller. SCK of the 68HC11 drives SCLK of
the AD7849 while the MOSI output drives the serial data line
of the AD7849. The SYNC signal is derived from a port line
(PC0 shown).
For correct operation of this interface, the 68HC11 should be
configured such that its CPOL bit is a 0 and its CPHA bit is a 1.
When data is to be transmitted to the part, PC0 is taken low.
When the 68HC11 is configured like this, data on MOSI is valid
on the falling edge of SCK. The 68HC11 transmits its serial
data in 8-bit bytes with only eight falling clock edges occurring
in the transmit cycle. To load data to the AD7849, PC0 is left
low after the first eight bits are transferred and a second byte of
data is then transferred serially to the AD7849. When the second serial transfer is complete, the PC0 line is taken high.
Figure 23 shows the LDAC input of the AD7849 being driven
from another bit programmable port line (PC1). As a result, the
DAC can be updated by taking LDAC low after the DAC input
register has been loaded.
PC1
68HC11*
PC0
SCK
MOSI
*ADDITIONAL PINS OMITTED FOR CLARITY
LDAC
SYNC
SCLK
SDIN
AD7849*
Figure 23. AD7849 to 68HC11 Interface
AD7849-87C51 Interface
A serial interface between the AD7849 and the 87C51 microcontroller is shown in Figure 24. TXD of the 87C51 drives
SCLK of the AD7849 while RXD drives the serial data line of
the part. The SYNC signal is derived from the port line P3.3
and the LDAC line is driven port line P3.2.
The 87C51 provides the LSB of its SBUF register as the first bit
in the serial data stream. Therefore, the user will have to ensure
that the data in the SBUF register is arranged correctly so that
the most significant bits are the first to be transmitted to the
AD7849 and the last bit to be sent is the LSB of the word to be
loaded to the AD7849. 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 87C51 transmits its serial data in 8-bit bytes
with only eight falling clock edges occurring in the transmit
cycle. To load data to the AD7849, P3.3 is left low after the
first eight bits are transferred and a second byte of data is then
transferred serially to the AD7849. When the second serial
transfer is complete, the P3.3 line is taken high.
Figure 24 shows the LDAC input of the AD7849 driven from
the bit programmable port line P3.2. As a result, the DAC output can be updated by taking the LDAC line low following the
completion of the write cycle. Alternatively LDAC could be
hardwired low and the analog output will be updated on the
sixteenth falling edge of TXD after the SYNC signal for the
DAC has gone low.
P3.2
P3.3
87C51*
TXD
RXD
*ADDITIONAL PINS OMITTED FOR CLARITY
LDAC
SYNC
SCLK
SDIN
AD7849*
Figure 24. AD7849 to 87C51 Interface
REV. B
–13–
AD7849
APPLICATIONS
Opto-Isolated Interface
In many process control type applications it is necessary to
provide an isolation barrier between the controller and the unit
being controlled. Opto isolators can provide voltage isolation in
excess of 3 kV. The serial loading structure of the AD7849
makes it ideal for opto-isolated interfaces as the number of
interface lines is kept to a minimum.
Figure 25 shows a 4-channel isolated interface using the
AD7849. The DCEN pin must be connected high to enable the
daisy-chain facility. Four channels with 14-bit or 16-bit resolution are provided in the circuit shown, but this may be expanded
to accommodate any number of DAC channels without any
extra isolation circuitry. The only limitation is the output update rate. For example, if an output update rate of 10 kHz is
required, then all the DACs must be loaded and updated in a
time period of 100 µs. Operating at the maximum clock rate of
5 MHz means that it takes 3.2 µs to load a DAC. This means
that the total number of channels for this update rate would be
V
DD
DATA OUT
V
CONTROLLER
CLOCK OUT
SYNC OUT
CONTROL OUT
QUAD OPTO-COUPLER
DD
V
DD
V
DD
31. This leaves 800 ns for the LDAC pulse. Of course, as the
update rate requirement decreases, the number of possible
channels increases.
The sequence of events to program the output channels in Figure 25 is as follows.
1. Take the SYNC line low.
2. Transmit the data as four 16-bit words. A total of 64 clock
pulses is required to clock the data through the chain.
3. Take the SYNC line high.
4. Pulse the LDAC line low. This updates all output channels
simultaneously on the falling edge of LDAC.
To reduce the number of opto-couplers, the LDAC line could
be driven from a one-shot which is triggered by the rising edge
on the SYNC line. A low level pulse of 100 ns duration or
greater is all that is required to update the outputs.
SDIN
SCLK
SYNC
LDAC
SCLK
SYNC
LDAC
AD7849*
DCEN
SDOUT
SDIN
AD7849*
DCEN
SDOUT
V
OUT
V
OUT
+5V
+5V
V
A
OUT
V
B
OUT
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 25. Four-Channel Opto-Isolated Interface
–14–
SCLK
SYNC
LDAC
SCLK
SYNC
LDAC
SDIN
AD7849*
DCEN
SDOUT
SDIN
AD7849*
DCEN
SDOUT
V
OUT
V
OUT
+5V
+5V
V
C
OUT
V
D
OUT
REV. B
OUTLINE DIMENSIONS
0.32 (8.128)
0.29 (7.366)
0.011 (0.28)
0.009 (0.23)
15°
0°
PIN 1
0.28 (7.11)
0.24 (6.1)
10
11
1
20
0.97 (24.64)
0.935 (23.75)
0.15 (3.8)
0.125 (3.18)
0.02 (0.5)
0.016 (0.41)
0.07 (1.78)
0.05 (1.27)
0.11 (2.79)
0.09 (2.28)
0.18 (4.57)
0.125 (3.18)
SEATING
PLANE
0.20 (5.0)
0.14 (3.56)
LEAD NO. 1 IDENTIFIED BY DOT OR NOTCH
LEADS ARE SOLDER OR TIN-PLATED KOVAR OR ALLOY 42
Dimensions shown in inches and (mm).
Plastic DIP (N-20)
AD7849
PIN 1
0.210
(5.33)
0.200 (5.05)
0.125 (3.18)
20
1
0.022 (0.558)
0.014 (0.356)
1.060 (26.90)
0.925 (23.50)
0.100
(2.54)
BSC
Cerdip (Q-20)
0.070 (1.78)
0.045 (1.15)
11
10
0.280 (7.11)
0.240 (6.10)
0.060 (1.52)
0.015 (0.38)
0.150
(3.81)
SEATING
PLANE
0.325 (8.25)
0.300 (7.62)
0.015 (0.381)
0.008 (0.204)
0.195 (4.95)
0.115 (2.93)
C2011a–0–3/00 (rev. B)
REV. B
2011
1
PIN 1
0.5118 (13.00)
0.4961 (12.60)
0.0118 (0.30)
0.0040 (0.10)
0.0500
(1.27)
BSC
SOIC (R-20)
0.2992 (7.60)
0.2914 (7.40)
10
0.1043 (2.65)
0.0926 (2.35)
0.0192 (0.49)
0.0138 (0.35)
0.0125 (0.32)
0.0091 (0.23)
–15–
0.4193 (10.65)
0.3937 (10.00)
8°
0°
0.0291 (0.74)
0.0098 (0.25)
0.0500 (1.27)
0.0157 (0.40)
x 45 °
PRINTED IN U.S.A.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.