AD7303
–12–
REV. 0
AD7303 to Microwire Interface
Figure 29 shows an interface between the AD7303 and any
microwire compatible device. Serial data is shifted out on the
falling edge of the serial clock and is clocked into the AD7303
on the rising edge of the SK.
SCLK
MICROWIRE*
SK
*ADDITIONAL PINS OMITTED FOR CLARITY
SYNC
DIN
SO
AD7303*
CS
Figure 29. AD7303 to Microwire Interface
APPLICATIONS
Typical Application Circuit
Figure 30 shows a typical setup for the AD7303 when using an
external reference. The reference range for the AD7303 is from
1 V to V
DD
/2 V. Higher values of reference can be incorporated
but will saturate the output at both the top and bottom end of
the transfer function. From input to output on the AD7303
there is a gain of two. Suitable references for 5 V operation are
the AD780 and REF192. For 3 V operation, a suitable external
reference would be the AD589, a 1.23 V bandgap reference.
AD7303
V
OUT
A
V
OUT
B
10µF0.1µF
V
DD
= +3V TO +5V
V
DD
GND
AD780/ REF192
WITH V
DD
= +5V
OR
AD589 WITH V
DD
= +3V
REF
SCLK
DIN
SYNC
GND
V
OUT
V
IN
0.1µF
SERIAL
INTERFACE
EXT
REF
Figure 30. AD7303 Using External Reference
The AD7303 can also be used with its own internally derived
V
DD
/2 reference. Reference selection is through the INT/EXT
bit of the 16-bit input word. The internal reference, when
selected, is also provided as an output at the REF pin and can
be decoupled at this point with a 0.1 µF capacitor for noise
reduction purposes. AC references can also be applied as exter-
nal references to the AD7303. The AD7303 has limited multi-
plying capability, and a multiplying bandwidth of up to 10 kHz
is achievable.
Bipolar Operation Using the AD7303
The AD7303 has been designed for single supply operation, but
bipolar operation is achievable using the circuit shown in Figure
31. 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.
R1
10k
R4
20k
R3
10k
+5V
–5V
±5V
AD7303
V
OUT
A
10µF0.1µF
V
DD
= +5V
V
DD
GND
AD780/ REF192
WITH V
DD
= +5V
OR
AD589 WITH V
DD
= +3V
REF
SCLK
DIN
SYNC
GND
V
OUT
V
IN
0.1µF
SERIAL
INTERFACE
EXT
REF
R2
20k
Figure 31. Bipolar Operation Using the AD7303
The output voltage for any input code can be calculated as
follows:
V
O
= [(1+R4/R3)*(R2/(R1+R2)*(2*V
REF
*D/256)] – R4*V
REF
/R3
where
D is the decimal equivalent of the code loaded to the DAC
and
V
REF
is the reference voltage input.
With V
REF
= 2.5 V, R1 = R3 = 10 k and R2 = R4 = 20K and
V
DD
= 5 V.
V
OUT
= (10 × D/256) – 5
Opto-Isolated Interface for Process Control Applications
The AD7303 has a versatile 3-wire serial interface making it
ideal for generating accurate voltages in process control and
industrial applications. Due to noise, safety requirements or dis-
tance, it may be necessary to isolate the AD7303 from the con-
troller. This can easily be achieved by using opto-isolators,
which will provide isolation in excess of 3 kV. The serial loading
structure of the AD7303 makes it ideally suited for use in opto-
isolated applications. Figure 32 shows an opto-isolated interface
to the AD7303 where DIN, SCLK and
SYNC are driven from
opto-couplers. In this application the reference for the AD7303
is the internal V
DD
/2 reference. It is being decoupled at the REF
pin with a 0.1 µF ceramic capacitor for noise reduction purposes.
AD7303
–13–
REV. 0
SCLK
V
DD
10k
AD7303
DIN
SYNC
SCLK
V
DD
REF
POWER
+5V
REGULATOR
V
OUT
B
V
OUT
A
AGND
10µF
0.1µF
0.1µF
V
DD
10k
DATA
V
DD
10k
SYNC
Figure 32. AD7303 in Opto-Isolated Interface
Decoding Multiple AD7303
The SYNC pin on the AD7303 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
SYNC to one of the DACs will be active at any one time allow-
ing access to two channels in this eight-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 33 shows a dia-
gram of a typical setup for decoding multiple AD7303 devices in
a system.
ENABLE
74HC139
AD7303
SYNC
DIN
SCLK
DIN
SCLK
DGND
CODED
ADDRESS
1A
1B
1Y0
1Y1
1Y2
1Y3
V
CC
V
DD
1G
AD7303
SYNC
DIN
SCLK
AD7303
SYNC
DIN
SCLK
AD7303
SYNC
DIN
SCLK
Figure 33. Decoding Multiple AD7303 Devices in a System
AD7303 as a Digitally Programmable Window Detector
A digitally programmable upper/lower limit detector using the
two DACs in the AD7303 is shown in Figure 34. 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, a led will indicate the fail
condition.
AD7303
V
DD
+5V
V
OUT
A
GND
0.1µF
REF
V
IN
PASS/FAIL
1/2
CMP04
1/6 74HC05
FAIL
PASS
1k
0.1µF
10µF
SCLK
DIN
SYNC
SCLK
DIN
SYNC
1k
V
OUT
B
Figure 34. Window Detector Using AD7303
Programmable Current Source
Figure 35 shows the AD7303 used as the control element of a
programmable current source. In this circuit, the full-scale cur-
rent is set to 1 mA. The output voltage from the DAC is applied
across the current setting resistor of 4.7 k in series with the
full-scale setting resistor of 470 . 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 min
V
SOURCE
of 6 V. The operating range is determined by the oper-
ating characteristics of the transistor. Suitable amplifiers in-
clude the AD820 and the OP295, both having rail-to-rail
operation on their outputs. The current for any digital input
code can be calculated as follows:
I = 2 × V
REF
× D/(5E + 3 × 256) mA
4.7k
470
+5V
LOAD
V
SOURCE
AD7303
V
OUT
A
10µF0.1µF
V
DD
= +5V
V
DD
GND
AD780/ REF192
WITH V
DD
= +5V
REF
SCLK
DIN
SYNC
GND
V
OUT
V
IN
0.1µF
SERIAL
INTERFACE
EXT
REF
AD820/
OP295
Figure 35. Programmable Current Source
AD7303
–14–
REV. 0
AD7303 to 68HC11 Interface Program Source Code
*
PORTC EQU $1003 Port C Control Register
* "SYNC, 0, 0, 0, 0, 0, 0, 0"
DDRC EQU $1007 Port C Data Direction
PORTD EQU $1008 Port D Data Register
* "0, 0, 0, SCLK, DIN, 0, 0, 0"
DDRD EQU $1009 Port D Data Direction
SPCR EQU $1028 SPI Control Register
* "SPIE, SPE, DWOM, MSTR, CPOL, CPHA, SPR1, SPR0"
SPSR EQU $1029 SPI Status Register
* "SPIF, WCOL, 0, MODF, 0, 0, 0, 0"
SPDR EQU $102A SPI Data Register, Read Buffer, Write Shifter
*
* SDI RAM Variables: DIN 1 is eight MSBs, Control BYTE
DIN 2 is eight LSBs, Data BYTE
DAC requires 2*8-bit Writes
DIN1 EQU $00 DIN BYTE 1: "
INT/EXT, X, LDAC, PDB, PBA, A/B, CR1, CR0"
DIN2 EQU $01 DIN BYTE 2: " DB7, DB6, DB5, DB4, DB3, DB2, DB1, DB0"
*
ORG $C000 Start of users ram
INIT LDS #$CFFF Top of C page Ram
*
LDAA #$80 1, 0, 0, 0, 0, 0, 0, 0
* SYNC is High
STAA PORTC Initialize Port C Outputs
LDAA #$80 1, 0, 0, 0, 0, 0, 0, 0
STAA DDRC SYNC enabled as output
*
LDAA #$00 0, 0, 0, 0, 0, 0, 0, 0
* SCLK is low, DIN is low
STAA PORTD Initialize Port D outputs
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
AD7303 is mounted should be designed so that the analog and
digital sections are separated, and confined to certain areas of
the board. If the AD7303 is in a system where multiple
devices require an AGND to DGND connection, the connec-
tion should be made at one point only. The star ground point
should be established as closely as possible to the AD7303. The
AD7303 should have ample supply bypassing of 10 µF in paral-
lel with 0.1 µF on the supply located as closely to the package as
possible, ideally right up against the device. The 10 µF capaci-
tors 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 impedance path to ground at high frequencies to handle
transient currents due to internal logic switching.
The power supply lines of the AD7303 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 digi-
tal 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.

AD7303BNZ

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