Rainbow Electronics ADC12L038 User Manual

Page 1
ADC12L030/ADC12L032/ADC12L034/ADC12L038
3.3V Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
March 1995
ADC12L030/ADC12L032/ADC12L034/ADC12L038
3.3V Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
General Description
g
(/2 LSB each.
The analog inputs can be configured to operate in various combinations of single-ended, differential, or pseudo-differ­ential modes. A fully differential unipolar analog input range
a
(0V to
3.3V) can be accommodated with a singlea3.3V supply. In the differential modes, valid outputs are obtained even when the negative inputs are greater than the positive because of the 12-bit plus sign two’s compliment output data format.
The serial I/O is configured to comply with NSC’s MICRO-
TM
WIRE
and Motorola’s SPI standards. For complementary voltage references see the LM4040, LM4041 or LM9140 data sheets.
Applications
Y
Portable Medical instruments
Y
Portable computing
Y
Portable Test equipment
ADC12L038 Simplified Block Diagram
Features
Y
0V to 3.3V analog input range with single 3.3V power supply
Y
Serial I/O (MICROWIRE and SPI Compatible)
Y
2, 4, or 8 channel differential or single-ended multiplexer
Y
Analog input sample/hold function
Y
Power down mode
Y
Variable resolution and conversion rate
Y
Programmable acquisition time
Y
Variable digital output word length and format
Y
No zero or full scale adjustment required
Y
Fully tested and guaranteed with a 2.5V reference
Y
No Missing Codes over temperature
Key Specifications
Y
Resolution 12-bit plus sign
Y
12-bit plus sign conversion time 8.8 ms (min)
Y
12-bit plus sign sampling rate 73 kHz (max)
Y
Integral linearity error
Y
Single supply 3.3Vg10%
Y
Power dissipation 15 mW (max) Ð Power down 40 mW (typ)
g
1 LSB (max)
TRI-STATEÉis a registered trademark of National Semiconductor Corporation.
TM
COPS
microcontrollers, HPCTMand MICROWIRETMare trademarks of National Semiconductor Corporation.
TM
Microsoft
is a trademark of Microsoft Corporation.
C
1995 National Semiconductor Corporation RRD-B30M75/Printed in U. S. A.
TL/H/11830
TL/H/11830– 1
Page 2
Connection Diagrams
16-Pin Dual-In-Line and
Wide Body SO Packages
Top View
24-Pin Dual-In-Line and
Wide Body SO Packages
TL/H/11830– 2
20-Pin Dual-In-Line and
Wide Body SO Packages
Top View
28-Pin Dual-In-Line and
Wide Body SO Packages
TL/H/11830– 3
Top View
Ordering Information
TL/H/11830– 4
Industrial Temperature Range NS Package
b
40§CsT
s
a
85§C Number
A
ADC12L030CIN N16E
ADC12L030CIWM M16B
ADC12L032CIN N20A
ADC12L032CIWM M20B
ADC12L034CIN N24C
ADC12L034CIWM M24B
ADC12L038CIN N28B
ADC12L038CIWM M28B
2
Top View
TL/H/11830– 5
Page 3
Absolute Maximum Ratings (Notes1&2)
If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/Distributors for availability and specifications.
Positive Supply Voltage
a
a
e
(V
V
A
Voltage at Inputs and Outputs
except CH0–CH7 and COM
Voltage at Analog Inputs
CH0–CH7 and COM GND
a
b
V
V
l
A
D
Input Current at Any Pin (Note 3)
Package Input Current (Note 3)
Package Dissipation at
e
T
25§C (Note 4) 500 mW
A
ESD Susceptability (Note 5)
Human Body Model 1500V
Soldering Information
N Packages (10 seconds) 260
SO Package (Note 6):
Vapor Phase (60 seconds) 215 Infrared (15 seconds) 220
Storage Temperature
a
e
V
) 6.5V
D
0.3V to V
b
5V to V
a
a
300 mV
g
g
120 mA
a
0.3V
a
30 mA
5V
b
a
l
§
§
§
b
65§Ctoa150§C
Operating Ratings (Notes1&2)
Operating Temperature Range T
ADC12L030CIN, ADC12L030CIWM, ADC12L032CIN, ADC12L032CIWM, ADC12L034CIN, ADC12L034CIWM, ADC12L038CIN, ADC12L038CIWM
Supply Voltage (V
a
b
V
l
A
a
V
REF
b
V
REF
V
REF(VREF
V
Common Mode Voltage Range
REF
(V
REF
A/DIN1, A/DIN2, MUXOUT1
and MUXOUT2 Voltage Range 0V to V
A/D IN Common Mode Voltage Range
C
a
(V
IN
C C
a
e
a
V
D
a
a
a
V
l
b
b
V
REF
b
V
)
REF
2
b
a
V
)
IN
2
s
s
T
MIN
b
a
e
A
40§CsT
a
V
D
a
)
T
A
s
a
A
3.0V toa5.5V
s
100 mV
0V to V
0V to V
REF
) 1VtoV
a
0.1 V
to 0.6 V
A
0V to V
MAX
85§C
A
A
A
A
A
a
a
a
a
a
a
Converter Electrical Characteristics
a
a
The following specifications apply for V sign conversion mode, f with fixed 1.250V common-mode voltage, and 10(t
e
T
e
T
A
T
J
MIN
to T
CK
MAX
e
f
SK
; all other limits T
e
5 MHz, R
e
V
A
S
A
Symbol Parameter Conditions
STATIC CONVERTER CHARACTERISTICS
Resolution with No Missing Codes 12asign Bits (min)
a
ILE Positive Integral Linearity Error After Auto-Cal (Notes 12, 18)
b
ILE Negative Integral Linearity Error After Auto-Cal (Notes 12, 18)
DNL Differential Non-Linearity After Auto-Cal
Positive Full-Scale Error After Auto-Cal (Notes 12, 18)
Negative Full-Scale Error After Auto-Cal (Notes 12, 18)
Offset Error After Auto-Cal (Notes 5, 18)
DC Common Mode Error After Auto-Cal (Note 15)
TUE Total Unadjusted Error After Auto-Cal
Resolution with No Missing Codes 8-bitasign mode 8asign Bits (min)
a
INL Positive Integral Linearity Error 8-bitasign mode (Note 12)
b
INL Negative Integral Linearity Error 8-bitasign mode (Note 12)
DNL Differential Non-Linearity 8-bitasign mode
Positive Full-Scale Error 8-bitasign mode (Note 12)
a
e
ea
V
e
25X, source impedance for V
) acquisition time unless otherwise specified. Boldface limits apply for
CK
e
e
T
J
(a)eVIN(b)e1.250V
V
IN
3.3 VDC,V
D
25§C. (Notes 7, 8 and 9)
(Notes 12, 13 and 14)
REF
a
REF
ea
b
2.500 VDC,V
a
and V
REF
b
Typical
(Note 10)
g
1/2
g
1/2
g
1/2
g
1/2
g
1/2
g
2
g
1 LSB
e
REF
s
25X, fully-differential input
Limits
(Note 11)
g
1 LSB (max)
g
1 LSB (max)
g
1 LSB (max)
g
2 LSB (max)
g
2 LSB (max)
g
2 LSB (max)
g
3.5 LSB (max)
g
1/2 LSB (max)
g
1/2 LSB (max)
g
3/4 LSB (max)
g
1/2 LSB (max)
0VDC, 12-bit
Units
(Limits)
a
3
Page 4
Converter Electrical Characteristics (Continued)
a
a
e
The following specifications apply for V sign conversion mode, f with fixed 1.250V common-mode voltage, and 10(t
e
T
e
T
A
T
J
MIN
to T
e
f
CK
SK
; all other limits T
MAX
e
5 MHz, R
V
A
S
A
Symbol Parameter Conditions
STATIC CONVERTER CHARACTERISTICS (Continued)
Negative Full-Scale Error 8-bitasign mode (Note 12)
Offset Error 8-bitasign mode,
after Auto-Zero (Note 13) V
TUE Total Unadjusted Error 8-bitasign mode
after Auto-Zero (Notes 12, 13 and 14)
Multiplexer Channel to Channel Matching
Power Supply Sensitivity V
Offset Error
a
Full-Scale Error
b
Full-Scale Error
a
Integral Linearity Error
b
Integral Linearity Error
Output Data from (Note 20) ‘‘12-Bit Conversion of Offset’’ (see Table V)
Output Data from (Note 20) ‘‘12-Bit Conversion of Full-Scale’’ (see Table V)
UNIPOLAR DYNAMIC CONVERTER CHARACTERISTICS
S/(NaD) Signal-to-Noise Plus f
Distortion Ratio f
f
b
3 dB Full Power Bandwidth V
DIFFERENTIAL DYNAMIC CONVERTER CHARACTERISTICS
S/(NaD) Signal-to-Noise Plus f
Distortion Ratio f
f
b
3 dB Full Power Bandwidth V
a
e
ea
V
e
25X, source impedance for V
) acquisition time unless otherwise specified. Boldface limits apply for
CK
e
e
T
J
(a)eVIN(b)
IN
a
ea
e
1 kHz, V
IN
e
20 kHz, V
IN
e
40 kHz, V
IN
e
2.5 VPP, where S/(NaD) drops 3 dB 31 kHz
IN
e
1 kHz, V
IN
e
20 kHz, V
IN
e
40 kHz, V
IN
e
g
IN
3.3 VDC,V
D
25§C. (Notes 7, 8 and 9)
ea
3.3Vg10%
e
2.5 V
IN
e
IN
e
IN
e
g
IN
e
IN
e
IN
2.5V, where S/(NaD) drops 3 dB 40 kHz
REF
a
REF
ea
2.500 VDC,V
a
and V
REF
Typical
(Note 10)
b
e
0VDC, 12-bit
REF
b
s
25X, fully-differential input
Limits
(Note 11)
g
1/2 LSB (max)
g
1/2 LSB (max)
(Limits)
1.250V
g
3/4 LSB (max)
g
0.05 LSB
g
0.5
g
0.5
g
0.5
g
0.5 LSB
g
0.5 LSB
g
1 LSB (max)
g
1.5 LSB (max)
g
1.5 LSB (max)
a
10 LSB (max)
b
10 LSB (min)
4095 LSB (max) 4093 LSB (min)
2.5 V
2.5 V
PP
PP
PP
69.4 dB
68.3 dB
65.7 dB
2.5V 77.0 dB
g
2.5V 73.9 dB
g
2.5V 67.0 dB
a
Units
4
Page 5
Electrical Characteristics
a
a
The following specifications apply for V sign conversion mode, f with fixed 1.250V common-mode voltage, and 10(t
e
T
e
T
A
T
J
MIN
to T
CK
MAX
e
f
SK
; all other limits T
e
5 MHz, R
e
V
A
S
A
Symbol Parameter Conditions
REFERENCE INPUT, ANALOG INPUTS AND MULTIPLEXER CHARACTERISTICS
C
REF
C
A/D
Reference Input Capacitance 85 pF
A/DIN1 and A/DIN2 Analog Input Capacitance
A/DIN1 and A/DIN2 Analog Input V Leakage Current V
CH0–CH7 and COM Input Voltage GNDb0.05 V (min)
C
CH
C
MUXOUT
CH0–CH7 and COM Input Capacitance 10 pF
MUX Output Capacitance 20 pF
Off Channel Leakage (Note 16) On Channele3.3V and CH0–CH7 and COM Pins Off Channel
On Channel Leakage (Note 16) On Channele3.3V and CH0–CH7 and COM Pins Off Channel
MUXOUT1 and MUXOUT2 V Leakage Current V
R
ON
MUX On Resistance V
RONMatching Channel to Channel V
Channel to Channel Crosstalk V
MUX Bandwidth 90 kHz
a
e
ea
V
D
e
25X, source impedance for V
) acquisition time unless otherwise specified. Boldface limits apply for
CK
e
e
T
J
3.3 VDC,V
REF
25§C. (Notes 7, 8 and 9)
ea
3.3V or
IN
e
0V
IN
e
0V
On Channele0V and Off Channele3.3V
e
0V
On Channele0V and
e
e
3.3V or
e
0V
1.65V and
e
1.55V
1.65V and
e
1.55V
3.3 VPP,f
3.3V
IN
e
40 kHz
Off Channel
MUXOUT
MUXOUT
e
IN
V
MUXOUT
e
IN
V
MUXOUT
e
IN
a
REF
ea
a
and V
2.500 VDC,V
REF
b
e
REF
b
s
25X, fully-differential input
Typical Limits Units
(Note 10) (Note 11) (Limits)
75 pF
g
0.1
b
0.01
g
1.0 mA (max)
a
a
V
A
b
0.3 mA (min)
0.01 0.3 mA (max)
0.01 0.3 mA (max)
b
0.01
b
0.3 mA (min)
0.01 0.3 mA (max)
1300 1900 X (max)
5%
b
72 dB
0VDC, 12-bit
a
0.05 V (max)
5
Page 6
DC and Logic Electrical Characteristics
a
a
The following specifications apply for V sign conversion mode, f with fixed 1.250V common-mode voltage, and 10(t
e
T
e
T
A
T
J
MIN
to T
e
f
CK
SK
; all other limits T
MAX
e
5 MHz, R
e
V
A
S
A
Symbol Parameter Conditions
CCLK, CS, CONV, DI, PD AND SCLK INPUT CHARACTERISTICS
V
V
I
IN(1)
I
IN(0)
IN(1)
IN(0)
Logical ‘‘1’’ Input Voltage V
Logical ‘‘0’’ Input Voltage V
Logical ‘‘1’’ Input Current V
Logical ‘‘0’’ Input Current V
DO, EOC AND DOR DIGITAL OUTPUT CHARACTERISTICS
V
OUT(1)
V
OUT(0)
I
OUT
a
b
Logical ‘‘1’’ Output Voltage V
Logical ‘‘0’’ Output Voltage V
TRI-STATE Output Current V
I
Output Short Circuit Source Current V
SC
I
Output Short Circuit Sink Current V
SC
POWER SUPPLY CHARACTERISTICS
a
I
D
I
A
I
REF
Digital Supply Current Awake 1.1 1.5 mA (max)
a
Positive Analog Supply Current Awake 2.2 3.0 mA (max)
Reference Input Current Awake 70 mA
a
e
ea
V
e
25X, source impedance for V
) acquisition time unless otherwise specified. Boldface limits apply for
CK
e
e
T
J
a
e
a
e
e
IN
e
IN
a
e
a
e
V
a
e
OUT
V
OUT
OUT
OUT
e
CS
e
CS
e
CS
e
CS
e
CS
3.3 VDC,V
D
25§C. (Notes 7, 8 and 9)
3.6V 2.0 V (min)
3.0V 0.8 V (max)
3.3V 0.005 1.0 mA (max)
0V
3.0V, I
3.0V, I
3.0V, I
e e
e
e
eb
OUT
eb
OUT
e
OUT
0V
3.3V 0.1 3.0 mA (max)
0V 14 6.5 mA (min)
a
V
D
HIGH, Powered Down, CCLK on 600 mA HIGH, Powered Down, CCLK off 12 mA
HIGH, Powered Down, CCLK on 10 mA HIGH, Powered Down, CCLK off 0.1 mA
HIGH, Powered Down 0.1 mA
REF
a
REF
ea
2.500 VDC,V
a
and V
REF
b
e
0VDC, 12-bit
REF
b
s
25X, fully-differential input
Typical Limits Units
(Note 10) (Note 11) (Limits)
b
0.005
b
1.0 mA (min)
360 mA 2.4 V (min)
10 mA 2.9 V (min)
1.6 mA 0.4 V (max)
b
0.1
b
3.0 mA (max)
16 8.0 mA (min)
a
6
Page 7
AC Electrical Characteristics
a
a
e
e
5 MHz, R
a
ea
V
3.3 VDC,V
D
e
25X, source impedance for V
S
) acquisition time unless otherwise specified. Boldface
CK
e
e
T
A
25§C. (Note 17)
J
8-BitaSign or 8-Bit 21(tCK) 21(tCK) (max)
10 Cycles Programmed 10(tCK) 10(tCK) (min)
18 Cycles Programmed 18(tCK) 18(tCK) (min)
34 Cycles Programmed 34(tCK) 34(tCK) (min)
to T
CK
MAX
e
V
A
e
f
SK
; all other limits T
The following specifications apply for V sign conversion mode, t differential input with fixed 1.250V common-mode voltage, and 10(t
limits apply for T
e
e
t
3 ns, f
r
f
e
e
T
A
T
J
MIN
Symbol Parameter Conditions
f
CK
f
SK
Conversion Clock (CCLK) Frequency 10 5 MHz (max)
Serial Data Clock SCLK Frequency 10 5 MHz (max)
Conversion Clock Duty Cycle 40 % (min)
Serial Data Clock Duty Cycle 40 % (min)
t
C
t
A
t
CAL
t
AZ
t
SYNC
t
DOR
Conversion Time 12-BitaSign or 12-Bit 44(tCK) 44(tCK) (max)
Acquisition Time 6 Cycles Programmed 6(tCK) 6(tCK) (min) (Note 19) 7(t
Self-Calibration Time 4944(tCK) 4944(tCK) (max)
Auto-Zero Time 76(tCK) 76(tCK) (max)
Self-Calibration or Auto-Zero 2(tCK) 2(tCK) (min) Synchronization Time from DOR
DOR High Time when CS is Low 9(tSK) 9(tSK) (max) Continuously for Read Data and Software Power Up/Down
t
CONV
CONV Valid Data Time 8(tSK) 8(tSK) (max)
REF
a
ea
2.500 VDC,V
REF
a
REF
and V
b
e
REF
Typical Limits Units
(Note 10) (Note 11) (Limits)
1 MHz (min)
0 Hz (min)
60 % (max)
60 % (max)
8.8 ms (max)
4.2 ms (max)
) (max)
CK
1.2 ms (min)
1.4 ms (max)
11(t
CK
2.0 ms (min)
2.2 ms (max)
19(t
CK
3.6 ms (min)
3.8 ms (max)
35(t
CK
6.8 ms (min)
7.0 ms (max)
988.8 ms (max)
15.2 ms (max)
3(t
) (max)
CK
0.40 ms (min)
0.60 ms (max)
1.8 ms (max)
1.6 ms (max)
0VDC, 12-bit
b
s
25X, fully-
) (max)
) (max)
) (max)
a
7
Page 8
AC Electrical Characteristics (Continued)
a
a
e
The following specifications apply for V sign conversion mode, t differential input with fixed 1.250V common-mode voltage, and 10(t
limits apply for T
e
e
t
3 ns, f
r
f
e
e
T
A
T
J
MIN
CK
to T
e
MAX
V
A
f
SK
Symbol Parameter Conditions
t
t
HPU
SPU
Hardware Power-Up Time, Time from PD Falling Edge to EOC Rising Edge
Software Power-Up Time, Time from Serial Data Clock Falling Edge to 500 700 ms (max) EOC Rising Edge
t
ACC
t
SET-UP
t
DELAY
t1H,t
t
HDI
t
SDI
t
HDO
t
DDO
t
RDO
t
FDO
t
CD
t
SD
C
IN
C
OUT
Access Time Delay from CS
Falling Edge to DO Data Valid
Set-Up Time of CS Falling Edge to Serial Data Clock Rising Edge
Delay from SCLK Falling Edge to CS
Delay from CS Rising Edge to R
0H
DO TRI-STATE
Falling Edge
É
DI Hold Time from Serial Data Clock Rising Edge
DI Set-Up Time from Serial Data Clock Rising Edge
DO Hold Time from Serial Data R Clock Falling Edge 5 ns (min)
Delay from Serial Data Clock Falling Edge to DO Data Valid
DO Rise Time, TRI-STATE to High R DO Rise Time, Low to High 10 40 ns (max)
DO Fall Time, TRI-STATE to Low R DO Fall Time, High to Low 15 40 ns (max)
Delay from CS Falling Edge to DOR
Falling Edge
Delay from Serial Data Clock Falling Edge to DOR
Rising Edge
Capacitance of Logic Inputs 10 pF
Capacitance of Logic Outputs 20 pF
a
e
ea
V
D
e
5 MHz, R
S
; all other limits T
e
L
e
L
e
L
e
L
3.3 VDC,V
e
25X, source impedance for V
) acquisition time unless otherwise specified. Boldface
CK
e
T
A
e
3k, C
L
e
3k, C
L
e
3k, C
L
e
3k, C
L
a
REF
e
25§C. (Note 17)
J
ea
2.500 VDC,V
REF
a
REF
and V
b
e
REF
0VDC, 12-bit
b
s
25X, fully-
Typical Limits Units
(Note 10) (Note 11) (Limits)
250 700 ms (max)
25 60 ns (max)
50 ns (min)
0 5 ns (min)
100 pF
70 100 ns (max)
5 15 ns (min)
5 10 ns (min)
100 pF
35
65 ns (max)
50 90 ns (max)
100 pF 10 40 ns (max)
100 pF 15 40 ns (max)
50 80 ns (max)
45 80 ns (max)
a
8
Page 9
Electrical Characteristics (Continued)
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is
functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see the Electrical Characteristics. The guaranteed specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test conditions.
Note 2: All voltages are measured with respect to GND, unless otherwise specified.
Note 3: When the input voltage (V
The 120 mA maximum package input current rating limits the number of pins that can safely exceed the power supplies with an input current of 20 mA to four.
Note 4: The maximum power dissipation must be derated at elevated temperatures and is dictated by T allowable power dissipation at any temperature is P
maxe150§C. The typical thermal resistance (HJA) of these parts when board mounted follow:
device, T
J
) at any pin exceeds the power supplies (V
IN
e
(TJmaxbTA)/iJAor the number given in the Absolute Maximum Ratings, whichever is lower. For this
D
IN
k
GND or V
Part Number Resistance
ADC12L030CIN 53§C/W
ADC12L030CIWM 70§C/W
ADC12L032CIN 46§C/W
ADC12L032CIWM 64§C/W
ADC12L034CIN 42§C/W
ADC12L034CIWM 57§C/W
ADC12L038CIN 40§C/W
ADC12L038CIWM 50§C/W
Note 5: The human body model is a 100 pF capacitor discharged through a 1.5 kX resistor into each pin.
Note 6: See AN450 ‘‘Surface Mounting Methods and Their Effect on Product Reliability’’ or the section titled ‘‘Surface Mount’’ found in any post 1986 National
Semiconductor Linear Data Book for other methods of soldering surface mount devices.
Note 7: Two on-chip diodes are tied to each analog input through a series resistor as shown below. Input voltage magnitude up to 5V above V will not damage this device. However, errors in the A/D conversion can occur (if these diodes are forward biased by more than 50 mV) if the input voltage magnitude of selected or unselected analog input go above V
s
3.05 VDCto ensure accurate conversions.
must be
a
or below GND by more than 50 mV. As an example, if V
A
a
l
IN
a
V
or V
), the current at that pin should be limited to 20 mA.
A
D
max, iJAand the ambient temperature, TA. The maximum
J
Thermal
i
JA
a
is 3.0 VDC, full-scale input voltage
A
a
or 5V below GND
A
a
Note 8: To guarantee accuracy, it is required that the V pin.
Note 9: With the test condition for V
e
Note 10: Typicals are at T
Note 11: Tested limits are guaranteed to National’s AOQL (Average Outgoing Quality Level).
Note 12: Positive integral linearity error is defined as the deviation of the analog value, expressed in LSBs, from the straight line that passes through positive full-
scale and zero. For negative integral linearity error, the straight line passes through negative full-scale and zero (see
Note 13: Zero error is a measure of the deviation from the mid-scale voltage (a code of zero), expressed in LSB. It is the worst-case value of the code transitions between 1 to 0 and 0 to
J
a
1 (see
T
A
e
Figure 2
a
b
REF(VREF
25§C and represent most likely parametric norm.
V
).
a
and V
A
REF
be connected together to the same power supply with separate bypass capacitors at each V
D
b
) given asa2.500V the 12-bit LSB is 610 mV and the 8-bit LSB is 9.8 mV.
TL/H/11830– 6
Figures 1b
and1c).
Note 14: Total unadjusted error includes offset, full-scale, linearity and multiplexer errors.
Note 15: The DC common-mode error is measured in the differential multiplexer mode with the assigned positive and negative input channels shorted together.
Note 16: Channel leakage current is measured after the channel selection.
Note 17: Timing specifications are tested at the TTL logic levels, V
to 1.4V.
Note 18: The ADC12L030 family’s self-calibration technique ensures linearity and offset errors as specified, but noise inherent in the self-calibration process will result in a maximum repeatability uncertainty of 0.2 LSB.
Note 19: If SCLK and CCLK are driven from the same clock source, then t
Note 20: The ‘‘12-Bit Conversion of Offset’’ and ‘‘12-Bit Conversion of Full-Scale’’ modes are intended to test the functionality of the device. Therefore, the output
data from these modes are not an indication of the accuracy of a conversion result.
e
0.4V for a falling edge and V
IL
is 6, 10, 18 or 34 clock periods minimum and maximum.
A
e
2.4V for a rising edge. TRI-STATE output voltage is forced
IH
9
a
Page 10
Electrical Characteristics (Continued)
FIGURE 1a. Transfer Characteristic
FIGURE 1b. Simplified Error Curve vs Output Code without Auto-Calibration or Auto-Zero Cycles
TL/H/11830– 7
TL/H/11830– 8
10
Page 11
Electrical Characteristics (Continued)
FIGURE 1c. Simplified Error Curve vs Output Code after Auto-Calibration Cycle
TL/H/11830– 10
FIGURE 2. Offset or Zero Error Voltage
TL/H/11830– 9
11
Page 12
Typical Performance Characteristics
The following curves apply for 12-bitasign mode after auto-calibration unless otherwise specified. The performance for 8-bit sign mode is equal to or better than shown. (Note 9)
a
Linearity Error Change vs Temperature
Zero Error Change vs Temperature
Full-Scale Error Change vs Temperature
Zero Error Change vs Supply Voltage
Digital Supply Current vs Temperature
Full-Scale Error Change vs Supply Voltage
Analog Supply Current vs Temperature
TL/H/11830– 11
12
Page 13
Test Circuits
DO ‘‘TRI-STATE’’ (t1H,t0H)
Timing Diagrams
DO Falling and Rising Edge
DO except ‘‘TRI-STATE’’
TL/H/11830– 15
TL/H/11830– 16
Leakage Current
TL/H/11830– 17
DO ‘‘TRI-STATE’’ Falling and Rising Edge
TL/H/11830– 18
DI Data Input Timing
TL/H/11830– 19
TL/H/11830– 20
13
Page 14
Timing Diagrams (Continued)
DO Data Output Timing with CS Continuously Low
DO Data Output Timing Using CS
TL/H/11830– 21
Note: DO output data is not valid during this cycle.
TL/H/11830– 22
ADC12L038 Auto Cal or Auto Zero
TL/H/11830– 23
14
Page 15
Timing Diagrams (Continued)
ADC12L038 Read Data without Starting a Conversion Using CS
ADC12L038 Read Data without Starting a Conversion with CS Continuously Low
TL/H/11830– 24
TL/H/11830– 25
15
Page 16
Timing Diagrams (Continued)
ADC12L038 Conversion Using CS
with 8-Bit Digital Output Format
ADC12L038 Conversion Using CS with 16-Bit Digital Output Format
TL/H/11830– 26
TL/H/11830– 27
16
Page 17
Timing Diagrams (Continued)
ADC12L038 Conversion with CS
Continuously Low and 8-Bit Digital Output Format
ADC12L038 Conversion with CS Continuously Low and 16-Bit Digital Output Format
TL/H/11830– 28
TL/H/11830– 29
17
Page 18
Timing Diagrams (Continued)
ADC12L038 Software Power Up/Down Using CS
with 16-Bit Digital Output Format
ADC12L038 Software Power Up/Down with CS Continuously Low and 16-Bit Digital Output Format
TL/H/11830– 30
TL/H/11830– 31
18
Page 19
Timing Diagrams (Continued)
ADC12L038 Hardware Power Up/Down
Note: Hardware power up/down may occur at any time. If PD is high while a conversion is in progress that conversion will be corrupted and erroneous data will be
stored in the output shift register.
TL/H/11830– 32
ADC12L038 Configuration ModificationÐExample of a Status Read
TL/H/11830– 33
Note: In order for all 9 bits of status information to be accessible the last conversion programmed before Cycle N needs to have a resolution of 8 bits plus sign,
12 bits, 12 bits plus sign, or greater.
19
Page 20
Pin Descriptions
CCLK The clock applied to this input controls the su-
SCLK This is the serial data clock input. The clock
DI This is the serial data input pin. The data ap-
DO The data output pin. This pin is an active push/
EOC This pin is an active push/pull output and indi-
CS
cessive approximation conversion time interval and the acquisition time. The rise and fall times of the clock edges should not exceed 1 ms.
applied to this input controls the rate at which the serial data exchange occurs. The rising edge loads the information on the DI pin into the multiplexer address and mode select shift register. This address controls which channel of the analog input multiplexer (MUX) is selected and the mode of operation for the A/D. With CS low the falling edge of SCLK shifts the data re­sulting from the previous ADC conversion out on DO, with the exception of the first bit of data. When CS
is low continuously, the first bit of the data is clocked out on the rising edge of EOC (end of conversion). When CS falling edge of CS of data. CS
always clocks out the first bit
should be brought low when SCLK
is toggled the
is low. The rise and fall times of the clock edges should not exceed 1 ms.
plied to this pin is shifted by the rising edge of SCLK into the multiplexer address and mode select register. Tables II through V show the as­signment of the multiplexer address and the mode select data.
pull output when CS
is Low. When CS is High this output is in TRI-STATE. The A/D conver­sion result (D0 –D12) and converter status data are clocked out by the falling edge of SCLK on this pin. The word length and format of this re­sult can vary (see Table I). The word length and format are controlled by the data shifted into the multiplexer address and mode select regis­ter (see Table V).
cates the status of the ADC12L030/2/4/8. When low, it signals that the A/D is busy with a conversion, auto-calibration, auto-zero or power down cycle. The rising edge of EOC signals the end of one of these cycles.
This is the chip select pin. When a logic low is applied to this pin, the rising edge of SCLK shifts the data on DI into the address register. This low also brings DO out of TRI-STATE. With CS
low the falling edge of SCLK shifts the data resulting from the previous ADC conversion out on DO, with the exception of the first bit of data. When CS
is low continuously, the first bit of the data is clocked out on the rising edge of EOC (end of conversion). When CS falling edge of CS of data. CS
always clocks out the first bit
should be brought low when SCLK
is low. The falling edge of CS
is toggled the
resets a conver­sion in progress and starts the sequence for a new conversion. When CS
is brought back low
during a conversion, that conversion is pre-
maturely ended. The data in the output latches may be corrupted. Therefore, when CS brought back low during a conversion in prog­ress the data output at that time should be ig­nored. CS
may also be left continuously low. In this case it is imperative that the correct number of SCLK pulses be applied to the ADC in order to remain synchronous. After the ADC supply power is applied, it expects to see 13 clock pulses for each I/O sequence. The number of clock pulses the ADC expects is the same as the digital output word length. This word length can be modified by the data shifted in on the DO pin. Table V details the data required.
DOR
This is the data output ready pin. This pin is an active push/pull output. It is low when the con­version result is being shifted out and goes high to signal that all the data has been shifted out.
CONV
A logic low is required on this pin to program any mode or change the ADC’s configuration as listed in the Mode Programming Table (Table V) such as 12-bit conversion, 8-bit conversion, Auto Cal, Auto Zero etc. When this pin is high the ADC is placed in the read data only mode. While in the read data only mode, bringing CS low and pulsing SCLK will only clock out on DO any data stored in the ADCs output shift regis­ter. The data on DI will be neglected. A new conversion will not be started and the ADC will remain in the mode and/or configuration previ­ously programmed. Read data only cannot be performed while a conversion, Auto-Cal or Auto-Zero are in progress.
PD This is the power down pin. When PD is high
the A/D is powered down; when PD is low the A/D is powered up. The A/D takes a maximum of 700 ms to power up after the command is given.
CH0–CH7 These are the analog inputs of the MUX. A
channel input is selected by the address infor­mation at the DI pin, which is loaded on the rising edge of SCLK into the address register (see Tables II through IV).
The voltage applied to these inputs should not exceed V range on an unselected channel will corrupt the
a
or go below GND. Exceeding this
A
reading of a selected channel.
COM This pin is another analog input pin. It is used as
a pseudo ground when the analog multiplexer is single-ended.
MUXOUT1, These are the multiplexer output pins. MUXOUT2
tied to A/DIN2. If external circuitry is placed be­tween MUXOUT1 and A/DIN1, or MUXOUT2 and A/DIN2 it may be necessary to protect these pins. The voltage at these pins should not exceed V
a
or go below AGND (see
A
Figure 3
is
).
20
Page 21
Pin Descriptions (Continued)
a
V
REF
V
REF
This is the positive analog voltage reference in­put. In order to maintain accuracy the voltage range of V 1V cannot exceed V
REF(VREF
to 3.3 VDCand the voltage at V
DC
mended bypassing.
b
The negative voltage reference input. In order
e
a
. See
A
to maintain accuracy the voltage at this pin must not go below GND or exceed V
Figure 4
).
V
REF
Figure 4
a
b
V
REF
for recom-
a
A
b
)is
REF
. (See
a
a
,V
V
A
a
DGND This is the digital ground pin (see
AGND This is the analog ground pin (see
These are the analog and digital power supply
D
a
pins. V
A
on the chip. These pins should be tied to the
a
and V
are not connected together
D
same power supply and bypassed separately (see
Figure 4
a
V
A
). The operating voltage range of
a
and V
is 3.0 VDCto 5.5 VDC.
D
Figure 4
Figure 4
).
).
FIGURE 3. Protecting the MUXOUT1, MUXOUT2, A/DIN1 and A/DIN2 Analog Pins
TL/H/11830– 34
*Tantalum
**Monolithic Ceramic or better
FIGURE 4. Recommended Power Supply Bypassing and Grounding
21
TL/H/11830– 35
Page 22
Tables
TABLE I. Data Out Formats
DO Formats DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 DB8 DB9 DB10 DB11 DB12 DB13 DB14 DB15 DB16
17
X X X X Sign MSB 10 9 8 7 6 5 4321LSB
Bits
MSB 13 First Bits
with Sign
LSB 13 First Bits
MSB 12 First Bits
without
Sign
LSB 12 First Bits
XeHigh or Low state.
Sign MSB 10 9 8 7 6 5 4 3 2 1 LSB
9
Sign MSB 6 5 4 3 2 1 LSB
Bits
17
LSB 1 2 3 4 5 6 7 8 9 10 MSB Sign XXXX
Bits
LSB 1 2 3 4 5 6 7 8 9 10 MSB Sign
9
LSB 1 2 3 4 5 6 MSB Sign
Bits
16
0 0 0 0 MSB 10 9 8 7 6 5 4 3 2 1 LSB
Bits
MSB 10 9 8 7 6 5 4 3 2 1 LSB
8
MSB 6 5 4 3 2 1 LSB
Bits
16
LSB12345678910MSB0000
Bits
LSB 1 2 3 4 5 6 7 8 9 10 MSB
8
LSB 1 2 3 4 5 6 MSB
Bits
TABLE II. ADC12L038 Multiplexer Addressing
MUX and Assignment
Analog Channel Addressed
Address with A/DIN1 tied to MUXOUT1
and A/DIN2 tied to MUXOUT2 Assignment
A/D Input
Polarity
Assignment
Multiplexer
Output
Channel
DI0 DI1 DI2 DI3 CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7 COM A/DIN1 A/DIN2 MUXOUT1 MUXOUT2
LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH
HLLL HLLH HLHL HLHH HHL L HHLH HHHL HHHH
ab a b
ab a b
ab a b
ab a b
ba b a
ba b a
ba b a
ba b a
abab
abab
abab
abab
abab
abab
abab
ab a b
CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
CH0 COM CH2 COM CH4 COM CH6 COM CH1 COM CH3 COM CH5 COM CH7 COM
22
Mode
Differential
Single-Ended
Page 23
Tables (Continued)
TABLE III. ADC12L034 Multiplexer Addressing
MUX and Assignment
Analog Channel Addressed
Address with A/DIN1 tied to MUXOUT1
and A/DIN2 tied to MUXOUT2 Assignment
A/D Input
Polarity
Assignment
DI0 DI1 DI2 CH0 CH1 CH2 CH3 COM A/DIN1 A/DIN2 MUXOUT1 MUXOUT2
LLL LLH LHL LHH
HLL HLH HHL HHH
ab a b
ab a b
ba b a
ba b a
abab
abab
abab
ab a b
TABLE IV. ADC12L032 and ADC12L030 Multiplexer Addressing
MUX and Assignment
Analog Channel Addressed
Address with A/DIN1 tied to MUXOUT1
and A/DIN2 tied to MUXOUT2 Assignment
A/D Input
Polarity
Assignment
DI0 DI1 CH0 CH1 COM A/DIN1 A/DIN2 MUXOUT1 MUXOUT2
LL LH
HL HH
Note: ADC12L030 does not have A/DIN1, A/DIN2, MUXOUT1 and MUXOUT2 pins.
ab ab ba ba
abab
abab
Multiplexer
Output
Channel
CH0 CH1 CH2 CH3 CH0 CH1 CH2 CH3
CH0 COM CH2 COM CH1 COM CH3 COM
Multiplexer
Output
Channel
CH0 CH1 CH0 CH1
CH0 COM CH1 COM
Mode
Differential
Single-Ended
Mode
Differential
Single-Ended
23
Page 24
Tables (Continued)
TABLE V. Mode Programming
ADC12L038 DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7
ADC12L034 DI0 DI1 DI2 DI3 DI4 DI5 DI6
ADC12L030
Mode Selected
(Current)
and DI0 DI1 DI2 DI3 DI4 DI5
ADC12L032
See Tables II, III or IV L L L L 12 Bit Conversion 12 or 13 Bit MSB First
See Tables II, III or IV L L L H 12 Bit Conversion 16 or 17 Bit MSB First
See Tables II, III or IV L L H L 8 Bit Conversion 8 or 9 Bit MSB First
L L L L L L H H 12 Bit Conversion of Full-Scale 12 or 13 Bit MSB First
See Tables II, III or IV L H L L 12 Bit Conversion 12 or 13 Bit LSB First
See Tables II, III or IV L H L H 12 Bit Conversion 16 or 17 Bit LSB First
See Tables II, III or IV L H H L 8 Bit Conversion 8 or 9 Bit LSB First
L L L L L H H H 12 Bit Conversion of Offset 12 or 13 Bit LSB First
L L L L H L L L Auto Cal No Change
L L L L H L L H Auto Zero No Change
L L L L H L H L Power Up No Change
L L L L H L H H Power Down No Change
L L L L H H L L Read Status Register No Change
L L L L H H L H Data Out without Sign No Change
H L L L H H L H Data Out with Sign No Change
L L L L H H H L Acquisition TimeÐ6 CCLK Cycles No Change
L H L L H H H L Acquisition TimeÐ10 CCLK Cycles No Change
H L L L H H H L Acquisition TimeÐ18 CCLK Cycles No Change
H H L L H H H L Acquisition TimeÐ34 CCLK Cycles No Change
L L L L H H H H User Mode No Change
HXXXHHHH
Note: The A/D powers up with no Auto Cal, no Auto Zero, 10 CCLK acquisition time, 12-bitasign conversion, power up, 12- or 13-bit MSB first and user mode.
e
X
Don’t Care
(CH1–CH7 become Active Outputs)
Test Mode
DO Format
(next Conversion
Cycle)
No Change
TABLE VI. Conversion/Read Data Only Mode Programming
CS CONV PD Mode
L L L See Table V for Mode
LHL
Read Only (Previous DO Format)
No Conversion
H X L Idle
X X H Power Down
XeDon’t Care
24
Page 25
Tables (Continued)
TABLE VII. Status Register
Status Bit
Location
Status Bit PU PD Cal 8 or 9 12 or 13 16 or 17 Sign Justification Test Mode
Function
DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 DB8
Device Status DO Output Format Status
‘‘High’’ ‘‘High’’ ‘‘High’’ ‘‘High’’ ‘‘High’’ ‘‘High’’ ‘‘High’’ When ‘‘High’’ When indicates indicates indicates indicates indicates indicates indicates the ‘‘High’’ the a Power a Power an Auto- an 8 or 9 a 12 or a 16 or that the conversion device is in Up Down Cal bit format 13 bit 17 bit sign bit is result will be test mode. Sequence Sequence Sequence format format included. output MSB When is in is in is in When first. When ‘‘Low’’ the progress progress progress ‘‘Low’’ ‘‘Low’’ the device is in
the sign result will be user mode. bit is not output LSB included. first.
Application Hints
1.0 DIGITAL INTERFACE
1.1 Interface Concepts
The example in events after the power is applied to the ADC12L030/2/4/8:
FIGURE 5. Typical Power Supply Power Up Sequence
The first instruction input to the A/D via DI initiates Auto Cal. The data output on DO at that time is meaningless and is completely random. To determine whether the Auto Cal has been completed, a read status instruction is issued to the A/D. Again the data output at that time has no significance since the Auto Cal procedure modifies the data in the output shift register. To retrieve the status information, an addition­al read status instruction is issued to the A/D. At this time the status data is available on DO. If the Cal signal in the status word is low Auto Cal has been completed. Therefore, the next instruction issued can start a conversion. The data output at this time is again status information. To keep noise from corrupting the A/D conversion, the status can not be read during a conversion. If CS during a conversion, that conversion is prematurely ended. EOC can be used to determine the end of a conversion or the A/D controller can keep track in software of when it would be appropriate to communicate to the A/D again.
Figure 5
shows a typical sequence of
TL/H/11830– 36
is strobed and is brought low
Note, when CS the exact number of SCLK cycles, as shown in the timing diagrams. Not doing so will desynchronize the serial com­munication to the A/D (see Section 1.3).
1.2 Changing Configuration
The configuration of the ADC12L030/2/4/8 on power up defaults to 12-bit plus sign resolution, 12- or 13-bit MSB First, 10 CCLK acquisition time, user mode, no Auto Cal, no Auto Zero, and power up mode. Changing the acquisition time and turning the sign bit on and off requires an 8-bit instruction to be issued to the ADC. This instruction will not start a conversion. The instructions that select a multiplexer address and format the output data do start a conversion.
Figure 6
tion of the ADC12L030/2/4/8.
During I/O sequence 1 the instruction on DI configures the ADC12L030/2/4/8 to do a conversion with 12-bit resolution. Notice that when the 6 CCLK Acquisition and Data Out without Sign instructions are issued to the ADC, I/O sequences 2 and 3, a new conversion is not started. The data output during these instructions is from conversion N which was started during I/O sequence 1. The Configura­tion Modification timing diagram describes in detail the se­quence of events necessary for a Data Out without Sign, Data Out with Sign, or 6/10/18/34 CCLK Acquisition time mode selection. Table V describes the actual data neces-
is low continuously it is important to transmit
describes an example of changing the configura-
a
sign
FIGURE 6. Changing the ADC’s Conversion Configuration
25
TL/H/11830– 37
Page 26
Application Hints (Continued)
sary to be input to the ADC to accomplish this configuration modification. The next instruction, shown in to the A/D starts conversion N formatted MSB first. Again the data output during this I/O cycle is the data from conversion N.
The number of SCLKs applied to the A/D during any con­version I/O sequence should vary in accord with the data out word format chosen during the previous conversion I/O sequence. The various formats and resolutions available are shown in Table I. In MSB first format was chosen during I/O sequence 4, the number of SCLKs required during I/O sequence 5 is 8. In the following I/O sequence the format changes to 12-bit without sine MSB first; therefore the number of SCLKs re­quired during I/O sequence 6 changes accordingly to 12.
1.3 CS
Low Continuously Considerations
When CS is continuously low, it is important to transmit the exact number of SCLK pulses that the ADC expects. Not doing so will desynchronize the serial communications to the ADC. When the supply power is first applied to the ADC, it will expect to see 13 SCLK pulses for each I/O transmis­sion. The number of SCLK pulses that the ADC expects to see is the same as the digital output word length. The digital output word length is controlled by the Data Out (DO) for­mat. The DO format maybe changed any time a conversion is started or when the sign bit is turned on or off. The table below details out the number of clock periods required for different DO formats:
DO Format SCLKs
8-Bit MSB or LSB First SIGN OFF 8
12-Bit MSB or LSB First SIGN OFF 12
16-Bit MSB or LSB first SIGN OFF 16
If erroneous SCLK pulses desynchronize the communica­tions, the simplest way to recover is by cycling the power supply to the device. Not being able to easily resynchronize the device is a shortcoming of leaving CS
The number of clock pulses required for an I/O exchange may be different for the case when CS ously vs. the case when CS quence detailed in quence) as an example. The table below lists the number of SCLK pulses required for each instruction:
Instruction
Auto Cal 13 SCLKs 8 SCLKs
Read Status 13 SCLKs 8 SCLKs
Read Status 13 SCLKs 8 SCLKs
12-BitaSign Conv 1 13 SCLKs 8 SCLKs
12-BitaSign Conv 2 13 SCLKs 13 SCLKs
Figure 5
a
1 with 8 bits of resolution
Figure 6
SIGN ON 9
SIGN ON 13
SIGN ON 17
is cycled. Take the I/O se-
(Typical Power Supply Se-
Low
CS
Continuously
Figure 6
, issued
, since 8-bit without sign
Number of
Expected
low continuously.
is left low continu-
CS
Strobed
1.4 Analog Input Channel Selection
The data input on DI also selects the channel configuration for a particular A/D conversion (see Tables II, III, IV and V).
In
Figure 6
could be modified would be during I/O sequences 1, 4, 5 and 6. Input channels are reselected before the start of each new conversion. Shown below is the data bit stream required on DI, during I/O sequence number 4 in to set CH1 as the positive input and CH0 as the negative input for the different versions of ADCs:
ADC12L030 LHL LHLXX
ADC12L032 LHL LHLXX
ADC12L034 LHL LLHL X
ADC12L038 LHLLLLHL
Where X can be a logic high (H) or low (L).
1.5 Power Up/Down
The ADC may be powered down at any time by taking the PD pin HIGH or by the instruction input on DI (see Tables V and VI, and the Power Up/Down timing diagrams). When the ADC is powered down in this way the circuitry necessary for an A/D conversion is deactivated. The circuitry neces­sary for digital I/O is kept active. Hardware power up/down is controlled by the state of the PD pin. Software power up/ down is controlled by the instruction issued to the ADC. If a software power up instruction is issued to the ADC while a hardware power down is in effect (PD pin high) the device will remain in the power-down state. If a software power down instruction is issued to the ADC while a hardware power up is in effect (PD pin low), the device will power down. When the device is powered down by software, it may be powered up by either issuing a software power up instruction or by taking PD pin high and then low. If the power down command is issued during an A/D conversion, that conversion is disrupted. Therefore, the data output after power up cannot be relied on.
1.6 User Mode and Test Mode
An instruction may be issued to the ADC to put it into test mode. Test mode is used by the manufacturer to verify com­plete functionality of the device. During test mode CH0– CH7 become active outputs. If the device is inadvertently put into the test mode with CS communications may be desynchronized. Synchronization may be regained by cycling the power supply voltage to the device. Cycling the power supply voltage will also set the device into user mode. If CS the ADC may be queried to see what mode it is in. This is done by issuing a ‘‘read STATUS register’’ instruction to the ADC. When bit 9 of the status register is high the ADC is in test mode; when bit 9 is low the ADC is in user mode. As an alternative to cycling the power supply, an instruction se­quence may be used to return the device to user mode. This instruction sequence must be issued to the ADC using CS
the only times when the channel configuration
Part
Number
DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7
DI Data
low continuously, the serial
is used in the serial interface,
Figure 6
,
.
26
Page 27
Application Hints (Continued)
The following table lists the instructions required to return the device to user mode:
Instruction
DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7
TEST MODE HX XXHHHH
RESET L L L L H H H L
TEST MODE L L L L H L H L
INSTRUCTIONS L L L L H L H H
USER MODE L L L L H H H H
Power Up L L L L H L H L
Set DO with H
or without or L L L H H L H
Sign L
Set H H
Acquisition or or L L H H H L
Time L L
Start H H H H H H H
a orororor L ororor
Conversion L L L L L L L
XeDon’t Care
After returning to user mode with the user mode instruction the power up, data with or without sign, and acquisition time instructions need to be resent to ensure that the ADC is in the required state before a conversion is started.
1.7 Reading the Data Without Starting a Conversion
The data from a particular conversion may be accessed without starting a new conversion by ensuring that the CONV
line is taken high during the I/O sequence. See the Read Data timing diagrams. Table VI describes the opera­tion of the CONV
pin.
2.0 DESCRIPTION OF THE ANALOG MULTIPLEXER
a
0toV
. Negative digital output codes result when V
A
a
V
. The actual voltage at V
IN
AGND.
Figure 7
a
REF
). The analog input voltage range is
REF
DI Data
). The difference between
and V
b
pins determines the
REF
b
a
or V
IN
cannot go below
IN
b
IN
4 Differential 8 Single-Ended Channels
Channels with COM
as Zero Reference
TL/H/11830– 38
TL/H/11830– 39
FIGURE 7
CH0, CH2, CH4, and CH6 can be assigned to the MUX­OUT1 pin in the differential configuration, while CH1, CH3, CH5, and CH7 can be assigned to the MUXOUT2 pin. In the differential configuration, the analog inputs are paired as fol­lows: CH0 with CH1, CH2 with CH3, CH4 with CH5 and CH6 with CH7. The A/DIN1 and A/DIN2 pins can be assigned positive or negative polarity.
With the single-ended multiplexer configuration CH0 through CH7 can be assigned to the MUXOUT1 pin. The COM pin is always assigned to the MUXOUT2 pin. A/DIN1 is assigned as the positive input; A/DIN2 is assigned as the negative input. (See
Figure 8
).
Differential Single-Ended
Configuration Configuration
A/DIN1 and A/DIN2 can be as- A/DIN1 isainput signed as the
TL/H/11830– 40 TL/H/11830– 41
aorb
input A/DIN2 isbinput
FIGURE 8
The Multiplexer assignment tables for the ADC12L030,2,4,8 (Tables II, III, and IV) summarize the aforementioned func-
l
tions for the different versions of A/Ds.
2.1 Biasing for Various Multiplexer Configurations
Figure 9
is an example of biasing the device for single-end­ed operation. The sign bit is always low. The digital output range is 0 0000 0000 0000 to 0 1111 1111 1111. One LSB is equal to 610 mV (2.5V/4096 LSBs).
27
Page 28
Application Hints (Continued)
FIGURE 9. Single-Ended Biasing
For pseudo-differential signed operation the biasing circuit shown in
Figure 10
This gives a digital output range of
shows a signal AC coupled to the ADC.
b
4096 toa4095. With a
1.25V reference, as shown, 1 LSB is equal to 305 mV. Al­though the ADC is not production tested with a 1.25V refer­ence linearity error typically will not change more than 0.3 LSB. With the ADC set to an acquisition time of 10 clock periods the input biasing resistor needs to be 600X or less. Notice though that the input coupling capacitor needs to be made fairly large to bring down the high pass corner. In­creasing the acquisition time to 34 clock periods (with a
TL/H/11830– 46
5 MHz CCLK frequency) would allow the 600X to increase to 6k, which with a 1 mF coupling capacitor would set the high pass corner at 26 Hz. The value of R1 will depend on the value of R2.
An alternative method for biasing pseudo-differential opera­tion is to use the fier circuits driving the ADC as shown in
a
2.5V from the LM9140 to bias any ampli-
Figure 11.
The value of the resistor pull-up biasing the LM9140-2.5 will de­pend upon the current required by the op amp biasing cir­cuitry.
Fully differential operation is shown in for this case is equal to (2.5V/4096)
Figure 12.
e
610 mV.
One LSB
FIGURE 10. Pseudo-Differential Biasing with the Signal Source AC Coupled Directly into the ADC
28
TL/H/11830– 47
Page 29
Application Hints (Continued)
FIGURE 11. Alternative Pseudo-Differential Biasing
FIGURE 12. Fully Differential Biasing
3.0 REFERENCE VOLTAGE
The difference in the voltages applied to the V
b
V
defines the analog input span (the difference be-
REF
tween the voltage applied between two multiplexer inputs or
REF
a
and
the voltage applied to one of the multiplexer inputs and ana­log ground), over which 4095 positive and 4096 negative codes exist. The voltage sources driving V must have very low output impedance and noise.
REF
a
or V
REF
TL/H/11830– 48
TL/H/11830– 50
The ADC12L030/2/4/8 can be used in either ratiometric or absolute reference applications. In ratiometric systems, the analog input voltage is proportional to the voltage used for the ADC’s reference voltage. When this voltage is the sys­tem power supply, the V
b
V
is connected to ground. This technique relaxes the
b
REF
a
pin is connected to V
REF
a
and
A
29
Page 30
Application Hints (Continued)
system reference stability requirements because the analog input voltage and the ADC reference voltage move togeth­er. This maintains the same output code for given input con­ditions. For absolute accuracy, where the analog input volt­age varies between very specific voltage limits, a time and temperature stable voltage source can be connected to the reference inputs. Typically, the reference voltage’s magni­tude will require an initial adjustment to null reference volt­age induced full-scale errors.
Below are recommended references along with some key specifications.
Part Number Voltage Coefficient
LM4041CIM3-Adj
LM4040AIM3-2.5
LM9140BYZ-2.5
LM368Y-2.5
REF
remain, at all times, between ground and V common mode range, (V (0.1 the center of the reference ladder should not go below
c
V
a
) to (0.6cV
A
0.33V or above 1.98V. of the voltage restrictions on V
FIGURE 13. V
Output Temperature
Tolerance (max)
g
0.5%
g
0.1%
g
0.5%
g
0.1%
a
is taken below V
a
and V
REF
REF
a
A
Figure 13
REF
REF
a
a
V
REF
). Therefore, with V
is a graphic representation
a
and V
REF
Operating Range
g
100ppm/§C
g
100ppm/§C
g
25ppm/§C
g
20ppm/§C
b
. Correct con-
REF
b
differ by 1V and
a
. The V
A
b
)/2, is restricted to
a
e
A
b
.
REF
TL/H/11830– 43
REF
3.3V
4.0 ANALOG INPUT VOLTAGE RANGE
The ADC12L030/2/4/8’s fully differential ADC generate a two’s complement output that is found by using the equa­tions shown below:
for (12-bit) resolution the Output Code
a
b
b
(V
V
IN
(V
REF
) (4096)
IN
a
b
b
V
)
REF
for (8-bit) resolution the Output Code
a
b
b
(V
V
IN
(V
REF
) (256)
IN
a
b
b
V
)
REF
Round off to the nearest integer value between 4095 for 12-bit resolution and between
e
e
b
b
4096 to
256 to 255 for 8­bit resolution if the result of the above equation is not a whole number.
Examples are shown in the table below:
a
b
V
a
a
a
V
REF
REF
a
2.5Va1Va1.5V 0V 0,1111,1111,1111
2.500V 0V
2.500V 0Va2.499Va2.500V 1,1111,1111,1111
2.500V 0V 0V
a
V
IN
a
2V 0V 0,1100,1100,1101
b
V
IN
a
2.500V 1,0000,0000,0000
Digital
Output
Code
5.0 INPUT CURRENT
At the start of the acquisition window (tA) a charging current flows into or out of the analog input pins (A/DIN1 and A/DIN2) depending on the input voltage polarity. The ana­log input pins are CH0 – CH7 and COM when A/DIN1 is tied to MUXOUT1 and A/DIN2 is tied to MUXOUT2. The peak value of this input current will depend on the actual input voltage applied, the source impedance and the internal mul­tiplexer switch on resistance. With MUXOUT1 tied to A/DIN1 and MUXOUT2 tied to A/DIN2 the internal multi­plexer switch on resistance is typically 1.6 kX. The A/DIN1 and A/DIN2 mux on resistance is typically 750X.
6.0 INPUT SOURCE RESISTANCE
For low impedance voltage sources ( charging current will decay, before the end of the S/H’s acquisition time of 2 ms (10 CCLK periods with f to a value that will not introduce any conversion errors. For
k
600X), the input
e
5 MHz),
C
high source impedances, the S/H’s acquisition time can be increased to 18 or 34 CCLK periods. For less ADC resolu­tion and/or slower CCLK frequencies the S/H’s acquisition time may be decreased to 6 CCLK periods. To determine the number of clock periods (N time with a specific source impedance for the various reso-
) required for the acquisition
c
lutions the following equations can be used:
a
12 Bit
Sign
8 BitaSign
e
a
c
[
N
R
C
N
C
2.3
S
e
a
[
R
2.3
S
c
]
f
0.824
C
c
c
]
f
0.57
C
Where fCis the conversion clock (CCLK) frequency in MHz and R
is the external source resistance in kX. As an exam-
S
30
Page 31
Application Hints (Continued)
a
ple, operating with a resolution of 12 Bits clock frequency and maximum acquistion time of 34 conver­sion clock periods the ADC’s analog inputs can handle a source impedance as high as 6 kX. The acquisition time may also be extended to compensate for the settling or response time of external circuitry connected between the MUXOUT and A/DIN pins.
The acquisition time (t and ended by a rising edge of CCLK (see Timing Diagrams).
) is started by a falling edge of SCLK
A
If SCLK and CCLK are asynchronous one extra CCLK clock period may be inserted into the programmed acquisition time for synchronization. Therefore with asnychronous SCLK and CCLK the acquisition time will change from con­version to conversion.
7.0 INPUT BYPASS CAPACITANCE
External capacitors (0.01 mF – 0.1 mF) can be connected be­tween the analog input pins, CH0– CH7, and analog ground to filter any noise caused by inductive pickup associated with long input leads. These capacitors will not degrade the conversion accuracy.
8.0 NOISE
The leads to each of the analog multiplexer input pins should be kept as short as possible. This will minimize input noise and clock frequency coupling that can cause conver­sion errors. Input filtering can be used to reduce the effects of the noise sources.
9.0 POWER SUPPLIES
Noise spikes on the V conversion errors; the comparator will respond to the noise.
a
A
and V
a
D
The ADC is especially sensitive to any power supply spikes that occur during the auto-zero or linearity correction. The
sign,a5MHz
supply lines can cause
minimum power supply bypassing capacitors recommended are low inductance tantalum capacitors of 10 mF or greater paralleled with 0.1 mF monolithic ceramic capacitors. More or different bypassing may be necessary depending on the overall system requirements. Separate bypass capacitors should be used for the V as close as possible to these pins.
a
A
and V
a
supplies and placed
D
10.0 GROUNDING
The ADC12L030/2/4/8’s performance can be maximized through proper grounding techniques. These include the use of separate analog and digital ground planes. The digi­tal ground plane is placed under all components that handle digital signals, while the analog ground plane is placed un­der all components that handle analog signals. The digital and analog ground planes are connected together at only one point, either the power supply ground or at the pins of the ADC. This greatly reduces the occurence of ground loops and noise.
Shown in
Figure 14
is the ideal ground plane layout for the ADC12L038 along with ideal placement of the bypass ca­pacitors. The circuit board layout shown in
Figure 14
uses three bypass capacitors: 0.01 mF (C1) and 0.1 mF (C2) sur­face mount capacitors and 10 mF (C3) tantalum capacitor.
11.0 CLOCK SIGNAL LINE ISOLATION
The ADC12L030/2/4/8’s performance is optimized by rout­ing the analog input/output and reference signal conductors as far as possible from the conductors that carry the clock signals to the CCLK and SCLK pins. Ground traces parallel to the clock signal traces can be used on printed circuit boards to reduce clock signal interference on the analog input/output pins.
FIGURE 14. Ideal Ground Plane for the ADC12L038
31
TL/H/11830– 44
Page 32
Application Hints (Continued)
12.0 THE CALIBRATION CYCLE
A calibration cycle needs to be started after the power sup­plies, reference, and clock have been given enough time to stabilize after initial turn on. During the calibration cycle, cor­rection values are determined for the offset voltage of the sampled data comparator and any linearity and gain errors. These values are stored in internal RAM and used during an analog-to-digital conversion to bring the overall full-scale, offset, and linearity errors down to the specified limits. Full­scale error typically changes and linearity error changes even less; therefore it should be necessary to go through the calibration cycle only once af­ter power up if the Power Supply Voltage and the ambient temperature do not change significantly (see the curves in the Typical Performance Characteristics).
13.0 THE AUTO-ZERO CYCLE
To correct for any change in the zero (offset) error of the A/D, the auto-zero cycle can be used. It may be necessary to do an auto-zero cycle whenever the ambient temperature or the power supply voltage change significantly. (See the curves titled ‘‘Zero Error Change vs Ambient Temperature’’ and ‘‘Zero Error Change vs Supply Voltage’’ in the Typical Performance Characteristics.)
14.0 DYNAMIC PERFORMANCE
Many applications require the A/D converter to digitize AC signals, but the standard DC integral and differential nonlin­earity specifications will not accurately predict the A/D con­verter’s performance with AC input signals. The important specifications for AC applications reflect the converter’s ability to digitize AC signals without significant spectral er­rors and without adding noise to the digitized signal. Dynam­ic characteristics such as signal-to-noise (S/N), signal-to-
a
noise
distortion ratio (S/(NaD)), effective bits, full pow­er bandwidth, aperture time and aperture jitter are quantita­tive measures of the A/D converter’s capability.
g
0.4 LSB over temperature
An A/D converter’s AC performance can be measured us­ing Fast Fourier Transform (FFT) methods. A sinusoidal waveform is applied to the A/D converter’s input, and the transform is then performed on the digitized waveform.
a
S/(N
D) and S/N are calculated from the resulting FFT
data, and a spectral plot may also be obtained.
Effective number of bits can also be useful in describing the A/D’s noise performance. An ideal A/D converter will have some amount of quantization noise, determined by its reso­lution, which will yield an optimum S/N ratio given by the following equation:
where n is the A/D’s resolution in bits.
The effective bits of a real A/D converter, therefore, can be found by:
As an example, this device with ag2.5V, 10 kHz sine wave input signal will typically have a S/N of 78 dB, which is equivalent to 12.6 effective bits.
a
D) versus frequency curves. These
e
S/N
(6.02cna1.8) dB
S/N(dB)b1.8
n(effective)
e
6.02
a
D) or S/N drops
32
Page 33
Application Hints (Continued)
15.0 AN RS232 SERIAL INTERFACE
Shown below is a schematic for an RS232 interface to any
IBM and compatible PCs. The DTR, RTS, and CTS RS232
to the ADC12L038’s DI, SCLK, and DO pins, respectively. The D flip flop drive the CS
control line.
a
Note: V
caps. The DS14C335 has an internal DC-DC converter that generates the necessary TIA/EIA-232-E output levels from a 3.3V supply. There are four 0.47 mF
capacitors required for the DC-DC converter that are not shown in the above schematic.
a
,V
A
D
, and V
a
on the ADC12L038 each have 0.01 mF and 0.1 mF chip caps, and 10 mF tantalum caps. All logic devices are bypassed with 0.1 mF
REF
TL/H/11830– 45
The assignment of the RS232 port is shown below
B7 B6 B5 B4 B3 B2 B1 B0
COM1
Input Address 3FE X X X CTS X X X X
Output Address 3FC X X X 0 X X RTS DTR
A sample program, written in MicrosoftTMQuickBasic, is
shown on the next page. The program prompts for data
mode select instruction to be sent to the A/D. This can be
found from the Mode Programming table shown earlier. The
data should be entered in ‘‘1’’s and ‘‘0’’s as shown in the
table with DI0 first. Next the program prompts for the num-
ber of SCLKs required for the programmed mode select in-
struction. For instance, to send all ‘‘0’’s to the A/D, selects
CH0 as the
a
input, CH1 as thebinput, 12-bit conversion, and 13-bit MSB first data output format (if the sign bit was not turned off by a previous instruction). This would require 13 SCLK periods since the output data format is 13 bits. The
10 CCLK Acquisition Time, 12-bit conversion, data out with sign, 12- or 13-bit MSB First, power up, and user mode. Auto Cal, Auto Zero, Power UP and Power Down instruc­tions do not change these default settings. The following power up sequence should be followed:
1. Run the program
2. Prior to responding to the prompt apply the power to the ADC12L038
3. Respond to the program prompts
It is recommended that the first instruction issued to the ADC12L038 be Auto Cal (see Section 1.1).
part powers up with No Auto Cal, No Auto Zero,
33
Page 34
Application Hints (Continued)
’variables DOL4Data Out word length, DI4Data string for A/D DI input, ’DO4A/D result string ’SET CS# HIGH OUT &H3FC, (&H2 OR INP (&H3FC)) ’set RTS HIGH OUT &H3FC, (&HFE AND INP (&H3FC)) ’SET DTR LOW OUT &H3FC, (&HFD AND INP (&H3FC)) ’SET RTS LOW
OUT &H3FC, (&HEF AND INP (&H3FC)) ’set B4 low 10 LINE INPUT ‘DI data for ADC12038 (see Mode Table on data sheet)‘; DI$ INPUT ‘ADC12038 output word length (8,9,12,13,16 or 17)‘; DOL 20
’SET CS# HIGH OUT &H3FC, (&H2 OR INP (&H3FC)) ’set RTS HIGH OUT &H3FC, (&HFE AND INP (&H3FC)) ’SET DTR LOW OUT &H3FC, (&HFD AND INP (&H3FC)) ’SET RTS LOW
’SET CS# LOW OUT &H3FC, (&H2 OR INP (&H3FC)) ’set RTS HIGH OUT &H3FC, (&H1 OR INP (&H3FC)) ’SET DTR HIGH OUT &H3FC, (&HFD AND INP (&H3FC)) ’SET RTS LOW
DO$4‘‘ ’reset DO variable
OUT &H3FC, (&H1 OR INP (&H3FC)) ’SET DTR HIGH OUT &H3FC, (&HFD AND INP (&H3FC)) ’SCLK low
FOR N41TO8
Temp$4MID$(DI$,N,1) IF Temp$4‘0‘THEN
OUT &H3FC,(&H1 OR INP(&H3FC)) ELSE OUT &H3FC, (&HFE AND INP (&H3FC)) END IF ’out DI OUT &H3FC,(&H2 OR INP (&H3FC)) ’SCLK high IF (INP (&H3FE) AND 16)416 THEN
DO$4DO$0‘0‘
ELSE
DO$4DO$0‘1‘ END IF ’Input DO OUT &H3FC, (&H1 OR INP (&H3FC)) ’SET DTR HIGH OUT &H3FC, (&HFD AND INP (&H3FC)) ’SCLK low
NEXT N
l
IF DOL
END IF OUT &H3FC,(&HFA AND INP(&H3FC)) ’SCLK low and DI high FOR N41TO500 NEXT N PRINT DO$ INPUT ‘Enter ‘C‘ to convert else ‘RETURN‘ to alter DI data‘; s$ IF s$4‘C‘ OR s$4‘c‘ THEN
ELSE
END IF END
8 THEN
FOR N49TODOL OUT &H3FC,(&H1 OR INP (&H3FC)) ’SET DTR HIGH OUT &H3FC,(&HFD AND INP (&H3FC)) ’SCLK low OUT &H3FC,(&H2 OR INP (&H3FC)) ’SCLK high
IF (INP(&H3FE) AND &H16)4&H16 THEN
DO$4DO$0‘0‘ ELSE
DO$4DO$0‘1‘ END IF NEXT N
GOTO 20
GOTO 10
34
Page 35
35
Page 36
Physical Dimensions inches (millimeters)
Order Number ADC12L030CIWM
NS Package Number M16B
Order Number ADC12L032CIWM
NS Package Number M20B
36
Page 37
Physical Dimensions inches (millimeters) (Continued)
Order Number ADC12L034CIWM
NS Package Number M24B
Order Number ADC12L038CIWM
NS Package Number M28B
37
Page 38
Physical Dimensions inches (millimeters) (Continued)
Order Number ADC12L030CIN
NS Package Number N16E
Order Number ADC12L032CIN
NS Package Number N20A
38
Page 39
Physical Dimensions inches (millimeters) (Continued)
Order Number ADC12L034CIN
NS Package Number N24C
39
Page 40
Physical Dimensions inches (millimeters) (Continued)
Order Number ADC12L038CIN
NS Package Number N28B
ADC12L030/ADC12L032/ADC12L034/ADC12L038
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or 2. A critical component is any component of a life systems which, (a) are intended for surgical implant support device or system whose failure to perform can into the body, or (b) support or sustain life, and whose be reasonably expected to cause the failure of the life failure to perform, when properly used in accordance support device or system, or to affect its safety or with instructions for use provided in the labeling, can effectiveness. be reasonably expected to result in a significant injury to the user.
National Semiconductor National Semiconductor National Semiconductor National Semiconductor National Semiconductores National Semiconductor Corporation GmbH Japan Ltd. Hong Kong Ltd. Do Brazil Ltda. (Australia) Pty, Ltd.
2900 Semiconductor Drive Livry-Gargan-Str. 10 Sumitomo Chemical 13th Floor, Straight Block, Rue Deputado Lacorda Franco Building 16 P.O. Box 58090 D-82256 F4urstenfeldbruck Engineering Center Ocean Centre, 5 Canton Rd. 120-3A Business Park Drive
3.3V Self-Calibrating 12-Bit Plus Sign Serial I/O A/D Converters with MUX and Sample/Hold
Santa Clara, CA 95052-8090 Germany Bldg. 7F Tsimshatsui, Kowloon Sao Paulo-SP Monash Business Park Tel: 1(800) 272-9959 Tel: (81-41) 35-0 1-7-1, Nakase, Mihama-Ku Hong Kong Brazil 05418-000 Nottinghill, Melbourne TWX: (910) 339-9240 Telex: 527649 Chiba-City, Tel: (852) 2737-1600 Tel: (55-11) 212-5066 Victoria 3168 Australia
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.
Fax: (81-41) 35-1 Ciba Prefecture 261 Fax: (852) 2736-9960 Telex: 391-1131931 NSBR BR Tel: (3) 558-9999
Tel: (043) 299-2300 Fax: (55-11) 212-1181 Fax: (3) 558-9998 Fax: (043) 299-2500
Loading...