MCP4822 Microchip Technology, MCP4822 Datasheet - Page 31
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
MCP4822
Manufacturer Part Number
MCP4822
Description
8/10/12-Bit Dual Voltage Output Digital-to-Analog Converter
Manufacturer
Microchip Technology
Datasheet
1.MCP4822.pdf
(46 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP4822-E/MS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
MCP4822-E/P
Manufacturer:
Microchip
Quantity:
2 166
Part Number:
MCP4822-E/SN
Manufacturer:
MICRCOHI
Quantity:
20 000
Company:
Part Number:
MCP4822-E/ST
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP4822T-E/MS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
MCP4822T-E/SN
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP4822T-E/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
6.9
Example 6-6
programmable current source using a voltage follower.
The current sensor (sensor resistor) is used to convert
the DAC voltage output into a digitally-selectable
current source.
Adding the resistor network from
be advantageous in this application. The smaller
R
EXAMPLE 6-6:
2010 Microchip Technology Inc.
SENSE
I
where
I
L
b
=
=
-------------- -
R
V
Building Programmable Current
Source
is, the less power dissipated across it.
I
----
(a) Single Output DAC:
(b) Dual Output DAC:
L
sense
OUT
Common-Emitter Current Gain
shows an example of building a
------------ -
+
1
DIGITALLY-CONTROLLED CURRENT SOURCE
MCP4801
MCP4811
MCP4821
MCP4802
MCP4812
MCP4822
Example 6-2
SPI
would
3-wire
V
DAC
DD
D
G
N
n
=
=
=
=
=
Gain selection (1x or 2x)
Digital value of DAC (0-255) for MCP4801/MCP4802
Digital value of DAC (0-1023) for MCP4811/MCP4812
Digital value of DAC (0-4095) for MCP4821/MCP4822
DAC bit resolution
However, this also reduces the resolution that the
current can be controlled with. The voltage divider, or
“window”, DAC configuration would allow the range to
be reduced, thus increasing resolution around the
range of interest. When working with very small sensor
voltages, plan on eliminating the amplifier’s offset error
by storing the DAC’s setting under known sensor
conditions.
V
OUT
MCP4802/4812/4822
V
V
CC
CC
–
+
R
I
SENSE
b
V
DD
Load
or V
REF
I
L
DS22249A-page 31
www.DataSheet4U.com