16
LTC1293/LTC1294/LTC1296
129346fs
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
STAA $102A LOAD DIN INTO SPI, START SCK
WAIT2 LDAA $1029 CHECK SPI STATUS REG
BPL WAIT2 CHECK IF TRANSFER IS DONE
LDAA $102A LOAD LTC1294 MSBs INTO ACC A
STAA $62 STORE MSBs IN $62
LDAA $52 LOAD DUMMY DIN INTO ACC A FROM
$52
STAA $102A LOAD DUMMY DIN INTO SPI, START
SCK
WAIT3 LDAA $1029 CHECK SPI STATUS REG
BPL WAIT3 CHECK IF TRANSFER IS DONE
BSET $08,X,$01 D0 GOES HIGH (CS GOES HIGH)
LDAA $102A LOAD LTC1294 LSBs IN ACC
STAA $63 STORE LSBs IN $63
JMP LOOP START NEXT CONVERSION
LABEL MNEMONIC OPERAND COMMENTS
LDAA #$50 CONFIGURATION DATA FOR SPCR
STAA $1028 LOAD DATA INTO SPCR ($1028)
LDAA #$1B CONFIG. DATA FOR PORT D DDR
STAA $1009 LOAD DATA INTO PORT D DDR
LDAA #$10 LOAD DIN WORD INTO ACC A
STAA $50 LOAD DIN DATA INTO $50
LDAA #$E0 LOAD DIN WORD INTO ACC A
STAA $51 LOAD DIN DATA INTO $51
LDAA #$00 LOAD DUMMY DIN WORD INTO ACC A
STAA $52 LOAD DUMMY DIN DATA INTO $52
LDX #$1000 LOAD INDEX REGISTER X WITH $1000
LOOP BCLR $08,X,$01 D0 GOES LOW (CS GOES LOW)
LDAA $50 LOAD DIN INTO ACC A FROM $50
STAA $102A LOAD DIN INTO SPI, START SCK
LDAA $1029 CHECK SPI STATUS REG
WAIT1 BPL WAIT1 CHECK IF TRANSFER IS DONE
LDAA $51 LOAD DIN INTO ACC A FROM $51
MC68HC11 CODE
LABEL MNEMONIC OPERAND COMMENTS
Hardware and Software Interface to Intel 8051
CS
CLK
DATA
(D
IN
/D
OUT
)
LTC1293 TD02
1
23
46
57
8
PS BIT LATCHED
INTO LTC1294
8051 P1.2 OUTPUT DATA
TO LTC1294
8051 P1.2 RECONFIGURED
AS INPUT AFTER THE 8TH RISING
CLK BEFORE THE 8TH FALLING CLK
LTC1294 SEND A/D RESULT
BACK TO 8051 P1.2
LTC1294 TAKES CONTROL OF DATA
LINE ON 8TH FALLING CLK
START
B11
SGL/
DIFF
ODD/
SIGN
SEL
1
SEL
0
UNI
MSB
PS
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
Hardware and Software Interface to Intel 8051
LTC1293 TD02a
D
OUT
FROM LTC1294 STORED IN 8051 RAM
00
0
0
B0
B2
B3 B1
B10
B11
LSB
MSB
R2
R3
B9
B8 B7
B6
B5 B4
CLK
D
OUT
CS
ANALOG
INPUTS
P1.4
P1.3
8051
D
IN
P1.2
MUX ADDRESS
A/D RESULT
LTC1294
17
LTC1293/LTC1294/LTC1296
129346fs
Sharing the Serial Interface
The LTC1293/4/6 can share the same 3-wire serial inter-
face with other peripheral components or other LTC1293/
4/6’s (Figure 3). Now, the CS signals decide which LTC1293/
4/6 is being addressed by the MPU.
ANALOG CONSIDERATIONS
Grounding
The LTC1293/4/6 should be used with an analog ground
plane and single point grounding techniques. Do not use
wire wrapping techniques to breadboard and evaluate the
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
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 ROTATE RIGHT INTO ACC
RRC A ROTATE RIGHT INTO ACC
RRC A ROTATE RIGHT INTO ACC
MOV R3,A STORE LSBs IN R3
AJMP CONT START NEXT CONVERSION
LABEL MNEMONIC OPERAND COMMENTS
SETB P1.4 CS GOES HIGH
CONT MOV A,#87H DIN WORD FOR LTC1294
CLR P1.4 CS GOES LOW
MOV R4,#08H LOAD COUNTER
LOOP1 RLC A ROTATE DIN BIT INTO CARRY
CLR P1.3 CLK GOES LOW
MOV P1.2,C OUTPUT DIN BIT TO LTC1294
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
8 CHANNELS 8 CHANNELS
8 CHANNELS
3
3
33
3-WIRE SERIAL
INTERFACE TO OTHER
PERIPHERALS OR LTC1293/4/6s
2
10
OUTPUT PORT
SERIAL DATA
MPU
LTC1293 F03
LTC1294
CS
LTC1294
CS
LTC1294
CS
Figure 3. Several LTC1294 Sharing One 3-Wire Serial Interface
device. To achieve the optimum performance use a PC
board. The analog ground pin (AGND) should be tied
directly to the ground plane with minimum lead length (a
low profile socket is fine). The digital ground pin (DGND)
also can be tied directly to this ground pin because
minimal digital noise is generated within the chip itself.
V
CC
should be bypassed to the ground plane with a 22µF
(minimum value) tantalum with leads as short as possible
and as close as possible to the pin. A 0.1µF ceramic disk
also should be placed in parallel with the 22µF and again
with leads as short as possible and as close to V
CC
as
possible. AV
CC
and DV
CC
should be tied together on the
18
LTC1293/LTC1294/LTC1296
129346fs
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
LTC1294. Figure 4 shows an example of an ideal LTC1293/
4/6 ground plane design 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.
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 a conversion cycle can induce errors 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. The lead
from the device to the V
CC
supply also should be kept to a
minimum and the V
CC
supply should have a low output
impedance such as obtained from a voltage regulator
(e.g., LT323A). For high frequency bypassing a 0.1µF
ceramic disk placed in parallel with the 22µF is recom-
mended. Again the leads should be kept to a minimum.
Figure 5 and 6 show the effects of good and poor V
CC
bypassing.
HORIZONTAL: 10µs/DIV
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
CS
V
CC
Analog Inputs
Because of the capacitive redistribution A/D conversion
techniques used, the analog inputs of the LTC1293/4/6
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.
Figure 4. Ground Plane for the LTC1293/4/6
Figure 7. Analog Input Equivalent Circuit
6TH CLK
R
ON
= 500
8TH CLK
C
IN
=
100pF
LTC1293/4/6
“+”
INPUT
R
SOURCE
+
V
IN
+
C1
“–”
INPUT
R
SOURCE
V
IN
C2
LTC1293 F07
V
22µF
TANTALUM
V
CC
LTC1293 F04
0.1µF
CERAMIC
DISK
ANALOG
GROUND
PLANE
0.1µF
CERAMIC
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11

LTC1293CCSW#PBF

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