Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AD8804AR Arkusz danych(PDF) 11 Page - Analog Devices

Numer części AD8804AR
Szczegółowy opis  12 Channel, 8-Bit TrimDACs with Power Shutdown
Download  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  AD [Analog Devices]
Strona internetowa  http://www.analog.com
Logo AD - Analog Devices

AD8804AR Arkusz danych(HTML) 11 Page - Analog Devices

Back Button 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 AD8804AR Datasheet HTML 15Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 16 page
background image
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
90H
;SFR register for port 1
DAC_VALUE
DATA
40H
;DAC Value
DAC_ADDR
DATA
41H
;DAC Address (0 through 7)
LOOPCOUNT
DATA
43H
;COUNT LOOPS
;
ORG
100H
;arbitrary start
LD_8804:
ORL
PORT1,#11110000B
;set CLK, /CS and /SHDN high
CLR
PORT1.5
;Set Chip Select low
MOV
LOOPCOUNT,#4
;Address is 4 bits
MOV
A,DAC_ADDR
;Get DAC address
RR
A
;Rotate the DAC
RR
A
;address to the Most
RR
A
;Significant Bits (MSBs)
RR
A
;
ACALL
SEND_SERIAL
;Send the address
MOV
LOOPCOUNT,#8
;Do 8 bits of data
MOV
A,DAC_VALUE
ACALL
SEND_SERIAL
;Send the data
SETB
PORT1.5
;Set /CS high
RET
;DONE
SEND_SERIAL:
RLC
A
;Move next bit to carry
MOV
PORT1.7,C
;Move data to SDI
CLR
PORT1.6
;Pulse the
SETB
PORT1.6
;CLK input
DJNZ
LOOPCOUNT,SEND_SERIAL
;Loop if not done
RET;
END
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.


Podobny numer części - AD8804AR

ProducentNumer częściArkusz danychSzczegółowy opis
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
339Kb / 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

Podobny opis - AD8804AR

ProducentNumer częściArkusz danychSzczegółowy opis
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
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
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


Arkusz danych Pobierz

Go To PDF Page


Link URL




Polityka prywatności
ALLDATASHEET.PL
Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Linki   |   Lista producentów
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