TYPICAL APPLICATIONS U ADSP2181 Code for Circuit THIS PROGRAM " />
參數(shù)資料
型號: LTC1401CS8#TRPBF
廠商: Linear Technology
文件頁數(shù): 9/20頁
文件大?。?/td> 0K
描述: IC A/D CONV 12BIT W/SHTDN 8-SOIC
標準包裝: 2,500
位數(shù): 12
采樣率(每秒): 200k
數(shù)據(jù)接口: MICROWIRE?,串行,SPI?
轉換器數(shù)目: 1
功率耗散(最大): 30mW
電壓電源: 單電源
工作溫度: 0°C ~ 70°C
安裝類型: 表面貼裝
封裝/外殼: 8-SOIC(0.154",3.90mm 寬)
供應商設備封裝: 8-SOIC
包裝: 帶卷 (TR)
輸入數(shù)目和類型: 1 個單端,單極
17
LTC1401
1401fa
TYPICAL APPLICATIONS
U
ADSP2181 Code for Circuit
THIS PROGRAM DEMONSTRATES THE LTC1401 INTERFACE TO THE
ADSP-2181. FRAME SYNC PULSE IS GENERATED FROM RFS.
DATA SHIFT CLOCK IS INTERNALLY GENERATED.
/*Section 1: Initialization*/
.module/ram/abs = 0 adspltc;
/*define the program module*/
jump start;
/*jump over interrupt vectors*/
nop; nop; nop;
rti; rti; rti; rti;
/*code vectors here upon IRQ2 int*/
rti; rti; rti; rti;
/*code vectors here upon IRQL1 int*/
rti; rti; rti; rti;
/*code vectors here upon IRQL0 int*/
rti; rti; rti; rti;
/*code vectors here upon SPORT0 TX int*/
ax0 = rx0;
/*Section 5*/
dm (0x2000) = ax0; /*begin of SPORT0 receive interrupt*/
rti;
/* */
/*end of SPORT0 receive interrupt*/
rti; rti; rti; rti;
/*code vectors here upon /IRQE int*/
rti; rti; rti; rti;
/*code vectors here upon BDMA interrupt*/
rti; rti; rti; rti;
/*code vectors here upon SPORT1 TX (IRQ1) int*/
rti; rti; rti; rti;
/*code vectors here upon SPORT1 RX (IRQ0) int*/
rti; rti; rti; rti;
/*code vectors here upon TIMER int*/
rti; rti; rti; rti;
/*code vectors here upon POWER DOWN int*/
/*Section 2: Configure SPORT0*/
start:
/*to configure SPORT0 control reg*/
/*SPORT0 address = 0x3FF6*/
/*RFS is used for frame sync generation*/
/*RFS is internal, TFS is not used*/
/*bit 0-3 = Slen*/
/*F = 15 = 1111*/
/*E = 14 = 1110*/
/*D = 13 = 1101*/
/*bit 4,5 data type right justified zero filled MSB*/
/*bit 6 INVRFS = 0*/
/*bit 7 INVTFS = 0*/
/*bit 8 IRFS=1 receive internal frame sync*/
/*bit 9,10,11 are for TFS (don’t care)*/
/*bit 12 RFSW=0 receive is normal mode*/
/*bit 13 RTFS=1 receive is framed mode*/
/*bit 14 ISCLK = 1 clock is internal*/
/*bit 15 multichannel mode = 0*/
ax0 = 0x6F0D;
dm (0x3FF6) =ax0;
/*Section 3: configure CLKDIV and RFSDIV, setup interrupts*/
/*to configure CLKDIV reg*/
ax0= 4;
dm(0x3FF5) =ax0;
/*set the serial clock divide modulus reg
SCLKDIV*/
/*the input clock frequency = 16.67MHz*/
/*CLKOUT frequency = 2x = 33MHz*/
/*SCLK= 1/2*CLKOUT*1/(SCLKDIV+1)*/
/*for SCLKDIV = 4, SCLK = 33/10 = 3.3MHz*/
/*to Configure RFSDIV*/
ax0 = 15;
/*set the RFSDIV reg = 15*/
/*=> the frame sync pulse for every 16 SCLK*/
/*if frame sync pulse in every 15 SCLK, ax0=14*/
dm(0x3FF4) =ax0;
/*to setup interrupt*/
ifc= 0x0066;
/*clear any extraneous SPORT interrupts*/
icntl= 0;
/*IRQXB = level sensitivity*/
/*disable nesting interrupt*/
imask= 0x0020;
/*bit 0 = timer int = 0*/
/*bit 1 = SPORT1 or IRQ0B int = 0*/
/*bit 2 = SPORT1 or IRQ1B int = 0*/
/*bit 3 = BDMA int = 0*/
/*bit 4 = IRQEB int = 0*/
/*bit 5 = SPORT0 receive int = 1*/
/*bit 6 = SPORT0 transmit int = 0*/
/*bit 7 = IRQ2B int = 0*/
/*enable SPORT0 receive interrupt*/
/*Section 4: Configure System Control Register and Start Communication*/
/*to configure system control reg*/
ax0 = dm(0x3FFF);
/*read the system control reg*/
ay0 = 0xFFF0;
ar = ax0 AND ay0;
/*set wait state to zero*/
ay0 = 0x1000;
ar = ar OR ay0;
/*bit 12 = 1, enable SPORT0*/
dm(0x3FFF) = ar;
/*frame sync pulse regenerated automatically*/
cntr = 5000;
do waitloop until ce;
nop;
waitloop: nop;
rts;
.endmod;
相關PDF資料
PDF描述
LTC1401CS8#TR IC ADC 12BIT 200KSPS SHTDN 8SOIC
D38999/20MD19BN CONN HSG RCPT 19POS WALL MT SCKT
D38999/26WD15SBLC CONN HSG PLUG 15POS STRGHT SCKT
MAX9703ETJ+T IC AMP AUDIO PWR 18W MONO 32TQFN
LTC1098LIS8#PBF IC A/D CONV 8BIT SRL IN/OUT8SOIC
相關代理商/技術參數(shù)
參數(shù)描述
LTC1401IS8 功能描述:IC A/D CONV 12BIT W/SHTDN 8-SOIC RoHS:否 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 模數(shù)轉換器 系列:- 標準包裝:2,500 系列:- 位數(shù):16 采樣率(每秒):15 數(shù)據(jù)接口:MICROWIRE?,串行,SPI? 轉換器數(shù)目:1 功率耗散(最大):480µW 電壓電源:單電源 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:38-WFQFN 裸露焊盤 供應商設備封裝:38-QFN(5x7) 包裝:帶卷 (TR) 輸入數(shù)目和類型:16 個單端,雙極;8 個差分,雙極 配用:DC1011A-C-ND - BOARD DELTA SIGMA ADC LTC2494
LTC1401IS8#PBF 功能描述:IC A/D CONV 12BIT W/SHTDN 8-SOIC RoHS:是 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 模數(shù)轉換器 系列:- 標準包裝:2,500 系列:- 位數(shù):16 采樣率(每秒):15 數(shù)據(jù)接口:MICROWIRE?,串行,SPI? 轉換器數(shù)目:1 功率耗散(最大):480µW 電壓電源:單電源 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:38-WFQFN 裸露焊盤 供應商設備封裝:38-QFN(5x7) 包裝:帶卷 (TR) 輸入數(shù)目和類型:16 個單端,雙極;8 個差分,雙極 配用:DC1011A-C-ND - BOARD DELTA SIGMA ADC LTC2494
LTC1401IS8#TR 功能描述:IC ADC 12BIT 200KSPS SHTDN 8SOIC RoHS:否 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 模數(shù)轉換器 系列:- 標準包裝:2,500 系列:- 位數(shù):16 采樣率(每秒):15 數(shù)據(jù)接口:MICROWIRE?,串行,SPI? 轉換器數(shù)目:1 功率耗散(最大):480µW 電壓電源:單電源 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:38-WFQFN 裸露焊盤 供應商設備封裝:38-QFN(5x7) 包裝:帶卷 (TR) 輸入數(shù)目和類型:16 個單端,雙極;8 個差分,雙極 配用:DC1011A-C-ND - BOARD DELTA SIGMA ADC LTC2494
LTC1401IS8#TRPBF 功能描述:IC A/D CONV 12BIT W/SHTDN 8-SOIC RoHS:是 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 模數(shù)轉換器 系列:- 標準包裝:2,500 系列:- 位數(shù):16 采樣率(每秒):15 數(shù)據(jù)接口:MICROWIRE?,串行,SPI? 轉換器數(shù)目:1 功率耗散(最大):480µW 電壓電源:單電源 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:38-WFQFN 裸露焊盤 供應商設備封裝:38-QFN(5x7) 包裝:帶卷 (TR) 輸入數(shù)目和類型:16 個單端,雙極;8 個差分,雙極 配用:DC1011A-C-ND - BOARD DELTA SIGMA ADC LTC2494
LTC1402CGN 功能描述:IC ADC 12BIT 2.2MSPS SHDN 16SSOP RoHS:否 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 模數(shù)轉換器 系列:- 標準包裝:1,000 系列:- 位數(shù):16 采樣率(每秒):45k 數(shù)據(jù)接口:串行 轉換器數(shù)目:2 功率耗散(最大):315mW 電壓電源:模擬和數(shù)字 工作溫度:0°C ~ 70°C 安裝類型:表面貼裝 封裝/外殼:28-SOIC(0.295",7.50mm 寬) 供應商設備封裝:28-SOIC W 包裝:帶卷 (TR) 輸入數(shù)目和類型:2 個單端,單極