欧美成人免费电影,国产欧美一区二区三区精品酒店,精品国产a毛片,色网在线免费观看

參數資料
型號: TLV5633CDWR
廠商: TEXAS INSTRUMENTS INC
元件分類: DAC
英文描述: PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
封裝: GREEN, PLASTIC, SOIC-20
文件頁數: 7/25頁
文件大小: 486K
代理商: TLV5633CDWR
www.ti.com
SOFTWARE
SLAS190C – MARCH 1999 – REVISED SEPTEMBER 2006
In the following example, the code generates a waveform at 20 KSPS with 32 samples stored in a table within
the program memory space of the microcontroller.
The waveform data is located in the program memory space at segment SINTBL beginning with the MSW of the
first 16-bit word (the 4 MSBs are ignored), followed by the LSW. Two bytes are required for each DAC word (the
table is not shown in the code example).
The program consists of two parts:
A main routine, which is executed after reset and which initializes the timer and the interrupt system of the
microcontroller.
An interrupt service routine, which reads a new value from the waveform table and writes it to the DAC.
;--------------------------------------------------------------------------------------
; File:
WAVE.A51
; Function:
wave generation with TLV5633
; Processors: 80C51 family (running at 12 MHz)
; Software:
ASM51 assembler, Keil BL51 code-banking linker
;(C) 1999 Texas Instruments
;--------------------------------------------------------------------------------------
; Program function declaration
;--------------------------------------------------------------------------------------
NAME
WAVE
MAIN
SEGMENT
CODE
ISR
SEGMENT
CODE
WAVTBL
SEGMENT
CODE
VAR1
SEGMENT
DATA
STACK
SEGMENT
IDATA
;--------------------------------------------------------------------------------------
; Code start at address 0, jump to start
;--------------------------------------------------------------------------------------
CSEG AT 0
LJMP start
; Execution starts at address 0 on power-up.
;--------------------------------------------------------------------------------------
; Code in the timer0 interrupt vector
;--------------------------------------------------------------------------------------
CSEG AT 0BH
LJMP timer0isr
; Jump vector for timer 0 interrupt is 000Bh
;--------------------------------------------------------------------------------------
; Define program variables
;--------------------------------------------------------------------------------------
RSEG VAR1
rolling_ptr: DS 1
;--------------------------------------------------------------------------------------
; Interrupt service routine for timer 0 interrupts
;--------------------------------------------------------------------------------------
RSEG ISR
TIMER0ISR:
PUSH PSW
PUSH ACC
; The signal to be output on the dac is stored in a table
; as 32 samples of msb, lsb pairs (64 bytes).
; The pointer, rolling_ptr, rolls round the table of samples
; incrementing by 2 bytes (1 sample) on each interrupt
; (at the end of this routine).
MOV
DPTR, #wavetable ; set DPTR to the start of the table
MOV
R0, #001H
; R0 selects DAC MSW
MOV
A,rolling_ptr
; ACC loaded with the pointer into the wave table
MOVC A,@A+DPTR
; get msb from the table
MOVX @R0, A
; write DAC MSW
MOV
R0, #000H
; R0 selects DAC LSW
MOV
A,rolling_ptr
; move rolling pointer back in to ACC
INC
A
; increment ACC holding the rolling pointer
MOVC A,@A+DPTR
; which is the lsb of this sample, now in ACC
MOVX @R0, A
; write DAC LSW
MOV
A,rolling_ptr
; load ACC with rolling pointer again
INC
A
; increment the ACC twice, to get next sample
INC
A
ANL
A,#003FH
; wrap back round to 0 if >64
MOV
rolling_ptr,A
; move value held in ACC back to the rolling pointer
15
相關PDF資料
PDF描述
TLV5633IPWR PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
TLV5633IDWG4 PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
TLV5633CDWG4 PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
TLV5633CPWRG4 PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
TLV5633CPWG4 PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
相關代理商/技術參數
參數描述
TLV5633CDWRG4 功能描述:數模轉換器- DAC 2.7-5.5-V Low Power 12-Bit DAC RoHS:否 制造商:Texas Instruments 轉換器數量:1 DAC 輸出端數量:1 轉換速率:2 MSPs 分辨率:16 bit 接口類型:QSPI, SPI, Serial (3-Wire, Microwire) 穩定時間:1 us 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:SOIC-14 封裝:Tube
TLV5633CPW 功能描述:數模轉換器- DAC 2.7-5.5-V Low Power 12-Bit DAC RoHS:否 制造商:Texas Instruments 轉換器數量:1 DAC 輸出端數量:1 轉換速率:2 MSPs 分辨率:16 bit 接口類型:QSPI, SPI, Serial (3-Wire, Microwire) 穩定時間:1 us 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:SOIC-14 封裝:Tube
TLV5633CPWG4 功能描述:數模轉換器- DAC 2.7-5.5-V Low Power 12-Bit DAC RoHS:否 制造商:Texas Instruments 轉換器數量:1 DAC 輸出端數量:1 轉換速率:2 MSPs 分辨率:16 bit 接口類型:QSPI, SPI, Serial (3-Wire, Microwire) 穩定時間:1 us 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:SOIC-14 封裝:Tube
TLV5633CPWR 功能描述:數模轉換器- DAC 2.7-5.5-V Low Power 12-Bit DAC RoHS:否 制造商:Texas Instruments 轉換器數量:1 DAC 輸出端數量:1 轉換速率:2 MSPs 分辨率:16 bit 接口類型:QSPI, SPI, Serial (3-Wire, Microwire) 穩定時間:1 us 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:SOIC-14 封裝:Tube
TLV5633CPWRG4 功能描述:數模轉換器- DAC 2.7-5.5-V Low Power 12-Bit DAC RoHS:否 制造商:Texas Instruments 轉換器數量:1 DAC 輸出端數量:1 轉換速率:2 MSPs 分辨率:16 bit 接口類型:QSPI, SPI, Serial (3-Wire, Microwire) 穩定時間:1 us 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:SOIC-14 封裝:Tube
主站蜘蛛池模板: 平江县| 平安县| 道孚县| 镇远县| 黄龙县| 长岭县| 新密市| 大冶市| 六枝特区| 思茅市| 浏阳市| 延津县| 南通市| 磐安县| 长春市| 渭源县| 田林县| 锡林浩特市| 建昌县| 仙桃市| 吉林省| 宁南县| 韶山市| 泽普县| 临沭县| 城固县| 林西县| 北流市| 清苑县| 当涂县| 高雄市| 万荣县| 石城县| 宁南县| 韶山市| 自治县| 托里县| 玛纳斯县| 泸定县| 黎川县| 新民市|