FEATURES
Two 8-Bit DACs in One Package
8-Pin DIP/SOIC and microSOIC Packages
+2.7 V to +5.5 V Operation
Internal & External Reference Capability
Individual DAC Power-Down Function
Three-Wire Serial Interface
QSPI™, SPI™ and Microwire™ Compatible
On-Chip Output Buffer
Rail-to-Rail Operation
On-Chip Control Register
Low Power Operation: 2.3 mA @ 3.3 V
Full Power-Down to 1 mA max, typically 80 nA
APPLICATIONS
Portable Battery Powered Instruments
Digital Gain and Offset Adjustment
Programmable Voltage and Current Sources
Programmable Attenuators
Voltage Output 8-Bit DAC
AD7303
FUNCTIONAL BLOCK DIAGRAM
GENERAL DESCRIPTION
The AD7303 is a dual, 8-bit voltage out DAC that operates
from a single +2.7 V to +5.5 V supply. Its on-chip precision output buffers allow the DAC outputs to swing rail to rail. This device uses a versatile 3-wire serial interface that operates at clock
rates up to 30 MHz, and is compatible with QSPI, SPI, microwire
and digital signal processor interface standards. The serial input
register is sixteen bits wide; 8 bits act as data bits for the DACs,
and the remaining eight bits make up a control register.
The on-chip control register is used to address the relevant
DAC, to power down the complete device or an individual
DAC, to select internal or external reference and to provide a
synchronous loading facility for simultaneous update of the
DAC outputs with a software LDAC function.
The low power consumption of this part makes it ideally suited
to portable battery operated equipment. The power consumption is 7.5 mW max at 3 V, reducing to less than 3 µW in full
power-down mode.
The AD7303 is available in an 8-pin plastic dual in-line package, 8-lead SOIC and microSOIC packages.
QSPI and SPI are trademarks of Motorola.
Microwire is a trademark of National Semiconductor.
PRODUCT HIGHLIGHTS
1. Low power, single supply operation. This part operates from
a single +2.7 V to +5.5 V supply and consumes typically
15 mW at 5.5 V, making it ideal for battery powered
applications.
2. The on-chip output buffer amplifiers allow the outputs of the
DACs to swing rail to rail with a settling time of typically 1.2 µs.
3. Internal or external reference capability.
4. High speed serial interface with clock rates up to 30 MHz.
5. Individual power-down of each DAC provided. When completely powered down, the DAC consumes typically 80 nA.
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.
(VDD = +2.7 V to +5.5 V, Internal Reference; RL = 10 kV to VDD and GND; CL = 100 pF
AD7303–SPECIFICATIONS
ParameterB Versions
to GND; all specifications T
1
UnitsConditions/Comments
MIN
to T
unless otherwise noted)
MAX
STATIC PERFORMANCE
Resolution8Bits
Relative Accuracy±1LSB maxNote 2
Differential Nonlinearity±1LSB maxGuaranteed Monotonic
Zero-Code Error @ +25°C3LSB maxAll Zeros Loaded to DAC Register
Full-Scale Error–0.5LSB typAll Ones Loaded to DAC Register
Gain Error
3
+1% FSR typ
Zero-Code Temperature Coefficient100µV/°C typ
DAC REFERENCE INPUT
REFIN Input Range1 to V
REFIN Input Impedance10ΜΩ typ
Internal Voltage Reference Error
4
±1% max
/2V min to max
DD
OUTPUT CHARACTERISTICS
Output Voltage Range0 to V
DD
V min to max
Output Voltage Settling Time2µs maxTypically 1.2 µs
Slew Rate7.5V/µs typ
Digital to Analog Glitch Impulse0.5nV-s typ1 LSB Change Around Major Carry
Digital Feedthrough0.2nV-s typ
Digital Crosstalk0.2nV-s typ
Analog Crosstalk±0.2LSB typ
DC Output Impedance40Ω typ
Short Circuit Current14mA typ
Power Supply Rejection Ratio0.0001%/% max∆ VDD = ±10%
LOGIC INPUTS
Input Current±10µA max
V
, Input Low Voltage0.8V maxVDD = +5 V
INL
V
, Input High Voltage2.4V minVDD = +5 V
INH
0.6V maxV
2.1V minV
= +3 V
DD
= +3 V
DD
Pin Capacitance5pF max
POWER REQUIREMENTS
V
DD
I
(Normal Mode)Both DACs Active and Excluding Load Currents,
DD
V
= 3.3 VVIH = VDD, VIL = GND
DD
2.7/5.5V min/max
@ +25°C2.1mA maxSee Figure 8
T
V
MIN
DD
– T
= 5.5 V
MAX
2.3mA max
@ +25°C2.7mA max
T
– T
MIN
I
(Full Power-Down)
DD
MAX
@ +25°C80nA typV
T
– T
MIN
MAX
NOTES
1
Temperature ranges are as follows: B Version, –40°C to +105°C.
2
Relative Accuracy is calculated using a reduced digital code range of 15 to 245.
3
Gain Error is specified between Codes 15 and 245. The actual error at Code 15 is typically 3 LSB.
4
Internal Voltage Reference Error = (Actual V
is selected.
Specifications subject to change without notice.
REF
3.5mA max
1µA maxSee Figure 19
– Ideal V
REF
/Ideal V
) • 100. Ideal V
REF
= VDD/2, actual V
REF
= VDD, VIL = GND
IH
= voltage on reference pin when internal reference
REF
ORDERING GUIDE
TemperaturePackage
ModelRangeOptions*
AD7303BN–40°C to +105°CN-8
AD7303BR–40°C to +105°CSO-8
AD7303BRM–40°C to +105°CRM-8
*N = Plastic DIP; R = SOIC; RM = microSOIC.
–2–
REV. 0
AD7303
(VDD = +2.7 V to +5.5 V; GND = 0 V; Reference = Internal VDD/2 Reference; all specifications
1, 2
T
to T
TIMING CHARACTERISTICS
ParameterLimit at T
t
1
t
2
t
3
t
4
t
5
t
6
t
7
t
8
NOTES
1
Sample tested at +25°C to ensure compliance. All input signals are specified with tr = tf = 5 ns (10% to 90% of VDD) and timed from a voltage level of (VIL + VIH)/2,
tr and tf should not exceed 1 µs on any input.
2
See Figures 1 and 2.
33ns minSCLK Cycle Time
13ns minSCLK High Time
13ns minSCLK Low Time
5ns minSYNC Setup Time
5ns minData Setup Time
4.5ns minData Hold Time
4.5ns minSYNC Hold Time
33ns minMinimum SYNC High Time
MIN
, T
MIN
(B Version)UnitsConditions/Comments
MAX
SCLK (I)
t
t
8
4
SYNC (I)
t
5
t
6
DIN (I)
DB15
unless otherwise noted)
MAX
t
1
t
2
t
3
DB0
t
7
t
4
SCLK (I)
SYNC (I)
DIN (I)
Figure 1. Timing Diagram for Continuous 16-Bit Write
t
t
t
4
8
t
5
t
6
DB15DB8
Figure 2. Timing Diagram for 2 × 8-Bit Writes
t
1
t
2
3
t
5
t
6
DB7DB0
t
7
REV. 0
–3–
AD7303
WARNING!
ESD SENSITIVE DEVICE
ABSOLUTE MAXIMUM RATINGS*
(TA = +25°C unless otherwise noted)
VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
Reference Input Voltage to GND . . . . –0.3 V to V
Digital Input Voltage to GND . . . . . . . –0.3 V to V
V
OUT
A, V
B to GND . . . . . . . . . . . –0.3 V to VDD + 0.3 V
*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.
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 AD7303 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.
PIN CONFIGURATIONS
(DIP, SOIC and microSOIC)
B
V
1
V
A
OUT
V
2
DD
AD7303
TOP VIEW
3
GND
(Not to Scale)
REF
4
8
OUT
7
SYNC
6
DIN
5
SCLK
PIN FUNCTION DESCRIPTIONS
Pin
No.MnemonicFunction
1V
2V
AAnalog Output Voltage from DAC A. The output amplifier swings rail to rail on its output.
OUT
DD
Power Supply Input. These parts can be operated from +2.7 V to +5.5 V and should be decoupled to GND.
3GNDGround reference point for all circuitry on the part.
4REFExternal Reference Input. This can be used as the reference for both DACs, and is selected by setting the
INT/EXT bit in the control register to a logic one. The range on this reference input is 1 V to VDD/2. When
the internal reference is selected, this voltage will appear as an output for decoupling purposes at the REF Pin.
When using the internal reference, external voltages should not be connected to the REF Pin, see Figure 21.
5SCLKSerial Clock. Logic Input. Data is clocked into the input shift register on the rising edge of the serial clock
input. Data can be transferred at rates up to 30 MHz.
6DINSerial Data Input. This device has a 16-bit shift register, 8 bits for data and 8 bits for control. Data is clocked
into the register on the rising edge of the clock input.
7
SYNCLevel Triggered Control Input (active low). This is the frame synchronization signal for the input data. When
8V
SYNC goes low, it enables the input shift register and data is transferred in on the rising edges of the following
clocks. The rising edge of the
BAnalog output voltage from DAC B. The output amplifier swings rail to rail on its output.
OUT
SYNC causes the relevant registers to be updated.
–4–
REV. 0
AD7303
TERMINOLOGY
INTEGRAL NONLINEARITY
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 function. A graphical representation of the transfer curve is shown
in Figure 15.
DIFFERENTIAL NONLINEARITY
Differential nonlinearity is the difference between the measured
change and the ideal 1 LSB change of any two adjacent codes. A
specified differential nonlinearity of ±1 LSB maximum ensures
monotonicity.
ZERO CODE ERROR
Zero code error is the measured output voltage from V
OUT
of
either DAC when zero code (all zeros) is loaded to the DAC
latch. It is due to a combination of the offset errors in the DAC
and output amplifier. Zero-scale error is expressed in LSBs.
GAIN ERROR
This is a measure of the span error of the DAC. It is the deviation in slope of the DAC transfer characteristic from ideal
expressed as a percent of the full-scale value. Gain error is calculated between Codes 15 and 245.
FULL-SCALE ERROR
Full-Scale Error is a measure of the output error when the DAC
latch is loaded with FF Hex. Full-scale error includes the offset
error.
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 software LDAC used to update the DAC.
It is normally specified as the area of the glitch in nV-s and is
measured when the digital input code is changed by 1 LSB at
the major carry transition.
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
specified in nV-s and 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 the other DAC. It is measured in
LSBs.
POWER SUPPLY REJECTION RATIO (PSRR)
This specification indicates how the output of the DAC is
affected by changes in the power supply voltage. Power supply
rejection ratio is quoted in terms of % change in output per %
of change in V
for full-scale output of the DAC. VDD is varied
DD
± 10%. This specification applies to an external reference only
because the output voltage will track the V
voltage when in-
DD
ternal reference is selected.
REV. 0
–5–
AD7303–Typical Performance Characteristics
SYNC
V
OUT
POWER UP TIME
V
DD
= +5V
INTERNAL REFERENCE
BOTH DACS IN POWER DOWN INITIALLY
1
2
CH1 = 2V/div, CH2 = 5V/div,
TIME BASE = 2µs/div
800
VDD = +5V AND +3V
720
INTERNAL REFERENCE
640
T
= 258C
A
DAC LOADED WITH 00HEX
560
480
– mV
400
OUT
320
V
249
160
80
0
08246
SINK CURRENT – mA
Figure 3. Output Sink Current Capability with V
0.5
0.45
0.4
0.35
0.3
0.25
0.2
ERROR – LSBs
0.15
0.1
0.05
0
1 1.22.8
= 3 V and VDD = 5 V
DD
VDD = +5V
= 258C
T
A
INL ERROR
DNL ERROR
1.4 1.6 1.82.2 2.4 2.62
REFERENCE VOLTAGE – Volts
5
4.92
4.84
4.76
4.68
4.6
– Volts
4.52
OUT
V
4.44
V
= +5V
DD
4.36
INTERNAL REFERENCE
DAC REGISTER LOADED WITH FFHEX
4.28
TA = 25°C
4.2
02846
SOURCE CURRENT – mA
Figure 4. Output Source Current
Capability with V
5
4.5
4
INTERNAL REFERENCE
VDD = +5V
3.5
– mA
DD
I
3
2.5
2
–60 –40 –20 0 20 40 60 80 100 120 140
LOGIC INPUTS = V
TEMPERATURE – 8C
= 5 V
DD
LOGIC INPUTS = VIH OR V
OR GND
DD
IL
3.5
3.25
3
2.75
2.5
2.25
– Volts
VDD = +3V
2
OUT
INTERNAL REFERENCE
V
DAC REGISTER LOADED WITH FFHEX
1.75
TA = 25°C
1.5
1.25
1
018234567
SOURCE CURRENT – mA
Figure 5. Output Source Current
Capability with V
5.5
5
INTERNAL REFERENCE
4.5
3.5
– mA
DD
I
2.5
1.5
TA = 25°C
4
LOGIC INPUTS = VIH OR V
3
2
2.535.5
= 3 V
DD
IL
LOGIC INPUTS = V
3.544.55
V
DD
DD
– Volts
OR GND
Figure 6. Relative Accuracy vs.
External Reference
10
5
0
–5
–10
–15
VDD = +5V
–20
EXTERNAL SINE WAVE REFERENCE
DAC REGISTER LOADED WITH FFHEX
–25
TA = 25°C
ATTENUATION – dB
–30
–35
–40
110100001001000
FREQUENCY – kHz
Figure 9. Large Scale Signal
Frequency Response
Figure 7. Supply Current vs.
Temperature
T
V
= +3V
SYNC
DD
1
INTERNAL VOLTAGE REFERENCE
FULL SCALE CODE CHANGE 00H-FFH
TA = 25°C
2
V
OUT
V
OUT
3
CH1 5V, CH2 1V, CH3 20mV
TIME BASE = 200ns/div
Figure 10. Full-Scale Settling Time
Figure 8. Supply Current vs.
Supply Voltage
Figure 11. Exiting Power-Down (Full
Power-Down)
–6–
REV. 0
AD7303
2
1
V
OUT
CH1 5.00V, CH2 50.0mV, M 250ns
SYNC
V
DD
= +5V
INTERNAL VOLTAGE
REFERENCE
10 LSB STEP CHANGE
T
Figure 18. Typical Internal Reference
Error vs. Temperature
Figure 19. Power-Down Current vs.
Temperature
–7–
AD7303
GENERAL DESCRIPTION
D/A Section
The AD7303 is a dual 8-bit voltage output digital-to-analog
converter. The architecture consists of a reference amplifier and
a current source DAC, followed by a current-to-voltage converter capable of generating rail-to-rail voltages on the output of
the DAC. Figure 20 shows a block diagram of the basic DAC
architecture.
REF
V
DD
30kΩ
30kΩ
REFERENCE
AMPLIFIER
AD7303
CURRENT
DAC
11.7kΩ
11.7kΩ
OUTPUT
AMPLIFIER
V
A/B
O
Figure 20. DAC Architecture
Both DAC A and DAC B outputs are internally buffered and
these output buffer amplifiers have rail-to-rail output characteristics. The output amplifier is capable of driving a load of 10 kΩ
to both V
and ground and 100 pF to ground. The reference
DD
selection for the DAC can be either internally generated from
V
or externally applied through the REF pin. Reference
DD
selection is via a bit in the control register. The range on the
external reference input is from 1.0 V to V
/2. The output
DD
voltage from either DAC is given by:
V
A/B = 2 ×V
O
× (N/256)
REF
where:
V
is the voltage applied to the external REF pin or
REF
V
/2 when the internal reference is selected.
DD
Nis the decimal equivalent of the code loaded to the DAC
register and ranges from 0 to 255.
Reference
The AD7303 has the facility to use either an external reference
applied through the REF pin or an internal reference generated
from V
where the internal V
. Figure 21 shows the reference input arrangement
DD
/2 has been selected.
DD
reference appears at the reference pin as an output voltage for
decoupling purposes. When using the internal reference, external
references should not be connected to the REF pin. If external reference is selected, both switches are open and the externally
applied voltage to the REF pin is applied to the reference amplifier.
Decoupling capacitors applied to the REF pin decouple both
the internal reference and external reference. In noisy environments it is recommended that a 0.1 µF capacitor be connected
to the REF pin to provide added decoupling even when the internal reference is selected.
Analog Outputs
The AD7303 contains two independent voltage output DACs
with 8-bit resolution and rail-to-rail operation. The output buffer
provides a gain of two at the output. Figures 3 to 5 show the sink
and source capabilities of the output amplifier. The slew rate of the
output amplifier is typically 8 V/µs and has a full-scale settling to 8
bits with a 100 pF capacitive load in typically 1.2 µs.
The input coding to the DAC is straight binary. Table I shows
the binary transfer function for the AD7303. Figure 22 shows
the DAC transfer function for binary coding. Any DAC output
voltage can ideally be expressed as:
V
OUT
= 2 × V
(N/256)
REF
where:
Nis the decimal equivalent of the binary input code.
N ranges from 0 to 255.
V
is the voltage applied to the external REF pin when
REF
the external reference is selected and is V
/2 if the
DD
internal reference is used.
Table I. Binary Code Table for AD7303 DAC
Digital Input
MSB . . . LSBAnalog Output
1111 11112 × 255/256 × V
1111 11102 × 254/256 × V
1000 00012 × 129/256 × V
1000 0000V
REF
V
0111 11112 × 127/256 × V
0000 00012 × V
REF
/256 V
REF
REF
REF
REF
V
V
V
V
0000 00000 V
AD7303
INT/EXT
REFERENCE
AMPLIFIER
0.1µF
REF
30kΩ
30kΩ
V
DD
Figure 21. Reference Input
When the internal reference is selected during the write to the
DAC, both switches are closed and V
applied to the reference amplifier. This internal V
/2 is generated and
DD
/2 reference
DD
appears at the reference pin as an output voltage for decoupling
purposes. When using the internal reference, external references
should not be connected to the REF Pin. This internal V
DD
/2
–8–
2.V
REF
V
REF
DAC OUTPUT VOLTAGE
0
DAC INPUT
CODE
Figure 22. DAC Transfer Function
0001
FF80 81FE7F
REV. 0
AD7303
SERIAL INTERFACE
The AD7303 contains a versatile 3-wire serial interface that is
compatible with SPI, QSPI and Microwire interface standards as well as a host of digital signal processors. An active
low SYNC enables the shift register to receive data from the
serial data input DIN. Data is clocked into the shift register on
the rising edge of the serial clock. The serial clock frequency
can be as high as 30 MHz. This shift register is 16 bits wide as
shown in Figures 23 and 24. The first eight bits are control bits
and the second eight bits are data bits for the DACs. Each
transfer must consist of a 16-bit transfer. Data is sent MSB first
and can be transmitted in one 16-bit write or two 8-bit writes.
SPI and Microwire interfaces output data in 8-bit bytes and
thus require two 8-bit transfers. In this case the SYNC input to
the DAC should remain low until all sixteen bits have been
transferred to the shift register. QSPI interfaces can be pro-
INT/EXT
MSB
X
LDAC
PDB
PDA
A/B
CR1
CR0
DB7
DB6
16-BIT SHIFT REGISTER
DB5
DB4
DB3
DB2
DB1
LSB
DB0
SYNC
LATCH
7
8
8
8
SEQUENCER
LATCH & CLK
DRIVERS
CLOCK BUS
INPUT
REGISTER
INPUT
REGISTER
16
8
8
DAC A POWER-DOWN
DAC B POWER-DOWN
BANDGAP POWER-DOWN
8 TO 32
DECODER
8 TO 32
DECODER
grammed to transfer data in 16-bit words. After clocking all sixteen bits to the shift register, the rising edge of SYNC executes
the programmed function. The DACs are double buffered
which allows their outputs to be simultaneously updated.
INPUT SHIFT REGISTER DESCRIPTION
The input shift register is 16 bits wide. The first eight bits consist of control bits and the last eight bits are data bits. Figure 23
shows a block diagram of the logic interface on the AD7303
DAC. The seven bits in the control word are taken from the input shift register to a latch sequencer that decodes this data and
provides output signals that control the data transfers to the input and data registers of the selected DAC, as well as output
updating and various power-down features associated with the
control section. A description of all bits contained in the input
shift register is given below.
DAC A BIAS
DAC B BIAS
V
A
OUT
V
B
OUT
REF
SELECTOR
REFERENCE
30
30
INT
CURRENT
SWITCH
DAC
REGISTER
DAC
REGISTER
BANDGAP
BIAS GEN
REF
RESISTOR
SWITCH
30
30
DAC A
DAC B
REV. 0
SYNC
SCLK
DIN
Figure 23. Logic Interface on the AD7303
–9–
AD7303
DB15 (MSB)DB0 (LSB)
INT/EXT
|––––––––––––––––––––––––– Control Bits –––––––––––––––––––––––––|––––––––––––––––––––––––– Data Bits –––––––––––––––––––––––––|
Bit LocationMnemonicDescription
XLDAC PDBPBA
Figure 24. Input Shift Register Contents
CR1CR0DB7DB6 DB5DB4DB3DB2DB1DB0
A/B
DB15
DB14XUncommitted bit.
DB13LDACLoad DAC bit for synchronous update of DAC outputs.
DB12PDBPower-down DAC B.
DB11PDAPower-down DAC A.
DB10
DB9CR1Control Bit 1 used in conjunction with CR0 to implement the various data loading functions.
DB8CR0Control Bit 0 used in conjunction with CR1 to implement the various data loading functions.
DB7–DB0DataThese bits contain the data used to update the output of the DACs. DB7 is the MSB and
CONTROL BITS
LDACA/BCR1CR0Function Implemented
0X00Both DAC registers loaded from shift register.
0001Update DAC A input register from shift register.
0101Update DAC B input register from shift register.
0010Update DAC A DAC register from input register.
0110Update DAC B DAC register from input register.
0011Update DAC A DAC register from shift register.
0111Update DAC B DAC register from shift register.
10XXLoad DAC A input register from shift register and update
11XXLoad DAC B input register from shift register and update
INT/EXTSelects between internal and external reference.
A/BAddress bit to select either DAC A or DAC B.
DB0 the LSB of the 8-bit data word.
both DAC A and DAC B DAC registers.
both DAC A and DAC B DAC registers outputs.
INT/EXTFunction
0Internal VDD/2 reference selected.
1External reference selected; this external reference is applied at the REF pin and ranges from
1 V to VDD/2.
PDAPDBFunction
00Both DACs active.
01DAC A active and DAC B in power-down mode.
10DAC A in power-down mode and DAC B active.
11Both DACs powered down.
–10–
REV. 0
AD7303
SCLK
68HC11/68L11*
SCK
*ADDITIONAL PINS OMITTED FOR CLARITY
SYNC
DIN
MOSI
AD7303*
PC7
SCLK
80C51/80L51*
TXD
*ADDITIONAL PINS OMITTED FOR CLARITY
SYNC
SDIN
RXD
AD7303*
P3.3
POWER-ON RESET
The AD7303 has a power-on reset circuit designed to allow output
stability during power-up. This circuit holds the DACs in a reset
state until a write takes place to the DAC. In the reset state all zeros
are latched into the input registers of each DAC, and the DAC registers are in transparent mode. Thus the output of both DACs are
held at ground potential until a write takes place to the DAC.
POWER-DOWN FEATURES
Two bits in the control section of the 16-bit input word are used to
put the AD7303 into low power mode. DAC A and DAC B can be
powered down separately. When both DACs are powered down,
the current consumption of the device is reduced to less than 1 µA,
making the device suitable for use in portable battery powered
equipment. The reference bias servo loop, the output amplifiers
and associated linear circuitry are all shut down when the powerdown is activated. The output sees a load of approximately 23 kΩ
to GND when in power-down mode as shown in Figure 25. The
contents of the data registers are unaffected when in power-down
mode. The time to exit power-down is determined by the nature of
the power-down, if the device is fully powered down the bias generator is also powered down and the device takes typically 13 µs to
exit power-down mode. If the device is only partially powered
down, i.e., only one channel powered down, in this case the bias
generator is active and the time required for the power-down channel to exit this mode is typically 1.6 µs. See Figures 11 and 12.
V
DD
VO A/B
I
V
11.7kΩ
DAC
11.7kΩ
REF
Figure 25. Output Stage During Power-Down
MICROPROCESSOR INTERFACING
AD7303 to ADSP-2101/ADSP-2103 Interface
Figure 26 shows a serial interface between the AD7303 and the
ADSP-2101/ADSP-2103. The ADSP-2101/ADSP-2103 should
be set up to operate in the SPORT Transmit Alternate 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 writing a word
to the Tx register after the SPORT has been enabled. The data
is clocked out on each falling edge of the serial clock and clocked
into the AD7303 on the rising edge of the SCLK.
AD7303 to 68HC11/68L11 Interface
Figure 27 shows a serial interface between the AD7303 and the
68HC11/68L11 microcontroller. SCK of the 68HC11/68L11
drives the CLKIN of the AD7303, while the MOSI output
drives the serial data line of the DAC. The
SYNC 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 0. When data is being transmitted to the DAC,
the
SYNC line is taken low (PC7). When the 68HC11/68L11 is
configured as above, data appearing on the MOSI output is
valid on the rising edge of SCK. Serial data from the 68HC11/
68L11 is transmitted in 8-bit bytes with only eight falling clock
edges occurring in the transmit cycle. Data is transmitted MSB
first. In order to load data to the AD7303, PC7 is left low after
the first eight bits are transferred, and a second serial write operation is performed to the DAC and PC7 is taken high at the
end of this procedure.
Figure 27. AD7303 to 68HC11/68L11 Interface
AD7303 to 80C51/80L51 Interface
Figure 28 shows a serial interface between the AD7303 and the
80C51/80L51 microcontroller. The setup for the interface is as
follows: TXD of the 80C51/80L51 drives SCLK of the AD7303,
while RXD drives the serial data line of the part. The
SYNC
signal is again derived from a bit programmable pin on the port.
In this case port line P3.3 is used. When data is to be transmitted to the AD7303, P3.3 is taken low. The 80C51/80L51 transmits data only in 8-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 AD7303 requires its data with the MSB as the first bit
received. The 80C51/80L51 transmit routine should take this
into account.
ADSP-2101/
ADSP-2103*
SCLK
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 26. AD7303 to ADSP-2101/ADSP-2103 Interface
REV. 0
TFS
DT
SYNC
DIN
SCLK
AD7303*
Figure 28. AD7303 to 80C51/80L51 Interface
–11–
AD7303
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Ω
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.
MICROWIRE*
CS
SK
SO
*ADDITIONAL PINS OMITTED FOR CLARITY
AD7303*
SYNC
SCLK
DIN
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
/2 V. Higher values of reference can be incorporated
DD
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.
VDD = +3V TO +5V
10µF0.1µF
V
IN
EXT
V
OUT
REF
GND
AD780/ REF192
WITH VDD = +5V
OR
AD589 WITH VDD = +3V
0.1µF
SERIAL
INTERFACE
REF
SCLK
DIN
SYNC
V
DD
AD7303
GND
V
V
Figure 30. AD7303 Using External Reference
The AD7303 can also be used with its own internally derived
V
/2 reference. Reference selection is through the INT/EXT
DD
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 external references to the AD7303. The AD7303 has limited multiplying capability, and a multiplying bandwidth of up to 10 kHz
is achievable.
OUT
OUT
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
< +5 V. Rail-to-rail operation at the
O
amplifier output is achievable using an AD820 or OP295 as the
output amplifier.
Figure 31. Bipolar Operation Using the AD7303
The output voltage for any input code can be calculated as
follows:
VO = [(1+R4/R3)*(R2/(R1+R2)*(2*V
*D/256)] – R4*V
REF
REF
/R3
where
D is the decimal equivalent of the code loaded to the DAC
and
V
is the reference voltage input.
REF
A
B
With V
V
DD
Opto-Isolated Interface for Process Control Applications
= 2.5 V, R1 = R3 = 10 kΩ and R2 = R4 = 20K and
REF
= 5 V.
V
= (10 × D/256) – 5
OUT
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 distance, it may be necessary to isolate the AD7303 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 AD7303 makes it ideally suited for use in optoisolated 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
/2 reference. It is being decoupled at the REF
DD
pin with a 0.1 µF ceramic capacitor for noise reduction purposes.
–12–
REV. 0
AD7303
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
+5V
POWER
SCLK
SYNC
DATA
10kΩ
10kΩ
10kΩ
REGULATOR
V
DD
V
DD
V
DD
SCLK
SYNC
DIN
V
DD
AD7303
AGND
10µF
REF
V
OUT
V
OUT
0.1µF
0.1µF
A
B
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 allowing 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 diagram of a typical setup for decoding multiple AD7303 devices in
a system.
AD7303
SYNC
DIN
SCLK
AD7303
SYNC
DIN
SCLK
AD7303
SYNC
DIN
SCLK
AD7303
SYNC
DIN
SCLK
–13–
SCLK
DIN
ENABLE
CODED
ADDRESS
Figure 33. Decoding Multiple AD7303 Devices in a System
REV. 0
1G
1A
1B
74HC139
DGND
V
DD
V
CC
1Y0
1Y1
1Y2
1Y3
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
input
IN
is not within the programmed window, a led will indicate the fail
condition.
+5V
0.1µF
SYNC
DIN
SCLK
0.1µF
REF
SYNC
DIN
SCLK
10µF
AD7303
GND
V
IN
V
DD
V
A
OUT
1/2
CMP04
B
V
OUT
1kΩ
FAIL
PASS/FAIL
1/6 74HC05
1kΩ
PASS
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 current 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
of 6 V. The operating range is determined by the oper-
SOURCE
ating 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 can be calculated as follows:
I = 2 ×V
×D/(5E + 3 × 256) mA
REF
Figure 35. Programmable Current Source
AD7303
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 connection 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
AD7303 to 68HC11 Interface Program Source Code
*
PORTCEQU$1003Port C Control Register
*"SYNC, 0, 0, 0, 0, 0, 0, 0"
DDRCEQU$1007Port C Data Direction
PORTDEQU$1008Port D Data Register
*"0, 0, 0, SCLK, DIN, 0, 0, 0"
DDRDEQU$1009Port D Data Direction
SPCREQU$1028SPI Control Register
*"SPIE, SPE, DWOM, MSTR, CPOL, CPHA, SPR1, SPR0"
SPSREQU$1029SPI Status Register
*"SPIF, WCOL, 0, MODF, 0, 0, 0, 0"
SPDREQU$102ASPI Data Register, Read Buffer, Write Shifter
*
* SDI RAM Variables:DIN 1 is eight MSBs, Control BYTE
ORG$C000Start of users ram
INITLDS#$CFFFTop of C page Ram
*
LDAA#$801, 0, 0, 0, 0, 0, 0, 0
*SYNC is High
STAAPORTCInitialize Port C Outputs
LDAA#$801, 0, 0, 0, 0, 0, 0, 0
STAADDRCSYNC enabled as output
*
LDAA#$000, 0, 0, 0, 0, 0, 0, 0
*SCLK is low, DIN is low
STAAPORTDInitialize Port D outputs
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 signals 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.
INT/EXT, X, LDAC, PDB, PBA, A/B, CR1, CR0"
–14–
REV. 0
AD7303
LDAA#$180, 0, 0, 1, 1, 0, 0, 0
*SCLK and DIN enabled as outputs
LDAA#$53
STAASPCRSPI on, Master mode, CPOL=0, CPHA=0, Clock rate =E/32