mcp4725 PDF
mcp4725 PDF
mcp4725 PDF
VDD 3 4 SDA
Control
Op
VSS Amp
VOUT
ELECTRICAL CHARACTERISTICS
Electrical Specifications: Unless otherwise indicated, all parameters apply at VDD = + 2.7V to 5.5V, VSS = 0V,
RL = 5 k from VOUT to VSS, CL = 100 pF, TA = -40C to +125C. Typical values are at +25C.
Parameter Sym Min Typ Max Units Conditions
Power Requirements
Operating Voltage VDD 2.7 5.5 V
Supply Current IDD 210 400 A Digital input pins are
grounded, Output pin (VOUT)
is not connected (unloaded),
Code = 000h
Power-Down Current IDDP 0.06 2.0 A VDD = 5.5V
Power-On-Reset VPOR 2 V
Threshold Voltage
DC Accuracy
Resolution n 12 Bits Code Range = 000h to FFFh
INL Error INL 2 14.5 LSB Note 1
DNL DNL -0.75 0.2 0.75 LSB Note 1
Offset Error VOS 0.02 0.75 % of FSR Code = 000h
Offset Error Drift VOS/C 1 ppm/C -45C to +25C
2 ppm/C +25C to +85C
Gain Error GE -2 -0.1 2 % of FSR Code = FFFh,
Offset error is not included.
Gain Error Drift GE/C -3 ppm/C
Output Amplifier
Phase Margin pM 66 Degree() CL = 400 pF, RL =
Capacitive Load Stability CL 1000 pF RL = 5 k, Note 2
Slew Rate SR 0.55 V/s
Short Circuit Current ISC 15 24 mA VDD = 5V, VOUT = Grounded
Output Voltage Settling TS 6 s Note 3
Time
Note 1: Test Code Range: 100 to 4000.
2: This parameter is ensure by design and not 100% tested.
3: Within 1/2 LSB of the final value when code changes from 1/4 to 3/4 (400h to C00h) of full scale range.
4: Logic state of external address selection pin (A0 pin).
0.16 0.4
VDD = 2.7V
0.12 0.3
DNL (LSB)
DNL (LSB)
0.08 0.2
0.04 0.1
0 0.0
-0.04 -0.1
0 1024 2048 3072 4096 0 1024 2048 3072 4096
Code Code
FIGURE 2-1: DNL vs. Code (VDD = 5.5V). FIGURE 2-4: DNL vs. Code and
Temperature (TA = -40C to +125C).
0.3 2
VDD = 5.5V
1
0.2 5.5V
0
DNL (LSB)
INL(LSB)
0.1 -1
-2 2.7V
0
-3
-0.1 -4
0 1024 2048 3072 4096 0 1024 2048 3072 4096
Code Code
FIGURE 2-2: DNL vs. Code and FIGURE 2-5: INL vs. Code.
Temperature (TA = -40C to +125C).
0.3 2
+25C
1
0.2 - 40C
0
DNL (LSB)
INL(LSB)
0.1 -1
-2
0.0 +85C
+125C
-3
-0.1 -4
0 1024 2048 3072 4096 0 1024 2048 3072 4096
Code Code
FIGURE 2-3: DNL vs. Code (VDD = 2.7V). FIGURE 2-6: INL vs. Code and
Temperature (VDD = 5.5V).
2 3
+25C - 40C
1 2
-1
-1
-2 -2
VDD = 5.5V
-3 -3
+85C
-4 -4
+125C TA = -40 C TA = 25 C
TA = 85 C TA = 125 C -5
-5
-40 -25 -10 5 20 35 50 65 80 95 110 125
0 1024 2048 3072 4096
Code Temperature (C)
FIGURE 2-7: INL vs. Code and FIGURE 2-10: Output Error vs.
Temperature (VDD = 2.7V). Temperature (Code = 4000d).
3 450
400
Zero Scale Error (mV)
-1 50
-40 -25 -10 5 20 35 50 65 80 95 110 125 0
-40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C) Temperature(C)
FIGURE 2-8: Zero Scale Error vs. FIGURE 2-11: IDD vs. Temperature.
Temperature (Code = 000d).
-10
Full-Scale Error (mV)
-30
-40
VDD = 5.5V
-50
-60
-40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C)
100 6
VDD = 5V
90
80 5
70 VDD = 5V
Occurance
4 Code = FFFh
60
VOUT (V)
50 3
40
30 2
20
10 1
0 0
180
184
188
192
196
200
204
208
212
216
220
224
228
232
236
0 1 2 3 4 5
Current (A) Load Resistance (k)
FIGURE 2-12: IDD Histogram . FIGURE 2-15: VOUT vs. Resistive Load.
6
80 VDD = 5V
VDD = 2.7V
70 5
Code = FFFh
60
4
Occurance
50
VOUT (V)
40 3
30 2
20
10 1
Code = 000h
0 0
163
165
167
169
171
173
175
177
179
181
183
185
187
189
191
193
0 4 8 12 16
FIGURE 2-13: IDD Histogram. FIGURE 2-16: Source and Sink Current
Capability.
2.50
3.50
VDD = 5.5V
2.00
Offset Error (mV)
5.5V
3.00
VIH Threshold (V)
0.50
1.50 VDD = 2.7V
0.00 1.00
-40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C) Temperature (C)
FIGURE 2-14: Offset Error vs. Temperature FIGURE 2-17: VIN High Threshold vs.
and VDD. Temperature and VDD.
1.90 (2V/Div)
1.70 VDD = 5.0V
1.50
1.30
1.10
0.90
VDD = 2.7V
0.70
0.50 CLK
-40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C) Time (2 s/Div)
FIGURE 2-18: VIN Low Threshold vs. FIGURE 2-21: Half Scale Settling Time.
Temperature and VDD.
Full Scale Code Change: 000h to FFFh Half Scale Code Change: 7FFh to 000h
VOUT VOUT
(2V/Div) (2V/Div)
CLK CLK
FIGURE 2-19: Full Scale Settling Time. FIGURE 2-22: Half Scale Settling Time.
Full Scale Code Change: FFFh to 000h Code Change: 800h to 7FFh
VOUT
VOUT (20 mV/Div)
(2V/Div)
CLK
FIGURE 2-20: Full Scale Settling Time. FIGURE 2-23: Code Change Glitch.
VOUT
(2V/Div)
CLK
Time (2 s/Div)
3.1 Analog Output Voltage (VOUT) 3.4 Serial Clock Pin (SCL)
VOUT is an analog output voltage from the DAC device. SCL is the serial clock pin of the I2C interface. The
DAC output amplifier drives this pin with a range of VSS MCP4725 acts only as a slave and the SCL pin accepts
to VDD. only external serial clocks. The input data from the
Master device is shifted into the SDA pin on the rising
3.2 Supply Voltage (VDD or VSS) edges of the SCL clock and output from the MCP4725
occurs at the falling edges of the SCL clock. The SCL
VDD is the power supply pin for the device. The voltage pin is an open-drain N-channel driver. Therefore, it
at the VDD pin is used as the supply input as well as the needs a pull-up resistor from the VDD line to the SCL
DAC reference input. The power supply at the VDD pin pin. Refer to Section 7.0 I2C Serial Interface Com-
should be clean as possible for a good DAC munication for more details of I2C Serial Interface
performance. communication.
This pin requires an appropriate bypass capacitor of
about 0.1 F (ceramic) to ground. An additional 10 F 3.5 Device Address Selection Pin (A0)
capacitor (tantalum) in parallel is also recommended to
further attenuate high frequency noise present in This pin is used to select the A0 address bit by the user.
application boards. The supply voltage (VDD) must be The user can tie this pin to VSS (logic 0), or VDD
maintained in the 2.7V to 5.5V range for specified (logic 1), or can be actively driven by the digital logic
operation. levels, such as the I2C Master Output. See Section 7.2
Device Addressing for more details of the address
VSS is the ground pin and the current return path of the bits.
device. The user must connect the VSS pin to a ground
plane through a low impedance connection. If an
analog ground path is available in the application PCB
(printed circuit board), it is highly recommended that
the VSS pin be tied to the analog ground path or
isolated within an analog ground plane of the circuit
board.
4.1 Resolution 7
INL = < -1 LSB
The resolution is the number of DAC output states that 6
divide the full scale range. For the 12-bit DAC, the INL = - 1 LSB
5
resolution is 212 or the DAC code ranges from 0 to
4095. Analog 4
Output
(LSB) 3 INL = 0.5 LSB
4.2 LSB
The least significant bit or the ideal voltage difference 2
between two successive codes.
1
EQUATION 4-1: 0
V REF ( V Full Scale V Zero Scale ) 000 001 010 011 100 101 110 111
LSB Ideal = ------------
n
- = ------------------------------------------------------------------ DAC Input Code
n
2 2 1
Where: Ideal Transfer Function
Actual Transfer Function
VREF = The reference voltage = VDD in the
MCP4725. This VREF is the ideal FIGURE 4-1: INL Accuracy.
full scale voltage range
n = The number of digital input bits. 4.4 Differential Nonlinearity (DNL)
(n = 12 for MCP4725)
Differential nonlinearity error (Figure 4-2) is the
measure of step size between codes in actual transfer
4.3 Integral Nonlinearity (INL) or function. The ideal step size between codes is 1 LSB.
Relative Accuracy A DNL error of zero would imply that every code is
exactly 1 LSB wide. If the DNL error is less than 1 LSB,
INL error is the maximum deviation between an actual the DAC guarantees monotonic output and no missing
code transition point and its corresponding ideal codes. The DNL error between any two adjacent codes
transition point (straight line). Figure 2-5 shows the INL is calculated as follows:
curve of the MCP4725. The end-point method is used
for the calculation. The INL error at a given input DAC
EQUATION 4-3:
code is calculated as:
V OUT LSB
EQUATION 4-2: DNL = ---------------------------------
-
LSB
( V OUT V Ideal ) Where:
INL = --------------------------------------
-
LSB VOUT = The measured DAC output
Where: voltage difference between two
VIdeal = Code*LSB adjacent input codes.
VOUT = The output voltage measured at
the given input code
Offset error (Figure 4-3) is the deviation from zero volt- VIdeal = (VREF) (1 - 2-n) - VOFFSET
age output when the digital input code is zero. This VREF = The reference voltage.
error affects all codes by the same amount. In the VREF = VDD in the MCP4725
MCP4725, the offset error is not trimmed at the factory.
However, it can be calibrated by software in application
circuits.
Write DAC Register using Fast Mode Write Command: (C2, C1) = (0, 0)
see Note 2
ACK (MCP4725) ACK (MCP4725) ACK (MCP4725)
1st byte (Device Addressing) 2nd byte 3rd byte
R/W
Device Code Address DAC Register Data (12 bits)
STOP Bit
START Bit Bits Power Down Select
see Note 1 Fast Mode Command (C2, C1 = 0, 0)
Read/Write Command
Note 1: A2 and A1 bits are programmed at the factory by hard-wired, and A0 bit is determined by the logic state
of A0 pin.
2: The device updates VOUT at the falling edge of the ACK pulse of the 3rd byte.
1st byte (Device Addressing) 2nd byte 3rd byte 4th byte
The device updates the VOUT after this ACK pulse is issued.
For EEPROM Write:
- The Charge Pump initiates the EEPROM writing sequence at the falling edge of this ACK pulse.
- The RDY/BSY bit (pin) goes low at the falling edge of this ACK pulse and back to high immediately after
the EEPROM write is completed.
Note 1: RDY/BSY bit stays low during the EEPROM write. Any new write command including repeat bytes during the
EEPROM write mode is ignored.
The RDY/BSY bit sets to high after the EEPROM write is completed.
FIGURE 6-2: Write Commands for DAC Input Register and EEPROM.
R/W
Current Settings DAC register Data (12 bits)
Device Code Address Bits in DAC Register
START Bit See Note 2
EEPROM Write Status Indicate Bit
(1: Completed, 0: Incomplete)
EEPROM Data
SDA
TF THIGH TR
SCL TSU:STA
TSU:STO
TLOW TSU:DAT
THD:DAT TBUF
SDA THD:STA 0.7VDD
TSP
0.3VDD
TAA
ACK
fast, and high speed) and loading capacitance of the 1 1 0 0 A2 A1 A0 1
SDA
I2C bus line. Higher value of pull-up resistor consumes
less power, but increases the signal transition time START START
(higher RC time constant) on the bus. Therefore, it can Bit Device bits Address bits Bit
limit the bus operating speed. The lower resistor value, R/W
on the other hand, consumes higher power, but allows MCP4725
higher operating speed. If the bus line has higher Response
capacitance due to long bus line or high number of
devices connected to the bus, a smaller pull-up resistor
FIGURE 8-2: I2C Bus Connection Test.
is needed to compensate the long RC time constant.
The pull-up resistor is typically chosen between 1 k
and 10 k ranges for standard and fast modes, and
less than 1 k for high speed mode.
VDD
MCP4725
1 VOUT A0 6
Analog
Output 2 VSS SCL 5
R
3 VDD SDA 4 R
VDD To MCU
0.1 F 10 F (MASTER)
VDD
MCP4725
Dn = Input Code (0 to 4095)
1 VOUT A0 6 R R Dn
V OUT = V DD ------------
2 VSS SCL 5 To MCU 4096
(MASTER) R2
3 VDD SDA 4 V TRIP = V OUT -------------------
R 1 + R 2
VDD
0.1 F 10 F Light VDD
R2 0.1 F
VDD
MCP4725
1 VOUT A0 6 R R
To MCU
2 VSS SCL 5
(MASTER)
3 VDD SDA 4
VDD
0.1 F 10 F
VCC+ VCC+
Rsense
R3 Comparator
R1 VTRIP
VOUT
VCC-
R2 0.1 F
VCC-
Dn
V OUT = V DD -------
12 Where: Dn = DAC Input Code (0 4095)
2
R2 R3 R1
R 23 = ------------------
-
R2 + R3 VOUT VO
Thevenin
Equivalent ( V CC+ R 2 ) + ( V CC- R 3 )
V 23 = ------------------------------------------------------ R23
R2 + R3
V OUT R 23 + V 23 R 1
V trip = --------------------------------------------
- V23
R 2 + R 23
VDD
MCP4725
1 VOUT A0 6 R R
To MCU
2 VSS SCL 5 (MASTER)
3 VDD SDA 4 R2
VDD
VDD
0.1 F 10 F VCC+
R1
R3 VO
VOUT VIN+
VCC
R4 0.1 F
Dn
V OUT = V DD ------- 12 Where: Dn = DAC Input Code (0 4095)
2
V OUT R 4
V IN+ = -------------------
-
R3 + R4
R R2
V O = V IN+ 1 + -----2- V DD ------
R1 R 1
R 2 2.05 2.05- R
--------- = ------------- = ------------ -----2- = 1---
R1 V DD 4.1 R1 2
R4 2.05V + ( 0.5 V DD )
- = 2---
- = ------------------------------------------------
-----------------------
( R3 + R4 ) 1.5 V DD 3
If R4 = 20 k, then R3 = 10 k
VDD
MCP4725
A0 6 R R
1 VOUT To MCU
2 VSS SCL 5
(MASTER)
3 VDD SDA 4
VDD
0.1 F 10 F VDD
Dn
V OUT = V DD ------------
4096
LOAD IL
VOUT Dn = Input Code (0 to 4095)
V OUT
I L = ------------------ -------------
R SENSE + 1
IB
I
I B = ----L
RSENSE
PICkit Serial
DAC Analog Output
Address
Part Number Code
Option
Note: In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line, thus limiting the number of available
characters for customer-specific information.
/$
!$%
$
0
".!1
!
!
$
20
&$$
"$
$$
,33...
3
0
N 4
E
E1
PIN 1 ID BY
LASER MARK
1 2 3
e
e1
A A2 c
L
A1
L1
4$! 55##
!5 $! 6 67 8
6% 9
&2! 6
2$
)*+
7%$!"
5
"2$
*+
7-
:
$ ; )
"
"20
0
!! < ;
$"&& ; )
7-
="$ # ;
"
"20
="$ # ; <
7-
5
$ ;
/$5
$ 5 ;
/$
$ 5 ) ; <
/$
> ; >
5
"0
!! < ;
5
"="$ 9 ; )
!!"#"$%"
"&!
$%!!"&!
$%!!!$
'
"
!"
!"$
#()
*+, *!
!
$
'$-%
!..$%$$
!
. + <*
Device Address Tape and Temperature Package a) MCP4725A0T-E/CH: Tape and Reel,
Options Reel Range Extended Temp.,
6LD SOT-23 pkg.
Address Option = A0
Device: MCP4725: Single Channel 12-Bit DAC w/EEPROM
b) MCP4725A1T-E/CH: Tape and Reel,
Memory
Extended Temp.,
6LD SOT-23 pkg.
Address Options: XX A2 A1 A0 Address Option = A1
A0 * = 0 0 External c) MCP4725A2T-E/CH: Tape and Reel,
A1 = 0 1 External
Extended Temp.,
6LD SOT-23 pkg.
A2 = 1 0 External Address Option = A2
A3 = 1 1 External d) MCP4725A3T-E/CH: Tape and Reel,
* Default option. Contact Microchip factory for other Extended Temp.,
address options 6LD SOT-23 pkg.
Address Option = A3
Tape and Reel: T = Tape and Reel
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchips Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as unbreakable.
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchips code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
03/26/09