參數(shù)資料
型號: AD8801AR
廠商: ANALOG DEVICES INC
元件分類: DAC
英文描述: Octal 8-Bit TrimDAC with Power Shutdown
中文描述: OCTAL, SERIAL INPUT LOADING, 0.6 us SETTLING TIME, 8-BIT DAC, PDSO16
封裝: 1.50 MM HEIGHT, SO-16
文件頁數(shù): 11/16頁
文件大?。?/td> 213K
代理商: AD8801AR
AD8801/AD8803
REV. A
–11–
T he 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. T he 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 T ransmit 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.
T he 8051 sends data out of its shift register LSB first, while the
AD8801/AD8803 require data MSB first. T he subroutine there-
fore includes a BYT ESWAP subroutine to reformat the data.
T his routine transfers the MSB-first byte at location SHIFT 1 to
an LSB-first byte at location SHIFT 2. T he 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, SHIFT 2
contains the data in the proper format.
T he BYT ESWAP 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. T he 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. T he
subroutine will send the value stored at location DAC_VALUE to
the AD8801/AD8803 DAC addressed by location DAC_ADDR.
T he 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. T he DAC address is loaded
into the accumulator and three Rotate Right shifts are per-
formed. T his places the DAC address in the 3 MSBs of the ac-
cumulator. T he 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.
; T his 8051
μ
C subroutine loads an AD8801 or AD8803 DAC with an 8-bit value,
; using the 8051’s parallel port #1.
; T he DAC value is stored at location DAC_VALUE
; T he DAC address is stored at location DAC_ADDR
;
; Variable declarations
PORT 1
DAT A
DAC_VALUE
DAT A
DAC_ADDR
DAT A
LOOPCOUNT
DAT A
;
ORG
LD_8803:
ORL
CLR
MOV
MOV
RR
RR
RR
ACALL
MOV
MOV
ACALL
SET B
RET
90H
40H
41H
43H
;SFR register for port 1
;DAC Value
;DAC Address (0 through 7)
;COUNT LOOPS
100H
PORT 1,#11110000B
PORT 1.5
LOOPCOUNT ,#3
A,DAC_ADDR
A
A
A
SEND_SERIAL
LOOPCOUNT ,#8
A,DAC_VALUE
SEND_SERIAL
PORT 1.5
;arbitrary start
;set CLK , /CS and /SHDN high,
;Set Chip Select low
;Address is 3 bits
; Get DAC address
; Rotate the DAC
;address to the Most
;Significant Bits (MSBs)
;Send the address
;Do 8 bits of data
;Send the data
;Set /CS high
;DONE
SEND_SERIAL:
RLC
MOV
CLR
SET B
DJNZ
RET ;
END
A
PORT 1.7,C
PORT 1.6
PORT 1.6
LOOPCOUNT ,SEND_SERIAL
;Move next bit to carry
;Move data to SDI
;Pulse the
; CLK input
;Loop if not done
Listing 2. Software for the 8051 to AD8801/AD8803 Parallel Port Interface
相關(guān)PDF資料
PDF描述
AD8804AN 12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8804AR 12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8804ARU 12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8802 12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8802AN 12 Channel, 8-Bit TrimDACs with Power Shutdown
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AD8801AR-REEL 功能描述:IC DAC 8BIT OCTAL W/SD 16-SOIC RoHS:否 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 數(shù)模轉(zhuǎn)換器 系列:TrimDAC® 產(chǎn)品培訓(xùn)模塊:LTC263x 12-, 10-, and 8-Bit VOUT DAC Family 特色產(chǎn)品:LTC2636 - Octal 12-/10-/8-Bit SPI VOUT DACs with 10ppm/°C Reference 標(biāo)準(zhǔn)包裝:91 系列:- 設(shè)置時間:4µs 位數(shù):10 數(shù)據(jù)接口:MICROWIRE?,串行,SPI? 轉(zhuǎn)換器數(shù)目:8 電壓電源:單電源 功率耗散(最大):2.7mW 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:14-WFDFN 裸露焊盤 供應(yīng)商設(shè)備封裝:14-DFN-EP(4x3) 包裝:管件 輸出數(shù)目和類型:8 電壓,單極 采樣率(每秒):*
AD8801ARZ 功能描述:IC DAC 8BIT OCTAL W/SD 16-SOIC RoHS:是 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 數(shù)模轉(zhuǎn)換器 系列:TrimDAC® 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:50 系列:- 設(shè)置時間:4µs 位數(shù):12 數(shù)據(jù)接口:串行 轉(zhuǎn)換器數(shù)目:2 電壓電源:單電源 功率耗散(最大):- 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:8-TSSOP,8-MSOP(0.118",3.00mm 寬) 供應(yīng)商設(shè)備封裝:8-uMAX 包裝:管件 輸出數(shù)目和類型:2 電壓,單極 采樣率(每秒):* 產(chǎn)品目錄頁面:1398 (CN2011-ZH PDF)
AD8801ARZ-REEL 功能描述:IC DAC 8BIT OCTAL W/SD 16SOIC RoHS:是 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 數(shù)模轉(zhuǎn)換器 系列:TrimDAC® 產(chǎn)品培訓(xùn)模塊:LTC263x 12-, 10-, and 8-Bit VOUT DAC Family 特色產(chǎn)品:LTC2636 - Octal 12-/10-/8-Bit SPI VOUT DACs with 10ppm/°C Reference 標(biāo)準(zhǔn)包裝:91 系列:- 設(shè)置時間:4µs 位數(shù):10 數(shù)據(jù)接口:MICROWIRE?,串行,SPI? 轉(zhuǎn)換器數(shù)目:8 電壓電源:單電源 功率耗散(最大):2.7mW 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:14-WFDFN 裸露焊盤 供應(yīng)商設(shè)備封裝:14-DFN-EP(4x3) 包裝:管件 輸出數(shù)目和類型:8 電壓,單極 采樣率(每秒):*
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