ltc1407a-1 Linear Technology Corporation, ltc1407a-1 Datasheet - Page 18

no-image

ltc1407a-1

Manufacturer Part Number
ltc1407a-1
Description
Serial 12-bit, 3msps Simultaneous Sampling Adcs With Shutdown
Manufacturer
Linear Technology Corporation
Datasheet
APPLICATIO S I FOR ATIO
LTC1407-1/LTC1407A-1
; 12-03-03 ******************************************************************
; Files: 014SIAB.ASM ->
;
;
; First element at 1024, last element at 1023, two middles at 2047 and 0000
; bipolar mode
; Works 16 or 64 clock frames.
; negative edge BCLKR
; negative BFSR pulse
; -0 data shifted
; ***************************************************************************
start:
sinepeek:
wait
;
breceive:
18
————————Buffered Receive Interrupt Routine —————————
.text
tim=#0fh
prd=#0fh
tcr = #10h
tspc = #0h
pmst = #01a0h
sp = #0700h
dp = #0
ar2 = #1800h
ar3 = #0800h
ar4 = #0h
call sineinit
call sineinit
goto
ifr = #10h
TC = bitf(@BSPCE,#4000h) ; check which half (bspce(bit14)) of buffer
if (NTC) goto bufull
bspce = #(2023h + 08000h); turn on halt for second half (bspce(bit15))
return_enable
bvectors.asm
s2k14ini.asm
.width
.length
.title “sineb0 BSP in auto buffer mode”
.mmregs
.setsect “.text”,
.setsect “vectors”, 0x180,0
.setsect “buffer”,
.setsect “result”, 0x1800,0
wait
U
160
110
U
;this label seems necessary
;Make sure /PWRDWN is low at J1-9
;to turn off AC01 adc
; stop timer
; stop TDM serial port to AC01
; set up iptr. Processor Mode STatus register
; init stack pointer.
; data page
; pointer to computed receive buffer.
; pointer to Buffered Serial Port receive buffer
; reset record counter
; or more after the port comes out of reset.
; Double clutch the initialization to insure a proper
; reset. The external frame sync must occur 2.5 clocks
1407A Sine wave collection with Serial Port interface
both channels collected in sequence in the same 2k record.
Buffered mode 2k buffer size.
W
0x500,0
0x800,0
; clear interrupt flags
; if this still the first half get next half
U
;Set address of executable
;Set address of incoming 1403 data
;Set address of BSP buffer for clearing
;Set address of result for clearing
;.text marks start of code
14071fa

Related parts for ltc1407a-1