22
LTC1285/LTC1288
D
OUT
FROM 1288 STORED IN 8501 RAM
MSB
R2 B11 B10 B9 B8 B7 B6 B5 B4
LSB
R3 B3 B2 B1 B0 0 0 0 0
TYPICAL APPLICATIONS N
U
Interfacing to the Parallel Port of the INTEL 8051
Family
The Intel 8051 has been chosen to demonstrate the
interface between the LTC1288 and parallel port micro-
processors. Normally the CS, CLK and D
IN
signals would
be generated on 3 port lines and the D
OUT
signal read on
a 4th port line. This works very well. However, we will
demonstrate here an interface with the D
IN
and D
OUT
of the
LTC1288 tied together as described in the SERIAL INTER-
FACE section. This saves one wire.
The 8051 first sends the start bit and MUX address to the
LTC1288 over the data line connected to P1.2. Then P1.2
is reconfigured as an input (by writing to it a one) and the
8051 reads back the 12-bit A/D result over the same data
line.
LABEL MNEMONIC OPERAND COMMENTS
MOV A, #FFH D
IN
word for LTC1288
SETB P1.4 Make sure CS is high
CLR P1.4 CS goes low
MOV R4, #04 Load counter
LOOP 1 RLC A Rotate D
IN
bit into Carry
CLR P1.3 SCLK goes low
MOV P1.2, C Output D
IN
bit to LTC1288
SETB P1.3 SCLK goes high
DJNZ R4, LOOP 1 Next bit
MOV P1, #04 Bit 2 becomes an input
CLR P1.3 SCLK goes low
MOV R4, #09 Load counter
LOOP 2 MOV C, P1.2 Read data bit into Carry
RLC A Rotate data bit into Acc.
SETB P1.3 SCLK goes high
CLR P1.3 SCLK goes low
DJNZ R4, LOOP 2 Next bit
MOV R2, A Store MSBs in R2
CLR A Clear Acc.
MOV R4, #04 Load counter
LOOP 3 MOV C, P1.2 Read data bit into Carry
RLC A Rotate data bit into Acc.
SETB P1.3 SCLK goes high
CLR P1.3 SCLK goes low
DJNZ R4, LOOP 3 Next bit
MOV R4, #04 Load counter
LOOP 4 RRC A Rotate right into Acc.
DJNZ R4, LOOP 4 Next Rotate
MOV R3, A Store LSBs in R3
SETB P1.4 CS goes high
CS
CLK
D
OUT
D
IN
LTC1288
ANALOG
INPUTS
P1.4
P1.3
P1.2
8051
MUX ADDRESS
A/D RESULT
LTC1285/88 • TA01
CLK
MSBF BIT LATCHED 
INTO LTC1288
8051 P1.2 OUTPUTS DATA 
TO LTC1288
LTC1288 SENDS A/D RESULT
BACK TO 8051 P1.2
LTC1288 TAKES CONTROL OF DATA
LINE ON 4TH FALLING CLK
8051 P1.2 RECONFIGURED
AS IN INPUT AFTER THE 4TH RISING CLK
AND BEFORE THE 4TH FALLING CLK
MSBF B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
SGL/
DIFFSTART
DATA 
(
D
IN
/D
OUT
)
LTC1285/88 • TA07
CS
ODD/ 
SIGN
23
LTC1285/LTC1288
TYPICAL APPLICATIONS N
U
39k
2.7V
LT1004-1.2
220k
39k
3
BATTERY MONITOR 
INPUT 8V TO 16V
1µF
0.1µF
CS
CLK
D
OUT
LTC1285
LTC1285/88 • F15
IN
V
CC
V
REF
GND
+IN
Figure 15. Micropower Battery Voltage Monitor
Figure 13. “Quick Look” Circuit for the LTC1285
A “Quick Look” Circuit for the LTC1285
Users can get a quick look at the function and timing of the
LT1285 by using the following simple circuit (Figure 13).
V
REF
is tied to V
CC
. V
IN
is applied to the +IN input and the
IN input is tied to the ground. CS is driven at 1/16 the
clock rate by the 74C161 and D
OUT
outputs the data. The
output data from the D
OUT
pin can be viewed on an
oscilloscope that is set up to trigger on the falling edge of
CS (Figure 14). Note the LSB data is partially clocked out
before CS goes high.
Information furnished by Linear Technology Corporation is believed to be accurate and reliable.
However, no responsibility is assumed for its use. Linear Technology Corporation makes no represen-
tation that the interconnection of its circuits as described herein will not infringe on existing patent rights.
Micropower Battery Voltage Monitor
A common problem in battery systems is battery voltage
monitoring. This circuit monitors the 10 cell stack of NiCad
or NiMH batteries found in laptop computers. It draws only
40µA from the 2.7V supply at f
SMPL
= 0.1kHz and 30µA to
62µA from the battery. The 12-bits of resolution of the
LTC1285 are positioned over the desired range of 8V to
16V. This is easily accomplished by using the ADC’s
differential inputs. Tying the –input to the reference gives
an ADC input span of V
REF
to 2V
REF
(1.2V to 2.4V). The
resistor divider then scales the input voltage for 8V to 16V.
CLR
CLK
A
B
C
D
P
GND
V
CC
RC
QA
QB
QC
QD
T
LOAD
74HC161
V
IN
TO OSCILLOSCOPE
CLOCK IN 120kHz
LTC1285/88 • F13
V
CC
CLK
D
OUT
LTC1285
+IN
–IN
GND
4.7µF
2.7V
V
REF
CS
MSB
(B11)
VERTICAL: 2V/DIV
HORIZONTAL: 20µs/DIV
LSB
(B0)
NULL
BIT
Figure 14. Scope Trace the LTC1285 “Quick Look” Circuit
Showing A/D Output 101010101010 (AAA
HEX
)
24
LTC1285/LTC1288
Linear Technology Corporation
1630 McCarthy Blvd., Milpitas, CA 95035-7487
(408) 432-1900
FAX
: (408) 434-0507
TELEX
: 499-3977
LINEAR TECHNOLOGY CORPORATION 1994
Dimensions in inches (millimeters) unless otherwise noted.
PACKAGE DESCRIPTION
U
N8 Package
8-Lead Plastic DIP
LT/GP 0894 10K • PRINTED IN USA
N8 0695
0.005
(0.127)
MIN
0.100 ± 0.010
(2.540 ± 0.254)
0.065
(1.651)
TYP
0.045 – 0.065
(1.143 – 1.651)
0.130 ± 0.005
(3.302 ± 0.127)
0.015
(0.380)
MIN
0.018 ± 0.003
(0.457 ± 0.076)
0.125
(3.175)
MIN
0.009 – 0.015
(0.229 – 0.381)
0.300 – 0.325
(7.620 – 8.255)
0.325
+0.025
0.015
+0.635
0.381
8.255
()
12
3
4
876
5
0.255 ± 0.015*
(6.477 ± 0.381)
0.400*
(10.160)
MAX
*THESE DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSIONS.
MOLD FLASH OR PROTRUSIONS SHALL NOT EXCEED 0.010 INCH (0.254mm)
S8 Package
8-Lead Plastic SOIC
0.016 – 0.050
0.406 – 1.270
0.010 – 0.020
(0.254 – 0.508)
× 45°
0°– 8° TYP
0.008 – 0.010
(0.203 – 0.254)
SO8 0695
0.053 – 0.069
(1.346 – 1.752)
0.014 – 0.019
(0.355 – 0.483)
0.004 – 0.010
(0.101 – 0.254)
0.050
(1.270)
BSC
1
2
3
4
0.150 – 0.157**
(3.810 – 3.988)
8
7
6
5
0.189 – 0.197*
(4.801 – 5.004)
0.228 – 0.244
(5.791 – 6.197)
DIMENSION DOES NOT INCLUDE MOLD FLASH. MOLD FLASH 
SHALL NOT EXCEED 0.006" (0.152mm) PER SIDE
DIMENSION DOES NOT INCLUDE INTERLEAD FLASH. INTERLEAD 
FLASH SHALL NOT EXCEED 0.010" (0.254mm) PER SIDE
*
**
PART NUMBER DESCRIPTION COMMENTS
LTC1096/LTC1098 8-Pin SOIC, Micropower 8-Bit ADC Low Power, Small Size, Low Cost
LTC1196/LTC1198 8-Pin SOIC, 1Msps 8-bit ADC Low Power, Small Size, Low Cost
LTC1282 3V High Speed Parallel 12-Bit ADC Complete, V
REF
, CLK, Sample-and-Hold, 140ksps
LTC1289 Multiplexed 3V, 1A 12-Bit ADC 8-Channel, 12-Bit Serial I/O
LTC1522 16-Pin SOIC, 3V Micropower 12-Bit ADC 4-Channel, 12-Bit Serial I/O
RELATED PARTS

LTC1285IS8#TRPBF

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog to Digital Converters - ADC 3V uP Smpl 12-B A/D Convs in SO-8 Packag
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union