參數(shù)資料
型號: AD8801ARZ-REEL
廠商: Analog Devices Inc
文件頁數(shù): 3/16頁
文件大?。?/td> 0K
描述: IC DAC 8BIT OCTAL W/SD 16SOIC
產(chǎn)品培訓(xùn)模塊: Data Converter Fundamentals
DAC Architectures
標(biāo)準(zhǔn)包裝: 2,500
系列: TrimDAC®
設(shè)置時間: 600ns
位數(shù): 8
數(shù)據(jù)接口: 串行
轉(zhuǎn)換器數(shù)目: 8
電壓電源: 單電源
功率耗散(最大): 27.5mW
工作溫度: -40°C ~ 85°C
安裝類型: 表面貼裝
封裝/外殼: 16-SOIC(0.154",3.90mm 寬)
供應(yīng)商設(shè)備封裝: 16-SOIC
包裝: 帶卷 (TR)
輸出數(shù)目和類型: 8 電壓,單極
采樣率(每秒): 1.7M
AD8801/AD8803
REV. A
–11–
The subroutine begins by setting appropriate bits in the Serial
Control register to configure the serial port for Mode 0 opera-
tion. Next the DAC’s Chip Select input is set low to enable the
AD8801/AD8803. The DAC address is obtained from memory
location DAC_ADDR, adjusted to compensate for the 8051’s
serial data format, and moved to the serial buffer register. At
this point, serial data transmission begins automatically. When
all 8 bits have been sent, the Transmit Interrupt bit is set, and
the subroutine then proceeds to send the DAC value stored at
location DAC_VALUE. Finally the Chip Select input is re-
turned high, causing the appropriate AD8801/AD8803 output
voltage to change, and the subroutine ends.
The 8051 sends data out of its shift register LSB first, while the
AD8801/AD8803 require data MSB first. The subroutine there-
fore includes a BYTESWAP subroutine to reformat the data.
This routine transfers the MSB-first byte at location SHIFT1 to
an LSB-first byte at location SHIFT2. The routine rotates the
MSB of the first byte into the carry with a Rotate Left Carry in-
struction, then rotates the carry into the MSB of the second byte
with a Rotate Right Carry instruction. After 8 loops, SHIFT2
contains the data in the proper format.
The BYTESWAP routine in Listing 1 is convenient because the
DAC data can be calculated in normal LSB form. For example,
producing a ramp voltage on a DAC is simply a matter of re-
peatedly incrementing the DAC_VALUE location and calling
the LD_8801 subroutine.
If the
C’s hardware serial port is being used for other purposes,
the AD8801/AD8803 can be loaded by using the parallel port.
A typical parallel interface is shown in Figure 26. The serial data
is transmitted to the DAC via the 8051’s Port1.7 output, while
Port1.6 acts as the serial clock.
Software for the interface of Figure 26 is contained in Listing 2. The
subroutine will send the value stored at location DAC_VALUE to
the AD8801/AD8803 DAC addressed by location DAC_ADDR.
The program begins by setting the AD8801/AD8803’s Serial
Clock and Chip Select inputs high, then setting Chip Select low
to start the serial interface process. The DAC address is loaded
into the accumulator and three Rotate Right shifts are per-
formed. This places the DAC address in the 3 MSBs of the ac-
cumulator. The address is then sent to the AD8801/AD8803 via
the SEND_SERIAL subroutine. Next, the DAC value is loaded
into the accumulator and sent to the AD8801/AD8803. Finally,
the Chip Select input is set high to complete the data transfer.
; This 8051
C subroutine loads an AD8801 or AD8803 DAC with an 8-bit value,
; using the 8051’s parallel port #1.
; The DAC value is stored at location DAC_VALUE
; The DAC address is stored at location DAC_ADDR
;
; Variable declarations
PORT1
DATA
90H
;SFR register for port 1
DAC_VALUE
DATA
40H
;DAC Value
DAC_ADDR
DATA
41H
;DAC Address (0 through 7)
LOOPCOUNT
DATA
43H
;COUNT LOOPS
;
ORG
100H
;arbitrary start
LD_8803:
ORL
PORT1,#11110000B
;set CLK, /CS and /SHDN high,
CLR
PORT1.5
;Set Chip Select low
MOV
LOOPCOUNT,#3
;Address is 3 bits
MOV
A,DAC_ADDR
; Get DAC address
RR
A
; Rotate the DAC
RR
A
;address to the Most
RR
A
;Significant Bits (MSBs)
ACALL
SEND_SERIAL
;Send the address
MOV
LOOPCOUNT,#8
;Do 8 bits of data
MOV
A,DAC_VALUE
ACALL
SEND_SERIAL
;Send the data
SETB
PORT1.5
;Set /CS high
RET
;DONE
SEND_SERIAL:
RLC
A
;Move next bit to carry
MOV
PORT1.7,C
;Move data to SDI
CLR
PORT1.6
;Pulse the
SETB
PORT1.6
; CLK input
DJNZ
LOOPCOUNT,SEND_SERIAL
;Loop if not done
RET;
END
Listing 2. Software for the 8051 to AD8801/AD8803 Parallel Port Interface
相關(guān)PDF資料
PDF描述
V150A3V3H264BG3 CONVERTER MOD DC/DC 3.3V 264W
AD5304BRM-REEL7 IC DAC 8BIT QUAD VOUT 10-MSOP
V150A3V3H264BG CONVERTER MOD DC/DC 3.3V 264W
VI-22K-MW-F2 CONVERTER MOD DC/DC 40V 100W
LTC7545AKSW#TR IC DAC 12BIT PAR MULTIPLY 20SOIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AD8802 制造商:AD 制造商全稱:Analog Devices 功能描述:12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8802AN 制造商:Analog Devices 功能描述:DAC 12-CH R-2R 8-bit 20-Pin PDIP N Tube 制造商:Analog Devices 功能描述:SEMICONDUCTORSLINEAR
AD8802ANZ 功能描述:IC DAC 8BIT 12CH W/SD 20DIP RoHS:是 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 數(shù)模轉(zhuǎn)換器 系列:TrimDAC® 標(biāo)準(zhǔn)包裝:2,400 系列:- 設(shè)置時間:- 位數(shù):18 數(shù)據(jù)接口:串行 轉(zhuǎn)換器數(shù)目:3 電壓電源:模擬和數(shù)字 功率耗散(最大):- 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:36-TFBGA 供應(yīng)商設(shè)備封裝:36-TFBGA 包裝:帶卷 (TR) 輸出數(shù)目和類型:* 采樣率(每秒):*
AD8802AR 功能描述:IC DAC 8BIT 12CH W/SD 20-SOIC RoHS:否 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 數(shù)模轉(zhuǎn)換器 系列:TrimDAC® 標(biāo)準(zhǔn)包裝:47 系列:- 設(shè)置時間:2µs 位數(shù):14 數(shù)據(jù)接口:并聯(lián) 轉(zhuǎn)換器數(shù)目:1 電壓電源:單電源 功率耗散(最大):55µW 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:28-SSOP(0.209",5.30mm 寬) 供應(yīng)商設(shè)備封裝:28-SSOP 包裝:管件 輸出數(shù)目和類型:1 電流,單極;1 電流,雙極 采樣率(每秒):*
AD8802AR-REEL 制造商:Analog Devices 功能描述:DAC 12-CH R-2R 8-bit 20-Pin SOIC W T/R