Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

LTC1197 View Datasheet(PDF) - Linear Technology

Part Name
Description
MFG CO.
'LTC1197' PDF : 28 Pages View PDF
Prev 21 22 23 24 25 26 27 28
LTC1197/LTC1197L
LTC1199/LTC1199L
TYPICAL APPLICATIO S
MPU TRANSMIT
WORD
CS
DIN
CLK
Data Exchange Between LTC1199 and MC68HC05C4
START
BIT
BYTE 1
1
SGL/ ODD/
DIFF SIGN
XXXX
DUMMY
BYTE 2 (DUMMY)
XXXXXXXX
X = DON‘T CARE
START
DUMMY
SGL/ ODD/
DIFF SIGN
DON‘T CARE
DOUT
MPU RECEIVED
WORD
B9 B8
B7
B6 B5 B4 B3 B2 B1 B0
? ? ? ? 0 0 B9 B8
1ST TRANSFER
B7 B6 B5 B4 B3 B2 B1 B0
2ND TRANSFER
1197/99 TA03
Hardware and Software Interface to Motorola MC68HC05C4
ANALOG
INPUTS
CS
CLK
LTC1199
DIN
DOUT
C0
SCK
MC68HC05C4
MISO
MOSI
1197/99 TA04
DOUT from LTC1199 Stored in MC68HC05C4
MSB
LOCATION A 0 0 0 0 0 0 B9 B8 BYTE 1
LSB
LOCATION A + 1 B7 B6 B5 B4 B3 B2 B1 B0 BYTE 2
1197/99 TA05
LABEL
START
MNEMONIC
BCLRn
LDA
STA
TST
BPL
LDA
STA
AND
STA
TST
BPL
BSETn
LDA
STA
COMMENTS
Bit 0 Port C goes low (CS goes low)
Load LTC1199 DIN word into ACC
Load LTC1199 DIN word into SPI from ACC
Transfer begins
Test status of SPIF
Loop to previous instruction if not done
with transfer
Load contents of SPI data register
into ACC (DOUT MSBs)
Start next SPI cycle
Clear 6 MSBs of the first DOUT word
Store in memory location A (MSBs)
Test status of SPIF
Loop to previous instruction if not done
with transfer
Set B0 of Port C (CS goes high)
Load contents of SPI data register into
ACC. (DOUT LSBs)
Store in memory location A + 1 (LSBs)
22
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]