数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AD8802AR 数据表(PDF) 10 Page - Analog Devices

部件名 AD8802AR
功能描述  12 Channel, 8-Bit TrimDACs with Power Shutdown
Download  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

AD8802AR 数据表(HTML) 10 Page - Analog Devices

Back Button AD8802AR Datasheet HTML 6Page - Analog Devices AD8802AR Datasheet HTML 7Page - Analog Devices AD8802AR Datasheet HTML 8Page - Analog Devices AD8802AR Datasheet HTML 9Page - Analog Devices AD8802AR Datasheet HTML 10Page - Analog Devices AD8802AR Datasheet HTML 11Page - Analog Devices AD8802AR Datasheet HTML 12Page - Analog Devices AD8802AR Datasheet HTML 13Page - Analog Devices AD8802AR Datasheet HTML 14Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 16 page
background image
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.


类似零件编号 - AD8802AR

制造商部件名数据表功能描述
logo
Analog Devices
AD8802AR AD-AD8802AR Datasheet
432Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802AR AD-AD8802AR Datasheet
339Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802AR AD-AD8802AR Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802ARU AD-AD8802ARU Datasheet
432Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802ARU AD-AD8802ARU Datasheet
339Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
More results

类似说明 - AD8802AR

制造商部件名数据表功能描述
logo
Analog Devices
AD8804 AD-AD8804_15 Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802 AD-AD8802_15 Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802ARZ AD-AD8802ARZ Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802 AD-AD8802 Datasheet
432Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8802ARZ AD-AD8802ARZ Datasheet
339Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
logo
Linear Technology
LTC1400 LINER-LTC1400 Datasheet
515Kb / 20P
   Complete SO-8, 12-Bit, 400ksps ADC with Shutdown
LTC1404 LINER-LTC1404 Datasheet
455Kb / 24P
   Complete SO-8, 12-Bit, 600ksps ADC with Shutdown
LTC1400 LINER-LTC1400_15 Datasheet
371Kb / 20P
   Complete SO-8, 12-Bit, 400ksps ADC with Shutdown
LTC1404 LINER-LTC1404_15 Datasheet
339Kb / 24P
   Complete SO-8, 12-Bit, 600ksps ADC with Shutdown
LTC1400 LINER-LTC1400_1 Datasheet
2Mb / 20P
   Complete SO-8, 12-Bit, 400ksps ADC with Shutdown
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

Go To PDF Page


链接网址




隐私政策
ALLDATASHEETCN.COM
ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com