Data Sheet

Table Of Contents
MCP4821/MCP4822
DS21953A-page 24 © 2005 Microchip Technology Inc.
6.8 Designing A Double-Precision
DAC Using A Dual DAC
Example 6-5 illustrates how to design a single-supply
voltage output capable of up to 24-bit resolution from a
dual 12-bit DAC. This design is simply a voltage divider
with a buffered output.
As an example, if a similar application to the one
developed in Section 6.6.1 “Design a Bipolar DAC
Using Example 6-3 required a resolution of 1 µV
instead of 1 mV, and a range of 0V to 4.1V, then 12-bit
resolution would not be adequate.
1. Calculate the resolution needed:
4.1V/1 µV = 4.1e06. Since 2
22
= 4.2e06, 22-bit
resolution is desired. Since DNL = ±0.75 LSb,
this design can be attempted with the MCP482X
family.
2. Since DAC
B
‘s V
OUTB
has a resolution of 1 mV,
its output only needs to be “pulled” 1/1000 to
meet the 1 µV target. Dividing V
OUTA
by 1000
would allow the application to compensate for
DAC
B
‘s DNL error.
3. If R
2
is 100Ω, then R
1
needs to be 100 kΩ.
4. The resulting transfer function is shown in the
equation of Example 6-5.
EXAMPLE 6-5: Simple, Double-Precision DAC.
MCP482X
V
DD
R
2
V
O
MCP482X
V
DD
R
1
DAC
A
(Fine Adjust)
DAC
B
(Course Adjust)
SPI™
3
R
1
>> R
2
V
O
V
OUTA
R
2
V
OUTB
R
1
+
R
1
R
2
+
-----------------------------------------------------
=
G = Gain select (1x or 2x)
D = Digital value of DAC (0 – 4096)
0.1 µF
V
CC
+
V
CC
V
OUTA
2.048V G
A
D
A
2
12
-------
= V
OUTB
2.048V G
B
D
B
2
12
-------
=
V
OUTA
V
OUTB