参数资料
型号: AD8802AR
厂商: 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
文件页数: 11/16页
文件大小: 432K
代理商: AD8802AR
AD8802/AD8804
REV. 0
–11–
; This 8051
μ
C subroutine loads an AD8802 or AD8804 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
DAC_VALUE
DATA
DAC_ADDR
DATA
LOOPCOUNT
DATA
;
ORG
LD_8804:
ORL
CLR
MOV
MOV
RR
RR
RR
RR
ACALL
MOV
MOV
ACALL
SETB
RET
90H
40H
41H
43H
;SFR register for port 1
;DAC Value
;DAC Address (0 through 7)
;COUNT LOOPS
100H
PORT1,#11110000B
PORT1.5
LOOPCOUNT,#4
A,DAC_ADDR
A
A
A
A
SEND_SERIAL
LOOPCOUNT,#8
A,DAC_VALUE
SEND_SERIAL
PORT1.5
;arbitrary start
;set CLK, /CS and /SHDN high
;Set Chip Select low
;Address is 4 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
SETB
DJNZ
RET;
END
A
PORT1.7,C
PORT1.6
PORT1.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 AD8802/AD8804 Parallel Port Interface
An MC68HC11-to-AD8802/AD8804 Interface
Like the 8051
μ
C, the MC68HC11 includes a dedicated serial
data port (labeled SPI). The SPI port provides an easy interface
to the AD8802/AD8804 (Figure 27). The interface uses three
lines of Port D for the serial data, and one or two lines from
Port C to control the
SHDN
and
RS
(AD8802 only) inputs.
SDI
CLK
CS
SHDN
RS (
AD8802 ONLY)
AD8802/
AD8804*
MC68HC11*
MOSI
SCK
SS
PC0
PC1
(PD3)
(PD4)
(PD5)
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 26. An AD8802/AD8804-to-MC68HC11 Interface
A software routine for loading the AD8802/AD8804 from a
68HC11 evaluation board is shown in Listing 3. First, the
MC68HC11 is configured for SPI operation. Bits CPHA and
CPOL define the SPI mode wherein the serial clock (SCK) is
high at the beginning and end of transmission, and data is valid
on the rising edge of SCK. This mode matches the requirements
of the AD8802/AD8804. After the registers are saved on the
stack, the DAC value and address are transferred to RAM and
the AD8802/AD8804’s
CS
is driven low. Next, the DAC’s ad-
dress byte is transferred to the SPDR register, which automati-
cally initiates the SPI data transfer. The program tests the SPIF
bit and loops until the data transfer is complete. Then the DAC
value is sent to the SPI. When transmission of the second byte is
complete,
CS
is driven high to load the new data and address
into the AD8802/AD8804.
相关PDF资料
PDF描述
AD8802ARU 12 Channel, 8-Bit TrimDACs with Power Shutdown
AD8804 12 Channel, 8-Bit TrimDACs with Power Shutdown(12通道,带电源关断8位D/A转换器)
AD8842 Precision, Quad, SPST Analog Switches
AD8842AN Precision, Quad, SPST Analog Switches
AD8842AR 8-Bit Octal, 4-Quadrant Multiplying, CMOS TrimDAC
相关代理商/技术参数
参数描述
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 电压,单极 采样率(每秒):*