D AC 7 512 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 2 +2.7 V to +5.5 V, I C INTERFACE, VOLTAGE OUTPUT, 12-BIT DIGITAL-TO-ANALOG CONVERTER FEATURES DESCRIPTION • • • • • • • The DAC7571 is a low-power, single channel, 12-bit buffered voltage output DAC. Its on-chip precision output amplifier allows rail-to-rail output swing to be achieved. The DAC7571 utilizes an I2C compatible two wire serial interface that operates at clock rates up to 3.4 Mbps with address support of up to two DAC7571s on the same data bus. • • • • Micropower Operation: 140 µA @ 5 V Power-On Reset to Zero +2.7-V to +5.5 V-Power Supply Specified Monotonic by Design Settling Time: 10 µs to ±0.003%FS I2C™ Interface up to 3.4 Mbps On-Chip Output Buffer Amplifier, Rail-to-Rail Operation Double-Buffered Input Register Address Support for up to Two DAC7571s Small 6 Lead SOT Package Operation From –40°C to 105°C The output voltage range of the DAC is set to VDD. The DAC7571 incorporates a power-on-reset circuit that ensures that the DAC output powers up at zero volts and remains there until a valid write to the device takes place. The DAC7571 contains a power-down feature, accessed via the internal control register, that reduces the current consumption of the device to 50 nA at 5 V. APPLICATIONS • • • • • The low power consumption of this part in normal operation makes it ideally suited for portable battery operated equipment. The power consumption is less than 0.7 mW at VDD = 5 V reducing to 1 µW in power-down mode. Process Control Data Acquistion Systems Closed-Loop Servo Control PC Peripherals Portable Instrumentation The DAC7571 is available in a 6-lead SOT 23 package. VDD GND Power-On Reset Ref (+) REF(-) 12-Bit DAC DAC Register I2C Control Logic A0 SCL Output Buffer Power Down Control Logic VOUT Resistor Network SDA Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. I2C is a trademark of Philips Corporation. PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. Copyright © 2003–2004, Texas Instruments Incorporated DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in conductive foam during storage or handling to prevent electrostatic damage to the MOS gates. PACKAGE/ORDERING INFORMATION PRODUCT PACKAGE PACKAGE DESIGNATOR SPECIFIED TEMPERATURE RANGE PACKAGE MARKING DAC7571 SOT23-6 DBV -40°C to +105°C D771 3 D771 2 4 YMLL 5 250 Piece Small Tape and Reel 3000 Piece Tape and Reel NAME 1 VOUT Analog output voltage from DAC 2 GND Ground reference point for all circuitry on the part 3 VDD Analog Voltage Supply Input 4 SDA Serial Data Input 5 SCL Serial Clock Input 1 6 A0 2 LOT TRACE CODE: A0 SCL SDA 6 5 4 (BOTTOM VIEW) 6 DAC7571IDBVT DAC7571IDBVR PIN (TOP VIEW) 1 TRANSPORT MEDIA PIN DESCRIPTION (SOT23-6) PIN CONFIGURATIONS VOUT GND VDD ORDERING NUMBER 3 DESCRIPTION Device Address Select Year (3 = 2003); Month (1–9 = JAN–SEP; A=OCT, B=NOV, C=DEC); LL– Random code generated when assembly is requested Lot Trace Code ABSOLUTE MAXIMUM RATINGS (1) UNITS VDD to GND -0.3V to +6V Digital Input voltage to GND -0.3 V to +VDD + 0.3 V VOUT to GND -0.3 V to +VDD + 0.3 V Operating temperature range -40°C to + 105°C Storage temperature range -65°C to + 150°C Junction temperature range (TJ max) + 150°C Power dissipation (TJmax - TA)RΘJA Thermal impedance, RΘJA 240°C/W Lead temperature, soldering (1) Vapor phase (60s) 215°C Infrared (15s) 220°C Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. Exposure to absolute maximum conditions for extended periods may affect device reliability. ELECTRICAL CHARACTERISTICS VDD = +2.7 V to +5.5 V; RL = 2 kΩ to GND; CL = 200 pF to GND; all specifications -40°C to +105°C unless otherwise noted. PARAMETER CONDITIONS DAC7571 MIN TYP MAX UNITS STATIC PERFORMANCE (1) Resolution 12 Bits Relative accuracy Differential nonlinearity Zero code error (1) 2 Assured monotonic by design All zeroes loaded to DAC register Linearity calculated using a reduced code range of 48 to 4047; output unloaded. 5 ±0.195 % of FSR ±1 LSB 20 mV DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 ELECTRICAL CHARACTERISTICS (continued) VDD = +2.7 V to +5.5 V; RL = 2 kΩ to GND; CL = 200 pF to GND; all specifications -40°C to +105°C unless otherwise noted. PARAMETER CONDITIONS Full-scale error All ones loaded to DAC register DAC7571 MIN UNITS TYP MAX -0.15 -1.25 % of FSR ±1.25 % of FSR Gain error Zero code error drift ±7 µV/°C Gain temperature coefficient ±3 ppm of FSR/°C OUTPUT CHARACTERISTICS (2) Output voltage range Output voltage settling time 0 1/4 Scale to 3/4 scale change (400H to C00H) 8 Slew rate Capacitive load stability Code change glitch impulse µs 1 V/µs pF RL =∞ 470 1000 pF 1 LSB Change around major carry 20 nV-s 0.5 nV-s DC output impedance Power-up time V 10 RL = 2kΩ Digital feedthrough Short-circuit current VDD VDD = +5V VDD = +3V 1 Ω 50 mA 20 mA Coming out of power-down mode, VDD = +5V 2.5 µs Coming out of power-down mode, VDD = +3V 5 µs LOGIC INPUTS (3) Input current VINL, Input low voltage VDD = +3V VINH, Input high voltage VDD = +5V ±1 µA 0.3×VDD V 0.7×VDD V Pin capacitance 3 pF 5.5 V POWER REQUIREMENTS VDD 2.7 IDD (normal operation) DAC active and excluding load current VDD = +3.6V to +5.5V VIH = VDD and VIL = GND 135 200 µA VDD = +2.7V to +3.6V VIH = VDD and VIL = GND 115 160 µA VDD = +3.6 V to +5.5 V VIH = VDD and VIL = GND 0.2 1 µA VDD = +2.7V to +3.6V VIH = VDD and VIL = GND 0.05 1 µA ILOAD = 2mA, VDD = +5V 93 IDD (all power-down modes) POWER EFFICIENCY IOUT/IDD (2) (3) % Specified by design and characterization, not production tested. Specified by design and characterization, not production tested. 3 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TIMING CHARACTERISTICS SYMBOL PARAMETER fSCL SCL Clock Frequency tBUF Bus Free Time Between a STOP and START Condition tHD; tSTA Hold Time (Repeated) START Condition TEST CONDITIONS MIN MAX UNITS Standard mode 100 kHz Fast mode 400 kHz High-speed mode, CB - 100pF max 3.4 MHz 1.7 MHz High-Speed mode, CB - 400pF max tLOW tHIGH tSU; tSTA tSU; tDAT tHD; tDAT LOW Period of the SCL Clock HIGH Period of the SCL Clock Setup Time for a Repeated START Condition Data Setup Time Data Hold Time Standard mode 4.7 µs Fast mode 1.3 µs Standard mode 4.0 µs Fast mode 600 ns High-speed mode 160 ns Standard mode 4.7 µs Fast mode 1.3 µs High-speed mode, CB - 100pF max 160 ns High-speed mode, CB - 400pF max 320 ns Standard mode 4.0 µs Fast mode 600 ns High-speed mode, CB - 100pF max 60 ns High-speed mode, CB - 400pF max 120 ns Standard mode 4.7 µs Fast mode 600 ns High-speed mode 160 ns Standard mode 250 ns Fast mode 100 ns High-speed mode 10 ns Standard mode 0 3.45 µs Fast mode 0 0.9 µs High-speed mode, CB - 100pF max 0 70 ns High-speed mode, CB - 400pF max 0 150 ns 1000 ns 20 + 0.1CB 300 ns High-speed mode, CB - 100pF max 10 40 ns High-speed mode, CB - 400pF max 20 Standard mode tRCL Rise Time of SCL Signal Fast mode Standard mode tRCL1 Rise Time of SCL Signal After a Repeated START Condition and After an Acknowledge BIT Fast mode 20 + 0.1CB Fall Time of SCL Signal Rise Time of SDA Signal 4 Fall Time of SDA Signal ns 300 ns 10 80 ns 20 160 ns 300 ns 20 + 0.1CB 300 ns High-speed mode, CB - 100pF max Fast mode 10 40 ns High-speed mode, CB - 400pF max 20 80 ns 1000 ns 20 + 0.1CB 300 ns High-speed mode, CB - 100pF max Fast mode 10 80 ns High-speed mode, CB - 400pF max 20 160 ns Standard mode tFDA ns High-speed mode, CB - 400pF max Standard mode tRDA 80 1000 High-speed mode, CB - 100pF max Standard mode tFCL TYP 300 ns 20 + 0.1CB 300 ns High-speed mode, CB - 100pF max 10 80 ns High-speed mode, CB - 400pF max 20 160 ns Fast mode DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TIMING CHARACTERISTICS (continued) SYMBOL PARAMETER tSU; tSTO Setup Time for STOP Condition CB MIN Pulse Width of Spike Suppressed VNH Noise Margin at the HIGH Level for Each Connected Device (Including Hysteresis) Noise Margin at the LOW Level for Each Connected Device (Including Hysteresis) TYP MAX UNITS Standard mode 4.0 µs Fast mode 600 ns High-speed mode 160 ns Capacitive Load for SDA and SCL tSP VNL TEST CONDITIONS 400 pF Fast mode 50 ns High-speed mode 10 ns Standard mode Fast mode 0.2VDD V 0.1VDD V High-speed mode Standard mode Fast mode High-speed mode 5 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +5 V At TA = +25°C, +VDD = +5 V, unless otherwise noted. LINEARITY ERROR AND DIFFERENTIAL LINEARITY ERROR vs CODE (+25 ° C ) LE − LSB 8 6 4 2 0 −2 −4 −6 −8 8 6 4 2 0 −2 −4 −6 −8 1 1 0.5 0.5 DLE − LSB DLE − LSB LE − LSB LINEARITY ERROR AND DIFFERENTIAL LINEARITY ERROR vs CODE (-40°C) 0 −0.5 0 −0.5 −1 −1 0 512 1024 1536 2048 2560 3072 3584 0 4096 512 1024 Digital Input Code 1536 2048 2560 Digital Input Code Figure 1. 4096 TYPICAL TOTAL UNADJUSTED ERROR 8 6 4 2 0 −2 −4 −6 −8 Output Error −mV LE − LSB 3584 Figure 2. LINEARITY ERROR AND DIFFERENTIAL LINEARITY ERROR vs CODE (+105° C) 16 8 0 −8 −16 0 512 1024 1 DLE − LSB 3072 1536 2048 2560 3072 3584 4096 Digital Input Code 0.5 0 −0.5 −1 512 1024 1536 2048 2560 Digital Input Code 3072 3584 4096 Figure 3. Figure 4. ZERO-SCALE ERROR vs TEMPERATURE FULL-SCALE ERROR vs TEMPERATURE 30 30 20 20 Zero-Scale Error − mV Zero-Scale Error − mV 0 10 0 −10 −30 −10 10 30 50 T − Temperature − C Figure 5. 6 0 −10 −20 −20 −30 −50 10 70 90 110 −30 −50 −30 −10 10 30 50 T − Temperature − C Figure 6. 70 90 110 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +5 V (continued) At TA = +25°C, +VDD = +5 V, unless otherwise noted. IDD HISTOGRAM SOURCE AND SINK CURRENT CAPABILITY 2500 5 DAC Loaded with FFFH 4 1500 3 VOUT (V) f − Frequency − Hz 2000 1000 2 500 1 190 200 180 170 160 150 140 130 120 110 90 100 DAC Loaded with 000H 80 0 0 IDD − Supply Current − A 5 0 10 15 ISOURCE/SINK (mA) Figure 7. Figure 8. SUPPLY CURRENT vs CODE SUPPLY CURRENT vs TEMPERATURE 300 250 400 I DD − Supply Current − µ A I DD − Supply Current − µA 500 200 300 150 200 100 100 0 000H 200H 600H A00H CODE Figure 9. E00H FFFH 50 0 −50 −30 −10 10 30 50 70 90 110 T − Temperature − C Figure 10. 7 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +5 V (continued) At TA = +25°C, +VDD = +5 V, unless otherwise noted. SUPPLY CURRENT vs SUPPLY VOLTAGE POWER-DOWN CURRENT vs SUPPLY VOLTAGE 300 90 80 200 70 150 IDD (nA) I DD − Supply Current − µ A 100 250 100 60 +105°C 50 –40°C 40 30 50 20 0 2.7 3.2 3.7 4.2 4.7 VDD − Supply Voltage − V 5.2 5.7 +25°C 10 0 2.7 3.2 3.7 4.2 4.7 5.2 VDD (V) Figure 11. Figure 12. SUPPLY CURRENT vs LOGIC INPUT VOLTAGE FULL-SCALE SETTLING TIME 2500 CLK (5V/div) IDD (µA) 2000 1500 VOUT (1V/div) 1000 Full-Scale Code Change 000H to FFFH Output Loaded with 2kΩ and 200pF to GND 500 0 0 1 2 3 4 5 Time (1µs/div) VLOGIC (V) Figure 13. 8 Figure 14. 5.7 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +5 V (continued) At TA = +25°C, +VDD = +5 V, unless otherwise noted. FULL-SCALE SETTLING TIME HALF-SCALE SETTLING TIME HALF-SCALE SETTLING TIME CLK (5V/div) CLK (5V/div) VOUT (1V/div) Full-Scale Code Change FFFH to 000H Output Loaded with 2kΩ and 200pF to GND Half-Scale Code Change 400H to C00H Output Loaded with 2kΩ and 200pF to GND VOUT (1V/div) Time (1µs/div) Time (1µs/div) Figure 15. Figure 16. HALF-SCALE SETTLING TIME POWER-ON RESET TO 0V CLK (5V/div) Loaded with 2kΩ to VDD. Half-Scale Code Change C00H to 400H Output Loaded with 2kΩ and 200pF to GND VDD (1V/div) VOUT (1V/div) VOUT (1V/div) Time (20µs/div) Time (1µs/div) Figure 17. Figure 18. EXITING POWER-DOWN (800HLoaded) CODE CHANGE GLITCH Loaded with 2kΩ and 200pF to GND. Code Change: 800H to 7FFH. VOUT (1V/div) Time (5µs/div) Figure 19. VOUT (20mV/div) CLK (5V/div) Time (0.5µs/div) Figure 20. 9 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +2.7V At TA = +25°C, +VDD = +2.7V, unless otherwise noted. LINEARITY ERROR AND DIFFERENTIAL LINEARITY ERROR vs CODE (+25 °C) LE − LSB 8 6 4 2 0 −2 −4 −6 −8 8 6 4 2 0 −2 −4 −6 −8 1 1 0.5 0.5 DLE − LSB DLE − LSB LE − LSB LINEARITY ERROR AND DIFFERENTIAL LINEARITY ERROR vs CODE (-40 °C) 0 −0.5 −1 0 512 1024 1536 2048 2560 3072 3584 0 −0.5 −1 4096 0 512 1024 Digital Input Code 1536 Figure 21. 3584 4096 16 8 Output Error − mV LE − LSB DLE − LSB 3072 ABSOLUTE ERROR 8 6 4 2 0 −2 −4 −6 −8 1 0.5 0 −8 0 −0.5 −1 0 512 −16 1024 1536 2048 2560 3072 3584 4096 0 512 1024 Digital Input Code 2048 2560 3072 Figure 23. Figure 24. ZERO-SCALE ERROR vs TEMPERATURE FULL-SCALE ERROR vs TEMPERATURE 30 30 20 20 10 0 −10 −20 −30 −50 1536 3584 4096 Digital Input Code Full-Scale Error − mV Zero-Scale Error − mV 2560 Figure 22. LINEARITY ERROR AND DIFFERENTIAL LINEARITY ERROR vs CODE (+105 °C) 10 0 −10 −20 −30 −10 10 30 50 T − Temperature − C Figure 25. 10 2048 Digital Input Code 70 90 110 −30 −50 −30 −10 10 30 50 T − Temperature − C Figure 26. 70 90 110 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +2.7V (continued) At TA = +25°C, +VDD = +2.7V, unless otherwise noted. IDD HISTOGRAM SOURCE AND SINK CURRENT CAPABILITY SOURCE AND SINK CURRENT CAPABILITY 2500 3 VDD = +3V DAC Loaded with FFFH 2 1500 VOUT (V) f − Frequency − Hz 2000 1000 1 500 190 200 180 170 160 150 140 130 120 110 100 90 0 80 DAC Loaded with 000H 0 IDD − Supply Current − A 0 5 10 15 ISOURCE/SINK (mA) Figure 27. Figure 28. SUPPLY CURRENT vs CODE SUPPLY CURRENT vs 9 TEMPERATURE 300 I DD − Supply Current − µ A 500 f − Frequency − Hz 400 300 200 100 0 000H 02FH 200H 400H 600H 800H A00 C00H E00H FCFH FFFH IDD − Supply Current − A H 250 200 150 100 50 0 −50 −30 −10 10 30 50 70 90 110 T − Temperature − C Figure 29. Figure 30. SUPPLY CURRENT vs LOGIC INPUT VOLTAGE FULL SCALE SETTLING TIME FULL-SCALE SETTLING TIME 2500 CLK (2.7V/div) IDD (µA) 2000 1500 1000 500 VOUT (1V/div) Full-Scale Code Change 000H to FFFH Output Loaded with 2kΩ and 200pF to GND 0 0 1 2 3 4 5 Time (1µs/div) VLOGIC (V) Figure 31. Figure 32. 11 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 TYPICAL CHARACTERISTICS: VDD = +2.7V (continued) At TA = +25°C, +VDD = +2.7V, unless otherwise noted. FULL SCALE SETTLING TIME HALF SCALE SETTLING TIME HALF-SCALE SETTLING TIME FULL-SCALE SETTLING TIME CLK (2.7V/div) CLK (2.7V/div) Full-Scale Code Change FFFH to 000H Output Loaded with 2kΩ and 200pF to GND VOUT (1V/div) VOUT (1V/div) Half-Scale Code Change 400H to C00H Output Loaded with 2kΩ and 200pF to GND Time (1µs/div) Time (1µs/div) Figure 33. Figure 34. HALF SCALE SETTLING TIME POWER ON RESET 0 V POWER-ON RESET to 0V HALF-SCALE SETTLING TIME CLK (2.7V/div) Half-Scale Code Change C00H to 400H Output Loaded with 2kΩ and 200pF to GND VOUT (1V/div) Time (20µs/div) Time (1µs/div) Figure 35. Figure 36. EXITING-POWER DOWN (800HLoaded) CODE CHANGE GLITCH CODE CHANGE GLITCH H Loaded with 2kΩ and 200pF to GND. Code Change: 800H to 7FFH. VOUT (1V/div) Time (5µs/div) Figure 37. 12 VOUT (20mV/div) CLK (2.7V/div) Time (0.5µs/div) Figure 38. DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 THEORY OF OPERATION D/A SECTION The architecture of the DAC7571 consists of a string DAC followed by an output buffer amplifier. Figure 39 shows a block diagram of the DAC architecture. VDD REF (+) Resistor String DAC Register REF (-) VOUT Output Amplifier GND Figure 39. R-String DAC Architecture The input coding to the DAC7571 is unsigned binary, which gives the ideal output voltage as: V OUT VDD D 4096 where D = decimal equivalent of the binary code that is loaded to the DAC register; it can range from 0 to 4095. RESISTOR STRING The resistor string section is shown in Figure 40. It is simply a string of resistors, each of value R. The code loaded into the DAC register determines at which node on the string the voltage is tapped off to be fed into the output amplifier by closing one of the switches connecting the string to the amplifier. It is ensured monotonic because it is a string of resistors. The negative tap of the resistor string is tied to GND. The positive tap of the resistor string is tied to VDD. VDD R To Output Amplifier R R R GND Figure 40. Resistor String 13 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 THEORY OF OPERATION (continued) OUTPUT AMPLIFIER The output buffer amplifier is capable of generating rail-to-rail voltages on its output which gives an output range of 0 V to VDD. It is capable of driving a load of 2kΩ in parallel with 1000 pF to GND. The source and sink capabilities of the output amplifier can be seen in the typical characteristics. The slew rate is 1V/µs with a half-scale settling time of 8 µs with the output unloaded. I2C Interface The DAC7571 uses an I2C interface as defined by Philips Semiconductor to receive data in slave mode (see I2C-Bus Specification, Version 2.1, January 2000). The DAC7571 supports the following data transfer modes, described in the I2C-Bus Specification: Standard Mode (100 kbit/s), Fast Mode (400 kbit/s) and High-Speed Mode (3.4 Mbit/s). Ten-bit addressing and general call addres are not supported. For simplicity, standard mode and fast mode are referred to as F/S-mode and high-speed mode is referred tg as HS-mode. The 2-wire I2C serial bus protocol operates as follows: • The Master initiates data transfer by establishing a Start condition. The Start condition is defined when a high-to-low transition occurs on the SDA line while SCL is high, as shown in Figure 41. The byte following the start condition is the address byte consisting of the 7-bit slave address followed by the W bit. SDA SDA SCL SCL S P Start Condition Stop Condition Figure 41. START and STOP Conditions • The addressed Slave responds by pulling the SDA pin low during the ninth clock pulse, termed the Acknowledge bit (see Figure 42). At this stage all other devices on the bus remain idle while the selected device waits for data to be written to its shift register. Data Output by Transmitter Not Acknowledge Data Output by Receiver Acknowledge SCL From Master 1 2 S 8 9 Clock Pulse for Acknowledgement START Condition Figure 42. Acknowledge on the I2C Bus • 14 Data is transmitted over the serial bus in sequences of nine clock cycles (8 data bits followed by an acknowledge bit. The transitions on the SDA line must occur during the low period of SCL and remain stable during the high period of SCL (see Figure 43). DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 THEORY OF OPERATION (continued) SDA SCL Data Line Stable; Data Valid Change of Data Allowed Figure 43. Bit Transfer on the I2C Bus • When all data bits have been written, a Stop condition is established (see Figure 44). In writing to the DAC7571, the master must pull the SDA line high during the tenth clock pulse to establish a Stop condition. Recognize START or REPEATED START Condition Recognize STOP or REPEATED START Condition Generate ACKNOWLEDGE Signal P SDA MSB Acknowledgement Signal From Slave Sr Address R/W SCL S or Sr START or Repeated START Condition 1 2 7 8 9 ACK 1 2 3-8 9 ACK Sr or P Clock Line Held Low While Interrupts are Serviced STOP or Repeated START Condition Figure 44. Bus Protocol 15 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 THEORY OF OPERATION (continued) Standard-and Fast-Mode: S SLAVE ADDRESS R/W A Ctrl/MS-Byte A LS-Byte A/A P Data Transferred (n* Words + Acknowledge) Word = 16 Bit ”0” (write) From Master to DAC7571 DAC7571 I2C-SLAVE ADDRESS: From DAC7571 to Master MSB A = A = S = Sr = P = LSB 1 Acknowledge (SDA LOW) Not Acknowledge (SDA HIGH) START Condition Repeated START Condition STOP Condition 0 0 1 1 0 A0 R/W ‘0’ = Write to DAC7571 ‘1’ = Read from DAC7571 Factory Preset A0 = I2C Address Pin High-Speed-Mode (HS-Mode): F/S-Mode S HS-Mode HS-Master Code A Sr Slave Address R/W A Ctrl/MS-Byte HS-Mode Master Code: A/A P HS-Mode Continues Sr Slave Address MSB LSB 0 0 0 1 X X R/W Ctrl/MS-Byte: LS-Byte: MSB 0 A LS-Byte Data Transferred (n* Words + Acknowledge) Word = 16 Bit ”0” (write) 0 F/S-Mode 0 PD1 PD2 D11 D10 D9 LSB MSB D8 D7 LSB D6 D5 D4 D3 D2 D1 D0 D11 – D0 = Data Bits Figure 45. Master Transmitter Addressing DAC7571 as a Slave Receiver With a 7-Bit Address ADDRESS BYTE MSB 1 R/W 0 0 1 1 0 A0 0 The address byte is the first byte received by the DAC7571 following the START condition from the master device. The first five bits (MSBs) of the slave address are factory preset to 100110. The next bit of the address byte is the device select bit, A0. In order for DAC7571 to respond, the logic state of address bit A0 should match the logic state of address pin A0. A maximum of two devices with the same preset code can therefore be connected on the same bus at one time. The A0 Address Input can be connected to VDD or digital ground, or can be actively driven by TTL or CMOS logic levels. The device address is set by the state of the A0 pin upon power-up of the DAC7571. The last bit of the address byte (R/W) should always be zero. Following the START condition, the DAC7571 monitors the SDA bus, checking the device type identifier being transmitted. Upon receiving the 100110 code, the appropriate device select bit and the R/W bit, the DAC7571 outputs an acknowledge signal on the SDA line. Upon receipt of a broadcast address 10010000, the DAC7571 responds regardless of the state of the A0 pin. 16 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 MASTER TRANSMITTER WRITING TO A SLAVE RECEIVER (DAC7571) IN STANDARD/FAST MODES I2C protocol starts when the bus is dile, that is, when SDA and SCL lines are stable high. The master then pulls the SDA line low while SCL is still high indicting that serial data transfer has started. This is called a start condition, and can only be asserted by the master. After the start conditioin, the master generates the serial clock and puts out an address byte. While generating the bit stream, the master ensures the timing for valid data. For each valid I2C bit, the SDA line should remain stable during the entire high period of the SCL line. The address byte consists of 7 address bits (1001 100, assuming A0=0) and a direction bit (R/W=0). After sending the address byte, the master generates a ninth SCL pulse and monitors the state of the SDA line during the high period of this ninth clock cycle. The SDA line being pulled low by a receiver during the high period of this 9th clock cylce is called an acknowledge signal. If the master receives an acknowledge signal, it knows that a DAC7571 successfully matched the address which the master sent. Upon the receipt of this acknowledge, the master knows that the communication link with a DAC7571 has been established and more data can be sent. The master continues by sending a Control/MS-byte, which sets DAC7571 operation mode and specifies the first 4 MSBs of data. After sending the Control/MS-byte, the master expects an acknowledge signal from the DAC7571. Upon the receipt of the acknowledge, the master sends an LS-byte that represents the 8 least significant bits of DAC7571's 12-bit conversion data. After receiving the LS-byte, the DAC7571 sends an acknowledge. At the falling edge of the acknowledge signal, following the LS-byte, the DAC7571 performs a digital to analog conversion. For further DAC updates, the master can keep repeating Control/MS-byte and LS-byte sequences expecting an acknowledge after each byte. After the required number of digital to analog conversions is complete, the master can break the communication link with the DAC7571 by pulling the SDA line from low to high while SCL line is high. This is called a stop condition . A stop condition brings the bus back to idle (SDA and SCL both high). A stop condition indicates that communication with the DAC7571 has ended. All devices on the bus, including the DAC7571, waits for a new start condition followed by a mtaching address byte. DAC7571 stays in a programmed state until the receipt of a stop condition. Table 1. Write Sequence in Standard/Fast Modes Transmitter MSB 6 5 4 Master Master 1 0 0 0 0 PD1 DAC7571 Master 1 LSB 1 Comment Begin Sequence (1) 1 Write Addressing (LSB=0, R/W = 0) 0 A0 0 PD0 D11 D10 D9 D8 Writing Control/MS-Byte D2 D1 D0 Writing LS-Byte DAC7571 Acknowledges D7 D6 D5 D4 D3 DAC7571 DAC7571 Acknowledges Master Stop or Repeated Start (2) (1) (2) 2 DAC7571 Acknowledges DAC7571 Master 3 Start Done Once DAC7571 is addressed, high-byte-low-byte sequences can repeat until a stop condition is received. Use repeated start to secure bus operation and loop back to the stage of write addressing for next Write. POWER-ON RESET The DAC7571 contains a power-on reset circuit that controls the output voltage during power-up. On power-up, the DAC register is filled with zeros and the output voltage is 0 V. It remains at a zero-code output until a valid write sequence is made to the DAC. This is useful in applications where it is important to know the state of the DAC output while it is in the process of powering up. POWER-DOWN MODES The DAC7571 contains four separate modes of operation. These modes are programmable via two bits (PD1 and PD0). Table 2 shows how the state of these bits correspond to the mode of operation. 17 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 Table 2. Modes of Operation for the DAC7571 PD1 PD0 0 0 OPERATING MODE Normal Operation 0 1 1kΩ to AGND, PWD 1 0 100kΩ to AGND, PWD 1 1 High Impedance, PWD When both bits are set to 0, the device works normally with normal power consumption of 150 µA at 5V. However, for the three power-down modes, the supply current falls to 200 nA at 5V (50 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 device is known while in power-down mode. There are three different options: The output is connected internally to AGND through a 1 kΩ resistor, a 100 kΩ resistor, or it is left open-circuited (high impedance). The output stage is illustrated in Figure 46. Amplifier Resistor String DAC VOUT Powerdown Circuitry Resistor Network Figure 46. Output Stage During Power-Down All linear circuitry is shut down when the power-down mode is activated. However, the contents of the DAC register are unaffected when in power-down. The time required to exit power down is typically 2.5 µs for AVDD = 5 V and 5 µs for AVDD = 3V. See the Typical Characteristics for more information. CURRENT CONSUMPTION The DAC7571 typically consumes 150 µA at VDD = 5 V and 120 µA at VDD = 3 V. Additional current consumption can occur due to the digital inputs if VIH << VDD. For most efficient power operation, CMOS logic levels are recommended at the digital inputs to the DAC. In power-down mode, typical current consumption is 200 nA. Ten to 20 ms after a power-down command is issued, the power-down current typically drops below 10 mA. DRIVING RESISTIVE AND CAPACITIVE LOADS The DAC7571 output stage is capable of driving loads of up to 1000 pF while remaining stable. Within the offset and gain error margins, the DAC7571 can operate rail-to-rail when driving a capacitive load. Resistive loads of 2 kΩ can be driven by the DAC7571 while achieving a typical load regulation of 1%. As the load resistance drops below 2 kΩ, the load regulation error increases. When the outputs of the DAC are driven to the positive rail under resistive loading, the PMOS transistor of each Class-AB output stage can enter into the linear region. When this occurs, the added IR voltage drop deteriorates the linearity performance of the DAC. This may occur within approximately the top 20 mV of the DAC's digital input-to-voltage output transfer characteristic. OUTPUT VOLTAGE STABILITY The DAC7571 exhibits excellent temperature stability of 5 ppm/°C typical output voltage drift over the specified temperature range of the device. This enables the output voltage to stay within a ±25 µV window for a ±1°C ambient temperature change. Good power-supply rejection ratio (PSRR) performance reduces supply noise present on VDD from appearing at the outputs to well below 10 µV-s. Combined with good dc noise performance and true 12-bit differential linearity, the DAC7571 becomes a perfect choice for closed-loop control applications. 18 DAC7571 www.ti.com SLAS374A – FEBRUARY 2003 – REVISED JANUARY 2004 APPLICATIONS USING REF02 AS A POWER SUPPLY FOR THE DAC7571 Due to the extremely low supply current required by the DAC7571, a possible configuration is to use a REF02 +5V precision voltage reference to supply the required voltage to the DAC7571's supply input as well as the reference input, as shown in Figure 47. This is especially useful if the power supply is quite noisy or if the system supply voltages are at some value other than 5V. The REF02 will output a steady supply voltage for the DAC7571. If the REF02 is used, the current it needs to supply to the DAC7571 is 150 µA typical and 200 µA max for VDD = 5V. When a DAC output is loaded, the REF02 also needs to supply the current to the load. The total typical current required (with a 5 mW load on a given DAC output) is: 135 µA + (5 mW/5 V) = 1.14 mA. The load regulation of the REF02 is typically (0.005%×VDD)/mA, which results in an error of 285 mV for the 1.14 mA current drawn from it. This corresponds to a 0.2 LSB error for a 0 V to 5 V output range. 15 V REF02 5V 1.14 mA I2C Interface A0 SCL DAC7571 VOUT = 0 V to 5 V SDA Figure 47. REF02 as Power Supply to DAC7571 LAYOUT A precision analog component requires careful layout, adequate bypassing, and clean, well-regulated power supplies. The power applied to VDD should be well regulated and low noise. Switching power supplies and DC/DC converters will often have high-frequency glitches or spikes riding on the output voltage. In addition, digital components can create similar high-frequency spikes as their internal logic switches states. This noise can easily couple into the DAC output voltage through various paths between the power connections and analog output. As with the GND connection, VDD should be connected to a +5V power supply plane or trace that is separate from the connection for digital logic until they are connected at the power entry point. In addition, the 1 µF to 10 µF and 0.1 µF bypass capacitors are strongly recommended. In some situations, additional bypassing may be required, such as a 100µF electrolytic capacitor or even a Pi filter made up of inductors and capacitors—all designed to essentially low-pass filter the +5V supply, removing the high-frequency noise. 19 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Telephony www.ti.com/telephony Video & Imaging www.ti.com/video Wireless www.ti.com/wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2004, Texas Instruments Incorporated