поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

LTC2400CS8 датащи(PDF) 31 Page - Linear Technology

номер детали LTC2400CS8
подробное описание детали  24-Bit uPower No Latency ADC in SO-8
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  LINER [Linear Technology]
домашняя страница  http://www.linear.com
Logo LINER - Linear Technology

LTC2400CS8 датащи(HTML) 31 Page - Linear Technology

Back Button LTC2400CS8 Datasheet HTML 27Page - Linear Technology LTC2400CS8 Datasheet HTML 28Page - Linear Technology LTC2400CS8 Datasheet HTML 29Page - Linear Technology LTC2400CS8 Datasheet HTML 30Page - Linear Technology LTC2400CS8 Datasheet HTML 31Page - Linear Technology LTC2400CS8 Datasheet HTML 32Page - Linear Technology LTC2400CS8 Datasheet HTML 33Page - Linear Technology LTC2400CS8 Datasheet HTML 34Page - Linear Technology LTC2400CS8 Datasheet HTML 35Page - Linear Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 40 page
background image
31
LTC2400
Figure 32. This BASIC Stamp Code is an Example of How Easy it is to Retrieve Data from the LTC2400
ADlo.bit0 = in0
'and sample data line
low SCK
next
high CS
'Disable the LTC2400
ADhi = (ADhi<<4)+((ADlo&$F000)>>12)
debug ?ADhi
'Discard the lower eight bits
goto Start
'and display (debug command).
ShiftL
Temp = ADlo.bit15
'This routine simply
ADlo = ADlo<<1
'performs a 1 bit
ADhi = ADhi<<1
'left shift on two
ADhi.bit0 = Temp
'16 bit variables
return
TYPICAL APPLICATIONS
Figure 33. Connecting the LTC2400 to a 68HC11 MCU Using the SPI Serial Interface
LTC2400
SCK
SDO
CS
7
6
5
SCK (PD4)
MISO (PD2)
SS (PD5)
68HC11
2400 F33
The listing in Figure 34 is a simple assembler routine for
the 68HC11 microcontroller. It uses PORT D, configuring
it for SPI data transfer between the controller and the
LTC2400. Figure 33 shows the simple 3-wire SPI
connection.
The code begins by declaring variables and allocating four
memory locations to store the 32-bit conversion result.
This is followed by initializing PORT D’s SPI configuration.
The program then enters the main sequence. It activates
the LTC2400’s serial interface by setting the SS output
low, sending a logic low to CS. It next waits in a loop for
a logic low on the data line, signifying end-of-conversion.
After the loop is satisfied, four SPI transfers are com-
pleted, retrieving the conversion. The main sequence ends
by setting SS high. This places the LTC2400’s serial
interface in a high impedance state and initiates another
conversion.
*****************************************************
* This example program transfers the LTC2400's 32-bit output
*
* conversion result into four consecutive 8-bit memory locations. *
*****************************************************
*68HC11 register definition
PORTD
EQU
$1008
Port D data register
*
" – , – , SS* ,CSK ;MOSI,MISO,TxD ,RxD"
DDRD
EQU
$1009
Port D data direction register
SPSR
EQU
$1028
SPI control register
*
"SPIE,SPE ,DWOM,MSTR;SPOL,CPHA,SPR1,SPR0"
SPSR
EQU
$1029
SPI status register
*
"SPIF,WCOL, – ,MODF; – , – , – , – "
SPDR
EQU
$102A
SPI data register; Read-Buffer; Write-Shifter
*
* RAM variables to hold the LTC2400's 32 conversion result



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com