DAC8420QBC AD [Analog Devices], DAC8420QBC Datasheet - Page 14

no-image

DAC8420QBC

Manufacturer Part Number
DAC8420QBC
Description
Quad 12-Bit Serial Voltage Output DAC
Manufacturer
AD [Analog Devices]
Datasheet
DAC8420
MC68HC11 Microcontroller Interfacing
Figure 32 shows a serial interface between the DAC8420 and
the MC68HC11 8-bit microcontroller. The SCK output of the
68HC11 drives the CLK input of the DAC, and the MOSI port
outputs the serial data to load into the SDI input of the DAC.
The port lines PD5, PC0, PC1, and PC2 provide the controls to
the DAC as shown.
0.1µF
Figure 32. MC68HC11 Microcontroller Interface
+5V SUPPLY
MC68HC11*
10
DAC-8420
*ADDITIONAL PINS OMITTED FOR CLARITY
DIGITAL INPUTS
11
(PD5) SS
4
2
12
CONTROL
DIGITAL
MOSI
VIN
GND
SCK
PC2
PC1
PC0
14
REF-43
15
V
OUT
16
6
9
2.5V
GND
Figure 31. Dual Programmable Window Comparator
DAC A
DAC B
DAC C
DAC D
CS
SDI
5
CLSEL
LD
CLK
CLR
VREFHI
4
VREFLO
DAC-8420*
+5V SUPPLY
8
1
VSS
7
6
3
2
VOUTA
VOUTB
VOUTC
VOUTD
0.1µF
–14–
For correct operation, the 68HC11 should be configured such
that its CPOL bit and CPHA bit are both set to 1. In this con-
figuration, serial data on MOSI of the 68HC11 is valid on the
rising edge of the clock, which is the required timing for the
DAC8420 Data is transmitted in 8-bit bytes (MSB first), with
only eight rising clock edges occurring in the transmit cycle. To
load data to the DAC8420’s input register, PC0 is taken low
and held low during the entire loading cycle. The first 8 bits are
shifted in address first, immediately followed by another 8 bits
in the second least-significant byte to load the complete 16-bit
word. At the end of the second byte load, PC0 is then taken
high. To prevent an additional advancing of the internal shift
register, SCK must already be asserted before PC0 is taken
high. To transfer the contents of the input shift register to the
DAC register, PD5 is then taken low, asserting the LD input of
the DAC and completing the loading process. PD5 should re-
turn high before the next load cycle begins. The DAC8420’s
CLR input, controlled by the output PC1, provides an asyn-
chronous clear function.
VINA
VINB
11
10
5
4
7
6
9
8
CMP-04
C1
C2
C3
C4
+5V
12
3
14
13
2
1
0.1µF
+5V
604
RED LED
+5V
604
RED LED
OUT A
OUT B
REV. 0

Related parts for DAC8420QBC