16
LTC1091/LTC1092
LTC1093/LTC1094
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
3. Accommodating Microprocessors with
Different Word Lengths
The LTC1091/LTC1093/LTC1094 will fill zeros indefinitely
after the transmitted data until CS is brought high. At that
time the D
OUT
line is disabled. This makes interfacing easy
to MPU serial ports with different transfer increments
including 4 bits (e.g., COP400) and 8 bits (e.g., SPI and
MICROWIRE/PLUS
TM
). Any word length can be accommo-
dated by the correct positioning of the start bit in the
LTC1091 input word.
Figure 1 shows examples of LTC1091 input and output
words for 4-bit and 8-bit processors. A complete data
exchange can be implemented with two 4-bit MPU outputs
and three inputs in 4-bit systems and one 8-bit output and
two inputs in 8-bit systems. The resulting data winds up
left justified in the MPU with zeros automatically filled in
the unused low order bits by the LTC1091. In section 5
another example is given using the MC68HC05C4 which
MICROWIRE/PLUS is a trademark of National Semiconductor Corp.
eliminates one 8-bit transfer and positions data right
justified inside the MPU.
4. Operation with D
IN
and D
OUT
Tied Together
The LTC1091/LTC1093/LTC1094 can be operated with
D
IN
and D
OUT
tied together. This eliminates one of the lines
required to communicate to the MPU. Data is transmitted
in both directions on a single wire. The processor pin
connected to this data line should be configurable as either
an input or an output. The LTC1091, for example, will take
control of the data line and drive it low on the 4th falling
CLK edge after the start bit is received (see Figure 2).
Therefore, the processor port line must be switched to an
input before this happens, to avoid a conflict.
In the next section, an example is made of interfacing
the LTC1091 with D
IN
and D
OUT
tied together to the Intel
8051 MPU.
FILL ZEROS
X = DON’T CARE
1091/2/3/4 F01
CLK
CS
D
OUT
MPU SENDS
2 D
IN
WORDS
4-BIT
TRANSFERS
MPU READS BACK
3 D
OUT
WORDS
START
BIT
D
IN
Hi-Z
START
MSBF
MSBF X
0 0 0 1
• • •
B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
SGL/
DIFF
ODD/
SIGN
SGL/
DIFF
ODD/
SIGN
MSBF X
SGL/
DIFF
ODD/
SIGN
B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0
B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 0 0 0 0 0 0
START
BIT
0 0 0 1
MPU SENDS
1 D
IN
WORD
8-BIT
TRANSFERS
MPU READS BACK
2 D
OUT
WORDS
Figure 1. LTC1091 Input and Output Word Arrangements for 4-Bit and 8-Bit Serial Port Microprocessors
17
LTC1091/LTC1092
LTC1093/LTC1094
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
MICROWIRE is a trademark of National Semiconductor Corp.
Table 1. Microprocessors with Hardware Serial Interfaces
Compatible with the LTC1091/LTC1092/LTC1093/LTC1094
PART NUMBER TYPE OF INTERFACE
Motorola
MC6805S2, S3 SPI
MC68HC11 SPI
MC68HC05 SPI
RCA
CDP68HC05 SPI
Hitachi
HD6305 SCI Synchronous
HD63705 SCI Synchronous
HD6301 SCI Synchronous
HD63701 SCI Synchronous
HD6303 SCI Synchronous
HD64180 CSI/O
National Semiconductor
COP400 Family MICROWIRE
TM
COP800 Family MICROWIRE/PLUS
NS8050U MICROWIRE/PLUS
HPC16000 Family MICROWIRE/PLUS
Texas Instruments
TMS7002 Serial Port
TMS7042 Serial Port
TMS70C02 Serial Port
TMS70C42 Serial Port
TMS32011* Serial Port
TMS32020 Serial Port
*Requires external hardware
5. Microprocessor Interfaces
The LTC1091/LTC1092/LTC1093/LTC1094 can interface
directly (without external hardware) to most popular
microprocessor (MPU) synchronous serial formats (see
Table 1). If an MPU without a dedicated serial port is used,
then three or four of the MPU’s parallel port lines can be
programmed to form the serial link to the LTC1091/
LTC1092/LTC1093/LTC1094. Included here are one serial
interface example and one example showing a parallel port
programmed to form the serial interface.
1091/2/3/4 F02
CLK
START
MSBF B9 B8 • • •
PROCESSOR
MUST RELEASE
DATA LINE AFTER 4TH
RISING CLK AND BEFORE
THE 4TH FALLING CLK
MPU CONTROLS
DATA LINE AND SENDS
MUX ADDRESS TO LTC1091
LTC1091 TAKES CONTROL OF DATA LINE
ON 4TH FALLING CLK
SGL/
DIFF
ODD/
SIGN
CS
DATA (D
IN
/D
OUT
)
12
MSBF
LATCHED
BY LTC1091
34
LTC1091 CONTROLS
DATA LINE AND SENDS
A/D RESULT BACK TO MPU
Figure 2. LTC1091 Operation with D
IN
and D
OUT
Tied Together
18
LTC1091/LTC1092
LTC1093/LTC1094
U
S
A
O
PP
L
IC
AT
I
WU
U
I FOR ATIO
Hardware and Software Interface to
Motorola MC68HC05C4 Processor
Motorola SPI (MC68HC05C4, MC68HC11)
The MC68HC05C4 has been chosen as an example of an
MPU with a dedicated serial port. This MPU transfers data
MSB first and in 8-bit increments. With two 8-bit transfers,
the A/D result is read into the MPU. The first 8-bit transfer
sends the D
IN
word to the LTC1091 and clocks B9 and B8
of the A/D conversion result into the processor. The
second 8-bit transfer clocks the remaining bits, B7 through
B0, into the MPU.
ANDing the first MPU received byte with 03 Hex clears the
six most significant bits. Notice how the position of the
start bit in the first MPU transmit word is used to position
the A/D result right justified in two memory locations.
X = DON’T CARE
1091/2/3/4 AI15
CLK
CS
D
OUT
MPU RECEIVED
WORD
MPU TRANSMIT
WORD
START
BIT
BYTE 1
D
IN
START
MSBF
MSBF X X X
B9
? ? ? 0 B9 B8
B8 B7 B6 B5 B4 B3 B2 B1 B0
SGL/
DIFF
ODD/
SIGN
SGL/
DIFF
ODD/
SIGN
0 1
BYTE 2 (DUMMY)
X X X X X X
X X
BYTE 1
1ST TRANSFER
? ?
BYTE 2
B5 B4 B3 B2 B1 B0
B7 B6
DON’T CARE
2ND TRANSFER
Data Exchange Between LTC1091 and MC68HC05C4
1091-4 AI16
BYTE 1
0 0 0 0 0 0 B9 B8
D
OUT
from LTC1091 Stored in MC68HC05C4 RAM
MSB
LOCATION A
B7 B6 B5 B4 B3 B2 B1 B0
LSB
LOCATION A + 1
BYTE 2
LTC1091
CS
CLK
D
IN
D
OUT
ANALOG
INPUTS
CO
SCK
MOSI
MISO
MC68HC05C4
LABEL MNEMONIC COMMENTS
START BCLRn Bit 0 Port C Goes Low (CS Goes Low)
LDA Load LTC1090 D
IN
Word into Acc
STA Load LTC1090 D
IN
Word into SPI from Acc
Transfer Begins
TST Test Status of SPIF
BPL Loop to Previous Instruction If Not Done
with Transfer
LDA Load contents of SPI Data Register into
Acc (D
OUT
MSBs)
STA Start Next SPI Cycle
AND Clear 6 MSBs of First D
OUT
Word
STA Store in Memory Location A (MSBs)
TST Test Status of SPIF
BPL Loop to Previous Instruction If Not Done
with Transfer
BSETn Set B0 of Port C (CS Goes High)
LDA Load contents of SPI Data Register into
Acc (D
OUT
LSBs)
STA Store in Memory location A + 1 (LSBs)

LTC1093CN#PBF

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