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

X  

LTC1404CS8 датащи(PDF) 19 Page - Linear Technology

номер детали LTC1404CS8
подробное описание детали  Complete SO-8, 12-Bit, 600ksps ADC with Shutdown
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  LINER [Linear Technology]
домашняя страница  http://www.linear.com
Logo LINER - Linear Technology

LTC1404CS8 датащи(HTML) 19 Page - Linear Technology

Back Button LTC1404CS8 Datasheet HTML 15Page - Linear Technology LTC1404CS8 Datasheet HTML 16Page - Linear Technology LTC1404CS8 Datasheet HTML 17Page - Linear Technology LTC1404CS8 Datasheet HTML 18Page - Linear Technology LTC1404CS8 Datasheet HTML 19Page - Linear Technology LTC1404CS8 Datasheet HTML 20Page - Linear Technology LTC1404CS8 Datasheet HTML 21Page - Linear Technology LTC1404CS8 Datasheet HTML 22Page - Linear Technology LTC1404CS8 Datasheet HTML 23Page - Linear Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 24 page
background image
19
LTC1404
TYPICAL APPLICATIONS
TMS320C50 Code for Circuit
THIS PROGRAM DEMONSTRATES THE LTC1404 INTERFACE TO THE
TMS320C50. FRAME SYNC PULSE IS GENERATED FROM TFSX.
DATA SHIFT CLOCK IS EXTERNALLY GENERATED.
*Initialization*
.mmregs
; Defines global symbolic names
;- - Initialized data memory to zero
.ds
0F00h
; Initialize data to zero
DATA0
.word
0
; Begin sample data location
DATA1
.word
0
; .
DATA2
.word
0
; Location of data
DATA3
.word
0
; .
DATA4
.word
0
; .
DATA5
.word
0
; End sample data location
;- - Set up the ISR vector
.ps
080Ah
; Serial ports interrupts
rint :
B
RECEIVE
; 0A;
xint :
B
TRANSMIT
; 0C;
trnt :
B
TREC
; 0E;
txnt :
B
TTRANX
; 10;
;- - Setup the reset vector
.ps 0A00h
.entry
START:
*TMS320C50 Initialization*
SETC INTM
; Temporarily disable all interrupts
LDP
#0
; Set data page pointer to zero
OPL
#0834h, PMST ; Set up the PMST status and control register
LACC #0
SAMM CWSR
; Set software wait state to 0
SAMM PDWSR
;
*Configure Serial Port*
SPLK #0028h, TSPC
; Set TDM Serial Port
; TDM = 0 Stand Alone mode
; DLB=0 Not loop back
; FO=0 16 Bits
; FSM=1 Burst Mode
; MCM=0 CLKR is generated externally
; TXM=1 FSX as output pin
; Put serial port into reset
; (XRST=RRST=0)
SPLK #00E8h, TSPC
; Take Serial Port out of reset
; (XRST=RRST=1)
SPLK #0FFFFh, IFR
; Clear all the pending interrupts
*Start Serial Communication*
SACL TDXR
; Generate frame sync pulse
SPLK #040h, IMR
; Turn on TRNT receiver interrupt
CLRC INTM
; Enable interrupt
CLRC SXM
; For Unipolar input, set for right shift
; with no sign extension
MAR *, AR7
; Load the auxiliary register pointer with seven
LAR
AR7, #0F00h
; Load the auxiliary register seven with #0F00h
; as the begin address for data storage
WAIT:
NOP
; Wait for a receive interrupt
NOP
;
NOP
;
SACL TDXR
; !! Regenerate the frame sync pulse
B
WAIT
;
; - - - - - - - end of main program - - - - - - - - - - ;
*Receiver Interrupt Service Routine*
TREC:
LAMM TRCV
; Load the data received from LTC1404
SFR
; Shift right two times
SFR
;
AND
#1FFFh, 0
; ANDed with #1FFFh
; For converting the data to right
; justified format
;
SACL *+, 0
; Write to data memory pointed by AR7 and
; increase the memory address by one
LACC AR7
;
SUB
#0F05h,0
; Compare to end sample address #0F05h
BCND END_TRCV,GEQ ; If the end sample address has exceeded jump
to END_TRCV
;
SPLK #040h, IMR
; Else Re-enable the TRNT receive interrupt
RETE
; Return to main program and enable interrupt
*After Obtained the Data from LTC1404, Program Jump to END_TRCV*
END_TRCV:
SPLK #002h, IMR
; Enable INT2 for program to halt
CLRC INTM
SUCCESS:
B
SUCCESS
*Fill the Unused Interrupt with RETE, to avoid program get “lost”*
TTRANX:
RETE
RECEIVE:
RETE
TRANSMIT:
RETE
INT2:
B halt
; Halts the running CPU



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


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

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