参数资料
型号: AD8802AR
厂商: Analog Devices Inc
文件页数: 2/16页
文件大小: 0K
描述: IC DAC 8BIT 12CH W/SD 20-SOIC
产品培训模块: Data Converter Fundamentals
DAC Architectures
标准包装: 37
系列: TrimDAC®
设置时间: 600ns
位数: 8
数据接口: 串行
转换器数目: 12
电压电源: 单电源
功率耗散(最大): 60µW
工作温度: -40°C ~ 85°C
安装类型: 表面贴装
封装/外壳: 20-SOIC(0.295",7.50mm 宽)
供应商设备封装: 20-SOIC W
包装: 管件
输出数目和类型: 12 电压,单极
采样率(每秒): 1.7M
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
90H
;SFR register for port 1
DAC_VALUE
DATA
40H
;DAC Value
DAC_ADDR
DATA
41H
;DAC Address
SHIFT1
DATA
042H
;high byte of 16-bit answer
SHIFT2
DATA
043H
;low byte of answer
SHIFT_COUNT
DATA
44H
;
ORG
100H
;arbitrary start
DO_8802:
CLR
SCON.7
;set serial
CLR
SCON.6
;data mode 0
CLR
SCON.5
CLR
SCON.1
;clr transmit flag
ORL
PORT1.1,#00001110B
;/RS, /SHDN, /CS high
CLR
PORT1.1
;set the /CS low
MOV
SHIFT1,DAC_ADDR
;put DAC value in shift register
ACALL
BYTESWAP
;
MOV
SBUF,SHIFT2
;send the address byte
ADDR_WAIT:
JNB
SCON.1,ADDR_WAIT
;wait until 8 bits are sent
CLR
SCON.1
;clear the serial transmit flag
MOV
SHIFT1,DAC_VALUE
;send the DAC value
ACALL
BYTESWAP
;
MOV
SBUF,SHIFT2
;
VALU_WAIT:
JNB
SCON.1,VALU_WAIT
;wait again
CLR
SCON.1
;clear serial flag
SETB
PORT1.1
;/CS high, latch data
RET
; into AD8801
;
BYTESWAP:
MOV
SHIFT_COUNT,#8
;Shift 8 bits
SWAP_LOOP:
MOV
A,SHIFT1
;Get source byte
RLC
A
;Rotate MSB to carry
MOV
SHIFT1,A
;Save new source byte
MOV
A,SHIFT2
;Get destination byte
RRC
A
;Move carry to MSB
MOV
SHIFT2,A
;Save
DJNZ
SHIFT_COUNT,SWAP_LOOP
;Done?
RET
END
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
VREFL
SDI
O1
O12
CS
SHDN
GND
AD8804
VDD
VREFH
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.
相关PDF资料
PDF描述
AD8803AR IC DAC 8BIT OCTAL W/SD 16-SOIC
AD9042ASTZ IC ADC 12BIT 41MSPS 44-TQFP
AD9051BRSRL-2V IC ADC 10BIT 60MSPS 28-SSOP
AD9054ABSTZ-200 IC ADC 8BIT 200MSPS 44-LQFP
AD9057BRS-RL40 IC ADC 8BIT 40MSPS 20-SSOP T/R
相关代理商/技术参数
参数描述
AD8802AR-REEL 制造商:Analog Devices 功能描述:DAC 12-CH R-2R 8-bit 20-Pin SOIC W T/R
AD8802ARU 功能描述:IC DAC 8BIT 12CH W/SD 20-TSSOP RoHS:否 类别:集成电路 (IC) >> 数据采集 - 数模转换器 系列:TrimDAC® 标准包装:47 系列:- 设置时间:2µs 位数:14 数据接口:并联 转换器数目:1 电压电源:单电源 功率耗散(最大):55µW 工作温度:-40°C ~ 85°C 安装类型:表面贴装 封装/外壳:28-SSOP(0.209",5.30mm 宽) 供应商设备封装:28-SSOP 包装:管件 输出数目和类型:1 电流,单极;1 电流,双极 采样率(每秒):*
AD8802ARU-REEL 功能描述:IC DAC 8BIT 12CH W/SD 20-TSSOP RoHS:否 类别:集成电路 (IC) >> 数据采集 - 数模转换器 系列:TrimDAC® 产品培训模块:LTC263x 12-, 10-, and 8-Bit VOUT DAC Family 特色产品:LTC2636 - Octal 12-/10-/8-Bit SPI VOUT DACs with 10ppm/°C Reference 标准包装:91 系列:- 设置时间:4µs 位数:10 数据接口:MICROWIRE?,串行,SPI? 转换器数目:8 电压电源:单电源 功率耗散(最大):2.7mW 工作温度:-40°C ~ 85°C 安装类型:表面贴装 封装/外壳:14-WFDFN 裸露焊盘 供应商设备封装:14-DFN-EP(4x3) 包装:管件 输出数目和类型:8 电压,单极 采样率(每秒):*
AD8802ARUZ 功能描述:IC DAC 8BIT 12CH W/SD 20TSSOP RoHS:是 类别:集成电路 (IC) >> 数据采集 - 数模转换器 系列:TrimDAC® 标准包装:1 系列:- 设置时间:4.5µs 位数:12 数据接口:串行,SPI? 转换器数目:1 电压电源:单电源 功率耗散(最大):- 工作温度:-40°C ~ 125°C 安装类型:表面贴装 封装/外壳:8-SOIC(0.154",3.90mm 宽) 供应商设备封装:8-SOICN 包装:剪切带 (CT) 输出数目和类型:1 电压,单极;1 电压,双极 采样率(每秒):* 其它名称:MCP4921T-E/SNCTMCP4921T-E/SNRCTMCP4921T-E/SNRCT-ND
AD8802ARUZ-REEL 功能描述:IC DAC 8BIT 12CH W/SD 20TSSOP RoHS:是 类别:集成电路 (IC) >> 数据采集 - 数模转换器 系列:TrimDAC® 产品培训模块:LTC263x 12-, 10-, and 8-Bit VOUT DAC Family 特色产品:LTC2636 - Octal 12-/10-/8-Bit SPI VOUT DACs with 10ppm/°C Reference 标准包装:91 系列:- 设置时间:4µs 位数:10 数据接口:MICROWIRE?,串行,SPI? 转换器数目:8 电压电源:单电源 功率耗散(最大):2.7mW 工作温度:-40°C ~ 85°C 安装类型:表面贴装 封装/外壳:14-WFDFN 裸露焊盘 供应商设备封装:14-DFN-EP(4x3) 包装:管件 输出数目和类型:8 电压,单极 采样率(每秒):*