Analog Devices AD7233 Datasheet

LC2MOS
a
FEATURES 12-Bit CMOS DAC with
On-Chip Voltage Reference Output Amplifier
–5 V to +5 V Output Range Serial Interface 300 kHz DAC Update Rate Small Size: 8-Pin Mini-DIP Nonlinearity: 1/2 LSB T Low Power Dissipation: 100 mW typ
APPLICATIONS Process Control Industrial Automation Digital Signal Processing Systems Input/Output Ports
GENERAL DESCRIPTION
The AD7233 is a complete 12-bit, voltage-output, digital-to­analog converter with output amplifier and Zener voltage refer­ence all in an 8-lead package. No external trims are required to achieve full specified performance. The data format is two’s complement, and the output range is –5 V to +5 V.
The AD7233 features a fast, versatile serial interface which al­lows easy connection to both microcomputers and 16-bit digital signal processors with serial ports. When the SYNC input is taken low, data on the SDIN pin is clocked into the input shift register on each falling edge of SCLK. On completion of the 16-bit data transfer, bringing LDAC low updates the DAC latch with the lower 12 bits of data and updates the output. Alterna­tively, LDAC can be tied permanently low, and in this case the DAC register is automatically updated with the contents of the shift register when all sixteen data bits have been clocked in. The serial data may be applied at rates up to 5 MHz allowing a DAC update rate of 300 kHz.
For applications which require greater flexibility and unipolar output ranges with single supply operation, please refer to the AD7243 data sheet.
The AD7233 is fabricated on Linear Compatible CMOS
2
(LC
MOS), an advanced, mixed-technology process. It is pack-
aged in an 8-lead DIP package.
MIN
to T
MAX
12-Bit Serial Mini-DIP DACPORT
AD7233
FUNCTIONAL BLOCK DIAGRAM
V
DD
LDAC
2R
V
OUT
V
SS
2R
12-BIT
DAC
12
DAC
INPUT SHIFT
REGISTER
SCLK
LATCH
12
SYNC
AD7233
SDIN
PRODUCT HIGHLIGHTS
1. Complete 12-Bit DACPORT®.
2. The AD7233 is a complete, voltage output, 12-bit DAC on a single chip. This single-chip design is inherently more reli­able than multichip designs.
3. Simple 3-wire interface to most microcontrollers and DSP processors.
4. DAC Update Rate—300 kHz.
5. Space Saving 8-Lead Package.
DACPORT is a registered trademark of Analog Devices, Inc.
REV. A
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.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 World Wide Web Site: http://www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 2000
(VDD = +12 V to +15 V,2 VSS = –12 V to –15 V,2 GND = 0 V, RL = 2 k⍀,
AD7233–SPECIFICATIONS
1
CL = 100 pF to GND. All specifications T
MIN
to T
unless otherwise noted.)
MAX
Parameter A, B Unit Test Conditions/Comments
STATIC PERFORMANCE
Resolution 12 Bits Relative Accuracy Differential Nonlinearity Bipolar Zero Error Full-Scale Error
3
3
3
3
± 1 LSB max ± 0.9 LSB max Guaranteed Monotonic ± 6 LSB max DAC Latch Contents 0000 0000 0000 ± 8 LSB max
Full-Scale Temperature Coefficient4± 30 ppm of FSR/°C typ Guaranteed By Process
DIGITAL INPUTS
Input High Voltage, V Input Low Voltage, V
INL
INH
2.4 V min
0.8 V max
Input Current
I
IN
Input Capacitance
4
± 1 µA max VIN = 0 V to V 8 pF max
DD
ANALOG OUTPUTS
Output Voltage Range ± 5V DC Output Impedance
AC CHARACTERISTICS
4
4
0.5 typ
Voltage Output Settling Time Settling Time to Within ±1/2 LSB of Final Value
Positive Full-Scale Change 10 µs max Typically 4 µs; DAC Latch 100. . .000 to 011. . .111
Negative Full-Scale Change 10 µs max Typically 5 µs; DAC Latch 011. . .111 to 100. . .000 Digital-to-Analog Glitch Impulse Digital Feedthrough
3
3
30 nV secs typ DAC Latch Contents Toggled Between All 0s and all 1s 10 nV secs typ LDAC = High
POWER REQUIREMENTS
Range +10.8/+16.5 V min/V max For Specified Performance Unless Otherwise Stated
V
DD
Range –10.8/–16.5 V min/V max For Specified Performance Unless Otherwise Stated
V
SS
I
DD
I
SS
NOTES
1
Temperature Ranges are as follows: A, B Versions: –40°C to +85°C.
2
Power Supply Tolerance: A, B Versions: ± 10%.
3
See Terminology.
4
Guaranteed by design and characterization, not production tested.
Specifications subject to change without notice.
TIMING CHARACTERISTICS
Limit at +25C, T
10 mA max Output Unloaded; Typically 7 mA at Thresholds 2 mA max Output Unloaded; Typically 1 mA at Thresholds
(VDD = +10.8 V to +16.5 V, VSS = –10.8 V to –16.5 V, GND = O V, RL = 2 k⍀,
1, 2
CL = 100 pF. All Specifications T
, T
MIN
MAX
MIN
to T
unless otherwise noted.)
MAX
Parameter (All Versions) Unit Conditions/Comments
3
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 and tf = 5 ns (10% to 90% of 5 V) and timed from a voltage level of 1.6 V.
2
See Figure 3.
3
SCLK Mark/Space Ratio range is 40/60 to 60/40.
200 ns min SCLK Cycle Time 15 ns min SYNC to SCLK Falling Edge Setup Time 70 ns min SYNC to SCLK Hold Time 0 ns min Data Setup Time 40 ns min Data Hold Time 0 ns min SYNC High to LDAC Low 20 ns min LDAC Pulsewidth 0 ns min LDAC High to SYNC Low
–2–
REV. A
AD7233
ABSOLUTE MAXIMUM RATINGS
(TA = +25°C unless otherwise noted)
1
VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +17 V
V
to GND . . . . . . . . . . . . . . . . . . . . . . . . . . +0.3 V to –17 V
SS
2
to GND . . . . . . . . . . . . . . . . . . . . –6 V to VDD +0.3 V
V
OUT
Digital Inputs to GND . . . . . . . . . . . . . –0.3 V to V
+0.3 V
DD
Operating Temperature Range
Industrial (A, B Versions) . . . . . . . . . . . . . –40°C to +85°C
Storage Temperature Range . . . . . . . . . . . –65°C to +150°C
Lead Temperature (Soldering, 10 secs) . . . . . . . . . . . .+300°C
Power Dissipation to +75°C . . . . . . . . . . . . . . . . . . . 450 mW
Derates above +75°C by . . . . . . . . . . . . . . . . . . . . 10 mW/°C
ESD Rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >4000 V
TERMINOLOGY
RELATIVE ACCURACY (LINEARITY)
Relative accuracy, or endpoint linearity, is a measure of the maximum deviation of the DAC transfer function from a straight line passing through the endpoints of the transfer function. It is measured after allowing for zero and full-scale errors and is ex­pressed in LSBs or as a percentage of full-scale reading.
DIFFERENTIAL NONLINEARITY
Differential nonlinearity is the difference between the measured change and the ideal 1 LSB change between any two adjacent codes. A specified differential nonlinearity of ±1 LSB or less over the operating temperature range ensures monotonicity.
BIPOLAR ZERO ERROR
Bipolar zero error is the voltage measured at V
when the
OUT
DAC is loaded with all 0s. It is due to a combination of offset errors in the DAC, amplifier and mismatch between the internal gain resistors around the amplifier.
NOTES
1
Stresses above those listed under Absolute Maximum Ratings may cause perma­nent 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 condi­tions for extended periods may affect device reliability.
2
The output may be shorted to voltages in this range provided the power dissipation of the package is not exceeded. Short circuit current is typically 80 mA.
ORDERING GUIDE
Temperature Relative Package
Model Range Accuracy Option*
AD7233AN –40°C to +85°C ± 1 LSB N-8 AD7233BN –40°C to +85°C ± 1/2 LSB N-8
*N = Plastic DIP.
FULL-SCALE ERROR
Full-scale error is a measure of the output error when the am­plifier output is at full scale (full scale is either positive or nega­tive full scale).
DIGITAL-TO-ANALOG GLITCH IMPULSE
This is the voltage spike that appears at the output of the DAC when the digital code in the DAC latch changes before the out­put settles to its final value. The energy in the glitch is specified in nV secs, and is measured for an all codes change (0000 0000 0000 to 1111 1111 1111).
DIGITAL FEEDTHROUGH
This is a measure of the voltage spike that appears on V
OUT
as a
result of feedthrough from the digital inputs on the AD7233. It is measured with LDAC held high.
REV. A
–3–
AD7233
Pin Mnemonic Description
PIN FUNCTION DESCRIPTION
1V
DD
Positive Supply (+12 V to +15 V). 2 SCLK Serial Clock, Logic Input. Data is clocked into the input register on each falling SCLK edge. 3 SDIN Serial Data In, Logic Input. The 16-bit serial data word is applied to this input. 4 SYNC Data Synchronization Pulse, Logic Input. Taking this input low initializes the internal logic in
readiness for a new data word. 5 LDAC Load DAC, Logic Input. Updates the DAC output. The DAC output is updated on the falling edge of
this signal, or alternatively if this line in permanently low, an automatic update mode is selected whereby
the DAC is updated on the 16th falling SCLK pulse. 6 GND Ground Pin = 0 V. 7V
OUT
Analog Output Voltage. This is the buffered DAC output voltage (–5 V to +5 V). 8VSSNegative Supply (–12 V to –15 V).
V
1
DD
2
SCLK
3
4 5
SYNC
AD7233
TOP VIEW
(Not to Scale)
CIRCUIT INFORMATION D/A Section
The AD7233 contains a 12-bit voltage-mode D/A converter consisting of highly stable thin-film resistors and high speed NMOS single-pole, double-throw switches.
Op Amp Section
The output of the voltage-mode D/A converter is buffered by a noninverting CMOS amplifier. The buffer amplifier is capable of developing ±5 V across a 2 k load to GND.
R
INTERNAL
REFERENCE
5V
GND
RR
2R
2R
2R
DB0 DB1 DB9 DB10
RR
2R
2R
2R
DB11
V
OUT
2R
2R
Figure 1. Simplified D/A Converter
DIGITAL INTERFACE
The AD7233 contains an input serial to parallel shift register and a DAC latch. A simplified diagram of the input loading cir­cuitry is shown in Figure 2. Serial data on the SDIN input is loaded to the input register under control of 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 AD7233.
A low SYNC input provides the frame synchronization signal which tells the AD7233 that valid serial data on the SDIN input will be available for the next 16 falling edges of SCLK. An inter­nal 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.
V
8
SS
V
7
OUT
6
GNDSDIN
LDAC
The SYNC input should be taken high after the complete 16-bit word is loaded in.
Although 16 bits of data are clocked into the input register, only the latter 12 bits get transferred into the DAC latch. The first 4 bits in the 16-bit stream are don’t cares since their value does not affect the DAC latch data. Therefore the data format is 4 don’t cares followed by the 12-bit data word with the LSB as the last bit in the serial stream.
–4–
REV. A
AD7233
There are two ways in which the DAC latch and hence the ana­log 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 auto­matically when the last bit in the serial data stream is clocked in. The update thus takes place on the sixteenth falling SCLK edge.
SYNC
RESET
GATING SIGNAL
SCLK
SDIN
LDAC
–16
COUNTER/
DECODER
AUTO-UPDATE
CIRCUITRY
If LDAC = 1 then the automatic update is disabled and the DAC latch is updated by taking LDAC low any time after the 16-bit data transfer is complete. The update now occurs on the falling edge of LDAC. This facility is useful for simultaneous update in multi-DAC systems. Note that the LDAC input must be taken back high again before the next data transfer is initiated.
GATED
SCLK
INPUT SHIFT REGISTER (16 BITS)
DAC LATCH (12 BITS)
SCLK
SYNC
SDIN
LDAC
t
2
DB15
DON'T CARE
Figure 2. Simplified Loading Structure
t
1
t
4
DB14
DON'T CARE
DB13
DON'T CARE
DB12
DON'T CARE
DB11
MSB
Figure 3. Timing Diagram
t
3
t
5
≈ ≈
DB1
DB0 LSB
t
t
6
7
t
8
REV. A
–5–
AD7233–Typical Performance Graphs
0.50
0.40
0.30
0.20
LINEARITY – LSBs
0.10
0
11 12 14 15
T = +25 C
A
1310.5
V /V – Volts
SS
DD
16
Linearity vs. Power Supply Voltage
100
OUTPUT WITH ALL
90
0s ON DAC
80
OUTPUT WITH ALL
70
1s ON DAC
60
50
PSRR – dB
40
30
20
V = +15V WITH
DD
10
100mV p–p SIGNAL
0
*
POWER SUPPLY DECOUPLING CAPACITORS ARE 10µF AND 0.1µF.
NO DECOUPLING
100 10k
FREQUENCY – Hz
Power Supply Rejection Ratio vs. Frequency
APPLYING THE AD7233 Bipolar (5 V) Configuration
The AD7233 provides an output voltage range from –5 V to +5 V without any external components. This configuration is shown in Figure 4. The data format is two's complement. The output code table is shown in Table I. If offset binary coding is required, then this can be done by inverting the MSB in soft­ware before the data is loaded to the AD7233.
+12V TO
+15V
V
DD
2R2R
AD7233
V
OUT
12-BIT
+5V
DAC
500
DECOUPLING
NO DECOUPLING
DECOUPLING
1k10
100k
200
100
nV/ Hz
50
20
0
100 200 5001k2k
V = +15V
DD
V = – 15V
SS
T = +25 C
A
OUTPUT WITH ALL
0s ON DAC
5k50
FREQUENCY – Hz
10k
20k
50k
100k
Noise Spectral Density vs. Frequency
Table I. AD7233 Bipolar Code Table
Input Data Word MSB LSB Analog Output, V
OUT
XXXX 0111 1111 1111 +5 V • (2047/2048) XXXX 0000 0000 0001 +5 V • (1/2048) XXXX 0000 0000 0000 0 V XXXX 1111 1111 1111 –5 V • (1/2048) XXXX 1000 0000 0001 –5 V • (2047/2048) XXXX 1000 0000 0000 –5 V • (2048/2048) = –5 V
X = Don’t Care Note: 1 LSB = 5 V/2048 2.4 mV
12V TO
15V
V
SS
GND
Figure 4. Circuit Configuration
Power Supply Decoupling
To achieve optimum performance when using the AD7233, the
and VSS lines should each be decoupled to GND using
V
DD
0.1 µF capacitors. In very noisy environments it is recom­mended that 10 µF capacitors be connected in parallel with the
0.1 µF capacitors.
–6–
REV. A
MICROPROCESSOR INTERFACING
Microprocessor interfacing to the AD7233 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 AD7233 requires a 16-bit data word with data valid on the falling edge of SCLK. For all of the interfaces, the DAC update may be done automatically when all the data is clocked in or it may done under control of LDAC.
Figures 5 to 8 show the AD7233 configured for interfacing to a number of popular DSP processors and microcontrollers.
AD7233–ADSP-2101/ADSP-2102 Interface
Figure 5 shows a serial interface between the AD7233 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 AD7233 on the falling edge of SCLK. When the data transfer is complete TFS is taken high. 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 ad­dress line from the processor. Alternatively, the LDAC input could be hardwired low, and in this case the automatic update mode is selected whereby the DAC update takes place automati­cally on the 16th falling edge of SCLK.
TIMER
LDAC
ADSP-2101/ ADSP-2102*
TFS
SCLK
DT
AD7233*
SYNC
SCLK
SDIN
AD7233
LDAC
DSP56000
AD7233*
SCK
STD
SC2
* ADDITIONAL PINS OMITTED FOR CLARITY
Figure 6. AD7233 to DSP56000 Interface
AD7233–87C51 Interface
A serial interface between the AD7233 and the 87C51 micro­controller is shown in Figure 7. TXD of the 87C51 drives SCLK of the AD7233 while RXD drives the serial data line of the part. The SYNC signal is derived from the port line P3.3.
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 don’t care bits are the first to be transmitted to the AD7233 and the last bit to be sent is the LSB of the word to be loaded to the AD7233. 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 AD7233, P3.3 is kept low after the first eight bits are transferred and a second byte of data is then transferred serially to the AD7233. When the second serial transfer is complete, the P3.3 line is taken high.
Figure 7 shows the LDAC input of the AD7233 hardwired low. As a result, the DAC latch and the analog output will be up­dated on the sixteenth falling edge of TXD after the SYNC sig­nal for the DAC has gone low. Alternatively, the scheme used in previous interfaces, whereby the LDAC input is driven from a timer, can be used.
SCLK
SDIN
SYNC
* ADDITIONAL PINS OMITTED FOR CLARITY
Figure 5. AD7233 to ADSP-2101/ADSP-2102 Interface
AD7233-DSP56000 Interface
A serial interface between the AD7233 and the DSP56000 is shown in Figure 6. 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 AD7233 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 AD7233.
The LDAC input of the AD7233 is connected to GND so the update of the DAC latch takes place automatically on the 16th falling edge of SCLK. An external timer could also be used as in the previous interface if an external update is required.
REV. A
–7–
87C51*
P3.3
TXD
RXD
* ADDITIONAL PINS OMITTED FOR CLARITY
Figure 7. AD7233 to 87C51 Interface
LDAC
AD7233*
SYNC
SCLK
SDIN
AD7233
AD7233-68HC11 Interface
Figure 8 shows a serial interface between the AD7233 and the 68HC11 microcontroller. SCK of the 68HC11 drives SCLK of the AD7233 while the MOSI output drives the serial data line. The SYNC signal is derived from a port line (PC7 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, PC7 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 se­rial data in 8-bit bytes with only eight falling clock edges occur­ring in the transmit cycle. To load data to the AD7233, PC7 is kept low after the first eight bits are transferred and a second byte of data is then transferred serially to the AD7233. When the second serial transfer is complete, the PC7 line is taken high. Figure 8 shows the LDAC input of the AD7233 hard­wired low. As a result, the DAC latch and the analog output of the DAC will be updated on the sixteenth falling edge of SCK after the respective SYNC signal has gone low. Alternatively, the scheme used in previous interfaces, whereby the LDAC in­put is driven from a timer, can be used.
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
68HC11*
PC7
SCK
MOSI
* ADDITIONAL PINS OMITTED FOR CLARITY
Figure 8. AD7233 to 68HC11 Interface
LDAC
AD7233*
SYNC
SCLK
SDIN
C1494a–1–6/00 (rev. A) 00989
0.210 (5.33)
MAX
0.022 (0.558)
0.014 (0.356)
8
1
0.430 (10.92)
0.348 (8.84)
0.70 (1.77)
0.045 (1.15)
4
0.100 BSC (2.54 BSC)
Plastic DIP (N-8) Package
5
0.280 (7.11)
0.240 (6.10)
0.060 (1.52)
0.015 (0.38)
0.150
(3.81)
MIN
0.325 (8.25)
0.300 (7.62)
0.195 (4.95) MAX
0.015 (0.381)
0.008 (0.204)
PRINTED IN U.S.A.
–8–
REV. A
Loading...