欢迎访问ic37.com |
会员登录 免费注册
发布采购

1402 参数 Datasheet PDF下载

1402图片预览
型号: 1402
PDF下载: 下载PDF文件 查看货源
内容描述: 串行12位, 2.2Msps采样ADC ,带有关断 [Serial 12-Bit, 2.2Msps Sampling ADC with Shutdown]
分类和应用:
文件页数/大小: 24 页 / 281 K
品牌: Linear [ Linear ]
 浏览型号1402的Datasheet PDF文件第16页浏览型号1402的Datasheet PDF文件第17页浏览型号1402的Datasheet PDF文件第18页浏览型号1402的Datasheet PDF文件第19页浏览型号1402的Datasheet PDF文件第21页浏览型号1402的Datasheet PDF文件第22页浏览型号1402的Datasheet PDF文件第23页浏览型号1402的Datasheet PDF文件第24页  
LTC1402  
U
W U U  
APPLICATIONS INFORMATION  
* This is an example of how to initialize the Buffered Serial Port (BSP).  
* The BSP is initialized to require an external CLK and FSX for  
* operation. The data format is 16-bits, burst mode, with autobuffering  
* enabled.  
*
*
*****************************************************************************************************  
*Timing at BSP pins in DSKPLUS TMS320c542 board with inverters at BCLKR and BFSR.  
*
*BFSR Pin JP1-20 ~\___/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\___/~~~~~~~~~~*  
*BCLKR Pin JP1-14 _/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/~\_/  
*BDR Pin JP1-26 -_—_—<REF-B11-B10-B09-B08-B07-B06-B05-B04-B03-B02-B01-B00>—_—_—<REF-B11-  
*CLKIN Pin JP5-09 ~~~~~\_______/~~~~~~~\_______/~~~~~~~\_______/~~~~~~~\_______/~~~~~~~\_______/~~~~  
*
*A 2 place right shift is needed to right justify the input data.  
*The REF bit is also be masked in this example  
*
*
*
*
*
*
*****************************************************************************************************  
*
Loopback  
Format  
IntSync  
.set NO  
.set BIT_16  
.set NO  
;(digital looback mode?)  
DLB bit  
FO bit  
TXM bit  
MCM bit  
;(Data format? 16,12,10,8)  
;(internal Frame syncs generated?)  
;(internal clks generated?)  
IntCLK  
.set NO  
BurstMode  
CLKDIV  
PCM_Mode  
FS_polarity  
CLK_polarity .set YES  
Frame_ignore .set !YES  
XMTautobuf .set NO  
.set YES  
;(if BurstMode=NO, then Continuous) FSM bit  
;(3=default value, 1/4 CLOCKOUT)  
;(Turn on PCM mode?)  
;(change polarity)YES=^^^\_/^^^, NO=___/^\___  
;(change polarity)for BCLKR YES=_/^, NO=~\_  
;(inverted !YES -ignores frame)  
;(transmit autobuffering)  
.set  
3
.set NO  
.set NO  
RCVautobuf  
XMThalt  
RCVhalt  
XMTbufAddr .set 0x800  
XMTbufSize .set 0x000  
RCVbufAddr .set 0x800  
.set YES  
.set NO  
.set NO  
;(receive autobuffering)  
;(transmit buff halt if XMT buff is full)  
;(receive buff halt if RCV buff is full)  
;(address of transmit buffer)  
;(length of transmit buffer)  
;(address of receive buffer)  
RCVbufSize  
.set 0x800  
;(length of receive buffer)works up to 800  
*
*
*
**********************************************************************  
.eval ((Loopback >> 1)|((Format & 2)<<1)|(BurstMode <<3)|(IntCLK <<4)|(IntSync <<5)) ,SPCval  
.eval ((CLKDIV)|(FS_polarity <<5)|(CLK_polarity<<6)|((Format & 1)<<7)|(Frame_ignore<<8)|(PCM_Mode<<9)), SPCEval  
.eval (SPCEval|(XMTautobuf<<10)|(XMThalt<<12)|(RCVautobuf<<13)|(RCVhalt<<15)), SPCEval  
sineinit:  
bspc = #SPCval  
ifr = #10h  
; places buffered serial port in reset  
; clear interrupt flags  
imr = #210h  
intm = 0  
; Enable HPINT,enable BRINT0  
; all unmasked interrupts are enabled.  
; programs BSPCE and ABU  
; initializes transmit buffer start address  
; initializes transmit buffer size  
; initializes receive buffer start address  
; initializes receive buffer size  
; bring buffered serial port out of reset  
;for transmit and receive because GO=0xC0  
;clear a chunk at the end to mark the end  
bspce = #SPCEval  
axr = #XMTbufAddr  
bkx = #XMTbufSize  
arr = #RCVbufAddr  
bkr = #RCVbufSize  
bspc = #(SPCval | GO)  
return  
.space 16*32  
;======================================================================  
;
; VECTORS  
;
;======================================================================  
.sect “vectors”  
;The vectors start here  
;get BSP vectors  
; ***************************************************************************  
;
;
;
Vector Table for the ‘C54x DSKplus  
BSP vectors and Debugger vectors  
TDM vectors just return  
; ***************************************************************************  
20  
 复制成功!