13
LTC1291
1291fa
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
Sharing the Serial Interface
The LTC1291 can share the same 3-wire serial interface
with other peripheral components or other LTC1291s
LABEL MNEMONIC OPERAND COMMENTS
SETB P1.4 CS GOES HIGH
CONT MOV A,#98H DIN WORD FOR LTC1291
CLR P1.4 CS GOES LOW
MOV R4,#05H LOAD COUNTER
LOOP1 RLC A ROTATE DIN BIT INTO CARRY
CLR P1.3 CLK GOES LOW
MOV P1.2,C OUTPUT DIN BIT TO LTC1291
SETB P1.3 CLK GOES HIGH
DJNZ R4,LOOP1 NEXT DIN BIT
MOV P1,#04H P1.2 BECOMES AN INPUT
CLR P1.3 CLK GOES LOW
MOV R4,#09H LOAD COUNTER
LOOP MOV C,P1.2 READ DATA BIT INTO CARRY
RLC A ROTATE DATA BIT (B3) INTO ACC
SETB P1.3 CLK GOES HIGH
CLR P1.3 CLK GOES LOW
DJNZ R4,LOOP NEXT DOUT BIT
MOV R2,A STORE MSBS IN R2
MOV C,P1.2 READ DATA BIT INTO CARRY
SETB P1.3 CLK GOES HIGH
LABEL MNEMONIC OPERAND COMMENTS
8051 Code
(Figure 3). The CS signals decide which LTC1291 is being
addressed by MPU.
Figure 3. Several LTC1291s Sharing One 3-Wire Serial Interface
LTC1291
2 CHANNELS 2 CHANNELS
2 CHANNELS
CS
CS
CS
3
3
33
3-WIRE SERIAL
INTERFACE TO OTHER
PERIPHERALS OR LTC1291s
2
10
OUTPUT PORT
SERIAL DATA
MPU
LTC1291 F03
LTC1291 LTC1291
CLR P1.3 CLK GOES LOW
CLR A CLEAR ACC
RLC A ROTATE DATA BIT (B3) INTO ACC
MOV C,P1.2 READ DATA BIT INTO CARRY
RLC A ROTATE DATA BIT (B2) INTO ACC
SETB P1.3 CLK GOES HIGH
CLR P1.3 CLK GOES LOW
MOV C,P1.2 READ DATA BIT INTO CARRY
RLC A ROTATE DATA BIT (B1) INTO ACC
SETB P1.3 CLK GOES HIGH
CLR P1.3 CLK GOES LOW
MOV C,P1.2 READ DATA BIT INTO CARRY
SETB P1.4 CS GOES HIGH
RRC A ROTATE DATA BIT (B0) INTO ACC
RRC A ROTAGE RIGHT INTO ACC
RRC A ROTAGE RIGHT INTO ACC
RRC A ROTAGE RIGHT INTO ACC
MOV R3,A STORE LSBs IN R3
AJMP CONT START NEXT CONVERSION
In this example the input MUX is configured to accept a
differential input between CH0 and CH1. The result from
the conversion is clocked out MSB-first.
14
LTC1291
1291fa
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
ANALOG CONSIDERATIONS
Grounding
The LTC1291 should be used with an analog ground plane
and single point grounding techniques. Do not use wire
wrapping techniques to breadboard and evaluate the device.
To achieve the optimum performance, use a PC board. The
ground pin (Pin 4) should be tied directly to the ground
plane with minimum lead length. Figure 4 shows an
example of an ideal LTC1291 ground plane for a two-sided
board. Of course this much ground plane will not always
be possible, but users should strive to get as close to this
ideal as possible.
HORIZONTAL: 10µs/DIV
CS
V
CC
Figure 4. Example Ground Plane for the LTC1291
Bypassing
For good performance, V
CC
must be free of noise and
ripple. Any changes in the V
CC
voltage with respect to
ground during the conversion cycle can induce error or
noise in the output code. V
CC
noise and ripple can be kept
below 0.5mV by bypassing the V
CC
pin directly to the
analog ground plane with a minimum of 22µF tantalum
capacitor and with leads as short as possible. A 0.1µF
ceramic disk capacitor should also be placed directly
across V
CC
(Pin 8) and GND (Pin 4) as close to the pins as
possible. The V
CC
supply should have a low output
impedance such as that obtained from a voltage regulator
(e.g., LT323A). Figures 5 and 6 show the effects of good
and poor V
CC
bypassing.
1
2
3
4
5
6
7
8
LTC1291
22µF
TANTALUM
V
CC
LTC1291 F04
0.1µF
ANALOG GROUND
PLANE
VERTICAL: 0.5mV/DIV
VERTICAL: 0.5mV/DIV
HORIZONTAL: 10µs/DIV
Figure 5. Poor V
CC
Bypassing. Noise and
Ripple Can Cause A/D Errors
Figure 6. Good V
CC
Bypassing Keeps
Noise and Ripple on V
CC
Below 1mV
Analog Inputs
Because of the capacitive redistribution A/D conversion
techniques used, the analog inputs of the LTC1291 have
capacitive switching input current spikes. These current
spikes settle quickly and do not cause a problem. If large
source resistances are used or if slow settling op amps
drive the inputs, take care to insure the transients caused
by the current spikes settle completely before the
conversion begins.
Minimizing Gain and Offset Error
Because the LTC1291’s reference is taken from the power
supply pin (V
CC
), proper PC board layout and supply
bypassing is important for attaining the best performance
from the A/D converter. Any parasitic resistance in the V
CC
15
LTC1291
1291fa
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
Figure 7. Parasitic Resistance in the V
CC
and GND Leads
Figure 8. Analog Input Equivalent Circuit
5V
V
CC
GND
LTC1291 F07
R
P1
R
P2
+
REF
+
REF
D/A
LTC1291
3RD CLK
R
ON
= 500
C
IN
=
100pF
LTC1291
“+”
INPUT
R
SOURCE
+
V
IN
+
C1
“–”
INPUT
R
SOURCE
V
IN
C2
LTC1291 F08
5TH CLK
or GND lead will cause gain errors and offset errors (Figure
7). For the best performance the LTC1291 should be
soldered directly to the PC board. If the source can not be
placed next to the pin and the gain parameter is important,
the pin should be Kelvin-sensed to eliminate parasitic
resistances due to long PC traces. For example, 0.1 of
resistance in the V
CC
lead can typically cause 0.5LSB
(I
CC
• 0.1/V
CC
) of gain error for V
CC
= 5V.
When the input MUX is selected for single-ended input the
minus terminal is connected to GND internally on the die.
Any parasitic resistance from the GND pin to the ground
plane will lead to an offset voltage (I
CC
• R
P2
).
Source Resistance
The analog inputs of the LTC1291 look like a 100pF
capacitor (C
IN
) in series with a 500 resistor (R
ON
). C
IN
gets switched between “+” and “–” inputs once during
each conversion cycle. Large external source resistors
and capacitances will slow the settling of the inputs. It is
important that the overall RC time constant is short
enough to allow the analog inputs to settle completely
within the allowed time.
“+” Input Settling
The input capacitor is switched onto the “+” input during
the sample phase (t
SMPL
, see Figure 9). The sample period
is 2.5 CLK cycles before a conversion starts. The voltage
on the “+” input must settle completely within the sample
period. Minimizing R
SOURCE
+ and C1 will improve the
settling time. If large “+” input source resistance must be
used, the sample time can be increased by using a slower
CLK frequency. With the minimum possible sample time
of 2.5µs, R
SOURCE
+ < 1.0k and C1 < 20pF will provide
adequate settle time.
“–” Input Settling
At the end of the sample phase the input capacitor switches
to the “–” input and the conversion starts (see Figure 9).
During the conversion, the “+” input voltage is effectively
“held” by the sample-and-hold and will not affect the
conversion result. It is critical that the “–” input voltage be
free of noise and settle completely during the first CLK
cycle of the conversion. Minimizing R
SOURCE
– and C2 will
improve settling time. If large “–” input source resistance
must be used, the time can be extended by using a slower
CLK frequency. At the maximum CLK frequency of 1MHz,
R
SOURCE
– < 250
and C2 < 20pF will provide adequate
settling.
Input Op Amps
When driving the analog inputs with an op amp, it is
important that the op amp settles within the allowed time
(see Figure 9). Again the “+” and “–” input sampling times
can be extended as described above to accommodate
slower op amps. Most op amps including the LT1006 and
LT1013 single supply op amps can be made to settle well
even with the minimum settling windows of 2.5µs (“+”
input) and 1µs (“–” input) that occurs at the maximum
clock rate of 1MHz. Figures 10 and 11 show examples
adequate and poor op amp settling.

LTC1291CCN8#PBF

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 12-Bit Serial I/O 2/Ch Input ADC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet