MCP4801T-E/P MICROCHIP [Microchip Technology], MCP4801T-E/P Datasheet - Page 29
![no-image](/images/no-image-200.jpg)
MCP4801T-E/P
Manufacturer Part Number
MCP4801T-E/P
Description
8/10/12-Bit Voltage Output Digital-to-Analog Converter with Internal VREF and SPI Interface
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.MCP4801T-EP.pdf
(48 pages)
6.7
In some applications, precision digital control of the
output range is desirable.
to use the MCP4801/4811/4821 family of devices to
achieve this in a bipolar or single-supply application.
EXAMPLE 6-4:
2010 Microchip Technology Inc.
Thevenin
Equivalent
Selectable Gain and Offset Bipolar
Voltage Output
V
V
OUTB
OUTA
V
IN+
V
O
=
=
=
=
V
V
IN+
SPI
2.048 G
V
------------------------------------------------ -
Offset Adjust Gain Adjust
2.048 G
V
45
OUTB
IN+
BIPOLAR VOLTAGE SOURCE WITH SELECTABLE GAIN AND OFFSET
=
=
R
1
3
V
----------------------------------------------- -
V
-------------------------------------------- -
R
Example 6-4
3
+
V
V
OUTB
4
CC+
B
+
A
DAC
DAC
DD
DD
+
R
----- -
R
R
2
1
D
------
D
------
2
R
R
2
V
R
4
N
N
4
3
n
R
n
CC-
4
–
A
B
+
+
45
+
V
R
R
R
V
OUTA
+
Bipolar “Window” DAC using R
3
5
45
CC-
V
(DAC
(DAC
45
V
V
illustrates how
R
OUTA
OUTB
R
5
R
----- -
R
3
2
1
A
B
for Gain Adjust)
for Offset Adjust)
R
V
45
O
=
=
Offset Adjust Gain Adjust
------------------ -
R
V
R
4
IN+
R
D
4
R
G
+
N
3
n
R
1
R
5
1
This circuit is typically used for linearizing a sensor
whose slope and offset varies.
The equation to design a bipolar “window” DAC would
be utilized if R
5
=
=
=
=
=
V
+
MCP4801/4811/4821
CC
R
----- -
R
Gain selection (1x or 2x)
DAC bit resolution
Digital value of DAC (0-255) for MCP4801
Digital value of DAC (0-1023) for MCP4811
Digital value of DAC (0-4095) for MCP4821
2
1
–
V
4
–
CC
R
R
and R
V
4
5
+
OUTA
V
IN
0.1 µF
+
3
5
, R
R
----- -
R
2
1
4
and R
5
V
V
are populated.
CC
R
CC
2
+
–
DS22244B-page 29
V
O