32-Channel, 14-Bit Voltage-Output DAC AD5532: Features General Description
32-Channel, 14-Bit Voltage-Output DAC AD5532: Features General Description
32-Channel, 14-Bit Voltage-Output DAC AD5532: Features General Description
FEATURES
High integration: 32-channel DAC in 12 mm 12 mm CSPBGA Adjustable voltage output range Guaranteed monotonic Readback capability DSP/microcontroller compatible serial interface Output impedance: 0.5 (AD5532-1, AD5532-2) 500 (AD5532-3) 1 k (AD5532-5) Output voltage span: 10 V (AD5532-1, AD5532-3, AD5532-5) 20 V (AD5532-2) Infinite sample-and-hold capability to 0.018% accuracy Temperature range 40C to +85C
GENERAL DESCRIPTION
The AD55321 is a 32-channel, 14-bit voltage-output DAC with an additional infinite sample-and-hold mode. The selected DAC register is written to via the 3-wire serial interface; VOUT for this DAC is then updated to reflect the new contents of the DAC register. DAC selection is accomplished via Address Bits A0A4. The output voltage range is determined by the offset voltage at the OFFS_IN pin and the gain of the output amplifier. It is restricted to a range from VSS + 2 V to VDD 2 V because of the headroom of the output amplifier. The device is operated with AVCC = 5 V 5%; DVCC = 2.7 V to 5.25 V; VSS = 4.75 V to 16.5 V; and VDD = 8 V to 16.5 V. The AD5532 requires a stable 3 V reference on REF_IN as well as an offset voltage on OFFS_IN.
APPLICATIONS
Automatic test equipment Optical networks Level setting Instrumentation Industrial control systems Data acquisition Low cost I/O
DVCC AVCC
PRODUCT HIGHLIGHTS
1. 2. 3.
1
32-channel, 14-bit DAC in one package, guaranteed monotonic. Available in a 74-lead CSPBGA package with a body size of 12 mm 12 mm. Droopless/infinite sample-and-hold mode.
REF_IN REF_OUT
OFFS_IN
VDD
VSS
AD5532
VOUT0 VIN TRACK/RESET BUSY DAC_GND AGND DGND MUX MODE ADC 14-BIT BUS DAC
SER/PAR
WR
00939-C-001
SYNC/CS
A4A0
CAL
OFFSET_SEL
Rev. D
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 that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.326.8703 2010 Analog Devices, Inc. All rights reserved.
REVISION HISTORY 6/10Data Sheet Changed from Rev. C to Rev. D Changes to Table 5 ...................................................................... 8 Changes to Ordering Guide ....................................................20 6/04Data Sheet Changed from Rev. B to Rev. C Updated Format ........................................................... Universal Changed LFBGA to CSPBGA .................................... Universal Changes to Outline Dimensions.............................................24 Changes to Ordering Guide ....................................................24 6/02Data Sheet Changed from Rev. A to Rev. B Term SHA changed to ISHA ........................................... Global Changes to Absolute Maximum Ratings ................................. 6 Changes to Ordering Guide ...................................................... 6 Changes to Functional Description .......................................11 Changes to Table 8 ....................................................................11 Changes to ISHA Mode ...........................................................11 Added Figure 27 and accompanying text ..............................15 Changes to Power Supply Decoupling Section .....................15
Rev. D | Page 2 of 20
AD5532 SPECIFICATIONS
VDD = 8 V to 16.5 V, VSS = 4.75 V to 16.5 V; AVCC = 4.75 V to 5.25 V; DVCC = 2.7 V to 5.25 V; AGND = DGND = DAC_GND = 0 V; REF_IN = 3 V; output range from VSS + 2 V to VDD 2 V. All outputs unloaded. All specifications TMIN to TMAX, unless otherwise noted. Table 1.
Parameter 2 DAC DC PERFORMANCE Resolution Integral Nonlinearity (INL) Differential Nonlinearity (DNL) Offset Gain Full Scale Error VOLTAGE REFERENCE REF_IN Nominal Input Voltage Input Voltage Range 3 Input Current REF_OUT Output Voltage Output Impedance3 Reference Temperature Coefficient3 ANALOG OUTPUTS (VOUT 031) Output Temperature Coefficient3, 4 DC Output Impedance3 AD5532-1 AD5532-3 AD5532-5 Output Range Resistive Load3, 5 Capacitive Load3, 5 AD5532-1 AD5532-3 AD5532-5 Short-Circuit Current3 DC Power-Supply Rejection Ratio3 DC Crosstalk3 ANALOG OUTPUT (OFFS_OUT) Output Temperature Coefficient3, 4 DC Output Impedance3 Output Range Output Current Capacitive Load DIGITAL INPUTS3 Input Current Input Low Voltage Input High Voltage Input Hysteresis (SCLK and CS Only) A Version 1 AD5532-1/-3/-5 AD5532-2 Only 14 0.39 1 90/170/250 3.52 2 14 0.39 1 180/350/500 7 2 Unit Bits % of FSR max LSB max mV min/typ/max typ % of FSR max Conditions/Comments
3.0 2.85/3.15 1 3 280 60 10 0.5 500 1 VSS + 2/VDD 2 5 500 15 40 7 70 70 250 10 1.3 50 to REF_IN12 10 100 10 0.8 0.4 2.4 2.0 200
V typ V min/max A max V typ k typ ppm/C typ ppm/C typ typ typ k typ V min/max k min pF max nF max nF max mA typ dB typ dB typ V max ppm/C typ k typ mV typ A max pF max A max V max V max V min V min mV typ
< 1 nA typ
Source current
Rev. D | Page 3 of 20
AD5532
Parameter Input Capacitance DIGITAL OUTPUTS (BUSY, DOUT)3 Output Low Voltage, DVCC = 5 V Output High Voltage, DVCC = 5 V Output Low Voltage, DVCC = 3 V Output High Voltage, DVCC = 3 V High Impedance Leakage Current High Impedance Output Capacitance POWER REQUIREMENTS Power-Supply Voltages VDD VSS AVCC DVCC Power-Supply Currents 6 IDD ISS AICC DICC Power Dissipation6 AC CHARACTERISTICS3 Output Voltage Settling Time OFFS_IN Settling Time Digital-to-Analog Glitch Impulse Digital Crosstalk Analog Crosstalk Digital Feedthrough Output Noise Spectral Density @ 1 kHz
1 2
A Version 1 AD5532-1/-3/-5 AD5532-2 Only 10 10 0.4 4.0 0.4 2.4 1 15 0.4 4.0 0.4 2.4 1 15
Conditions/Comments
Sinking 200 A. Sourcing 200 A. Sinking 200 A. Sourcing 200 A. DOUT only. DOUT only.
V min/max V min/max V min/max V min/max mA max mA max mA max mA max mW typ s max s max nV-s typ nV-s typ nV-s typ nV-s typ nV/(Hz) typ 10 mA typ. All channels full scale. 10 mA typ. All channels full scale. 26 mA typ. 1 mA typ. VDD = 10 V, VSS = 5 V. 500 pF, 5 k load. Full-scale change. 500 pF, 5 k load; 0 V to 3 V step. 1 LSB change around. Major carry.
A version: Industrial temperature range -40C to +85C; typical at +25C. See Terminology section. 3 Guaranteed by design and characterization, not production tested. 4 AD780 as reference for the AD5532. 5 Ensure that you do not exceed TJ (max). See Absolute Maximum Ratings section. 6 Output unloaded.
Rev. D | Page 4 of 20
AD5532
ISHA MODE
Table 2.
Parameter ANALOG CHANNEL VIN to VOUT Nonlinearity 3 Offset Error Gain ANALOG INPUT (VIN) Input Voltage Range Input Lower Dead Band Input Upper Dead Band Input Current Input Capacitance 4 ANALOG INPUT (OFFS_IN) Input Current Input Voltage Range AC CHARACTERISTICS Output Settling Time4 Acquisition Time AC Crosstalk4
2
A Version 1 AD5532-1/-3/-5 AD5532-2 Only 0.018 50 3.46/3.52/3.6 0 to 3 70 40 1 20 1 0/4 3 16 5 0.018 75 6.96/7/7.02 0 to 3 70 40 1 20 1 0/4 3 16 5
Unit % max mV max min/typ/max V mV max mV max A max pF typ A max Vmin/max s max s max nV-s typ
Conditions/Comments 0.006% typ after offset and gain adjustment. 10 mV typ. See Figure 9. See Figure 9 Nominal input range. 50 mV typ. Referred to VIN. See Figure 9. 12 mV typ. Referred to VIN. See Figure 9. 100 nA typ. VIN acquired on 1 channel.
100 nA typ. Output range restricted from VSS + 2 V to VDD 2 V. Output unloaded.
1 2 3
A version: Industrial temperature range -40C to +85C; typical at +25C. See Terminology section. Input range 100 mV to 2.96 V. 4 Guaranteed by design and characterization, not production tested.
Rev. D | Page 5 of 20
1 2
See Figure 2 and Figure 3, the parallel interface timing diagrams. Guaranteed by design and characterization, not production tested.
t2 t3 t4
200A IOL
WR
t5
A4A0, CAL, OFFS_SEL
t6
00939-C-002
TO OUTPUT PIN
Rev. D | Page 6 of 20
AD5532
SERIAL INTERFACE
Table 4.
Parameter 1 , 2 fCLKIN 3 t1 t2 t3 t4 t5 t6 t7 t8 4 t94 t10 t11 t12 5 Limit at TMIN, TMAX (A Version) 14 28 28 15 50 10 5 5 20 60 400 400 7
t1
SCLK 1 2 3 4 5 6 7 8 9 10
Unit MHz max ns min ns min ns min ns min ns min ns min ns min ns max ns max ns min ns min ns min
Conditions/Comments SCLK frequency SCLK high pulse width SCLK low pulse width SYNC falling edge to SCLK falling edge setup time SYNC low time DIN setup time DIN hold time SYNC falling edge to SCLK rising edge setup time for read back SCLK rising edge to DOUT valid SCLK falling edge to DOUT high impedance 10th SCLK falling edge to SYNC falling edge for read back 24th SCLK falling edge to SYNC falling edge for DAC mode write SCLK falling edge to SYNC falling edge setup time for read back
t3
t2
SYNC
t4
t5
00939-C-004
t6
DIN MSB LSB
t3
SYNC
t2
t4
t5 t6
t11
00939-C-005
t1
2 3 4 5 6 7 8 9 10 11 12 13 14
t12
SYNC
t2
t10
DOUT MSB
t4 t8
00939-C-006
t9
LSB
1 2
See Figure 4, Figure 5, and Figure 6. Guaranteed by design and characterization, not production tested. 3 In ISHA mode the maximum SCLK frequency is 20 MHz and the minimum pulse width is 20 ns. 4 These numbers are measured with the load circuit of Figure 3. 5 SYNC should be taken low while SCLK is low for read back.
Rev. D | Page 7 of 20
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 indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. For higher junction temperatures derate as follows:
TJ (C) 70 90 100 110 125 135 150 Max Continuous Load Current per Group (mA) 15.5 9.025 6.925 5.175 3.425 2.55 1.5
ESD CAUTION
1 2
Transient currents of up to 100 mA do not cause SCR latch-up. This limit includes load power. 3 This maximum allowed continuous load current is spread over 8 channels and channels are grouped as follows: Group 1: Channels 3, 4, 5, 6, 7, 8, 9, 10 Group 2: Channels 14, 16, 18, 20. 21, 24, 25, 26 Group 3: Channels 15, 17, 19, 22, 23, 27, 28, 29 Group 4: Channels 0, 1, 2, 11, 12, 13, 30, 31
Rev. D | Page 8 of 20
A B C D E F G H J K L TOP VIEW
A B C D E F G H J K L
00939-C-028
10 11
Rev. D | Page 9 of 20
AD5532
Table 7. Pin Function Descriptions
Pin AGND (12) AVCC (12) VDD (14) VSS (14) DGND DVCC DAC_GND (12) REF_IN REF_OUT VOUT (031) VIN A4A1, A0 CAL CS/SYNC WR Function Analog GND pins. Analog Supply pins. Voltage range from 4.75 V to 5.25 V. VDD Supply pins. Voltage range from 8 V to 16.5 V. VSS Supply pins. Voltage range from 4.75 V to 16.5 V. Digital GND pins. Digital Supply pins. Voltage range from 2.7 V to 5.25 V. Reference GND supply for all DACs. Reference voltage for Channels 031. Reference Output Voltage. Analog Output Voltages from the 32 channels. Analog Input Voltage. Connect this to AGND if operating in DAC mode only. Parallel Interface: 5 address pins for 32 channels. A4 = MSB of channel address. A0 = LSB. Internal pull-up devices on these logic inputs. Therefore, they can be left floating and default to a logic high condition. Parallel Interface: Control input that allows all 32 channels to acquire VIN simultaneously. Internal pull-down devices on these logic inputs. Therefore, they can be left floating and default to a logic low condition This is the active low Chip Select pin for the parallel interface and the Frame Synchronization pin for the serial interface. Parallel interface: Write pin; active low. This is used in conjunction with the CS pin to address the device using the parallel interface. Internal pull-down devices on these logic inputs. Therefore, they can be left floating and default to a logic low condition. Parallel interface: Offset Select pin; active high. This is used to select the offset channel. Internal pull-down devices on these logic inputs. Therefore, they can be left floating and default to a logic low condition Serial Clock Input for Serial Interface. This operates at clock speeds up to 14 MHz (20 MHz in ISHA mode). Data Input for Serial Interface. Data must be valid on the falling edge of SCLK. Internal pull-up devices on these logic inputs. Therefore, they can be left floating and default to a logic high condition. Output from the DAC registers for read back. Data is clocked out on the rising edge of SCLK and is valid on the falling edge of SCLK. This pin allows the user to select whether the serial or parallel interface is used. If the pin is tied low, the parallel interface is used. If it is tied high, the serial interface is used. Internal pull-down devices on these logic inputs. Therefore, they can be left floating and default to a logic low condition. Offset Input. The user can supply a voltage here to offset the output span. OFFS_OUT can also be tied to this pin if the user wants to drive this pin with the offset channel. Offset Output. This is the acquired/programmed offset voltage which can be tied to OFFS_IN to offset the span. This output tells the user when the input voltage is being acquired. It goes low during acquisition and returns high when the acquisition operation is complete. If this input is held high, VIN is acquired once the channel is addressed. While it is held low, the input to the gain/offset stage is switched directly to VIN. The addressed channel begins to acquire VIN on the rising edge of TRACK. See TRACK Input section for further information. This input can also be used as a means of resetting the complete device to its power-on-reset conditions. This is achieved by applying a low-going pulse of between 90 ns and 200 ns to this pin. See section on RESET Function for further details. Internal pull-up devices on these logic inputs. Therefore, they can be left floating and default to a logic high condition.
VOUT
OUTPUT VOLTAGE FULL-SCALE ERROR RANGE IDEAL GAIN REFIN IDEAL TRANSFER FUNCTION OFFSET RANGE 0 DAC CODE IDEAL GAIN 50mV 16k
OFFSET ERROR
00939-C-007
Rev. D | Page 10 of 20
00939-C-008
0V
70mV
2.96 3V
VIN
AD5532 TERMINOLOGY
DAC MODE
Integral Nonlinearity (INL)
This is a measure of the maximum deviation from a straight line passing through the endpoints of the DAC transfer function. It is expressed as a percentage of full-scale span.
Offset
Offset is a measure of the output with all zeros loaded to the DAC and OFFS_IN = 0. Because the DAC is lifted off the ground by approximately 50 mV, this output is typically
DC Crosstalk
This is the DC change in the output level of one DAC at midscale in response to a full-scale code change (all 0s to all 1s and vice versa) and an output change of all other DACs. It is expressed in V.
VOUT = Gain 50 mV
Full-Scale Error
This is a measure of the output error with all 1s loaded to the DAC. It is expressed as a percentage of full-scale range. See Figure 8. It is calculated as
ISHA MODE
VIN to VOUT Nonlinearity
The measure of the maximum deviation from a straight line passing through the endpoints of the VIN versus VOUT transfer function. It is expressed as a percentage of the full-scale span.
Offset Error
This is a measure of the output error when VIN = 70 mV. Ideally, with VIN = 70 mV: VOUT = (Gain 70 ) ((Gain 1) VOFFS _ IN ) mV Offset error is a measure of the difference between VOUT (actual) and VOUT (ideal). It is expressed in mV and can be positive or negative. See Figure 9.
Gain Error
This is a measure of the span error of the analog channel. It is the deviation in slope of the transfer function expressed in mV. See Figure 9. It is calculated as
Gain Error = Actual Full-Scale Output Ideal Full-Scale Output Offset Error
Digital Crosstalk
This is the glitch impulse transferred to the output of one DAC at midscale while a full-scale code change (all 1s to all 0s and vice versa) is written to another DAC. It is expressed in nV-secs.
AC Crosstalk
This is the area of the glitch that occurs on the output of one channel while another channel is acquiring. It is expressed in nV-secs.
Analog Crosstalk
This is the area of the glitch transferred to the output (VOUT) of one DAC due to a full-scale change in the output (VOUT) of another DAC. The area of the glitch is expressed in nV-secs.
Digital Feedthrough
This is a measure of the impulse injected into the analog outputs from the digital control inputs when the part is not being written to, i.e., CS/SYNC is high. It is specified in nV-secs and is measured with a worst-case change on the digital input pins, for example, from all 0s to all 1s and vice versa.
Acquisition Time
This is the time taken for the VIN input to be acquired. It is the length of time that BUSY stays low.
Rev. D | Page 11 of 20
3.530
VOUT (V)
3.525
VOUT (V)
0 INL MIN
0.5
DNL MIN
0.1
00939-C-010
1.0 40
VOUT (V)
5.305
5.295
00939-C-011
5.302 5.301
5.275 40
40 TEMPERATURE (C)
80
Rev. D | Page 12 of 20
00939-C-014
5.285
00939-C-013
00939-C-012
AD5532
0.024 TA = 25C 0.020 VREFIN = 3V V = 0V 0.016 OFFS_IN 0.012
VOUT ERROR (%)
50k
FREQUENCY
00939-C-015
0.008 0.004 0 0.004 0.008 0.012 0.016 0.020 0.024 0.10 VIN (V) 2.96 20k 10k 200 0 5.2670 5.2676 VOUT (V) 5.2682 1545
00939-C-017
40k 30k
Figure 16. VIN to VOUT Accuracy after Offset and Gain Adjustment (ISHA Mode)
5V
100 90
BUSY
VOUT
10 0%
1V
2s
Figure 17. Acquisition Time and Output Settling Time (ISHA Mode)
Rev. D | Page 13 of 20
RESET FUNCTION
The reset function on the AD5532 can be used to reset all nodes on this device to their power-on reset condition. This is implemented by applying a low-going pulse of between 90 ns and 200 ns to the TRACK/RESETpin on the device. If the applied pulse is less than 90 ns, it is assumed to be a glitch and no operation takes place. If the applied pulse is wider than 200 ns, this pin adopts its track function on the selected channel, VIN is switched to the output buffer, and an acquisition on the channel does not occur until a rising edge of TRACK.
ISHA MODE
In ISHA mode, the input voltage VIN is sampled and converted into a digital word. The noninverting input to the output buffer (gain and offset stage) is tied to VIN during the acquisition period to avoid spurious outputs, while the DAC acquires the correct code. This is completed in 16 s max. The updated DAC output then assumes control of the output voltage. The output voltage of the DAC is connected to the noninverting input of the output buffer. Because the channel output voltage is effectively the output of a DAC, there is no droop associated with it. As long as power is maintained to the device, the output voltage is constant until this channel is addressed again. Because the internal DACs are offset by 70 mV (max) from GND, the minimum VIN in ISHA mode is 70 mV. The maximum VIN is 2.96 V due to the upper dead band of 40 mV (max).
The following table shows how the output range on VOUT relates to the offset voltage supplied by the user.
Table 8. Sample Output Voltage Ranges
VOFFS_IN (V) 0.5 1 VDAC (V) 0.05 to 3 0.05 to 3 VOUT (AD5532-1/-3/-5) 1.26 to +9.3 2.52 to +8.04 VOUT (AD5532-2) Headroom limited 6 to +15
VOUT is limited only by the headroom of the output amplifiers. VOUT must be within maximum ratings.
Large source impedances significantly affect the performance of the ADC. An input buffer amplifier may be required.
Rev. D | Page 14 of 20
00939-C-018
AD5532
TRACK FUNCTION (ISHA MODE)
Typically in ISHA mode of operation TRACK is held high and the channel begins to acquire when it is addressed. However, if TRACK is low when the channel is addressed, VIN is switched to the output buffer and an acquisition on the channel does not occur until a rising edge of TRACK. At this stage, the BUSY pin goes low until the acquisition is complete, at which point the DAC assumes control of the voltage to the output buffer and VIN is free to change again without affecting this output value. This is useful in an application where the user wants to ramp up VIN until VOUT reaches a particular level (see Figure 20). VIN does not need to be acquired continuously while it is ramping up. TRACK can be kept low and only when VOUT has reached its desired voltage is TRACK brought high. At this stage, the acquisition of VIN begins. In the example shown, a desired voltage is required on the output of the pin driver. This voltage is represented by one input to a comparator. The microcontroller/microprocessor ramps up the input voltage on VIN through a DAC. TRACK is kept low while the voltage on VIN ramps up so that VIN is not continually acquired. When the desired voltage is reached on the output of the pin driver, the comparator output switches. The C/P then knows what code is required to be input to obtain the desired voltage at the DUT. The TRACK input is now brought high and the part begins to acquire VIN. At this stage BUSY goes low until VIN has been acquired. The output buffer is then switched from VIN to the output of the DAC.
1. ISHA Mode
In this mode, a channel is addressed and that channel acquires the voltage on VIN. This mode requires a 10-bit write (see Figure 21a) to address the relevant channel (VOUT0VOUT31, offset channel or all channels). MSB is written first.
2. DAC Mode
In this standard mode, a selected DAC register is loaded serially. This requires a 24-bit write (10 bits to address the relevant DAC plus an extra 14 bits of DAC data). MSB is written first. The user must allow 400 ns (min) between successive writes in DAC mode.
4. Readback Mode
Again, this is a Readback mode but no acquisition is performed. The relevant channel is addressed (10-bit write, MSB first) and on the next falling edge of SYNC, the data in the relevant DAC register is clocked out onto the DOUT line in a 14-bit serial format. The user must allow 400 ns (min) between the last SCLK falling edge in the 10-bit write and the falling edge of SYNC in the 14-bit read back. The serial write and read words can be seen in Figure 21. This feature allows the user to read back the DAC register code of any of the channels. In DAC mode, this is useful in verification of write cycles. In ISHA mode, readback is useful if the system has been calibrated and the user wants to know what code in the DAC corresponds to a desired voltage on VOUT. If this voltage is required again, the user can input the code directly to the DAC register without going through the acquisition sequence.
MODES OF OPERATION
The AD5532 can be used in four different modes of operation. These modes are set by two mode bits, the first two bits in the serial word.
Table 9. Modes of Operation
Mode Bit 1 0 0 1 1 Mode Bit 2 0 1 0 1 Operating Mode ISHA mode DAC mode Acquire and Read Back Read Back
PIN DRIVER VIN CONTROLLER DAC BUSY TRACK OUTPUT STAGE VOUT1 DEVICE UNDER TEST
ACQUISITION CIRCUIT
AD5532
00939-C-019
Rev. D | Page 15 of 20
AD5532
SERIAL INTERFACE
The serial interface allows easy interfacing to most microcontrollers and DSPs, such as the PIC16C, PIC17C, QSPI, SPI, DSP56000, TMS320, and ADSP-21xx, without the need for any glue logic. When interfacing to the 8051, the SCLK must be inverted. The Microprocessor Interfacing section explains how to interface to some popular DSPs and microcontrollers. Figure 4, Figure 5, and Figure 6 show the timing diagram for a serial read and write to the AD5532. The serial interface works with both a continuous and a noncontinuous serial clock. The first falling edge of SYNC resets a counter that counts the number of serial clocks to ensure the correct number of bits are shifted in and out of the serial shift registers. Any further edges on SYNC are ignored until the correct number of bits are shifted in or out. Once the correct number of bits for the selected mode has been shifted in or out, the SCLK is ignored. In order for another serial transfer to take place the counter must be reset by the falling edge of SYNC. In readback, the first rising SCLK edge after the falling edge of SYNC causes DOUT to leave its high impedance state and data is clocked out onto the DOUT line and also on subsequent SCLK rising edges. The DOUT pin goes back into a high impedance state on the falling edge of the 14th SCLK. Data on the DIN line is latched in on the first SCLK falling edge after the falling edge of the SYNC signal and on subsequent SCLK falling edges. During read-back DIN is ignored. The serial interface does
MSB 0 MODE BIT 1 0 MODE BIT 2 CAL OFFSET_SEL 0 TEST BIT
not shift data in or out until it receives the falling edge of the SYNC signal.
Table 10
Pin SER/PAR Description This pin is tied high to enable the serial interface and to disable the parallel interface. The serial interface is controlled by the four pins that follow. Standard 3-wire interface pins. The SYNC pin is shared with the CS function of the parallel interface. Data Out pin for reading back the contents of the DAC registers. The data is clocked out on the rising edge of SCLK and is valid on the falling edge of SCLK. The four different modes of operation are described in the Modes of Operation section. In DAC mode, this is a test bit. When high, it loads all 0s or all 1s to the 32 DACs simultaneously. In ISHA mode, all 32 channels acquire VIN at the same time when this bit is high. In ISHA mode, the acquisition time is then 45 s (typ) and accuracy may be reduced. This bit is set low for normal use. If this is set high, the offset channel is selected and Bits A4A0 are ignored. Must be set low for correct operation of the part. Used to address any one of the 32 channels (A4 = MSB of address, A0 = LSB). Used to write a 14-bit word into the addressed DAC register. Only valid when in DAC mode.
LSB A4A0
MODE BITS
Rev. D | Page 16 of 20
00939-C-020
AD5532
PARALLEL INTERFACE (ISHA MODE ONLY)
The SER/PAR bit must be tied low to enable the parallel interface and disable the serial interface. The parallel interface is controlled by nine pins, as described in Table 11.
Table 11.
Pin CS WR A4A0 Description Active low package select pin. This pin is shared with the SYNC function for the serial interface. Active low write pin. The values on the address pins are latched on a rising edge of WR. Five address pins (A4 = MSB of address, A0 = LSB). These are used to address the relevant channel (out of a possible 32). Offset select pin. This has the same function as the Offset_Sel bit in the serial interface. When it is high, the offset channel is addressed. The address on A4A0 is ignored in this case. When this pin is high, all 32 channels acquire VIN simultaneously. The acquisition time is then 45 s (typ) and accuracy may be reduced.
ADSP-2101/ ADSP-2103*
DR TFS RFS
DIN SCLK
DT SCLK
AD5532 to MC68HC11
The serial peripheral interface (SPI) on the MC68HC11 is configured for master mode (MSTR) = 1, clock polarity bit (CPOL) = 0, and the clock phase bit (CPHA) = 1. The SPI is configured by writing to the SPI control register (SPCR)see the 68HC11 User Manual. SCK of the 68HC11 drives the SCLK of the AD5532, the MOSI output drives the serial data line (DIN) of the AD5532, and the MISO input is driven from DOUT. The SYNC signal is derived from a port line (PC7). When data is being transmitted to the AD5532, the SYNC line is taken low (PC7). Data appearing on the MOSI output is valid on the falling edge of SCK. Serial data from the 68HC11 is transmitted in 8-bit bytes with only eight falling clock edges occurring in the transmit cycle. Data is transmitted MSB first. To transmit 10 data bits in ISHA mode, it is important to left-justify the data in the SPDR register. PC7 must be pulled low to start a transfer. It is taken high and pulled low again before other read/write cycles can take place. Figure 23 shows a connection diagram.
AD5532*
DOUT SYNC SCLK
OFFSET_SEL
CAL
MICROPROCESSOR INTERFACING
AD5532 to ADSP-21xx Interface
ADSP-21xx DSPs are easily interfaced to the AD5532 without the need for extra logic. A data transfer is initiated by writing a word to the TX register after the SPORT has been enabled. In a write sequence, data is clocked out on each rising edge of the DSP serial clock and clocked into the AD5532 on the falling edge of its SCLK. In readback, 16 bits of data are clocked out of the AD5532 on each rising edge of SCLK and clocked into the DSP on the rising edge of SCLK. DIN is ignored. The valid 14 bits of data is centered in the 16-bit RX register in this configuration. The SPORT Control register should be set up as in Table 12.
Table 12.
TFSW = RFSW = 1 INVRFS = INVTFS = 1 DTYPE = 00 ISCLK = 1 TFSR = RFSR = 1 IRFS = 0 ITFS = 1 SLEN = 1001 SLEN = 0111 SLEN = 1111 Alternate framing Active low frame signal Right justify data Internal serial clock Frame every word External framing signal Internal framing signal 10-bit data-words (ISHA mode write) 3 8-bit data-words (DAC mode write) 16-bit data-words (Readback mode)
MC68HC11*
MISO PC7 SCK MOSI
00939-C-022
DIN
Rev. D | Page 17 of 20
00939-C-021
AD5532
AD5532 to PIC16C6x/7x
The PIC16C6x/7x synchronous serial port (SSP) is configured as an SPI master with the Clock Polarity Bit = 0. This is done by writing to the synchronous serial port control register (SSPCON). See the PIC16/17 Microcontroller User Manual. In this example, the I/O port RA1 is being used to pulse SYNC and enable the serial port of the AD5532. This microcontroller transfers only eight bits of data during each serial transfer operation; therefore, two or three consecutive read/write operations are needed depending on the mode. Figure 24 shows the connection diagram.
AD5532*
SCLK DOUT DIN SYNC
The AD5532 has several advantages: no refreshing is required, there is no droop, pedestal error is eliminated, and there is no need for extra filtering to remove glitches. Overall a higher level of integration is achieved in a smaller area (see Figure 26).
PARAMETRIC MEASUREMENT SYSTEM BUS UNIT DAC DAC DAC ACTIVE LOAD
PIC16C6x/7x*
SCK/RC3 SDO/RC5 SDI/RC4 RA1
00939-C-023
DRIVER DAC
DUT
AD5532 to 8051
The AD5532 requires a clock synchronized to the serial data. The 8051 serial interface must therefore be operated in Mode 0. In this mode, serial data enters and exits through RxD and a shift clock is output on TxD. Figure 25 shows how the 8051 is connected to the AD5532. Because the AD5532 shifts data out on the rising edge of the shift clock and latches data in on the falling edge, the shift clock must be inverted. The AD5532 requires its data with the MSB first. Because the 8051 outputs the LSB first, the transmit routine must take this into account.
AD5532*
SCLK DOUT DIN SYNC P1.1
00939-C-024
DACs
SYSTEM BUS
8051*
TxD RxD
APPLICATION CIRCUITS
AD5532 in a Typical ATE System
The AD5532 is ideally suited for use in automatic test equipment. Several DACs are required to control pin drivers, comparators, active loads, and signal timing. Traditionally, sample-and-hold devices were used in this application.
AD5532
1 32
S E N S 32 O R 1
ADG739 4
8
AD7856
AD8544 2 ADSP-2191M
00939-C-026
Rev. D | Page 18 of 20
AD5532
Typical Application Circuit (ISHA Mode)
The AD5532 can be used to set up voltage levels on 32 channels as shown in the circuit that follows. An AD780 provides the 3 V reference for the AD5532 and for the AD5541 16-bit DAC. A simple 3-wire interface is used to write to the AD5541. Because the AD5541 has an output resistance of 6.25 k(typ), the time taken to charge/discharge the capacitance at the VIN pin is significant. Hence an AD820 is used to buffer the DAC output. Note that it is important to minimize noise on VIN and REFIN when laying out the circuit.
AVCC AVCC DVCC VSS
The power supply lines of the AD5532 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. A ground line routed between the DIN and SCLK lines helps reduce crosstalk between them (not required on a multilayer board as there is a separate ground plane, but separating the lines helps). Note it is essential to minimize noise on VIN and REFIN lines. Particularly for optimum ISHA performance, the VIN line must be kept noise free. Depending on the noise performance of the board, a noise filtering capacitor may be required on the VIN line. If this capacitor is necessary, then for optimum throughput it may be necessary to buffer the source which is driving VIN. 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 micro-strip 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. As is the case for all thin packages, care must be taken to avoid flexing the package and to avoid a point load on the surface of the package during the assembly process.
VDD
CS DIN SCLK
AD5541*
AD820
VIN
AD5532*
REF OFFS_IN OFFS_OUT REFIN
VOUT0VOUT31
AD780*
VOUT
00939-C-027
SYNC
Rev. D | Page 19 of 20
DETAIL A 1.70 MAX 0.30 MIN 0.70 0.60 0.50 BALL DIAMETER COMPLIANT TO JEDEC STANDARDS MO-192-ABD-1 0.20 COPLANARITY SEATING PLANE
061306-A
DETAIL A
1.10 0.25
Figure 29. 74-Ball Chip Scale Package Ball Grid Array [CSP_BGA] (BC-74) Dimensions shown in millimeters
ORDERING GUIDE
Model1 AD5532ABC-1 AD5532ABC-1REEL AD5532ABC-2 AD5532ABC-3 AD5532ABC-3REEL AD5532ABC-5 AD5532ABC-5REEL AD5532ABCZ-1 AD5532ABCZ-1REEL AD5532ABCZ-2 AD5532ABCZ-3 AD5532ABC-5 EVAL-AD5532EBZ
1
Temperature Range 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C
Function 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA 32 DACs, 32-Channel ISHA Evaluation Board
Output Impedance 0.5 typ 0.5 typ 0.5 typ 500 typ 500 typ 1 k typ 1 k typ 0.5 typ 0.5 typ 0.5 typ 500 typ 1 k typ
Package Description 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA 74-Ball CSP_BGA
Package Option BC-74 BC-74 BC-74 BC-74 BC-74 BC-74 BC-74 BC-74 BC-74 BC-74 BC-74 BC-74
2010 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D00939-0-6/10(D)
Rev. D | Page 20 of 20