LT1460-2.5 LINER [Linear Technology], LT1460-2.5 Datasheet - Page 17

no-image

LT1460-2.5

Manufacturer Part Number
LT1460-2.5
Description
Serial 12-Bit/14-Bit, 2.8Msps
Manufacturer
LINER [Linear Technology]
Datasheet
APPLICATIONS INFORMATION
; 10-23-03 ******************************************************************
; Files: 014SI.ASM -> 1403 bipolar Sine wave collection with Serial Port interface
;
;
; 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
; 1’ cable from counter to CONV at DUT
; 2’ cable from counter to CLK at DUT
; ***************************************************************************
start:
sinepeek:
wait
;
breceive:
;
bufull:
————————Buffered Receive Interrupt Routine —————————
goto
.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
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
———————mask and shift input data ——————————————
b = *ar3+ << -0
b = #03FFFh & b
b = b ^ #2000h
*ar2+ = data(#0bh)
TC = (@ar2 == #02000h)
if (TC) goto start
goto bufull
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
160
110
; pointer to computed receive buffer.
; stop timer
; init stack pointer.
; pointer to Buffered Serial Port receive buffer
; set up iptr. Processor Mode STatus register
; reset record counter
;this label seems necessary
;Make sure /PWRDWN is low at J1-9
;to turn off AC01 adc
; stop TDM serial port to AC01
; data page
; 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
2k buffer size.
buffered mode.
0x500,0
0x800,0
; store B to out buffer and advance AR2 pointer
; output buffer is 2k starting at 1800h
; load acc b with BSP buffer and shift right -0
; invert the MSB for bipolar operation
; mask out the TRISTATE bits with #03FFFh
; restart if out buffer is at 1fffh
; clear interrupt flags
; if this still the first half get next half
;Set address of executable
;Set address of result for clearing
;Set address of incoming 1403 data
;Set address of BSP buffer for clearing
;.text marks start of code
LTC1403-1/LTC1403A-1
B
17
14031fc

Related parts for LT1460-2.5