AD8801AR-REEL Analog Devices Inc, AD8801AR-REEL Datasheet - Page 14

IC DAC 8BIT OCTAL W/SD 16-SOIC

AD8801AR-REEL

Manufacturer Part Number
AD8801AR-REEL
Description
IC DAC 8BIT OCTAL W/SD 16-SOIC
Manufacturer
Analog Devices Inc
Series
TrimDAC®r
Datasheet

Specifications of AD8801AR-REEL

Rohs Status
RoHS non-compliant
Settling Time
600ns
Number Of Bits
8
Data Interface
Serial
Number Of Converters
8
Voltage Supply Source
Single Supply
Power Dissipation (max)
27.5mW
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
16-SOIC (3.9mm Width)
AD8801/AD8803
*
* Enter Contents of SDI1 Data Register
*
*
* Enter Contents of SDI2 Data Register
*
*
*
* Reset AD8801 to one-half scale (AD8803 does not have a Reset input)
*
*
* Get AD8801/03 ready for data input
*
*
TFRLP
*
WAIT
*
*
* Update AD8801 output
*
*
LDAA
PSHY
PSHA
LDAA
STAA
LDAA
STAA
LDX
LDY
BCLR
BSET
BCLR
STAA
LDAA
BPL
INX
CPX
BNE
BSET
PULA
PULY
PULX
RTS
Listing 3. AD8801/AD8803 to MC68HC11 Interface Program Source Code
$0000
SDI1
$0001
SDI2
#SDI1
#$1000
PORTC,Y $02
PORTC,Y $02
PORTD,Y $20
0,X
SPDR
SPSR
WAIT
#SDI2+1
TFRLP
PORTD,Y $20
Hi-byte data loaded from memory
SDI1 = data in location 0000H
Low-byte data loaded from memory
SDI2 = Data in location 0001H
Stack pointer at 1st byte to send via SDI
Stack pointer at on-chip registers
Assert /RS
De-assert /RS
Assert /CS
Get a byte to transfer via SPI
Write SDI data reg to start xfer
Loop to wait for SPIF
SPIF is the MSB of SPSR
Increment counter to next byte for xfer
Are we done yet ?
If not, xfer the second byte
Latch register & update AD8801
When done, restore registers X, Y & A
** Return to Main Program **
(when SPIF is set, SPSR is negated)
–14–
REV. A

Related parts for AD8801AR-REEL