參數(shù)資料
型號(hào): AD8804AR
廠商: ANALOG DEVICES INC
元件分類: DAC
英文描述: 12 Channel, 8-Bit TrimDACs with Power Shutdown
中文描述: 12, SERIAL INPUT LOADING, 0.6 us SETTLING TIME, 8-BIT DAC, PDSO20
封裝: SOIC-20
文件頁(yè)數(shù): 10/16頁(yè)
文件大?。?/td> 432K
代理商: AD8804AR
AD8802/AD8804
REV. 0
–10–
;
; This subroutine loads an AD8802/AD8804 DAC from an 8051 microcomputer,
; using the 8051’s serial port in MODE 0 (Shift Register Mode).
; The DAC value is stored at location DAC_VAL
; The DAC address is stored at location DAC_ADDR
;
; Variable declarations
;
PORT1
DATA
DAC_VALUE
DATA
DAC_ADDR
DATA
SHIFT1
DATA
SHIFT2
DATA
SHIFT_COUNT
DATA
;
ORG
DO_8802:
CLR
CLR
CLR
CLR
ORL
CLR
MOV
ACALL
MOV
ADDR_WAIT:
JNB
CLR
MOV
ACALL
MOV
VALU_WAIT:
JNB
CLR
SETB
RET
;
BYTESWAP:
MOV
SWAP_LOOP:
MOV
RLC
MOV
MOV
RRC
MOV
DJNZ
RET
END
90H
40H
41H
042H
043H
44H
;SFR register for port 1
;DAC Value
;DAC Address
;high byte of 16-bit answer
;low byte of answer
;
100H
SCON.7
SCON.6
SCON.5
SCON.1
PORT1.1,#00001110B
PORT1.1
SHIFT1,DAC_ADDR
BYTESWAP
SBUF,SHIFT2
SCON.1,ADDR_WAIT
SCON.1
SHIFT1,DAC_VALUE
BYTESWAP
SBUF,SHIFT2
SCON.1,VALU_WAIT
SCON.1
PORT1.1
;arbitrary start
;set serial
;data mode 0
;clr transmit flag
;/RS, /SHDN, /CS high
;set the /CS low
;put DAC value in shift register
;
;send the address byte
;wait until 8 bits are sent
;clear the serial transmit flag
;send the DAC value
;
;
;wait again
;clear serial flag
;/CS high, latch data
; into AD8801
SHIFT_COUNT,#8
A,SHIFT1
A
SHIFT1,A
A,SHIFT2
A
SHIFT2,A
SHIFT_COUNT,SWAP_LOOP
;Shift 8 bits
;Get source byte
;Rotate MSB to carry
;Save new source byte
;Get destination byte
;Move carry to MSB
;Save
;Done
Listing 1. Software for the 8051 to AD8802/AD8804 Serial Port Interface
+5V
P1.7
P1.6
P1.5
P1.4
1.5
1.6
1.7
PORT 1
8051 μC
1.4
CLK
V
REFL
SDI
O1
O12
CS
SHDN
GND
AD8804
V
DD
V
REFH
Figure 25. An AD8802/AD8804-8051
μ
C Interface Using
Parallel Port 1
to start the serial interface process. The DAC address is loaded
into the accumulator and four Rotate Right shifts are per-
formed. This places the DAC address in the 4 MSBs of the ac-
cumulator. The address is then sent to the AD8802/AD8804 via
the SEND_SERIAL subroutine. Next, the DAC value is loaded
into the accumulator and sent to the AD8802/AD8804. Finally,
the Chip Select input is set high to complete the data transfer
Unlike the serial port interface of Figure 24, the parallel port in-
terface only transmits 12 bits to the AD8802/AD8804. Also, the
BYTESWAP subroutine is not required for the parallel inter-
face, because data can be shifted out MSB first. However, the
results of the two interface methods are exactly identical. In
most cases, the decision on which method to use will be deter-
mined by whether or not the serial data port is available for
communication with the AD8802/AD8804.
相關(guān)PDF資料
PDF描述
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
AD8802AR 12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8802ARU 12 Channel, 8-Bit TrimDACs with Power Shutdown
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AD8804AR-REEL 制造商:Rochester Electronics LLC 功能描述:- Tape and Reel
AD8804ARU 制造商:Analog Devices 功能描述:DAC 12-CH R-2R 8-bit 20-Pin TSSOP
AD8804ARU-REEL 制造商:Analog Devices 功能描述:DAC 12-CH R-2R 8-bit 20-Pin TSSOP T/R
AD8804ARUZ 功能描述:IC DAC 8BIT 12CH W/SD 20TSSOP RoHS:是 類別:集成電路 (IC) >> 數(shù)據(jù)采集 - 數(shù)模轉(zhuǎn)換器 系列:TrimDAC® 標(biāo)準(zhǔn)包裝:1 系列:- 設(shè)置時(shí)間:4.5µs 位數(shù):12 數(shù)據(jù)接口:串行,SPI? 轉(zhuǎn)換器數(shù)目:1 電壓電源:單電源 功率耗散(最大):- 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:8-SOIC(0.154",3.90mm 寬) 供應(yīng)商設(shè)備封裝:8-SOICN 包裝:剪切帶 (CT) 輸出數(shù)目和類型:1 電壓,單極;1 電壓,雙極 采樣率(每秒):* 其它名稱:MCP4921T-E/SNCTMCP4921T-E/SNRCTMCP4921T-E/SNRCT-ND
AD8804ARUZ-REEL 功能描述:IC DAC 8BIT 12CH W/SD 20TSSOP 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è)置時(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 電壓,單極 采樣率(每秒):*