2.7 V to 5.5 V, <100 µA, 14-Bit nanoDAC™ D/A in SC70 Package AD5641 Preliminary Technical Data FUNCTIONAL BLOCK DIAGRAM FEATURES 6-lead SC70 package Power-down to <100 nA @ 3 V Single 14-bit DAC: B Version: ±4 LSB INL A Version: ±8 LSB INL Micropower operation: max 100 µA @ 5 V 2.7 V to 5.5 V power supply Guaranteed monotonic by design Power-on reset to 0 V with brownout detection 3 power-down functions Low power serial interface with Schmitt-triggered inputs On-chip output buffer amplifier, rail-to-rail operation SYNC interrupt facility VDD POWER-ON RESET DAC REGISTER The AD5641 contains a power-down feature that reduces current consumption to <100 nA at 3 V, and provides softwareselectable output loads while in power-down mode. The part is put into power-down mode over the serial interface. The low power consumption of the part in normal operation makes it ideally suited to portable battery-operated equipment. The combination of small package and low power makes this nanoDAC device ideal for level-setting requirements such as generating bias or control voltages in space-constrained and power-sensitive applications. REF(+) OUTPUT BUFFER 14-BIT DAC POWER-DOWN CONTROL LOGIC VOUT RESISTOR NETWORK 04611-A-001 SYNC SCLK DIN Figure 1. Table 1. Related Devices Part Number AD5601/AD5611/AD5621 GENERAL DESCRIPTION The AD5641, a member of the nanoDAC family, is a single, 14-bit, buffered, voltage out DAC that operates from a single 2.7 V to 5.5 V supply, consuming <100 µA at 5 V. The part comes in a tiny SC70 package. Its on-chip precision output amplifier allows rail-to-rail output swing to be achieved. The AD5641 utilizes a versatile 3-wire serial interface that operates at clock rates up to 30 MHz and is compatible with SPI®, QSPI™, MICROWIRE™, and DSP interface standards. The reference for AD5641 is derived from the power supply inputs and, therefore, gives the widest dynamic output range. The part incorporates a power-on reset circuit, which ensures that the DAC output powers up to 0 V and remains there until a valid write to the device takes place. AD5641 INPUT CONTROL LOGIC APPLICATIONS Voltage level setting Portable battery-powered instruments Digital gain and offset adjustment Programmable voltage and current sources Programmable attenuators GND Description 2.7 V to 5.5 V, <100 µA, 8-/10-/12-Bit, nanoDAC™ D/A, SPI Interface, SC70 Package The AD5641 is designed with new technology and comes in a space-saving SC70 package. PRODUCT HIGHLIGHTS 1. Available in a space-saving 6-lead SC70 package. 2. Low power, single-supply operation. The AD5641 operates from a single 2.7 V to 5.5 V supply and typically consumes 0.2 mW at 3 V and 0.5 mW at 5 V, making it ideal for battery-powered applications. 3. The on-chip output buffer amplifier allows the output of the DAC to swing rail-to-rail with a typical slew rate of 0.5 V/µs. 4. Reference derived from the power supply. 5. High speed serial interface with clock speeds up to 30 MHz. 6. Designed for very low power consumption. The interface powers up only during a write cycle. 7. Power-down capability. When powered down, the DAC typically consumes <100 nA at 3 V. 8. Power-on reset with brownout detection. Rev. PrC 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 © 2004 Analog Devices, Inc. All rights reserved. AD5641 Preliminary Technical Data TABLE OF CONTENTS Specifications..................................................................................... 3 Input Shift Register .................................................................... 12 Timing Characteristics ................................................................ 4 SYNC Interrupt .......................................................................... 13 Absolute Maximum Ratings............................................................ 5 Power-On Reset.......................................................................... 13 ESD Caution.................................................................................. 5 Power-Down Modes .................................................................. 13 Pin Configuration and Function DescriptionS ............................ 6 Microprocessor Interfacing....................................................... 13 Terminology ...................................................................................... 7 Applications..................................................................................... 15 Typical Performance Characteristics ............................................. 8 Choosing a Reference as Power Supply for AD5641 ............. 15 General Description ....................................................................... 12 Bipolar Operation Using the AD5641 ..................................... 15 D/A Section................................................................................. 12 Using AD5641 with an Opto-Isolated Interface..................... 16 Resistor String ............................................................................. 12 Power Supply Bypassing and Grounding................................ 16 Output Amplifier ........................................................................ 12 Outline Dimensions ....................................................................... 17 Serial Interface ............................................................................ 12 Ordering Guide .......................................................................... 17 REVISION HISTORY Revision PrC: Preliminary Version Rev. PrC | Page 2 of 20 Preliminary Technical Data AD5641 SPECIFICATIONS VDD = 2.7 V to 5.5 V; RL = 2 kΩ to GND; CL = 200 pF to GND; all specifications TMIN to TMAX, unless otherwise noted. Table 2. Parameter STATIC PERFORMANCE Resolution Relative Accuracy2 Differential Nonlinearity2 Zero Code Error Offset Error Full-Scale Error Gain Error Zero Code Error Drift Gain Temperature Coefficient OUTPUT CHARACTERISTICS3 Output Voltage Range Output Voltage Settling Time Slew Rate Capacitive Load Stability Output Noise Spectral Density Noise Digital-to-Analog Glitch Impulse Digital Feedthrough DC Output Impedance Short-Circuit Current LOGIC INPUTS Input Current VINL, Input Low Voltage Min B Version1 Typ Max 14 ±4 ±8 ±1 ±0.2 ±0.125 ±0.01 ±0.04 5.0 2.0 0 8 0.5 470 1000 120 TBD 10 0.5 1 20 ±1 1.8 1.4 3 2.7 0.2 0.05 Bits LSB LSB LSB mV % of FSR LSB % of FSR µV/°C ppm of FSR/°C V µs V/µs pF pF nV/Hz nV-s nV-s 0.8 0.6 VINH, Input High Voltage Pin Capacitance POWER REQUIREMENTS VDD IDD (Normal Mode) VDD = 4.5 V to 5.5 V VDD = 2.7 V to 3.6 V IDD (All Power-Down Modes) VDD = 4.5 V to 5.5 V VDD = 2.7 V to 3.6 V POWER EFFICIENCY IOUT/IDD VDD 18 Unit Test Conditions/Comments B Grade A Grade Guaranteed monotonic by design All 0s loaded to DAC register All 1s loaded to DAC register Code ¼ to ¾ RL = ∞ RL = 2 kΩ DAC code = TBD, 10 kHz DAC code = TBD, 0.1 Hz to 10 Hz bandwidth 1 LSB change around major carry mA VDD = 3 V/5 V µA V V V V pF VDD = 5 V VDD = 2.7 V VDD = 5 V VDD = 2.7 V 5.5 V 100 70 µA µA All digital inputs at 0 or VDD DAC active and excluding load current VIH = VDD and VIL = GND VIH = VDD and VIL = GND 1 1 µA µA VIH = VDD and VIL = GND VIH = VDD and VIL = GND % ILOAD = 2 mA and VDD = ±5 V TBD 1 Temperature ranges are as follows: B Version: –40°C to +125°C, typical at +25°C. Linearity calculated using a reduced code range. 3 Guaranteed by design and characterization, not production tested. 2 Rev. PrC | Page 3 of 20 AD5641 Preliminary Technical Data TIMING CHARACTERISTICS VDD = 2.7 V to 5.5 V; all specifications TMIN to TMAX, unless otherwise noted. See Figure 2. Table 3. Limit1 33 13 12 13 5 4.5 0 33 13 Parameter t12 t2 t3 t4 t5 t6 t7 t8 t9 2 Test Conditions/Comments SCLK cycle time SCLK high time SCLK low time SYNC to SCLK falling edge setup time Data setup time Data hold time SCLK falling edge to SYNC rising edge Minimum SYNC high time SYNC rising edge to next SCLK fall ignore All input signals are specified with tr = tf = 1 ns/V (10% to 90% of VDD) and timed from a voltage level of (VIL + VIH)/2. Maximum SCLK frequency is 30 MHz. t4 t2 t1 t9 SCLK t8 t3 t7 SYNC t6 t5 DIN D15 D14 D2 D1 Figure 2. Timing Diagram Rev. PrC | Page 4 of 20 D0 D15 D14 04611-A-002 1 Unit ns min ns min ns min ns min ns min ns min ns min ns min ns min Preliminary Technical Data AD5641 ABSOLUTE MAXIMUM RATINGS TA = 25°C, unless otherwise noted. Table 4. Parameter VDD to GND Digital Input Voltage to GND VOUT to GND Operating Temperature Range Industrial (B Version) Storage Temperature Range Maximum Junction Temperature SC70 Package θJA Thermal Impedance θJC Thermal Impedance Lead Temperature, Soldering Vapor Phase (60 s) Infrared (15 s) ESD Rating −0.3 V to +7.0 V –0.3 V to VDD + 0.3 V –0.3 V to VDD + 0.3 V –40°C to +125°C –65°C to +160°C 150°C 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. 332°C/W 120°C/W 215°C 220°C 2.0 kV ESD 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 this product 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. Rev. PrC | Page 5 of 20 AD5641 Preliminary Technical Data PIN CONFIGURATION AND FUNCTION DESCRIPTIONS SCLK 2 AD5641 6 VOUT 5 GND TOP VIEW DIN 3 (Not to Scale) 4 VDD 04611-A-003 SYNC 1 Figure 3. 6-Lead SC70 Pin Configuration Table 5. Pin Function Descriptions Pin No. 1 Mnemonic SYNC 2 SCLK 3 DIN 4 5 6 VDD GND VOUT Function Level-Triggered Control Input (Active Low). This is the frame synchronization signal for the input data. When SYNC goes low, it enables the input shift register, and data is transferred in on the falling edges of the clocks that follow. The DAC is updated following the 16th clock cycle unless SYNC is taken high before this edge, in which case the rising edge of SYNC acts as an interrupt and the write sequence is ignored by the DAC. Serial Clock Input. Data is clocked into the input shift register on the falling edge of the serial clock input. Data can be transferred at rates up to 30 MHz. Serial Data Input. This device has a 16-bit shift register. Data is clocked into the register on the falling edge of the serial clock input. Power Supply Input. The AD5641 can be operated from 2.7 V to 5.5 V. VDD should be decoupled to GND. Ground Reference Point for All Circuitry on the AD5641. Analog Output Voltage from the DAC. The output amplifier has rail-to-rail operation. Rev. PrC | Page 6 of 20 Preliminary Technical Data AD5641 TERMINOLOGY Relative Accuracy For the DAC, relative accuracy or integral nonlinearity (INL) is a measure of the maximum deviation, in LSBs, from a straight line passing through the endpoints of the DAC transfer function. A typical INL versus code plot can be seen in Figure 4. Differential Nonlinearity Differential nonlinearity (DNL) 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 maximum ensures monotonicity. This DAC is guaranteed monotonic by design. A typical DNL versus code plot can be seen in Figure 7. Zero-Code Error Zero-code error is a measure of the output error when zero code (0x0000) is loaded to the DAC register. Ideally, the output should be 0 V. The zero-code error is always positive in the AD5641, because the output of the DAC cannot go below 0 V. Zero-code error is due to a combination of the offset errors in the DAC and output amplifier. Zero-code error is expressed in mV. A plot of zero-code error versus temperature can be seen in Figure 6. Full-Scale Error Full-scale error is a measure of the output error when full-scale code (0xFFFF) is loaded to the DAC register. Ideally, the output should be VDD − 1 LSB. Full-scale error is expressed in percent of full-scale range. A plot of full-scale error versus temperature can be seen in Figure 6. Total Unadjusted Error Total unadjusted error (TUE) is a measure of the output error taking all the various errors into account. A typical TUE versus code plot can be seen in Figure 5. Zero-Code Error Drift Zero-code error drift is a measure of the change in zero-code error with a change in temperature. It is expressed in µV/°C. Gain Error Drift Gain error drift is a measure of the change in gain error with changes in temperature. It is expressed in (ppm of full-scale range)/°C. Digital-to-Analog Glitch Impulse Digital-to-analog glitch impulse is the impulse injected into the analog output when the input code in the DAC register changes state. 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 (0x7FFF to 0x8000). See Figure 18. Digital Feedthrough Digital feedthrough is a measure of the impulse injected into the analog output of the DAC from the digital inputs of the DAC, but is measured when the DAC output is not updated. It is specified in nV-s and is measured with a full-scale code change on the data bus, that is, from all 0s to all 1s and vice versa. Gain Error Gain error 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 range. Rev. PrC | Page 7 of 20 AD5641 Preliminary Technical Data 0.5 2.0 0.4 1.5 0.3 1.0 0.5 0 0.2 0.1 0 –0.5 –0.1 –1.0 –0.2 –1.5 0 2k 4k 6k 8k 10k 12k 14k 16k CODE –0.3 0 2k 4k 6k 8k 10k 12k CODE Figure 4. Typical INL Plot Figure 7. Typical DNL Plot 18 16 14 10 8 6 4 2 0 256 2k 4k 6k 8k 10k 12k 14k 16k 04611-A-005 TUE (LSBs) 12 CODE Figure 5. Total Unadjusted Error Figure 8. INL and DNL vs. Supply Figure 6. Zero-Scale Error and Full-Scale Error vs. Temperature Figure 9. IDD Histogram @ VDD = 3 V/5 V Rev. PrC | Page 8 of 20 14k 16k 04611-A-007 DNL ERROR (LSBs) 2.5 04611-A-004 INL ERROR (LSBs) TYPICAL PERFORMANCE CHARACTERISTICS Preliminary Technical Data AD5641 0.8 VDD = 5V TA = 25°C 0.6 DAC LOADED WITH FF CODE 0.2 0.0 –0.2 DAC LOADED WITH 00 CODE –0.4 –0.6 –15 –10 –5 0 5 10 15 04611-A-010 ∆VO (V) 0.4 I (mA) Figure 10. Source and Sink Current Capability Figure 13. Supply Current vs. Code Figure 11. Supply Current vs. Temperature Figure 14. Supply Current vs. Supply Voltage Figure 12. Full-Scale Settling Time Figure 15. Half-Scale Settling Time Rev. PrC | Page 9 of 20 AD5641 Preliminary Technical Data VDD = 5V TA = 25°C VDD VDD = 5V TA = 25°C MIDSCALE LOADED CH1 CH1 CH1 1V, CH2, TIME BASE = 20µs/DIV 04611-A-019 CH2 04611-A-016 VOUT = 70mV CH1 5uV/DIV Figure 19. 1/f Noise, 0.1 Hz to 10 Hz Bandwidth Figure 16. Power-On Reset to 0 V CH1 VDD VDD = 5V TA = 25°C VDD = 5V TA = 25°C CH1 CLK CH2 CH2 VOUT CH1 5V, CH2 1V, TIME BASE = 5µs/DIV 04783-C-020 04611-A-017 CH1 1V, CH2 5V, TIME BASE = 50µs/DIV VOUT Figure 17. VDD vs. VOUT (Power-Down) Figure 20. Exiting Power-Down Figure 18. Digital-to-Analog Glitch Impulse Figure 21. Harmonic Distortion on Digitally Generated Waveform Rev. PrC | Page 10 of 20 Preliminary Technical Data AD5641 140 200 FULL SCALE 180 120 NOISE SPECTRAL DENSITY 160 3/4 SCALE CODE 0x2040 MIDSCALE 100 140 1/4 SCALE 120 nV/ Hz 60 ZERO SCALE 100 MIDSCALE FULL SCALE 80 60 40 ZERO SCALE 40 20 0 0 5 10 15 FREQUENCY (MHz) 20 25 0 1K 10K FREQUENCY Figure 23. Noise Spectral Density Figure 22. IDD vs. SCLK vs. Code Rev. PrC | Page 11 of 20 100K 04611-A-024 20 04611-A-023 IDD (uA) 80 AD5641 Preliminary Technical Data GENERAL DESCRIPTION D/A SECTION OUTPUT AMPLIFIER The AD5641 DAC is fabricated on a CMOS process. The architecture consists of a string DAC followed by an output buffer amplifier. Figure 24 is a block diagram of the DAC architecture. The output buffer amplifier is capable of generating rail-to-rail voltages on its output, giving an output range of 0 V to VDD. It is capable of driving a load of 2 kΩ in parallel with 1000 pF to GND. The source and sink capabilities of the output amplifier can be seen in Figure 10. The slew rate is 0.5 V/µs, with a halfscale settling time of 8 µs with the output unloaded. VDD REF (+) SERIAL INTERFACE RESISTOR NETWORK REF (–) VOUT OUTPUT AMPLIFIER GND 04611-A-025 DAC REGISTER Figure 24. DAC Architecture Because the input coding to the DAC is straight binary, the ideal output voltage is given by D ⎞ VOUT = VDD × ⎛⎜ ⎟ ⎝ 16384 ⎠ where D is the decimal equivalent of the binary code that is loaded to the DAC register; it can range from 0 to 16,384. RESISTOR STRING The resistor string section is shown in Figure 25. It is simply a string of resistors, each of value R. The code loaded to the DAC register determines at which node on the string the voltage is tapped off to be fed into the output amplifier. The voltage is tapped off by closing one of the switches connecting the string to the amplifier. Because it is a string of resistors, it is guaranteed monotonic. The AD5641 has a 3-wire serial interface (SYNC, SCLK, and DIN) that is compatible with SPI, QSPI, and MICROWIRE interface standards as well as most DSPs. See Figure 2 for a timing diagram of a typical write sequence. The write sequence begins by bringing the SYNC line low. Data from the DIN line is clocked into the 16-bit shift register on the falling edge of SCLK. The serial clock frequency can be as high as 30 MHz, making the AD5641compatible with high speed DSPs. On the 16th falling clock edge, the last data bit is clocked in and the programmed function is executed (a change in DAC register contents and/or a change in the mode of operation). At this stage, the SYNC line might be kept low or brought high. In either case, it must be brought high for a minimum of 33 ns before the next write sequence so that a falling edge of SYNC can initiate the next write sequence. Because the SYNC buffer draws more current when VIN = 1.8 V than it does when VIN = 0.8 V, SYNC should be idled low between write sequences for even lower power operation of the part, as mentioned above. However, it must be brought high again just before the next write sequence. INPUT SHIFT REGISTER R R TO OUTPUT AMPLIFIER R The input shift register is 16 bits wide (see Figure 26). The first two bits are control bits that determine the part’s mode of operation (normal mode or any one of three power-down modes). For a complete description of the various modes, see the Power-Down Modes section. The next 16 bits are the data bits, which are transferred to the DAC register on the 16th falling edge of SCLK. DB15 (MSB) PD1 PD0 DB0 (LSB) D13 D12 D11 D10 D9 R D7 D6 D5 D4 D3 D2 D1 D0 Figure 25. Resistor String Section 0 0 0 1 NORMAL OPERATION 1 0 1 1 100 kΩ TO GND THREE-STATE 1 kΩ TO GND POWER-DOWN MODES Figure 26. Input Register Contents Rev. PrC | Page 12 of 20 04611-A-027 DATA BITS 04611-A-026 R D8 Preliminary Technical Data AD5641 SCLK DIN DB15 DB0 DB16 INVALID WRITE SEQUENCE: SYNC HIGH BEFORE 16TH FALLING EDGE 04611-A-028 SYNC DB0 VALID WRITE SEQUENCE, OUTPUT UPDATES ON THE 16TH FALLING EDGE Figure 27. SYNC Interrupt Facility RESISTOR STRING DAC POWER-ON RESET POWER-DOWN MODES The AD5641 have four separate modes of operation. These modes are software-programmable by setting two bits (DB15 and DB14) in the control register. Table 6 shows how the state of the bits corresponds to the mode of operation of the device. Table 6. Modes of Operation for the AD5641 DB14 0 0 1 1 1 0 1 VOUT POWER-DOWN CIRCUITRY The AD5641 contains a power-on reset circuit that controls the output voltage during power-up. The DAC register is filled with zeros and the output voltage is 0 V. It remains there until a valid write sequence is made to the DAC. This is useful in applications in which it is important to know the state of the DAC’s output while it is in the process of powering up. DB15 0 AMPLIFIER Operating Mode Normal operation Power-down mode 1 kΩ to GND 100 kΩ to GND Three-state When both bits are set to 0, the part works normally with its normal power consumption of 100 µA maximum at 5 V. However, for the three power-down modes, the supply current falls to <100 nA at 3 V. Not only does the supply current fall, but the output stage is also internally switched from the output of the amplifier to a resistor network of known values. This has the advantage that the output impedance of the part is known while RESISTOR NETWORK Figure 28. Output Stage During Power-Down The bias generator, output amplifier, resistor string, and other associated linear circuitry are all shut down when the powerdown mode is activated. However, the contents of the DAC register are unaffected when in power-down. The time to exit power-down is typically 2.5 µs for VDD = 5 V and 5 µs for VDD = 3 V. See Figure 20 for a plot. MICROPROCESSOR INTERFACING AD5641 to ADSP-2101/ADSP-2103 Interface Figure 29 shows a serial interface between the AD5641 and the ADSP-2101/ADSP-2103. The ADSP-2101/ADSP-2103 should be set up to operate in 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, and 16-bit word length. Transmission is initiated by writing a word to the Tx register after the SPORT has been enabled. ADSP-2101/ ADSP-2103* TFS DT SCLK AD5641* SYNC DIN SCLK *ADDITIONAL PINS OMITTED FOR CLAIRTY Figure 29. AD5641 to ADSP-2101/ADSP-2103 Interface Rev. PrC | Page 13 of 20 04611-A-030 In a normal write sequence, the SYNC line is kept low for at least 16 falling edges of SCLK and the DAC is updated on the 16th falling edge. However, if SYNC is brought high before the 16th falling edge, this acts as an interrupt to the write sequence. The shift register is reset and the write sequence is seen as invalid. Neither an update of the DAC register contents nor a change in the operating mode occurs (see Figure 27). the part is in power-down mode. There are three different options: the output is connected internally to GND through a 1 kΩ resistor or a 100 kΩ resistor, or the output is left opencircuited (three-state). Figure 28 shows the output stage. 04611-A-029 SYNC INTERRUPT AD5641 Preliminary Technical Data AD5641 to 68HC11/68L11 Interface AD5641 to 80C51/80L51 Interface Figure 30 shows a serial interface between the AD5641 and the 68HC11/68L11 microcontroller. SCK of the 68HC11/68L11 drives the SCLK of the AD5641, 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 1. 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 falling 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. To load data to the AD5641, PC7 is left low after the first eight bits are transferred, and a second serial write operation is performed to the DAC. PC7 is taken high at the end of this procedure. Figure 32 shows a serial interface between the AD5641 and the 80C51/80L51 microcontroller. The setup for the interface is as follows: TXD of the 80C51/80L51 drives SCLK of the AD5641, 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 AD5641, P3.3 is taken low. MOSI SCLK DIN SCLK RXD DIN Figure 32. AD5641 to 80C51/80L51 Interface Figure 30. AD5641 to 68HC11/68L11 Interface AD5641 to MICROWIRE Interface AD5641 to Blackfin® ADSP-BF53X Interface Figure 31 shows a serial interface between the AD5641 and the Blackfin ADSP-BF53x microprocessor. The ADSP-BF53x processor family incorporates two dual-channel synchronous serial ports, SPORT1 and SPORT0, for serial and multiprocessor communications. Using SPORT0 to connect to the AD5641, the setup for the interface is as follows: DT0PRI drives the SDIN pin of the AD5641, while TSCLK0 drives the SCLK of the part. The SYNC is driven from TFS0. Figure 33 shows an interface between the AD5641 and any MICROWIRE compatible device. Serial data is shifted out on the falling edge of the serial clock and is clocked into the AD5641 on the rising edge of the SK. MICROWIRE* AD5641 AD5641* CS SYNC SK SCLK SO DIN DIN TSCLK0 SCLK TFS0 SYNC *ADDITIONAL PINS OMITTED FOR CLAIRTY 04611-A-032 DT0PRI SYNC TXD *ADDITIONAL PINS OMITTED FOR CLAIRTY *ADDITIONAL PINS OMITTED FOR CLAIRTY ADSP-BF53X P3.3 04611-A-033 SCK SYNC AD5641* *ADDITIONAL PINS OMITTED FOR CLAIRTY Figure 31. AD5641 to Blackfin ADSP-BF53X Interface Rev. PrC | Page 14 of 20 Figure 33. AD5641 to MICROWIRE Interface 04611-A-034 PC7 80C51/80L51* AD5641* 04611-A-031 68HC11/ 68L11 The 80C51/80L51 transmits data only in 8-bit bytes; therefore, 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 that has the LSB first. The AD5641 requires its data with the MSB as the first bit received. The 80C51/80L51 transmit routine should take this into account. Preliminary Technical Data AD5641 APPLICATIONS CHOOSING A REFERENCE AS POWER SUPPLY FOR AD5641 The AD5641 comes in a tiny SC70 package with less than a 100 µA supply current. Because of this, the choice of reference depends on the application requirements. For space-saving applications, the ADR425 is available in an SC70 package and has excellent drift at 3 ppm/°C. It also provides very good noise performance at 3.4 µV p-p in the 0.1 Hz to 10 Hz range. Because the supply current required by the AD5641 is extremely low, it is ideal for low supply applications. The ADR293 voltage reference is recommended in this case. This requires 15 µA of quiescent current and can, therefore, drive multiple DACs in one system, if required. BIPOLAR OPERATION USING THE AD5641 The AD5641 has been designed for single-supply operation, but a bipolar output range is also possible using the circuit in Figure 35. The circuit in Figure 35 gives an output voltage range of ±5 V. Rail-to-rail operation at the amplifier output is achievable using an AD820 or OP295 as the output amplifier. The output voltage for any input code can be calculated as follows: D ⎞ ⎛ R1 + R2 ⎞ ⎡ ⎛ R 2 ⎞⎤ VO = ⎢V DD × ⎛⎜ ⎟×⎜ ⎟ − V DD × ⎜ ⎟ ⎝ 16384 ⎠ ⎝ R1 ⎠ ⎝ R1 ⎠⎥⎦ ⎣ where D represents the input code in decimal (0 – 16384). With VDD = 5 V, R1 = R2 = 10 kΩ: 7V 10 × D ⎞ VO = ⎛⎜ ⎟ − 5V ⎝ 16384 ⎠ 5V ADR425 SCLK AD 5641 VOUT = 0V TO 5V DIN This is an output voltage range of ±5 V with 0x0000 corresponding to a –5 V output, and 0x3FFF corresponding to a +5 V output. R2 = 10k Ω +5V Figure 34. ADR425 as Power Supply to AD5641 +5V R1 = 10kΩ Some recommended precision references for use as supplies to the AD5641 are listed in Table 7. VDD Table 7. Precision References for Use with AD5641 Part No. ADR435 ADR425 ADR02 ADR395 Initial Accuracy (mV max) ±6 ±6 ±5 ±6 Temperature Drift (ppm/°C max) 3 3 3 25 AD820/ OP295 10µF 0.1 Hz to 10 Hz Noise (µV p-p typ) 3.4 3.4 15 5 Rev. PrC | Page 15 of 20 0.1µF 5V VOUT AD5641 –5V 3-WIRE SERIAL INTERFACE Figure 35. Bipolar Operation with the AD5641 04611-A-036 SYNC 04611-A-035 3-WIRE SERIAL INTERFACE AD5641 Preliminary Technical Data USING AD5641 WITH AN OPTO-ISOLATED INTERFACE POWER SUPPLY BYPASSING AND GROUNDING In process-control applications in industrial environments, it is often necessary to use an opto-isolated interface to protect and isolate the controlling circuitry from any hazardous commonmode voltages that might occur in the area where the DAC is functioning. Opto-isolators provide isolation in excess of 3 kV. Because the AD5641 uses a 3-wire serial logic interface, it requires only three opto-isolators to provide the required isolation (see Figure 36). The power supply to the part also needs to be isolated. This is done by using a transformer. On the DAC side of the transformer, a 5 V regulator provides the 5 V supply required for the AD5641. +5V REGULATOR 10µF POWER 0.1µF VDD 10kΩ SCLK SCLK VDD AD5641 VDD 10kΩ VOUT SYNC SYNC VDD 10kΩ DIN GND Figure 36. AD5641 with an Opto-Isolated Interface 04611-A-037 DATA When accuracy is important in a circuit, it is helpful to carefully consider the power supply and ground return layout on the board. The printed circuit board containing the AD5641 should have separate analog and digital sections, each having its own area of the board. If the AD5641 is in a system where other devices require an AGND to DGND connection, the connection should be made at one point only. This ground point should be as close to the AD5641 as possible. The power supply to the AD5641 should be bypassed with 10 µF and 0.1 µF capacitors. The capacitors should be physically as close as possible to the device, with the 0.1 µF capacitor ideally right up against the device. The 10 µF capacitors are the tantalum bead type. It is important that the 0.1 µF capacitor have low effective series resistance (ESR) and effective series inductance (ESI), such as in common ceramic types of capacitors. This 0.1 µF capacitor provides a low impedance path to ground for high frequencies caused by transient currents due to internal logic switching. The power supply line itself should have as large a trace as possible to provide a low impedance path and reduce glitch effects on the supply line. Clocks and other fast switching digital signals should be shielded from other parts of the board by digital ground. Avoid crossover of digital and analog signals, if possible. When traces cross on opposite sides of the board, ensure that they run at right angles to each other to reduce feedthrough effects through the board. The best board layout technique is the microstrip technique where the component side of the board is dedicated to the ground plane only and the signal traces are placed on the solder side. However, this is not always possible with a 2-layer board. Rev. PrC | Page 16 of 20 Preliminary Technical Data AD5641 OUTLINE DIMENSIONS 2.00 BSC 4 2.10 BSC 1.25 BSC PIN 1 0.65 BSC 1.30 BSC 1.00 0.90 0.70 0.10 MAX 1.10 MAX 0.22 0.08 0.30 0.15 SEATING PLANE 8° 4° 0° 0.46 0.36 0.26 0.10 COPLANARITY COMPLIANT TO JEDEC STANDARDS MO-203AB Figure 37. 6-Lead Plastic Surface Mount Package [SC70] (KS-6) Dimensions shown in millimeters ORDERING GUIDE Model AD5641BKS AD5641AKS Temperature Range –40°C to +125°C –40°C to +125°C Description ±4.0 LSB INL ±8.0 LSB INL Package Description 6-Lead Plastic Surface Mount Package (SC70) 6-Lead Plastic Surface Mount Package (SC70) Rev. PrC | Page 17 of 20 Package Option KS-6 KS-6 AD5641 Preliminary Technical Data NOTES Rev. PrC | Page 18 of 20 Preliminary Technical Data AD5641 NOTES Rev. PrC | Page 19 of 20 AD5641 Preliminary Technical Data NOTES © 2004 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. PR04611–0–6/04(PrC) Rev. PrC | Page 20 of 20