參數(shù)資料
型號: 522925X
英文描述: IC
中文描述: 集成電路
文件頁數(shù): 22/24頁
文件大?。?/td> 418K
代理商: 522925X
22
LTC1286/LTC1298
TYPICAL APPLICATIO
N
S
N
Interfacing to the Parallel Port of the INTEL 8051
Family
The Intel 8051 has been chosen to demonstrate the
interface between the LTC1298 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
LTC1298 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
LTC1298 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
MOV
SETB
CLR
MOV
RLC
CLR
MOV
SETB
DJNZ
MOV
CLR
MOV
MOV
RLC
SETB
CLR
DJNZ
MOV
CLR
MOV
MOV
RLC
SETB
CLR
DJNZ
MOV
RRC
DJNZ
MOV
SETB
OPERAND
A, #FFH
P1.4
P1.4
R4, #04
A
P1.3
P1.2, C
P1.3
R4, LOOP 1
P1, #04
P1.3
R4, #09
C, P1.2
A
P1.3
P1.3
R4, LOOP 2
R2, A
A
R4, #04
C, P1.2
A
P1.3
P1.3
R4, LOOP 3
R4, #04
A
R4, LOOP 4
R3, A
P1.4
COMMENTS
D
IN
word for LTC1298
Make sure CS is high
CS goes low
Load counter
Rotate D
IN
bit into Carry
SCLK goes low
Output D
IN
bit to LTC1298
SCLK goes high
Next bit
Bit 2 becomes an input
SCLK goes low
Load counter
Read data bit into Carry
Rotate data bit into Acc.
SCLK goes high
SCLK goes low
Next bit
Store MSBs in R2
Clear Acc.
Load counter
Read data bit into Carry
Rotate data bit into Acc.
SCLK goes high
SCLK goes low
Next bit
Load counter
Rotate right into Acc.
Next Rotate
Store LSBs in R3
CS goes high
LOOP 1
LOOP 2
LOOP 3
LOOP 4
D
OUT
FROM 1298 STORED IN 8501 RAM
MSB
R2
B11 B10 B9
LSB
R3
B3
B2
B1 B0 0
B8 B7 B6 B5 B4
0
0
0
CS
CLK
D
OUT
D
IN
LTC1298
ANALOG
INPUTS
P1.4
P1.3
P1.2
8051
MUX ADDRESS
A/D RESULT
LTC1286/98 TA01
CLK
MSBF BIT LATCHED
INTO LTC1298
8051 P1.2 OUTPUTS DATA
TO LTC1298
LTC1298 SENDS A/D RESULT
BACK TO 8051 P1.2
LTC1298 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/
DIFF
START
DATA
(
DIN
/D
OUT
)
LTC1286/98 TA02
CS
ODD/
SIGN
相關(guān)PDF資料
PDF描述
52602499 LOETSTATION WECP 82
52610-1090 Dual/Triple Ultra-Low-Voltage SOT23 µP Supervisory Circuits
52610-2090 STECKVERBINDER 1.0MM SMT VERT 20POL
52610-2690 Dual/Triple Ultra-Low-Voltage SOT23 µP Supervisory Circuits
52610-3090 STECKVERBINDER 1.0MM SMT VERT 30POL
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
522928E 制造商:未知廠家 制造商全稱:未知廠家 功能描述:IC
522929C 制造商:未知廠家 制造商全稱:未知廠家 功能描述:IC
5229-2SF 制造商:Carlisle Interconnect Components 功能描述:RF COAXIAL PANEL MOUNT CONNECTOR
522-93-012-05-001001 制造商:Mill-Max Mfg Corp 功能描述:Conn PGA Socket SKT 12 POS Solder ST Thru-Hole
522-93-012-05-001002 功能描述:SKT PGA WRAPOST 制造商:mill-max manufacturing corp. 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:50