전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AD8804AR 데이터시트(PDF) 10 Page - Analog Devices

부품명 AD8804AR
상세설명  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
Logo AD - Analog Devices

AD8804AR 데이터시트(HTML) 10 Page - Analog Devices

Back Button AD8804AR Datasheet HTML 6Page - Analog Devices AD8804AR Datasheet HTML 7Page - Analog Devices AD8804AR Datasheet HTML 8Page - Analog Devices AD8804AR Datasheet HTML 9Page - Analog Devices AD8804AR Datasheet HTML 10Page - Analog Devices AD8804AR Datasheet HTML 11Page - Analog Devices AD8804AR Datasheet HTML 12Page - Analog Devices AD8804AR Datasheet HTML 13Page - Analog Devices AD8804AR 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.


유사한 부품 번호 - AD8804AR

제조업체부품명데이터시트상세설명
logo
Analog Devices
AD8804AR AD-AD8804AR Datasheet
432Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8804AR AD-AD8804AR Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8804AR AD-AD8804AR Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8804ARU AD-AD8804ARU Datasheet
432Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
AD8804ARU AD-AD8804ARU Datasheet
434Kb / 16P
   12 Channel, 8-Bit TrimDACs with Power Shutdown
REV. 0
More results

유사한 설명 - AD8804AR

제조업체부품명데이터시트상세설명
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
AD8804ANZ AD-AD8804ANZ 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
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


링크 URL




개인정보취급방침
ALLDATASHEET.CO.KR
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