REV. 0
AD5334/AD5335/AD5336/AD5344
16
SUGGESTED DATABUS FORMATS
In many applications the GAIN input of the AD5334 and
AD5336 may be hard-wired. However, if more flexibility is
required, it can be included in a data bus. This enables the user
to software program GAIN, giving the option of doubling the
resolution in the lower half of the DAC range. In a bused system
GAIN may be treated as a data input since it is written to the
device during a write operation and takes effect when LDAC is
taken low. This means that the output amplifier gain of multiple
DAC devices can be controlled using a common GAIN line.
The AD5336 databus must be at least 10 bits wide and is best
suited to a 16-bit databus system.
Examples of data formats for putting GAIN on a 16-bit databus
are shown in Figure 32. Note that any unused bits above the
actual DAC data may be used for GAIN.
DB0
DB1DB2
DB3DB4DB5DB6
DB7
DB8DB9
GAIN
XX
AD5336
X
X
X = UNUSED BIT
X
Figure 32. AD5336 Data Format for Byte Load with GAIN
Data on 8-Bit Bus
APPLICATIONS INFORMATION
Typical Application Circuits
The AD5334/AD5335/AD5336/AD5344 can be used with a
wide range of reference voltages and offer full, one-quadrant
multiplying capability over a reference range of 0.25 V to V
DD
.
More typically, these devices may be used with a fixed, preci-
sion reference voltage. Figure 33 shows a typical setup for the
devices when using an external reference connected to the refer-
ence inputs. Suitable references for 5 V operation are the AD780
and REF192. For 2.5 V operation, a suitable external reference
would be the AD589, a 1.23 V bandgap reference.
AD5334/AD5335/
AD5336/AD5344
V
OUT
*
0.1F
V
DD
= 2.5V TO 5.5V
V
DD
GND
AD780/REF192
WITH V
DD
= 5V
OR
AD589 WITH V
DD
= 2.5V
V
REF
*
GND
V
OUT
V
IN
EXT
REF
*ONLY ONE CHANNEL OF V
REF
AND V
OUT
SHOWN
10F
Figure 33. AD5334/AD5335/AD5336/AD5344 Using
External Reference
Driving V
DD
from the Reference Voltage
If an output range of zero to V
DD
is required,
the simplest
solution is to connect the reference inputs to V
DD
.
As this supply
may not be very accurate, and may be noisy, the
devices
may be powered from the reference voltage, for example
using a 5 V reference such as the ADM663 or ADM666,
as shown in Figure 34.
AD5334/AD5335/
AD5336/AD5344
V
OUT
*
V
DD
GND
V
REF
*
GND
V
OUT(2)
V
IN
ADM663/ADM666
VSET SHDN
SENSE
6V TO 16V
*ONLY ONE CHANNEL OF V
REF
AND V
OUT
SHOWN
0.1F
10F
0.1F
Figure 34. Using an ADM663/ADM666 as Power and
Reference to AD5334/AD5335/AD5336/AD5344
Bipolar Operation Using the AD5334/AD5335/AD5336/AD5344
The AD5334/AD5335/AD5336/AD5344 have been designed
for single supply operation, but bipolar operation is achievable
using the circuit shown in Figure 35. The circuit shown has been
configured to achieve an output voltage range of –5 V < V
O
<
+5 V. Rail-to-rail operation at the amplifier output is achievable
using an AD820 or OP295 as the output amplifier.
The output voltage for any input code can be calculated as
follows:
V
O
= [(1 + R4/R3) × (R2/(R1 + R2) × (2 × V
REF
× D/
2
N
)] – R4 × V
REF
/R3
where:
D is the decimal equivalent of the code loaded to the DAC, N is
DAC resolution and V
REF
is the reference voltage input.
With:
V
REF
= 2.5 V
R1 = R3 = 10 k
R2 = R4 = 20 k and V
DD
= 5 V.
V
OUT
= (10 × D/2
N
) – 5
AD5334/AD5335/
AD5336/AD5344
GND
V
DD
= 5V
EXT
REF
V
OUT
*
AD780/REF192
WITH V
DD
= 5V
OR
AD589 WITH V
DD
= 2.5V
GND
V
IN
V
OUT
V
REF
*
V
DD
R3
10k
R1
10k
R2
20k
R4
20k
5V
+5V
5V
*ONLY ONE CHANNEL OF V
REF
AND V
OUT
SHOWN
0.1F
0.1F
10F
Figure 35. Bipolar Operation using the AD5334/AD5335/
AD5336/AD5344
REV. 0
AD5334/AD5335/AD5336/AD5344
17
Decoding Multiple AD5334/AD5335/AD5336/AD5344
The CS pin on these devices can be used in applications to decode
a number of DACs. In this application, all DACs in the system
receive the same data and WR pulses, but only the CS to one of
the DACs will be active at any one time, so data will only be
written to the DAC whose CS is low. If multiple AD5343s are
being used, a common HBEN line will also be required to
determine if the data is written to the high-byte or low-byte
register of the selected DAC.
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 oc-
curring, the enable input should be brought to its inactive state
while the coded address inputs are changing state. Figure 36 shows
a diagram of a typical setup for decoding multiple devices in a
system. Once data has been written sequentially to all DACs in
a system, all the DACs can be updated simultaneously using a
common LDAC line. A common CLR line can also be used to
reset all DAC outputs to zero (except on the AD5344).
ENABLE
CODED
ADDRESS
1G
1A
1B
V
DD
V
CC
74HC139
DGND
1Y0
1Y1
1Y2
1Y3
A0
A1
HBEN
WR
LDAC
CLR
DATA
INPUTS
DATA
INPUTS
DATA
INPUTS
A1
A0
HBEN*
WR
LDAC
CLR
CS
DATA
INPUTS
DATA BUS
*AD5335 ONLY
A1
A0
HBEN*
WR
LDAC
CLR
CS
A1
A0
HBEN*
WR
LDAC
CLR
CS
A1
A0
HBEN*
WR
LDAC
CLR
CS
AD5334/AD5335/
AD5336/AD5344
AD5334/AD5335/
AD5336/AD5344
AD5334/AD5335/
AD5336/AD5344
AD5334/AD5335/
AD5336/AD5344
Figure 36. Decoding Multiple DAC Devices
AD5334/AD5335/AD5336/AD5344 as a Digitally Programmable
Window Detector
A digitally programmable upper/lower limit detector using two
of the DACs in the AD5334/AD5335/AD5336/AD5344 is
shown in Figure 37.
Any pair of DACs in the device may be used, but for simplicity
the description will refer to DACs A and B.
Care must be taken to connect the correct reference inputs to
the reference source. The AD5334 and AD5335 have only two
reference inputs, V
REF
A/B for DACs A and B and V
REF
C/D for
DACs C and D. If DACs A and B are used (for example) then
only V
REF
A/B is needed. DACs C and D and V
REF
C/D may be
used for some other purpose. The AD5336 and AD5344 have
separate reference inputs for each DAC.
The upper and lower limits for the test are loaded to DACs A
and B which, 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.
5V
0.1F
10F
AD5336/AD5344
GND
V
REF
A
V
DD
V
OUT
A
V
REF
B
V
OUT
B
V
IN
FAIL PASS
1k 1k
PASS/
FAIL
1/6 74HC05
1/2
CMP04
V
REF
Figure 37. Programmable Window Detector
Programmable Current Source
Figure 38 shows the AD5334/AD5335/AD5336/AD5344 used
as the control element of a programmable current source. In this
example, the full-scale current is set to 1 mA. The output volt-
age from the DAC is applied across the current setting resistor
of 4.7 k in series with the 470 adjustment potentiometer,
which gives an adjustment of about ± 5%. Suitable transistors to
place in the feedback loop of the amplifier include the BC107
and the 2N3904, which enable the current source to operate
from a minimum V
SOURCE
of 6 V. The operating range is deter-
mined by the operating characteristics of the transistor. Suitable
amplifiers include the AD820 and the OP295, both having rail-
to-rail operation on their outputs. The current for any digital
input code and resistor value can be calculated as follows:
IGV
D
R
mA
REF
N
×
×()2
Where:
G is the gain of the buffer amplifier (1 or 2)
D is the digital input code
N is the DAC resolution (8, 10, or 12 bits)
R is the sum of the resistor plus adjustment potentiometer in k
AD5334/AD5335/
AD5336/AD5344
GND
V
DD
= 5V
EXT
REF
V
OUT
*
AD780/REF192
WITH V
DD
= 5V
GND
V
IN
V
OUT
V
REF
*
V
DD
4.7k
5V
*ONLY ONE CHANNEL OF V
REF
AND V
OUT
SHOWN
0.1F
0.1F
10F
470
LOAD
V
SOURCE
AD820/
OP295
Figure 38. Programmable Current Source
REV. 0
AD5334/AD5335/AD5336/AD5344
18
Coarse and Fine Adjustment Using the AD5334/AD5335/
AD5336/AD5344
Two of the DACs in the AD5334/AD5335/AD5336/AD5344 can
be paired together to form a coarse and fine adjustment function,
as shown in Figure 39. As with the window comparator previ-
ously described, the description will refer to DACs A, and B and
the reference connections will depend on the actual device used.
DAC A is used to provide the coarse adjustment while DAC B
provides the fine adjustment. Varying the ratio of R1 and R2 will
change the relative effect of the coarse and fine adjustments. With
the resistor values shown the output amplifier has unity gain for
the DAC A output, so the output range is zero to (V
REF
– 1 LSB).
For DAC B the amplifier has a gain of 7.6 × 10
–3
, giving DAC B
a range equal to 2 LSBs of DAC A.
The circuit is shown with a 2.5 V reference, but reference volt-
ages up to V
DD
may be used. The op amps indicated will allow a
rail-to-rail output swing.
GND
V
DD
= 5V
EXT
REF
AD780/REF192
WITH V
DD
= 5V
V
IN
V
OUT
R2
51.2k
V
OUT
5V
0.1F
0.1F
10F
AD5336/AD5344
GND
V
REF
A
V
DD
V
OUT
A
R1
390
V
REF
B
V
OUT
B
R4
390
R3
51.2k
Figure 39. Coarse and Fine Adjustment
Power Supply Bypassing and Grounding
In any circuit where accuracy is important, careful consideration
of the power supply and ground return layout helps to ensure
the rated performance. The printed circuit board on which the
AD5334/AD5335/AD5336/AD5344 is mounted should be
designed so that the analog and digital sections are separated,
and confined to certain areas of the board. If the device is in a
system where multiple devices require an AGND-to-DGND
connection, the connection should be made at one point only.
The star ground point should be established as closely as pos-
sible to the device. The AD5334/AD5335/AD5336/AD5344
should have ample supply bypassing of 10 µF in parallel with
0.1 µF on the supply located as close to the package as possible,
ideally right up against the device. The 10 µF capacitors are the
tantalum bead type. The 0.1 µF capacitor should have low
Effective Series Resistance (ESR) and Effective Series Inductance
(ESI), like the common ceramic types that provide a low imped-
ance path to ground at high frequencies to handle transient
currents due to internal logic switching.
The power supply lines of the device should use as large a trace
as possible to provide low impedance paths and reduce the
effects of glitches on the power supply line. Fast switching sig-
nals such as clocks should be shielded with digital ground to
avoid radiating noise to other parts of the board, and should
never be run near the reference inputs. Avoid crossover of digital
and analog signals. Traces on opposite sides of the board should
run at right angles to each other. This reduces the effects of
feedthrough through the board. A microstrip technique is by
far the best, but not always possible with a double-sided board.
In this technique, the component side of the board is dedicated
to ground plane while signal traces are placed on the solder side.

AD5336BRU

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