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

參數資料
型號: TLV5633IPWG4
廠商: TEXAS INSTRUMENTS INC
元件分類: DAC
英文描述: PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
封裝: GREEN, PLASTIC, TSSOP-20
文件頁數: 7/25頁
文件大小: 486K
代理商: TLV5633IPWG4
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描述
TLV5633IPWRG4 PARALLEL, WORD INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO20
TLV5636CDR SERIAL INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO8
TLV5636IDGKR SERIAL INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO8
TLV5636IDGK SERIAL INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO8
TLV5636IDR SERIAL INPUT LOADING, 3.5 us SETTLING TIME, 12-BIT DAC, PDSO8
相關代理商/技術參數
參數描述
TLV5633IPWR 功能描述:數模轉換器- 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
TLV5633IPWRG4 功能描述:數模轉換器- 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
TLV5636 制造商:TI 制造商全稱:Texas Instruments 功能描述:2.7 V TO 5.5 V LOW POWER 12-BIT DIGITAL-TO-ANALOG CONVERTER WITH INTERNAL REFERENCE AND POWER DOWN
TLV5636CD 功能描述:數模轉換器- DAC 12bit DAC w/Power D 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
TLV5636CD 制造商:Texas Instruments 功能描述:Digital-Analog Converter IC Interface Ty
主站蜘蛛池模板: 庐江县| 长宁区| 黄浦区| 紫阳县| 栖霞市| 章丘市| 乐安县| 鄂尔多斯市| 中阳县| 华坪县| 连平县| 翁牛特旗| 漾濞| 化州市| 和平区| 通山县| 南木林县| 三门县| 恩平市| 佛教| 宁波市| 沂南县| 自贡市| 札达县| 西城区| 灵丘县| 尉氏县| 华安县| 湘乡市| 阳新县| 冷水江市| 金乡县| 邻水| 鹤壁市| 乐清市| 大姚县| 平舆县| 乐东| 塔城市| 邓州市| 若羌县|