ADS7823
SBAS180B – JUNE 2001 - REVISED SEPTEMBER 2003
12-Bit, Sampling A/D Converter with I2C™ INTERFACE
FEATURES
q q q q q q 50kHz SAMPLING RATE NO MISSING CODES 2.7V TO 5V OPERATION FOUR-WORD FILO A0, A1 ADDRESS PINS I2C INTERFACE SUPPORTS: Standard, Fast, and High-Speed Modes q MSOP-8 PACKAGE
DESCRIPTION
The ADS7823 is a single-supply, low-power, 12-bit data acquisition device that features a serial I2C interface. The Analog-to-Digital (A/D) converter features a sample-andhold amplifier and internal, asynchronous clock. The combination of an I2C serial two-wire interface and micropower consumption makes the ADS7823 ideal for applications requiring the A/D converter to be close to the input source in remote locations and for applications requiring isolation. The ADS7823 is available in an MSOP-8 package.
APPLICATIONS
q q q q q VOLTAGE SUPPLY MONITORING ISOLATED DATA ACQUISITION TRANSDUCER INTERFACE BATTERY-OPERATED SYSTEMS REMOTE DATA ACQUISITION
SAR
VREF
SDA AIN CDAC Serial Interface Comparator SCL A0 S/H Amp A1
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.
All trademarks are the property of their respective owners.
PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.
Copyright © 2001-2003, Texas Instruments Incorporated
www.ti.com
ABSOLUTE MAXIMUM RATINGS(1)
+VDD to GND ........................................................................ –0.3V to +6V Digital Input Voltage to GND ................................. –0.3V to +VDD + 0.3V Analog Input Voltage to GND ........................................... –0.3V to +6.0V Operating Temperature Range ........................................ –40°C to +85°C Storage Temperature Range ......................................... –65°C to +150°C Junction Temperature (TJ max) .................................................... +150°C TSSOP Package Power Dissipation .................................................... (TJ max – TA)/θJA θJA Thermal Impedance ...................................................... +240°C/W Lead Temperature, Soldering Vapor Phase (60s) ............................................................ +215°C Infrared (15s) ..................................................................... +220°C NOTE: (1) 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.
ELECTROSTATIC DISCHARGE SENSITIVITY
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage because very small parametric changes could cause the device not to meet its published specifications.
PACKAGE/ORDERING INFORMATION
MAXIMUM INTEGRAL LINEARITY ERROR (LSB) ±2 SPECIFIED TEMPERATURE RANGE –40°C to +85°C
PRODUCT ADS7823E
PACKAGE-LEAD MSOP-8
PACKAGE DESIGNATOR(1) DGK
PACKAGE MARKING B23
ORDERING NUMBER ADS7823E/250 ADS7823E/2K5 ADS7823EB/250 ADS7823EB/2K5
TRANSPORT MEDIA, QUANTITY Tape and Reel, 250 Tape and Reel, 2500 Tape and Reel, 250 Tape and Reel, 2500
"
ADS7823EB
"
±1
"
–40°C to +85°C
"
MSOP-8
"
DGK
"
B23
"
"
"
"
"
"
NOTE: (1) For the most current specifications and package information, refer to our web site at www.ti.com.
ELECTRICAL CHARACTERISTICS: +2.7V
At TA = –40°C to +85°C, +VDD = +2.7V, VREF = +2.5V, SCL Clock Frequency = 3.4MHz (High Speed Mode) unless otherwise noted. ADS7823E PARAMETER RESOLUTION ANALOG INPUT Full-Scale Input Range Input Capacitance Input Leakage Current SYSTEM PERFORMANCE No Missing Codes Integral Linearity Error Differential Linearity Error Offset Error Gain Error Noise Power Supply Rejection SAMPLING DYNAMICS Throughput Frequency High Speed Mode: SCL = 3.4MHz Fast Mode: SCL = 400kHz Standard Mode, SCL = 100kHz 8 VIN = VIN = VIN = VIN = 2.5VPP 2.5VPP 2.5VPP 2.5VPP at at at at 10kHz 10kHz 10kHz 10kHz 0.05 All Modes At Code 800H, HS Mode: SCL = 3.4MHz 1.0 9.0 –82 72 71 86 VDD ✻ ✻ ✻ 0 25 ±1 12 ±1.0 –0.5, +1.0 ±1.0 ±1.0 33 82 ±2 –1.0, +3.0 ±4 ±4 ✻ ±0.5 ±0.5 ±0.75 ±0.75 ✻ ✻ ±1 ✻ ±3 ±3 CONDITIONS MIN TYP MAX 12 VREF ✻ ✻ ✻ MIN ADS7823EB TYP MAX ✻ ✻ UNITS Bits V pF µA Bits LSB (1) LSB LSB LSB µVrms dB kHz kHz kHz µs dB (2) dB dB dB ✻ V GΩ µA
50 8 2 ✻ ✻ ✻ ✻ ✻
✻ ✻ ✻
Conversion Time AC ACCURACY Total Harmonic Distortion Signal-to-Ratio Signal-to-(Noise+Distortion) Ratio Spurious Free Dynamic Range VOLTAGE REFERENCE INPUT Range Resistance Current Drain
2
ADS7823
SBAS180B
ELECTRICAL CHARACTERISTICS: +2.7V (Cont.)
At TA = –40°C to +85°C, +VDD = +2.7V, VREF = +2.5V, SCL Clock Frequency = 3.4MHz (High Speed Mode) unless otherwise noted. ADS7823E PARAMETER DIGITAL INPUT/OUTPUT Logic Family Logic Levels: VIH VIL VOL Input Leakage: IIH IIL Data Format ADS7823 HARDWARE ADDRESS POWER SUPPLY REQUIREMENTS Power Supply Voltage, +VDD Quiescent Current Specified Performance High Speed Mode: SCL = 3.4MHz Fast Mode: SCL = 400kHz Standard Mode, SCL = 100kHz High Speed Mode: SCL = 3.4MHz Fast Mode: SCL = 400kHz Standard Mode, SCL = 100kHz High Speed Mode: SCL = 3.4MHz Fast Mode: SCL = 400kHz Standard Mode, SCL = 100kHz SCL Pulled HIGH, SDA Pulled HIGH 2.7 250 137 109 680 370 290 60 23 5.4 2 –40 CONDITIONS MIN TYP CMOS +VDD • 0.7 –0.3 At min 3mA Sink Current VIH = +VDD +0.5 VIL = -0.3 +VDD + 0.5 +VDD • 0.3 0.4 10 Straight Binary 10010 3.6 370 ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ MAX MIN ADS7823EB TYP ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ Binary V µA µA µA µW µW µW µA µA µA nA °C V V V µA µA MAX UNITS
-10
✻
Power Dissipation
1000
✻
Powerdown Mode w/Wrong Address Selected Full Powerdown TEMPERATURE RANGE Specified Performance
3000 85
✻ ✻
✻ Specifications same as ADS7823E. NOTES: (1) LSB means Least Significant Bit. With VREF equal to 2.5V, 1LSB is 610µV. (2) THD measured out to the 9th-harmonic.
ELECTRICAL CHARACTERISTICS: +5V
At TA = –40°C to +85°C, +VDD = +5.0V, VREF = +5.0V, SCL Clock Frequency = 3.4MHz (High Speed Mode) unless otherwise noted. ADS7823E PARAMETER RESOLUTION ANALOG INPUT Full-Scale Input Range Input Capacitance Input Leakage Current SYSTEM PERFORMANCE No Missing Codes Integral Linearity Error Differential Linearity Error Offset Error Gain Error Noise Power Supply Rejection SAMPLING DYNAMICS Throughput Frequency High Speed Mode: SCL = 3.4MHz Fast Mode: SCL = 400kHz Standard Mode, SCL = 100kHz 8 VIN = VIN = VIN = VIN = 2.5VPP 2.5VPP 2.5VPP 2.5VPP at at at at 10kHz 10kHz 10kHz 10kHz –82 72 71 86 ✻ ✻ ✻ 0 25 ±1 12 ±1.0 –0.5, +1.0 ±1.0 ±1.0 33 82 ±2 –1, +3 ±4 ±4 ✻ ±0.5 ±0.5 ±0.75 ±0.75 ✻ ✻ ±1 ✻ ±3 ±3 CONDITIONS MIN TYP MAX 12 VREF ✻ ✻ ✻ MIN ADS7823EB TYP MAX ✻ ✻ UNITS Bits V pF µA Bits LSB (1) LSB LSB LSB µVrms dB kHz kHz kHz µs dB (2) dB dB dB ✻
50 8 2 ✻ ✻ ✻ ✻ ✻
✻ ✻ ✻
Conversion Time AC ACCURACY Total Harmonic Distortion Signal-to-Ratio Signal-to-(Noise+Distortion) Ratio Spurious Free Dynamic Range VOLTAGE REFERENCE INPUT Range Resistance Current Drain 0.05 All Modes At Code 800H, HS Mode: SCL = 3.4MHz
VDD 1.0 20
V GΩ µA
ADS7823
SBAS180B
3
ELECTRICAL CHARACTERISTICS: +5V (Cont.)
At TA = –40°C to +85°C, +VDD = +5.0V, VREF = +5.0V, SCL Clock Frequency = 3.4MHz (High Speed Mode) unless otherwise noted. ADS7823E PARAMETER DIGITAL INPUT/OUTPUT Logic Family Logic Levels: VIH VIL VOL Input Leakage: IIH IIL Data Format ADS7823 HARDWARE ADDRESS POWER SUPPLY REQUIREMENTS Power Supply Voltage, +VDD Quiescent Current Specified Performance High Speed Mode: SCL= 3.4MHz Fast Mode: SCL= 400kHz Standard Mode, SCL=100kHz High Speed Mode: SCL= 3.4MHz Fast Mode: SCL= 400kHz Standard Mode, SCL=100kHz High Speed Mode: SCL= 3.4MHz Fast Mode: SCL= 400kHz Standard Mode, SCL=100kHz SCL Pulled HIGH, SDA Pulled HIGH –40 4.75 CONDITIONS MIN CMOS +VDD • 0.7 –0.3 At min 3mA Sink Current VIH = +VDD +0.5 VIL = -0.3 TYP MAX MIN ADS7823EB TYP ✻ +VDD + 0.5 +VDD • 0.3 0.4 10 Straight Binary 10010 5 0.72 380 240 3.6 1.9 1.2 346 136 34 3 3000 85 ✻ 5.25 1.0 ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ ✻ Binary V mA µA µA mW mW mW µA µA µA nA °C V V V µA µA MAX UNITS
-10
✻
Power Dissipation
5.0
✻
Powerdown Mode w/Wrong Address Selected Full Powerdown TEMPERATURE RANGE Specified Performance
✻ Specifications same as ADS7823E. NOTES: (1) LSB means Least Significant Bit. With VREF equal to 2.5V, 1LSB is 610µV. (2) THD measured out to the 9th-harmonic.
PIN CONFIGURATION
Top View MSOP
PIN DESCRIPTIONS
PIN 1 NAME VREF AIN A0 GND A1 SDA SCL +VDD DESCRIPTION Reference Input, 2.5V Nominal Analog Input. Slave Address Bit 0 Ground Slave Address Bit 1 Serial Data Serial Clock Power Supply, 3.3V Nominal
VREF AIN A0 GND
1 2 ADS7823 3 4
8 7 6 5
+VDD SCL SDA A1
2 3 4 5 6 7 8
TIMING DIAGRAM
SDA
tBUF tLOW
tR
tF
tHD; STA
tSP
SCL
tHD; STA tSU; STA tHD; DAT
STOP START
tSU; STO
tHIGH
tSU; DAT
REPEATED START
4
ADS7823
SBAS180B
TIMING CHARACTERISTICS(1)
At TA = –40°C to +85°C, +VDD = +2.7V, unless otherwise noted. PARAMETER SCL Clock Frequency SYMBOL fSCL CONDITIONS Standard Mode Fast Mode High-Speed Mode, CB = 100pF max High-Speed Mode, CB = 400pF max Standard Mode Fast Mode Standard Mode Fast Mode High-Speed Mode Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode Standard Mode Fast Mode High-Speed Mode Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode, CB = 100pF max(2) High-Speed Mode, CB = 400pF max(2) Standard Mode Fast Mode High-Speed Mode 4.7 1.3 4.0 600 160 4.7 1.3 160 320 4.0 600 60 120 4.7 600 160 250 100 10 0 0 0(3) 0(3) 20 + 0.1CB 10 20 20 + 0.1CB 10 20 20 + 0.1CB 10 20 20 + 0.1CB 10 20 20 + 0.1CB 10 20 4.0 600 160 400 Fast Mode High-Speed Mode Noise Margin at the HIGH Level for Each Connected Device (Including Hysteresis) Noise Margin at the LOW Level for Each Connected Device (Including Hysteresis) VNH Standard Mode Fast Mode High-Speed Mode Standard Mode Fast Mode High-Speed Mode 0.2VDD 50 10 3.45 0.9 70 150 1000 300 40 80 1000 300 80 160 300 300 40 80 1000 300 80 160 300 300 80 160 MIN MAX 100 400 3.4 1.7 UNITS kHz kHz MHz MHz µs µs µs ns ns µs µs ns ns µs ns ns ns µs ns ns ns ns ns µs µs ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns µs ns ns pF ns ns V
Bus Free Time Between a STOP and START Condition Hold Time (Repeated) START Condition LOW Period of the SCL Clock
tBUF tHD;STA
tLOW
HIGH Period of the SCL Clock
tHIGH
Setup Time for a Repeated START Condition Data Setup Time
tSU;STA
tSU;DAT
Data Hold Time
tHD;DAT
Rise Time of SCL Signal
tRCL
Rise Time of SCL Signal After a Repeated START Condition and After an Acknowledge Bit Fall Time of SCL Signal
tRCL1
tFCL
Rise Time of SDA Signal
tRDA
Fall Time of SDA Signal
tFDA
Setup Time for STOP Condition
tSU;STO
Capacitive Load for SDA and SCL Line Pulse Width of Spike Suppressed
CB tSP
VNL
0.1VDD
V
NOTES: (1) All values referred to VIHMIN and VILMAX levels. (2) For bus line loads CB between 100pF and 400pF the timing parameters must be linearly interpolated. (3) A device must internally provide a data hold time to bridge the undefined part between VIH and VIL of the falling edge of the SCLH signal. An input circuit with a threshold as low as possible for the falling edge of the SCLH signal minimizes this hold time.
ADS7823
SBAS180B
5
TYPICAL CHARACTERISTICS
At TA = +25°C, +VDD = +2.7V, VREF = External +2.5V, fSAMPLE = 50kHz, unless otherwise noted.
FREQUENCY SPECTRUM (4096 Point FFT, fIN = 1kHz, 0dB) 0
INTEGRAL LINEARITY ERROR vs CODE (+25°C) 1.00 0.75 0.50
Amplitude (dB)
ILE (LSBS)
–40
0.25 0 –0.25 –0.50 –0.75
–80
–120 0 10 Frequency (kHz) 20 25
–1.00 000H
800H Hex Code
FFFH
DIFFERENTIAL LINEARITY ERROR vs CODE (+25°C) 1.00 0.75 0.50 1.5 1.0
CHANGE IN OFFSET vs TEMPERATURE
Delta from +25°C (LSB)
DLE (LSBS)
0.25 0 –0.25 –0.50 –0.75 –1.00 000H
0.5 0 –0.5 –1.0 –1.5
800H Hex Code
FFFH
–50
–25
0
25
50
75
100
Temperature (°C)
CHANGE IN GAIN vs TEMPERATURE 1.5 1.0 400 350
SUPPLY CURRENT vs TEMPERATURE
Delta from +25°C (LSB)
0.5 0 –0.5 –1.0 –1.5 –50 –25 0 25 50 75 100 Temperature (°C)
Supply Current (µA)
300 250 200 150 100 –50 –25 0 25 50 75 100 Temperature (°C)
6
ADS7823
SBAS180B
TYPICAL CHARACTERISTICS (Cont.)
At TA = +25°C, +VDD = +2.7V, VREF = External +2.5V, fSAMPLE = 50kHz, unless otherwise noted.
SUPPLY CURRENT vs I2C BUS RATE 350 300
40 30
POWER DOWN SUPPLY CURRENT vs TEMPERATURE
Supply Current (µA)
Supply Current (nA)
250 200 150 100 50 10 100 1000 10000 I2C Bus Rate (kHz)
20 10 0 –10 –20 –50 –25 0 25 50 75 100 125 Temperature (°C)
ADS7823
SBAS180B
7
THEORY OF OPERATION
The ADS7823 is a classic Successive Approximation Register (SAR) A/D converter. The architecture is based on capacitive redistribution which inherently includes a sample-and-hold function. The converter is fabricated on a 0.6µ CMOS process. The ADS7823 core is controlled by an internally-generated free-running clock. When the ADS7823 is not performing conversions or being addressed, it keeps the A/D converter core powered off, and the internal clock does not operate. The ADS7823 has an internal 4-word first-in last-out buffer (FILO) that stores the results of up to four conversions while they are waiting to be read out over the I2C bus. The simplified diagram of input and output for the ADS7823 is shown in Figure 1.
REFERENCE INPUT
The external reference sets the analog input range. The ADS7823 will operate with a reference in the range of 50mV to VDD. There are several important implications of this. As the reference voltage is reduced, the analog voltage weight of each digital output code is reduced. This is often referred to as the LSB (least significant bit) size and is equal to the reference voltage divided by 4096. This means that any offset or gain error inherent in the A/D converter will appear to increase, in terms of LSB size, as the reference voltage is reduced. The noise inherent in the converter will also appear to increase with lower LSB size. With a 2.5V reference, the internal noise of the converter typically contributes only 0.32LSB peak-topeak of potential error to the output code. When the external reference is 50mV, the potential error contribution from the internal noise will be 50 times larger—16LSBs. The errors due to the internal noise are Gaussian in nature and can be reduced by averaging consecutive conversion results.
ANALOG INPUT
When the converter enters the hold mode, the voltage on the AIN pin is captured on the internal capacitor array. The input current on the analog inputs depends on the conversion rate of the device. During the sample period, the source must charge the internal sampling capacitor (typically 25pF). After the capacitor has been fully charged, there is no further input current. The amount of charge transfer from the analog source to the converter is a function of conversion rate.
DIGITAL INTERFACE
The ADS7823 supports the I2C serial bus and data transmission protocol, in all three defined modes: standard, fast, and high-speed. A device that sends data onto the bus is defined as a transmitter, and a device receiving data as a receiver.
+2.7V to +3.6V 5Ω + 1µF to 10µF
0.1µF
VREF
VDD
2kΩ + 1µF to 10µF
2kΩ
AIN A0 A1 GND
ADS7823 SDA SCL
Microcontroller
FIGURE 1. Simplified I/O of the ADS7823.
8
ADS7823
SBAS180B
The device that controls the message is called a “master.” The devices that are controlled by the master are “slaves.” The bus must be controlled by a master device that generates the serial clock (SCL), controls the bus access, and generates the START and STOP conditions. The ADS7823 operates as a slave on the I2C bus. Connections to the bus are made via the open-drain I/O lines SDA and SCL. The following bus protocol has been defined (as shown in Figure 2): • Data transfer may be initiated only when the bus is not busy. • During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data line while the clock line is HIGH will be interpreted as control signals. Accordingly, the following bus conditions have been defined: Bus Not Busy: Both data and clock lines remain HIGH. Start Data Transfer: A change in the state of the data line, from HIGH to LOW, while the clock is HIGH, defines a START condition. Stop Data Transfer: A change in the state of the data line, from LOW to HIGH, while the clock line is HIGH, defines the STOP condition. Data Valid: The state of the data line represents valid data, when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. There is one clock pulse per bit of data. Each data transfer is initiated with a START condition and terminated with a STOP condition. The number of data bytes transferred between START and STOP conditions is not limited and is determined by the master device. The information is transferred byte-wise and each receiver acknowledges with a ninth bit. Within the I2C bus specifications a standard mode (100kHz clock rate), a fast mode (400kHz clock rate), and a highspeed mode (3.4MHz clock rate) are defined. The ADS7823 works in all three modes. Acknowledge: Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte. The master device must generate an extra clock pulse that is associated with this acknowledge bit.
A device that acknowledges must pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is stable LOW during the HIGH period of the acknowledge clock pulse. Of course, setup and hold times must be taken into account. A master must signal an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to generate the STOP condition. Figure 2 details how data transfer is accomplished on the I2C bus. Depending upon the state of the R/W bit, two types of data transfer are possible: 1. Data transfer from a master transmitter to a slave receiver. The first byte transmitted by the master is the slave address. Next follows a number of data bytes. The slave returns an acknowledge bit after the slave address and each received byte. 2. Data transfer from a slave transmitter to a master receiver. The first byte, the slave address, is transmitted by the master. The slave then returns an acknowledge bit. Next, a number of data bytes are transmitted by the slave to the master. The master returns an acknowledge bit after all received bytes other than the last byte. At the end of the last received byte, a not-acknowledge is returned. The master device generates all of the serial clock pulses and the START and STOP conditions. A transfer is ended with a STOP condition or a repeated START condition. Since a repeated START condition is also the beginning of the next serial transfer, the bus will not be released. The ADS7823 may operate in the following two modes: • Slave Receiver Mode: Serial data and clock are received through SDA and SCL. After each byte is received, an acknowledge bit is transmitted. START and STOP conditions are recognized as the beginning and end of a serial transfer. Address recognition is performed by hardware after reception of the slave address and direction bit. • Slave Transmitter Mode: The first byte (the slave address) is received and handled as in the slave receiver mode. However, in this mode the direction bit will indicate that the transfer direction is reversed. Serial data is transmitted on SDA by the ADS7823 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer.
SDA MSB Slave Address R/W Direction Bit Acknowledgement Signal from Receiver SCL 1 2 6 7 8 9 ACK START Condition 1 2 3-8 8 9 ACK Repeated If More Bytes Are Transferred STOP Condition or Repeated START Condition Acknowledgement Signal from Receiver
FIGURE 2. Basic Operation of the ADS7823.
ADS7823
SBAS180B
9
ADDRESS BYTE
MSB 1 6 0 5 0 4 1 3 0 2 A1 1 A0 LSB R/W
COMMAND BYTE
MSB 0 6 0 5 0 4 X 3 X 2 X 1 X LSB X
The address byte is the first byte received following the START condition from the master device. The first five bits (MSBs) of the slave address are factory pre-set to 10010. The next two bits of the address byte are the device select bits, A1 and A0. Input pins (A1-A0) on the ADS7823 determine these two bits of the device address for a particular ADS7823. A maximum of four devices with the same pre-set code can therefore be connected on the same bus at one time. The A1-A0 Address Inputs can be connected to VDD or digital ground. The device address is set by the state of these pins upon power-up of the ADS7823. The last bit of the address byte (R/W) defines the operation to be performed. When set to a “1” a read operation is selected; when set to a “0” a write operation is selected. Following the START condition the ADS7823 monitors the SDA bus, checking the device type identifier being transmitted. Upon receiving the 10010 code, the appropriate device select bits, and the R/W bit, the slave device outputs an acknowledge signal on the SDA line.
The ADS7823 operating mode is determined by a command byte. The ADS7823 command byte simply consists of three zeros in the most significant bits, while the remaining 5 bits are don’t cares.
INITIATING CONVERSION
Provided the master has write-addressed it, the ADS7823 turns on the A/D converter section and begins conversions when it receives bit 5 of the command byte shown in the Command Byte. If the command byte is correct, the ADS7823 will return an ACK condition. The converter will ignore any wrong command byte (that is, setting any of the top three MSBs to 1), remain in the A/D converter power-down mode, and reset the internal 4-word stack. The ADS7823 will ignore a second valid command byte if two valid commands are issued consecutively. The ADS7823 will respond with a not-acknowledge, and will go to the A/D converter power-down mode after the responded not-acknowledge.
ADC Power-Down Mode
S 1 0 0 1 0 A1 A0 W A 0 0 0 X
ADC Wake-Up Mode
X X X X A
Write-Addressing Byte
Command Byte
ADC Power-Down Mode
Sr 1 0 0 1 0 A1 A0 R A 0 0 0 0 D11 D10 D9 D8 A D7 D6 . . .D1 D0 N P
Read-Addressing Byte (see Note A) From master to slave A N S P Sr = = = = =
Max. 4× [2×(8 bits + ack/not-ack)]
(See Note B)
From slave to master
acknowledge (SDA Low) not-acknowledge (SDA High) START Condition STOP Condition repeated START Condition
W = 0 (WRITE) R = 1 (READ)
NOTES: (A) Failure for master to send read-addressing byte—setting R/W flag to “1”—will result in internal clock remaining ON, increasing power consumption. (B) Use repeated START to secure bus operation and loop back to the stage of write-addressing for next conversion.
FIGURE 3. Typical Read Sequence in F/S Mode.
10
ADS7823
SBAS180B
READING DATA
Data can be read from the ADS7823 by read-addressing the part (LSB of address byte set to 1) and receiving the transmitted bytes. Converted data can only be read from the ADS7823 once a conversion has been initiated as described in the preceding section. Each 12-bit data word is returned in two bytes, as shown below, where D11 is the MSB of the data word, and D0 is the LSB. Byte 0 is sent first, followed by Byte 1.
MSB BYTE0 BYTE1 0 D7 6 0 D6 5 0 D5 4 0 D4 3 D11 D3 2 D10 D2 1 D9 D1 LSB D8 D0
acknowledge after the fourth data word has been read. This tells the ADS7823 that no further reads will be performed. No more than four data words should be read at a time; further reads will return undefined data. Although a STOP condition is shown at the end of the figure, it is permissible to issue a repeated START; this will have the same effect.
READING IN HS MODE
High Speed (HS) mode is fast enough that codes can be read out one at a time, without employing the FILO. In HS mode there is not enough time for a single conversion to complete between the reception of command bit 5 and the read address byte, so the ADS7823 stretches the clock after the command byte has been fully received, holding it LOW until the conversion is complete. A typical read sequence for HS mode is shown in Figure 4. Included in the read sequence is the shift from F/S to HS modes. It may be desirable to remain in HS mode after reading a code; to do this, issue a repeated START instead of a STOP at the end of the read sequence, since a STOP causes the part to return to F/S mode. It is very important not to read more than one code at a time from the ADS7823 during HS mode. If codes are read out more than one at a time, as in F/S mode, the results for all codes (except the first) are undefined, and the data stream will be corrupt.
READING IN F/S MODE
In Fast and Standard (F/S) modes, the A/D converter has time to make four complete conversions between the reception of bit 5 of the command byte and the complete reception of the read address, even when operating in Fast mode. Because the ADS7823 can perform these conversions much faster than they can be transmitted in F/S mode, data is stored in a four-level FILO. During the read operation, the A/ D converter is powered down and the contents of the stack are read out one by one in the correct order. A typical transfer sequence for reading four words of data in F/S mode (see Figure 3). Note that the master sends a not-
F/S Mode
S 0 0 0 0 1 X X X N
HS Mode Master Code HS Mode Enabled ADC Power-Down Mode
Sr 1 0 0 1 0 A1 A0 W A 0 0 0 X X X X
ADC Wake-Up Mode
X A SCLH is stretched in wait-state
Write-Addressing Byte
Command Byte HS Mode Enabled ADC Power-Down Mode
Return to F/S Mode See Note B
Sr
1
0
0
1
0
A1
A0
R
A
0
0
0
0
D11 D10 D9
D8
A
D7 D6 . . .D1 D0
N
P
Read-Addressing Byte (see Note A) From master to slave A N S P Sr = = = = =
2×(8 bits + ack/not-ack)
From slave to master
acknowledge (SDA Low) not-acknowledge (SDA High) START Condition STOP Condition repeated START Condition
W = 0 (WRITE) R = 1 (READ)
NOTES: (A) Failure for master to send read-addressing byte—setting R/W flag to “1”—will result in internal clock remaining ON, increasing power consumption. (B) Use repeated START to remain in HS mode instead of STOP.
FIGURE 4. Typical Read Sequence in HS Mode.
ADS7823
SBAS180B
11
TERMINATING A CONVERSION
There are three methods to terminate the conversion of the A/D converter in the ADS7823 after the master initiates conversion: 1) In normal operation sequence (see Figures 3 and 4). The conversion is terminated after the read-addressing has been received. 2) A STOP condition will always terminate a conversion. It will also terminate the HS mode returning the ADS7823 to the F/S mode. 3) A not-acknowledge by the ADS7823 following a second command byte will end a conversion.
external transient voltages can easily affect the conversion result. Such glitches might originate from switching power supplies, nearby digital logic, and high-power devices. With this in mind, power to the ADS7823 should be clean and well bypassed. A 0.1µF ceramic bypass capacitor should be placed as close to the device as possible. A 1µF to 10µF capacitor may also be needed if the impedance of the connection between +VDD and the power supply is high. The ADS7823 architecture offers no inherent rejection of noise or voltage variation in regards to using an external reference input. This is of particular concern when the reference input is tied to the power supply. Any noise and ripple from the supply will appear directly in the digital results. While high-frequency noise can be filtered out, voltage variation due to line frequency (50Hz or 60Hz) can be difficult to remove. The GND pin should be connected to a clean ground point. In many cases, this will be the “analog” ground. Avoid connections that are too near the grounding point of a microcontroller or digital signal processor. The ideal layout will include an analog ground plane dedicated to the converter and associated analog circuitry.
LAYOUT
For optimum performance, care should be taken with the physical layout of the ADS7823 circuitry. The basic SAR architecture is sensitive to glitches or sudden changes on the power supply, reference, ground connections, and digital inputs that occur just prior to latching the output of the analog comparator. Therefore, during any single conversion for an “n-bit” SAR converter, there are n “windows” in which large
12
ADS7823
SBAS180B
PACKAGE OPTION ADDENDUM
www.ti.com
30-Mar-2005
PACKAGING INFORMATION
Orderable Device ADS7823E/250 ADS7823E/2K5 ADS7823EB/250 ADS7823EB/2K5
(1)
Status (1) ACTIVE ACTIVE ACTIVE ACTIVE
Package Type MSOP MSOP MSOP MSOP
Package Drawing DGK DGK DGK DGK
Pins Package Eco Plan (2) Qty 8 8 8 8 250 2500 250 2500 TBD TBD TBD TBD
Lead/Ball Finish Call TI Call TI Call TI Call TI
MSL Peak Temp (3) Level-3-260C-168 HR Level-3-260C-168 HR Level-3-260C-168 HR Level-3-260C-168 HR
The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS) or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 1
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 Amplifiers Data Converters DSP Interface Logic Power Mgmt Microcontrollers amplifier.ti.com dataconverter.ti.com dsp.ti.com interface.ti.com logic.ti.com power.ti.com microcontroller.ti.com Applications Audio Automotive Broadband Digital Control Military Optical Networking Security Telephony Video & Imaging Wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2005, Texas Instruments Incorporated www.ti.com/audio www.ti.com/automotive www.ti.com/broadband www.ti.com/digitalcontrol www.ti.com/military www.ti.com/opticalnetwork www.ti.com/security www.ti.com/telephony www.ti.com/video www.ti.com/wireless