Beruflich Dokumente
Kultur Dokumente
Features
Potentiometer or Rheostat configuration options
7-bit: Resistor Network Resolution
- 127 Resistors (128 Steps)
Zero Scale to Full Scale Wiper operation
RAB Resistances: 5 k, 10 k, 50 k, or 100 k
Low Wiper Resistance: 100 (typical)
Low Tempco:
- Absolute (Rheostat): 50 ppm typical
(0C to 70C)
- Ratiometric (Potentiometer): 10 ppm typical
Simple I2C Protocol with read & write commands
Brown-out reset protection (1.5V typical)
Power-on Default Wiper Setting (Mid-scale)
Low-Power Operation:
- 2.5 A Static Current (typical)
Wide Operating Voltage Range:
- 2.7V to 5.5V - Device Characteristics
Specified
- 1.8V to 5.5V - Device Operation
Rheostat
Potentiometer
MCP4017
SC70-6
MCP4018
SC70-6
VDD 1
VSS 2
SCL 3
VDD 1
6 A
A
W
5 W
VSS 2
4 SDA
SCL 3
6 W
5 B
4 SDA
MCP4019
SC70-5
VDD 1
VSS 2
SCL 3
5 W
W
B
4 SDA
Control
Interface
# of Steps
Wiper
Configuration
Memory
Type
Device Features
Options (k)
MCP4017
I2C
128
Rheostat
RAM
75
1.8V to 5.5V
SC70-6
MCP4018
I2C
128
Potentiometer
RAM
75
1.8V to 5.5V
SC70-6
MCP4019
I2C
128
Rheostat
RAM
75
1.8V to 5.5V
SC70-5
Device
Resistance (typical)
Wiper
()
VDD
Operating
Range (1)
Package
DS22147A-page 1
MCP4017/18/19
Device Block Diagram
VDD
VSS
SCL
SDA
A (2)
Power-up/
Brown-out
Control
I2C Serial
Interface
Module,
Control
Logic, &
Memory
Resistor
Network 0
(Pot 0)
B (1, 2)
Note 1
HV
Interface
WiperLock
Technology
No
No
SC70-6
Yes
No
SOT-23-6
Yes
Yes
SOT-23-6
Yes
No
Yes
Yes
PDIP-8,
SOIC-8,
MSOP-8,
DFN-8
Control
Interface
# of Steps
Wiper
Configuration
Memory
Type
Resistance (typical)
Options (k)
MCP4017
I2C
128
Rheostat
RAM
1.8V to 5.5V
MCP4012
U/D
64
Rheostat
RAM
1.8V to 5.5V
MCP4022
U/D
64
Rheostat
EE
2.7V to 5.5V
MCP4132
SPI
129
Rheostat
RAM
1.8V to 5.5V
MCP4142
SPI
129
Rheostat
EE
2.7V to 5.5V
MCP4152
SPI
257
Rheostat
RAM
1.8V to 5.5V
Yes
No
MCP4162
SPI
257
Rheostat
EE
2.7V to 5.5V
Yes
Yes
MCP4532
I2C
129
Rheostat
RAM
1.8V to 5.5V
Yes
No
MCP4542
I2C
129
Rheostat
EE
2.7V to 5.5V
Yes
Yes
MCP4552
I2C
257
Rheostat
RAM
1.8V to 5.5V
Yes
No
MCP4562
I2C
257
Rheostat
EE
2.7V to 5.5V
Yes
Yes
MCP4018
I2C
128
Potentiometer
RAM
1.8V to 5.5V
No
No
SC70-6
MCP4013
U/D
64
Potentiometer
RAM
1.8V to 5.5V
Yes
No
SOT-23-6
Device
VDD
Operating
Range (2)
Package
MSOP-8,
DFN-8
MCP4023
U/D
64
Potentiometer
EE
2.7V to 5.5V
Yes
Yes
SOT-23-6
MCP4019
I2C
128
Rheostat
RAM
1.8V to 5.5V
No
No
SC70-5
MCP4014
U/D
64
Rheostat
RAM
1.8V to 5.5V
Yes
No
SOT-23-5
MCP4024
U/D
64
Rheostat
EE
2.7V to 5.5V
Yes
Yes
SOT-23-5
Note 1:
2:
This table is broken into three groups by a thick line (and color coding). The unshaded devices in this table
are the devices described in this data sheet, while the shaded devices offer a comparable resistor network
configuration.
Analog characteristics only tested from 2.7V to 5.5V
DS22147A-page 2
MCP4017/18/19
1.0
ELECTRICAL
CHARACTERISTICS
DS22147A-page 3
MCP4017/18/19
AC/DC CHARACTERISTICS
Standard Operating Conditions (unless otherwise specified)
Operating Temperature
40C TA +125C (extended)
DC Characteristics
All parameters apply across the specified operating ranges unless noted.
VDD = +2.7V to 5.5V, 5 k, 10 k, 50 k, 100 k devices.
Typical specifications represent values for VDD = 5.5V, TA = +25C.
Parameters
Sym
Min
Typ
Max
Units
Conditions
Supply Voltage
VDD
2.7
5.5
1.8
5.5
1.65
VBOR
VDDRR
TBORD
10
20
IDD
45
80
2.5
Supply Current
(Note 8)
Note 1:
2:
3:
4:
5:
6:
7:
8:
(Note 7)
V/ms
DS22147A-page 4
MCP4017/18/19
AC/DC CHARACTERISTICS (CONTINUED)
Standard Operating Conditions (unless otherwise specified)
Operating Temperature
40C TA +125C (extended)
DC Characteristics
Parameters
Resistance
( 20%)
All parameters apply across the specified operating ranges unless noted.
VDD = +2.7V to 5.5V, 5 k, 10 k, 50 k, 100 k devices.
Typical specifications represent values for VDD = 5.5V, TA = +25C.
Sym
RAB
Resolution
Step Resistance
RS
Wiper Resistance
RW
Nominal
Resistance
Tempco
RAB/T
Ratiometeric
Tempco
VWB/T
Resistor Terminal
Input Voltage
Range (Terminals
A, B and W)
Maximum current
through Terminal
(A, W or B)
Note 5
Note 1:
2:
3:
4:
5:
6:
7:
8:
Min
Typ
Max
Units
Conditions
4.0
6.0
8.0
10
12.0
40.0
50
60.0
80.0
100
120.0
RAB /
(127)
128
Taps
No Missing Codes
Note 5
100
170
155
325
50
100
150
15
VA,VW,VB
Vss
VDD
IT
2.5
mA
Terminal A
2.5
mA
Terminal B
2.5
mA
Terminal W
IAW or IBW, W = FS or ZS
1.38
mA
0.688
mA
0.138
mA
0.069
mA
Note 4, Note 5
Terminal A
and
Terminal B
DS22147A-page 5
MCP4017/18/19
AC/DC CHARACTERISTICS (CONTINUED)
Standard Operating Conditions (unless otherwise specified)
Operating Temperature
40C TA +125C (extended)
DC Characteristics
Parameters
Full Scale Error
(MCP4018 only)
(code = 7Fh)
All parameters apply across the specified operating ranges unless noted.
VDD = +2.7V to 5.5V, 5 k, 10 k, 50 k, 100 k devices.
Typical specifications represent values for VDD = 5.5V, TA = +25C.
Sym
Min
Typ
Max
Units
VWFSE
-3.0
-0.1
LSb
5 k
-2.0
-0.1
LSb
10 k
-0.5
-0.1
LSb
50 k
-0.5
-0.1
LSb
+0.1
+3.0
LSb
5 k
+0.1
+2.0
LSb
10 k
+0.1
+0.5
LSb
50 k
+0.1
+0.5
LSb
VWZSE
Conditions
Potentiometer
Integral
Non-linearity
INL
-0.5
0.25
+0.5
LSb
Potentiometer
Differential Nonlinearity
DNL
-0.25
0.125
+0.25
LSb
Bandwidth -3 dB
(See Figure 2-83,
load = 30 pF)
BW
MHz
5 k
Code = 3Fh
Note 1:
2:
3:
4:
5:
6:
7:
8:
MHz
10 k
Code = 3Fh
260
kHz
50 k
Code = 3Fh
100
kHz
DS22147A-page 6
MCP4017/18/19
AC/DC CHARACTERISTICS (CONTINUED)
Standard Operating Conditions (unless otherwise specified)
Operating Temperature
40C TA +125C (extended)
DC Characteristics
All parameters apply across the specified operating ranges unless noted.
VDD = +2.7V to 5.5V, 5 k, 10 k, 50 k, 100 k devices.
Typical specifications represent values for VDD = 5.5V, TA = +25C.
Parameters
Sym
Min
Typ
Max
Rheostat Integral
Non-linearity
MCP4018
(Note 3)
MCP4017 and
MCP4019 devices
only (Note 3)
R-INL
-2.0
0.5
+2.0
LSb
-5.0
+3.5
+5.0
LSb
1.8V (Note 6)
10 k
5.5V, IW = 450 A
LSb
-4.0
+2.5
+4.0
LSb
LSb
1.8V (Note 6)
0.5
+1.125
LSb
-1.5
+1
+1.5
LSb
2.7V, IW = 43 A (Note 6)
LSb
1.8V (Note 6)
-0.8
0.5
+0.8
LSb
-1.125
+0.25
+1.125
LSb
50 k
5.5V, IW = 90 A
-1.125
100 k 5.5V, IW = 45 A
2.7V, IW = 21.5 A (Note 6)
LSb
1.8V (Note 6)
0.25
+0.5
LSb
-0.75
+0.5
+0.75
LSb
LSb
1.8V (Note 6)
5 k
5.5V, IW = 900 mA
-0.5
-0.5
0.25
+0.5
LSb
-0.75
+0.5
+0.75
LSb
LSb
1.8V (Note 6)
0.25
+0.375
LSb
-0.375
0.25
+0.375
LSb
LSb
-0.375
0.25
+0.375
LSb
-0.375
0.25
+0.375
LSb
75
Capacitance (Pw)
CW
120
Capacitance (PB)
CBW
75
7:
8:
LSb
Note 1:
2:
3:
4:
5:
6:
5.5V, IW = 900 A
+2.0
Capacitance (PA)
5 k
0.5
R-DNL
Conditions
-2.0
Rheostat
Differential Nonlinearity
MCP4018
(Note 3)
MCP4017 and
MCP4019 devices
only (Note 3)
Units
LSb
10 k
50 k
5.5V, IW = 450 A
5.5V, IW = 90 A
2.7V, IW = 43 A (Note 6)
1.8V (Note 6)
100 k 5.5V, IW = 45 A
2.7V, IW = 21.5 A (Note 6)
1.8V (Note 6)
pF
pF
pF
DS22147A-page 7
MCP4017/18/19
AC/DC CHARACTERISTICS (CONTINUED)
Standard Operating Conditions (unless otherwise specified)
Operating Temperature
40C TA +125C (extended)
DC Characteristics
All parameters apply across the specified operating ranges unless noted.
VDD = +2.7V to 5.5V, 5 k, 10 k, 50 k, 100 k devices.
Typical specifications represent values for VDD = 5.5V, TA = +25C.
Parameters
Sym
Min
Typ
Max
Units
Conditions
VIH
0.7 VDD
Schmitt Trigger
Low Input
Threshold
VIL
-0.5
0.3VDD
Hysteresis of
Schmitt Trigger
Inputs (Note 5)
VHYS
0.1VDD
N.A.
N.A.
0.1 VDD
0.05 VDD
VSS
0.2VDD
100 kHz
400 kHz
Output Low
Voltage (SDA)
VOL
VSS
0.4
Input Leakage
Current
IIL
-1
CIN, COUT
10
pF
fC = 400 kHz
0h
7Fh
hex
Pin Capacitance
3Fh
NPOR/BOR
hex
Power Requirements
Power Supply
Sensitivity
(MCP4018 only)
Note 1:
2:
3:
4:
5:
6:
7:
8:
PSS
0.0005
0.0035
%/%
DS22147A-page 8
MCP4017/18/19
1.1
SCL
93
91
90
92
SDA
STOP
Condition
START
Condition
FIGURE 1-1:
TABLE 1-1:
I2C AC Characteristics
Param.
Symbol
No.
Characteristic
FSCL
D102
Cb
90
TSU:STA
91
92
93
Bus capacitive
loading
START condition
Setup time
THD:STA START condition
Hold time
TSU:STO STOP condition
Setup time
THD:STO STOP condition
Hold time
Standard Mode
Fast Mode
100 kHz mode
400 kHz mode
100 kHz mode
400 kHz mode
100 kHz mode
400 kHz mode
100 kHz mode
400 kHz mode
100 kHz mode
400 kHz mode
103
SCL
90
100
Units
0
0
4700
600
4000
600
4000
600
4000
600
100
400
400
400
kHz
kHz
pF
pF
ns
ns
ns
ns
ns
ns
ns
ns
Conditions
Cb = 400 pF, 1.8V - 5.5V
Cb = 400 pF, 2.7V - 5.5V
102
107
SDA
In
109
Max
101
106
91
Min
109
92
110
SDA
Out
Note 1: Refer to specification D102 (Cb) for load conditions.
FIGURE 1-2:
DS22147A-page 9
MCP4017/18/19
I2C BUS DATA REQUIREMENTS (SLAVE MODE)
TABLE 1-2:
I2C AC Characteristics
Parameter No.
Sym
Characteristic
100
THIGH
101
TLOW
Max
Units
4000
ns
1.8V-5.5V
600
4700
ns
ns
2.7V-5.5V
1300
1000
ns
ns
102A (5)
TRSCL
102B (5)
TRSDA
20 + 0.1Cb
300
1000
ns
ns
103A (5)
TFSCL
20 + 0.1Cb
300
300
ns
ns
(5)
TFSDA
20 + 0.1Cb
40
300
ns
ns
300
ns
20 + 0.1Cb (4)
0
ns
0
250
ns
ns
100
3450
ns
ns
4700
900
ns
ns
1300
ns
103B
106
107
TSU:DAT
109
TAA
110
TBUF
2:
3:
4:
5:
6:
Output valid
from clock
Bus free time
1.8V-5.5V
2.7V-5.5V
Cb is specified to be from
10 to 400 pF
Cb is specified to be from
10 to 400 pF
Cb is specified to be from
10 to 400 pF
Cb is specified to be from
10 to 400 pF
1.8V-5.5V, Note 6
2.7V-5.5V, Note 6
(2)
(1)
50
ns
suppression
400 kHz mode
50
ns
(SDA and SCL)
As a transmitter, the device must provide this internal minimum delay time to bridge the undefined region
(min. 300 ns) of the falling edge of SCL to avoid unintended generation of START or STOP conditions.
A fast-mode (400 kHz) I2C-bus device can be used in a standard-mode (100 kHz) I2C-bus system, but the
requirement tsu; DAT 250 ns must then be met. This will automatically be the case if the device does not
stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it
must output the next data bit to the SDA line
TR max.+tsu;DAT = 1000 + 250 = 1250 ns (according to the standard-mode I2C bus specification) before
the SCL line is released.
The MCP4018/MCP4019 device must provide a data hold time to bridge the undefined part between VIH
and VIL of the falling edge of the SCL signal. This specification is not a part of the I2C specification, but must
be tested in order to guarantee that the output data will meet the setup and hold specifications for the receiving device.
Use Cb in pF for the calculations.
Not Tested.
A Master Transmitter must provide a delay to ensure that difference between SDA and SCL fall times do not
unintentionally create a Start or Stop condition.
TSP
Note 1:
Data input
setup time
Conditions
DS22147A-page 10
MCP4017/18/19
TEMPERATURE CHARACTERISTICS
Electrical Specifications: Unless otherwise indicated, VDD = +1.8V to +5.5V, VSS = GND.
Parameters
Sym
Min
Typ
Max
Units
TA
-40
+125
TA
-40
+125
TA
-65
+150
JA
331
C/W
JA
TBD
C/W
Conditions
Temperature Ranges
Note 1:
DS22147A-page 11
MCP4017/18/19
NOTES:
DS22147A-page 12
MCP4017/18/19
2.0
Note:
The graphs and tables provided following this note are a statistical summary based on a limited number of
samples and are provided for informational purposes only. The performance characteristics listed herein
are not tested or guaranteed. In some graphs or tables, the data presented may be outside the specified
operating range (e.g., outside specified power supply range) and therefore outside the warranted range.
60
50
IDD (A)
40
400 kHz, 5.5V
30
20
10
0
-40
40
80
Temperature (C)
120
FIGURE 2-1:
Interface Active Current
(IDD) vs. SCL Frequency (fSCL) and Temperature
(VDD = 1.8V, 2.7V and 5.5V).
2
1.8
1.6
1.4
1.2
1
0.8
0.6
0.4
0.2
0
5.5V
2.7V
-40
40
80
120
Temperature (C)
FIGURE 2-2:
Interface Inactive Current
(ISHDN) vs. Temperature and VDD.
(VDD = 1.8V, 2.7V and 5.5V).
DS22147A-page 13
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
DNL
0.2
0.1
INL
80
0
60
-0.1
25C
-0.2
20
-0.3
260
25C Rw
25C INL
25C DNL
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
125C
220
85
INL
180
140
100
RW
60
-40C
25C
-0.2
DNL
20
2000
25C Rw
25C INL
25C DNL
INL
85C Rw
85C INL
85C DNL
DNL
125C Rw
125C INL
125C DNL
0.05
1000
-0.05
-0.15
RW
-0.25
Note:
FIGURE 2-5:
5.0 k : Pot Mode RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V). (A = VDD, B = VSS)
-0.1
-0.2
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
INL
125C
1
RW
60
DNL
-40C
20
-1
32
64
96
Wiper Setting (decimal)
FIGURE 2-7:
5.0 k : Rheo Mode RW
(), INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V).(IW = 450uA, B = VSS)
-40C Rw
-40C INL
-40C DNL
2000
25C Rw
25C INL
25C DNL
RW
85C Rw
85C INL
85C DNL
INL
44
39
34
24
19
1000
14
DNL
500
9
4
-1
0
Note:
125C Rw
125C INL
125C DNL
29
1500
32
64
96
Wiper Setting (decimal)
DS22147A-page 14
85C
25C
25C Rw
25C INL
25C DNL
100
-0.35
-40C Rw
-40C INL
-40C DNL
2500
0.25
0.15
DNL
140
0.35
1500
500
RW
-0.3
180
-40C Rw
-40C INL
-40C DNL
25C
32
64
96
Wiper Setting (decimal)
Error (LSb)
2500
0.1
INL
32
64
96
Wiper Setting (decimal)
FIGURE 2-4:
5.0 k : Pot Mode RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V). (A = VDD, B = VSS)
0.2
FIGURE 2-6:
5.0 k : Rheo Mode RW
(), INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V).(IW = 1.4mA, B = VSS)
-0.3
0
-40C
40
220
-0.1
0.3
260
0.2
125C
60
300
0.3
0.1
125C Rw
125C INL
125C DNL
80
Error (LSb)
-40C Rw
-40C INL
-40C DNL
85C Rw
85C INL
85C DNL
20
FIGURE 2-3:
5.0 k : Pot Mode RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V). (A = VDD, B = VSS).
300
25C Rw
25C INL
25C DNL
85C
32
64
96
Wiper Setting (decimal)
-40C Rw
-40C INL
-40C DNL
100
RW
-40C
40
120
0.3
Error (LSb)
125C
125C Rw
125C INL
125C DNL
Error (LSb)
85C
85C Rw
85C INL
85C DNL
Error (LSb)
100
25C Rw
25C INL
25C DNL
-40C Rw
-40C INL
-40C DNL
Error (LSb)
120
32
64
96
Wiper Setting (decimal)
FIGURE 2-8:
5.0 k : Rheo Mode RW
(), INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V). (IW = TBD, B = VSS)
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
-0.4
0.0
-0.2
-0.6
-0.8
5.5V
-1.0
-1.2
2.7
-1.4
1.8V
-1.6
-1.8
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-9:
5.0 k : Full Scale Error
(FSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
200
180
160
140
120
100
80
60
40
20
0
2.7V
5.5V
32
64
96
Wiper Setting (decimal)
FIGURE 2-12:
FIGURE 2-13:
Response Time.
1.8
1.6
1.4
1.2
1.8V
1.0
2.7
0.8
0.6
0.4
5.5V
0.2
0.0
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-10:
5.0 k : Zero Scale Error
(ZSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
5200
5180
5160
5140
5120
5100
5080
5060
5040
5020
5000
Wiper
VDD
1.8V
2.7V
5.5V
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-11:
5.0 k : Nominal Resistance
() vs. Temperature and VDD.
FIGURE 2-14:
5.0 k : Digital Feedthrough
(SCL signal coupling to Wiper pin).
DS22147A-page 15
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
FIGURE 2-15:
5.0 k : Write Wiper (40h
3Fh) Settling Time (VDD=5.5V).
FIGURE 2-18:
5.0 k : Write Wiper (FFh
00h) Settling Time (VDD=5.5V).
FIGURE 2-16:
5.0 k : Write Wiper (40h
3Fh) Settling Time (VDD=2.7V).
FIGURE 2-19:
5.0 k : Write Wiper (FFh
00h) Settling Time (VDD=2.7V).
FIGURE 2-17:
5.0 k : Write Wiper (40h
3Fh) Settling Time (VDD=1.8V).
FIGURE 2-20:
5.0 k : Write Wiper (FFh
00h) Settling Time (VDD=1.8V).
DS22147A-page 16
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
0.2
0.1
80
0
60
-0.1
-40C
DNL
RW
INL
25C
-0.2
20
-0.3
260
25C Rw
25C INL
25C DNL
INL
220
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
0.1
180
140
RW
25C
60
-0.2
-40C
20
125C Rw
125C INL
125C DNL
0.25
2000
0.05
-0.05
RW
-0.15
-0.25
FIGURE 2-23:
10 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V). (A = VDD, B = VSS)
125C Rw
125C INL
125C DNL
125C
RW
25C
60
-40C
DNL
INL
20
-1
32
64
96
Wiper Setting (decimal)
FIGURE 2-25:
10 k Rheo Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V).(IW = 210uA, B = VSS)
-40C Rw
-40C INL
-40C DNL
3000
25C Rw
25C INL
25C DNL
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
39
34
29
24
2000
19
INL
1000
RW
4
-1
Note:
14
9
DNL
32
64
96
Wiper Setting (decimal)
85C Rw
85C INL
85C DNL
100
-0.35
Note:
INL
25C Rw
25C INL
25C DNL
85C
0.35
0.15
DNL
1000
-40C Rw
-40C INL
-40C DNL
140
85C Rw
85C INL
85C DNL
Error (LSb)
3000
25C Rw
25C INL
25C DNL
-0.3
32
64
96
Wiper Setting (decimal)
FIGURE 2-22:
10 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V). (A = VDD, B = VSS)
-0.1
-0.2
INL
180
32
64
96
Wiper Setting (decimal)
-40C Rw
-40C INL
-40C DNL
25C
FIGURE 2-24:
10 k Rheo Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V).(IW = 450uA, B = VSS)
-0.3
0
RW
-40C
40
220
-0.1
DNL
100
0.2
260
0.2
0.3
0.1
60
300
0.3
125C
85
125C Rw
125C INL
125C DNL
125C DNL
85C
Error (LSb)
-40C Rw
-40C INL
-40C DNL
85C Rw
85C INL
85C DNL
20
FIGURE 2-21:
10 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V). (A = VDD, B = VSS)
300
25C Rw
25C INL
25C DNL
80
32
64
96
Wiper Setting (decimal)
-40C Rw
-40C INL
-40C DNL
100
125C
85C
40
120
0.3
Error (LSb)
100
125C Rw
125C INL
125C DNL
Error (LSb)
85C Rw
85C INL
85C DNL
Error (LSb)
25C Rw
25C INL
25C DNL
-40C Rw
-40C INL
-40C DNL
Error (LSb)
120
32
64
96
Wiper Setting (decimal)
FIGURE 2-26:
10 k Rheo Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V). (IW = TBD, B = VSS)
DS22147A-page 17
MCP4017/18/19
0.0
-0.1
-0.2
-0.3
-0.4
-0.5
-0.6
-0.7
-0.8
-0.9
-1.0
100
RBW Tempco (PPM)
5.5V
2.7
1.8V
80
2.7V
60
40
5.5V
20
0
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-27:
10 k : Full Scale Error
(FSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
32
64
96
Wiper Setting (decimal)
FIGURE 2-30:
10 k : RBW Tempco
FIGURE 2-31:
Response Time.
10 k : Power-Up Wiper
0.9
0.8
0.7
0.6
1.8V
0.5
2.7
0.4
0.3
0.2
5.5V
0.1
0.0
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-28:
10 k : Zero Scale Error
(ZSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
10200
10150
10100
Wiper
1.8V
10050
VDD
10000
2.7
9950
5.5V
9900
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-29:
10 k : Nominal Resistance
() vs. Temperature and VDD.
DS22147A-page 18
FIGURE 2-32:
10 k : Digital Feedthrough
(SCL signal coupling to Wiper pin).
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
FIGURE 2-33:
10 k : Write Wiper (40h
3Fh) Settling Time (VDD=5.5V).
FIGURE 2-36:
10 k : Write Wiper (FFh
00h) Settling Time (VDD=5.5V).
FIGURE 2-34:
10 k : Write Wiper (40h
3Fh) Settling Time (VDD=2.7V).
FIGURE 2-37:
10 k : Write Wiper (FFh
00h) Settling Time (VDD=2.7V).
FIGURE 2-35:
10 k : Write Wiper (40h
3Fh) Settling Time (VDD=1.8V).
FIGURE 2-38:
10 k : Write Wiper (FFh
00h) Settling Time (VDD=1.8V).
DS22147A-page 19
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
0.2
0.1
0
60
DNL
-0.1
INL
-40C
RW
-0.2
25C
20
-0.3
260
25C Rw
25C INL
25C DNL
85C Rw
85C INL
85C DNL
220
125C Rw
125C INL
125C DNL
125C
85
DNL
INL
25C
60
-0.1
-0.2
20
6000
-0.05
INL
2000
-0.15
RW
-0.25
FIGURE 2-41:
50 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V).
DS22147A-page 20
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
125C
85C
INL
0.3
0.2
0.1
25C
0
DNL
60
-0.1
RW
-0.2
-40C
20
-0.3
32
64
96
Wiper Setting (decimal)
FIGURE 2-43:
50 k Rheo Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V).(IW = 45uA, B = VSS)
-40C Rw
-40C INL
-40C DNL
8000
25C Rw
25C INL
25C DNL
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
RW
6000
INL
4000
DNL
2000
0
32
64
96
Wiper Setting (decimal)
25C Rw
25C INL
25C DNL
100
-0.35
-40C Rw
-40C INL
-40C DNL
10000
0.25
0.05
4000
32
64
96
Wiper Setting (decimal)
140
0.35
0.15
DNL
Note:
125C Rw
125C INL
125C DNL
-0.2
-0.3
180
85C Rw
85C INL
85C DNL
Error (LSb)
8000
25C Rw
25C INL
25C DNL
RW
25C
FIGURE 2-40:
50 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V).
-40C Rw
-40C INL
-40C DNL
-0.1
-40C
40
32
64
96
Wiper Setting (decimal)
10000
INL
FIGURE 2-42:
50 k Rheo Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V).(IW = 90uA, B = VSS)
-0.3
0
DNL
220
RW
-40C
0.2
125C
0
60
260
0.2
140
0.3
125C Rw
125C INL
125C DNL
0.1
300
0.3
0.1
180
100
85C
Error (LSb)
-40C Rw
-40C INL
-40C DNL
85C Rw
85C INL
85C DNL
20
FIGURE 2-39:
50 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V).
300
25C Rw
25C INL
25C DNL
80
32
64
96
Wiper Setting (decimal)
-40C Rw
-40C INL
-40C DNL
100
125C
80
40
120
0.3
Error (LSb)
85C
125C Rw
125C INL
125C DNL
Error (LSb)
85C Rw
85C INL
85C DNL
Note:
23
21
19
17
15
13
11
9
7
5
3
1
-1
Error (LSb)
100
25C Rw
25C INL
25C DNL
-40C Rw
-40C INL
-40C DNL
Error (LSb)
120
32
64
96
Wiper Setting (decimal)
FIGURE 2-44:
50 k Rheo Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V). (IW = TBD, B = VSS)
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
100
-0.04
0.00
-0.08
2.7
5.5V
-0.12
1.8V
-0.16
80
60
2.7V
40
5.5V
20
0
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-45:
50 k : Full Scale Error
(FSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
32
64
96
Wiper Setting (decimal)
FIGURE 2-48:
50 k : RBW Tempco
FIGURE 2-49:
Response Time.
50 k : Power-Up Wiper
0.20
0.16
1.8V
0.12
2.7
0.08
0.04
5.5V
0.00
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-46:
50 k : Zero Scale Error
(ZSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
49800
49600
Wiper
49400
49200
VDD
1.8V
49000
2.7V
5.5V
48800
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-47:
50 k : Nominal Resistance
() vs. Temperature and VDD.
FIGURE 2-50:
50 k : Digital Feedthrough
(SCL signal coupling to Wiper pin).
DS22147A-page 21
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
FIGURE 2-51:
50 k : Write Wiper (40h
3Fh) Settling Time (VDD=5.5V).
FIGURE 2-54:
50 k : Write Wiper (FFh
00h) Settling Time (VDD=5.5V).
FIGURE 2-52:
50 k : Write Wiper (40h
3Fh) Settling Time (VDD=2.7V).
FIGURE 2-55:
50 k : Write Wiper (FFh
00h) Settling Time (VDD=2.7V).
FIGURE 2-53:
50 k : Write Wiper (40h
3Fh) Settling Time (VDD=1.8V).
FIGURE 2-56:
50 k : Write Wiper (FFh
00h) Settling Time (VDD=1.8V).
DS22147A-page 22
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
DNL
0.2
0.1
80
0
60
INL
40
120
0.3
-0.1
100
RW
-40C
25C
-0.2
20
-0.3
260
25C Rw
25C INL
25C DNL
DNL
220
85
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
140
INL
25C
60
RW
-40C
20
-0.2
125C Rw
125C INL
125C DNL
2500
RW
INL
-0.25
FIGURE 2-59:
100 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V).
125C
0.3
0.2
0.1
-40C
-0.1
RW
-0.2
25C
20
-0.3
32
64
96
Wiper Setting (decimal)
FIGURE 2-61:
100 k Rheo Mode : RW
(), INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V). (IW = 21uA, B = VSS)
-40C Rw
-40C INL
-40C DNL
25C Rw
25C INL
25C DNL
85C Rw
85C INL
85C DNL
125C Rw
125C INL
125C DNL
RW
10000
INL
7500
5000
DNL
2500
0
32
64
96
Wiper Setting (decimal)
125C Rw
125C INL
125C DNL
DNL
60
-0.35
85C
100
12500
-0.15
85C Rw
85C INL
85C DNL
0.25
-0.05
5000
25C Rw
25C INL
25C DNL
INL
15000
0.05
7500
-40C Rw
-40C INL
-40C DNL
0.35
0.15
DNL
10000
-0.3
140
85C Rw
85C INL
85C DNL
Error (LSb)
12500
25C Rw
25C INL
25C DNL
-0.2
32
64
96
Wiper Setting (decimal)
FIGURE 2-58:
100 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 2.7V).
-40C Rw
-40C INL
-40C DNL
INL
25C
180
32
64
96
Wiper Setting (decimal)
15000
-0.1
RW
-40C
40
FIGURE 2-60:
100 k Rheo Mode : RW
(), INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V). (IW = 45uA, B = VSS)
-0.3
0
Note:
220
-0.1
100
0.2
DNL
60
260
0.2
0.1
0.3
125C Rw
125C INL
125C DNL
0.1
300
0.3
125C
180
125C
85C
Error (LSb)
-40C Rw
-40C INL
-40C DNL
85C Rw
85C INL
85C DNL
20
FIGURE 2-57:
100 k Pot Mode : RW (),
INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 5.5V).
300
25C Rw
25C INL
25C DNL
80
32
64
96
Wiper Setting (decimal)
-40C Rw
-40C INL
-40C DNL
Error (LSb)
125C
85C
125C Rw
125C INL
125C DNL
Error (LSb)
85C Rw
85C INL
85C DNL
Note:
19
17
15
13
11
9
7
5
3
1
-1
Error (LSb)
100
25C Rw
25C INL
25C DNL
-40C Rw
-40C INL
-40C DNL
Error (LSb)
120
32
64
96
Wiper Setting (decimal)
FIGURE 2-62:
100 k Rheo Mode : RW
(), INL (LSb), DNL (LSb) vs. Wiper Setting and
Temperature (VDD = 1.8V). (IW = TBD, B = VSS)
DS22147A-page 23
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
100
-0.02
0.00
5.5V
-0.04
2.7
-0.06
80
60
2.7V
40
20
5.5V
1.8V
-0.08
0
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-63:
100 k : Full Scale Error
(FSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
32
64
96
Wiper Setting (decimal)
FIGURE 2-66:
100 k : RBW Tempco
RWB / T vs. Code.
0.12
0.08
1.8V
2.7
0.04
5.5V
0.00
-40
0
40
80
Ambient Temperature (C)
120
FIGURE 2-64:
100 k : Zero Scale Error
(ZSE) vs. Temperature (VDD = 5.5V, 2.7V, 1.8V).
99800
99600
99400
99200
99000
98800
98600
98400
98200
98000
97800
FIGURE 2-67:
Response Time.
Wiper
VDD
1.8V
2.7V
5.5V
-40
0
40
80
Ambient Temperature (C)
FIGURE 2-65:
100 k : Nominal
Resistance () vs. Temperature and VDD.
DS22147A-page 24
120
FIGURE 2-68:
100 k : Digital
Feedthrough (SCL signal coupling to Wiper pin).
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
FIGURE 2-69:
100 k : Write Wiper (40h
3Fh) Settling Time (VDD = 5.5V).
FIGURE 2-72:
100 k : Write Wiper (FFh
00h) Settling Time (VDD = 5.5V).
FIGURE 2-70:
100 k : Write Wiper (40h
3Fh) Settling Time (VDD = 2.7V).
FIGURE 2-73:
100 k : Write Wiper (FFh
00h) Settling Time (VDD = 2.7V).
FIGURE 2-71:
100 k : Write Wiper (40h
3Fh) Settling Time (VDD = 1.8V).
FIGURE 2-74:
100 k : Write Wiper (FFh
00h) Settling Time (VDD = 1.8V).
DS22147A-page 25
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
4
0.3
3.5
2.5
VOL (mV)
VIH (V)
0.25
5.5V
2.7V
2
1.5
1
2.7V (@ 3mA)
0.2
0.15
5.5V (@ 3mA)
0.1
1.8V (@ 1mA)
0.05
0.5
1.8V
0
-40
40
80
0
120
-40
Temperature (C)
FIGURE 2-75:
Temperature.
FIGURE 2-77:
Temperature.
80
120
1.2
5.5
V
5.5V
1.5
2.7V
0.8
VDD (V)
VIL (V)
40
Temperature (C)
2.7V
0.6
0.4
0.5
1.8V
0.2
0
-40
40
80
120
-40
Temperature (C)
FIGURE 2-76:
Temperature.
DS22147A-page 26
40
80
120
Temperature (C)
FIGURE 2-78:
and Temperature.
MCP4017/18/19
Note: Unless otherwise indicated, TA = +25C, VDD = 5V, VSS = 0V.
10
10
Code = 7Fh
Code = 3Fh
dB
dB
-30
Code = 0Fh
Code = 3Fh
-10
-10
-20
Code = 7Fh
Code = 1Fh
Code = 1Fh
-20
Code = 0Fh
-30
Code = 01h
-40
Code = 01h
-40
-50
-50
100
1,000
-60
100
10,000
FIGURE 2-79:
(-3dB).
Test Circuits
Code = 7Fh
dB
-30
+5V
Code = 3Fh
-10
-20
10,000
FIGURE 2-82:
100 k Gain vs.
Frequency (-3dB).
2.1
10
1,000
Frequency (kHz)
Frequency (kHz)
Code = 0Fh
VIN
Code = 1Fh
Code = 01h
-40
A
B
-50
-60
100
1,000
+5V
+
VOUT
10,000
Frequency (kHz)
FIGURE 2-80:
(-3dB).
10
Code = 7Fh
0
Code = 3Fh
dB
-10
Code = 1Fh
-20
-30
Code = 0Fh
Code = 01h
-40
-50
-60
100
1,000
10,000
Frequency (kHz)
FIGURE 2-81:
(-3dB).
DS22147A-page 27
MCP4017/18/19
NOTES:
DS22147A-page 28
MCP4017/18/19
3.0
PIN DESCRIPTIONS
TABLE 3-1:
Pin
Name
Pin
Type
Buffer
Type
Function
VDD
VSS
Ground
SCL
I/O
SDA
I/O
I/O
Potentiometer Terminal B
I/O
I/O
Potentiometer Terminal A
P = Power
DS22147A-page 29
MCP4017/18/19
3.1
3.2
Ground (VSS)
3.3
The SCL pin is the serial clock pin of the I2C interface.
The MCP401X acts only as a slave and the SCL pin
accepts only external serial clocks. The SCL pin is an
open-drain output. Refer to Section 5.0 Serial
Interface - I2C Module for more details of I2C Serial
Interface communication.
3.4
3.7
Potentiometer Terminal A
The SDA pin is the serial data pin of the I2C interface.
The SDA pin has a Schmitt trigger input and an
open-drain output. Refer to Section 5.0 Serial
Interface - I2C Module for more details of I2C Serial
Interface communication.
3.5
Potentiometer Terminal B
3.6
DS22147A-page 30
MCP4017/18/19
4.0
GENERAL OVERVIEW
4.1.2
BROWN-OUT RESET
4.1
POR/BOR Operation
4.1.3
4.1.4
DEVICE CURRENTS
4.1.1
POWER-ON RESET
When the device powers up, the device VDD will cross
the VPOR/VBOR voltage. Once the VDD voltage crosses
the VPOR/VBOR voltage, the following happens:
Volatile wiper register is loaded with the default
wiper value (3Fh)
The device is capable of digital operation
DS22147A-page 31
MCP4017/18/19
TABLE 4-1:
VDD Level
Potentiometer
Terminals
unknown
VDD < VBOR < 1.8V Ignored
VBOR VDD < 1.8V Unknown Operational with
reduced electrical
specs
1.8V VDD < 2.7V Accepted Operational with
reduced electrical
specs
2.7V VDD 5.5V Accepted Operational
Note 1:
Wiper Setting
Comment
Unknown
Wiper Register loaded
with POR/BOR value
Wiper Register
Electrical performance may not
determines Wiper
meet the data sheet specifications.
Setting
Wiper Register
Meets the data sheet specifications
determines Wiper
Setting
For system voltages below the minimum operating voltage, the customer will be recommended to use a
voltage supervisor to hold the system in reset. This will ensure that MCP4017/18/19 commands are not
attempted out of the operating range of the device.
Outside Specified
AC/DC Range
2.7V
1.8V
VPOR/BOR
VRAM
VSS
FIGURE 4-1:
DS22147A-page 32
Analog
Characteristics
not specified
Analog
Characteristics not specified
Devices Serial
Interface is
Not Operational
VBOR Delay
Wiper Forced to Default POR/BOR setting
MCP4017/18/19
5.0
5.1
Device n
Host
Controller
Device 2
FIGURE 5-1:
Configurations.
5.1.1
Device 3
Device 4
SLOPE CONTROL
DS22147A-page 33
MCP4017/18/19
5.2
Start Bit
Data Bit
Acknowledge (A) Bit
Repeated Start Bit
Stop Bit
Clock Stretching
TABLE 5-1:
5.2.1
START BIT
2nd Bit
1st Bit
SDA
Acknowledge
Bit Response
Event
General Call
Bus Collision
Start Bit.
DATA BIT
The SDA signal may change state while the SCL signal
is Low. While the SCL signal is High, the SDA signal
MUST be stable (see Figure 5-3).
2nd Bit
1st Bit
SDA
SCL
5.2.3
Data Bit.
D0
8
FIGURE 5-4:
5.2.4
N.A.
FIGURE 5-3:
Slave Address A
not valid
5.2.2
Comment
Slave Address A
valid
SCL
FIGURE 5-2:
MCP4017/18/19 A / A
RESPONSES
A
9
Acknowledge Waveform.
SDA
1st Bit
SCL
Sr = Repeated Start
FIGURE 5-5:
Waveform.
DS22147A-page 34
MCP4017/18/19
5.2.5
STOP BIT
5.2.7
The Stop bit (see Figure 5-6) Indicates the end of the
I2C Data Transfer Sequence. The Stop bit is defined as
the SDA signal rising when the SCL signal is High.
A Stop bit resets the I2C interface of the other devices.
SDA A / A
5.2.8
SCL
5.2.6
FIGURE 5-6:
Transmit Mode.
ABORTING A TRANSMISSION
CLOCK STRETCHING
SDA
SCL
S
FIGURE 5-7:
1st 2nd 3rd 4th 5th 6th 7th 8th A/A 1st 2nd 3rd 4th 5th 6th 7th 8th A/A
Bit Bit Bit Bit Bit Bit Bit Bit
Bit Bit Bit Bit Bit Bit Bit Bit
SDA
SCL
START
Condition
FIGURE 5-8:
Data allowed
to change
Data or
A valid
STOP
Condition
DS22147A-page 35
MCP4017/18/19
I2C COMMAND PROTOCOL
5.2.9
5.2.9.1
TABLE 5-2:
Device
I2C Address
MCP4017
MCP4018
MCP4019
0101111
0101111
0101111
Comment
5.2.9.2
5.2.10
Start
bit
GENERAL CALL
Slave Address
S A6 A5 A4 A3 A2 A1 A0 R/W
0 1 0 1 1 1 1
A/A
R/W bit
R/W = 0 = write
R/W = 1 = read
FIGURE 5-9:
I2C Control Byte.
Second Byte
S 0 0
0 0
0 0 0
0 A x
A P
7-bit Command
Reserved 7-bit Commands (By I2C Specification - Philips # 9398 393 40011, Ver. 2.1 January 2000)
0000 011b - Reset and write programmable part of slave address by hardware.
0000 010b - Write programmable part of slave address by hardware.
0000 000b - NOT Allowed
The Following is a Hardware General Call Format
Second Byte
S 0 0 0
0 0 0 0
FIGURE 5-10:
DS22147A-page 36
A x
7-bit Command
n occurrences of (Data + A / A)
x
1 A x
X x
X A P
MCP4017/18/19
5.3
Note:
The Stop bit terminates the current I2C bus activity. The
MCP4017/18/19 wait to detect the next Start condition.
This sequence does not effect any other I2C devices
which may be on the bus, as they should disregard this
as an invalid command.
5.4
Write Operation
Read Operations
1 1 1 1 1 1 1 1
Serial Commands
serial
Nine bits of 1
Start bit
Start
bit
Stop bit
FIGURE 5-11:
Format.
The 1st Start bit will cause the device to reset from a
state in which it is expecting to receive data from the
Master Device.In this mode, the device is monitoring
the data bus in Receive mode and can detect the Start
bit forces an internal Reset.
The nine bits of 1 are used to force a Reset of those
devices that could not be reset by the previous Start bit.
This occurs only if the MCP4017/18/19 is driving an A
on the I2C bus, or is in output mode (from a Read
command) and is driving a data bit of 0 onto the I2C
bus. In both of these cases, the previous Start bit could
not be generated due to the MCP4017/18/19 holding
the bus low. By sending out nine 1 bits, it is ensured
that the device will see a A (the Master Device does not
drive the I2C bus low to acknowledge the data sent by
the MCP4017/18/19), which also forces the MCP4017/
18/19 to reset.
The 2nd Start bit is sent to address the rare possibility
of an erroneous write. This could occur if the Master
Device was reset while sending a Write command to
the MCP4017/18/19, AND then as the Master Device
returns to normal operation and issues a Start condition
while the MCP4017/18/19 is issuing an A. In this case
if the 2nd Start bit is not sent (and the Stop bit was sent)
the MCP4017/18/19 could initiate a write cycle.
Note:
DS22147A-page 37
MCP4017/18/19
5.4.1
WRITE OPERATION
5.4.2
READ OPERATIONS
1 1
0 A
x D6 D5 D4 D3 D2 D1 D0 A x D6 D5 D4 D3 D2 D1 D0 A
Data Byte
Data Byte
STOP bit
x D6 D5 D4 D3 D2 D1 D0 A x D6 D5 D4 D3 D2 D1 D0 A P
Data Byte
Data Byte
Legend
S = Start Condition
P = Stop Condition
A = Acknowledge
X = Dont Care
R/W = Read/Write bit
D6, D5, D4, D3, D2, D1, D0 = Data bits
FIGURE 5-12:
DS22147A-page 38
MCP4017/18/19
Fixed
Address
S 0 1 0
1 1
1 A
0 D6 D5 D4 D3 D2 D1 D0 A(1) 0 D6 D5 D4 D3 D2 D1 D0 A(1)
Data Byte
Data Byte
STOP bit
(2)
0 D6 D5 D4 D3 D2 D1 D0 A(1)0 D6 D5 D4 D3 D2 D1 D0 A
Data Byte
Data Byte
Legend
S = Start Condition
P = Stop Condition
A = Acknowledge
X = Dont Care
R/W = Read/Write bit
Note 1 = Data bits
Note 1: Master Device is responsible for A / A signal. If a A signal occurs, the MCP4017/18/19
will abort this transfer and release the bus.
2: The Master Device will A, and the MCP4017/18/19 will release the bus so the Master Device can
generate a Stop or Repeated Start condition.
FIGURE 5-13:
DS22147A-page 39
MCP4017/18/19
Write 1 Byte
S Slave Address
Master
A P
S 0 1 0 1 1 1 1 0 1 x d d d d d d d 1 P
MCP4017/18/19
I2C Bus
R
/
W A Data Byte (1)
S 0 1 0 1 1 1 1 0 0 x d d d d d d d 0 P
Write 2 Bytes
S Slave Address
Master
A P
S 0 1 0 1 1 1 1 0 1 x d d d d d d d 1 x d d d d d d d 1 P
MCP4017/18/19
I2C Bus
R
/
W A Data Byte (1)
S 0 1 0 1 1 1 1 0 0 x d d d d d d d 0 x d d d d d d d 1 P
Read 1 Byte
S Slave Address
Master
S 0 1 0 1 1 1 1 1 1
MCP4017/18/19
I2C Bus
R
/
W A Data Byte
A P
1 P
0 0 d d d d d d d 1
S 0 1 0 1 1 1 1 1 0 0 d d d d d d d 1 P
Read 2 Bytes
S Slave Address
Master
MCP4017/18/19
I2C Bus
R
/
W A Data Byte
S 0 1 0 1 1 1 1 1 1
A Data Byte
A P
1 P
0 0 d d d d d d d 1 0 d d d d d d d 1
S 0 1 0 1 1 1 1 1 0 0 d d d d d d d 0 0 d d d d d d d 1 P
Note 1: For Write Commands, the MSb of the Data Byte is a dont care since the wiper register is only 7-bits wide.
FIGURE 5-14:
DS22147A-page 40
MCP4017/18/19
6.0
RESISTOR NETWORK
RS
6.1
RW
(1)
RW
(1)
RW
(1)
N = 126
RS
7Eh
N = 125
RS
7Dh
7Fh
N = 127
N=1
RS
01h
RW
(1)
RW
(1)
N=0
B
00h
Analog
Mux
FIGURE 6-1:
Diagram.
TABLE 6-1:
Wiper Setting
07Fh
07Eh - 040h
03Fh
03Eh - 001h
000h
DS22147A-page 41
MCP4017/18/19
Step resistance (RS) is the resistance from one tap
setting to the next. This value will be dependent on the
RAB value that has been selected. Equation 6-1 shows
the calculation for the step resistance while Table 6-2
shows the typical step resistances for each device.
EQUATION 6-1:
RS CALCULATION
TABLE 6-3:
DEFAULT FACTORY
SETTINGS SELECTION
Resistance Typical
Code
RAB Value
R AB
R S = --------127
Equation 6-2 illustrates the calculation used to
determine the resistance between the wiper and
terminal B.
EQUATION 6-2:
RWB CALCULATION
R AB N
- + RW
R WB = ------------127
N = 0 to 127 (decimal)
Code (1)
-502
5.0 k
Mid-scale
3Fh
-103
10.0 k
Mid-scale
3Fh
-503
50.0 k
Mid-scale
3Fh
-104
100.0 k
Mid-scale
3Fh
TABLE 6-2:
STEP RESISTANCES
Resistance ()
Part Number
Case
Min.
Total
(RAB)
Step (RS)
4000
31.496
39.370
Max.
6000
47.244
Min.
8000
62.992
78.740
Max.
12000
94.488
Min.
40000
314.961
393.701
Max.
60000
472.441
Min.
80000
629.921
DS22147A-page 42
120000
787.402
944.882
MCP4017/18/19
6.2
Resistor Configurations
6.2.1
6.2.2
RHEOSTAT CONFIGURATION
POTENTIOMETER
CONFIGURATION
A
B
RAW or
RBW
B
Resistor
FIGURE 6-2:
Rheostat Configuration.
V2
FIGURE 6-3:
Configuration.
Potentiometer
DS22147A-page 43
MCP4017/18/19
6.3
Wiper Resistance
RW
VDD
Note: The slope of the resistance has a linear
area (at the higher voltages) and a
non-linear area (at the lower voltages).
FIGURE 6-4:
Relationship of Wiper
Resistance (RW) to Voltage.
Since there is minimal variation of the total device
resistance over voltage, at a constant temperature (see
Figure 2-11, Figure 2-29, Figure 2-47, or Figure 2-65),
the change in wiper resistance over voltage can have a
significant impact on the INL and DNL error.
TABLE 6-4:
Resistance ()
Typical
Total
(RAB)
Step
(RS)
Wiper (RW)
Typical
Max @ Max @
5.5V
2.7V
RW =
Typical
RW = Max RW = Max
@ 5.5V
@ 2.7V
RW =
Typical
RW = Max RW = Max
@ 5.5V
@ 2.7V
5000
39.37
100
170
325
254.00%
431.80%
825.5%
2.00%
3.40%
6.50%
10000
78.74
100
170
325
127.00%
215.90%
412.75%
1.00%
1.70%
3.25%
50000
393.70
100
170
325
25.40%
43.18%
82.55%
0.20%
0.34%
0.65%
100000
787.40
100
170
325
12.70%
21.59%
41.28%
0.10%
0.17%
0.325%
Note 1:
2:
RS is the typical value. The variation of this resistance is minimal over voltage.
RAB is the typical value. The variation of this resistance is minimal over voltage.
DS22147A-page 44
MCP4017/18/19
6.4
Operational Characteristics
6.4.1
6.4.1.1
6.4.1.2
ACCURACY
111
110
Actual
transfer
function
101
Digital 100
Input
Code 011
Ideal transfer
function
010
001
INL < 0
000
111
110
101
Digital
Input
Code
FIGURE 6-6:
100
6.4.1.3
011
Ideal transfer
function
010
001
000
INL < 0
Digital Pot Output
FIGURE 6-5:
Actual
transfer
function
INL Accuracy.
DNL Accuracy.
6.4.1.4
DS22147A-page 45
MCP4017/18/19
6.4.2
MONOTONIC OPERATION
RS63
0x3F
RS62
0x3E
0x3D
RS3
0x03
RS1
0x02
RS0
0x01
0x00
RW
(@ tap)
n=?
RBW =
RSn + RW(@ Tap n)
n=0
Resistance (RBW)
FIGURE 6-7:
DS22147A-page 46
RBW.
MCP4017/18/19
7.0
DESIGN CONSIDERATIONS
7.1
7.2
Layout Considerations
7.2.1
RESISTOR TEMPCO
VSS
FIGURE 7-1:
Connections.
SCL
SDA
PICmicro Microcontroller
MCP4017/18/19
0.1 F
VSS
Typical Microcontroller
DS22147A-page 47
MCP4017/18/19
NOTES:
DS22147A-page 48
MCP4017/18/19
8.0
APPLICATIONS EXAMPLES
8.1
EQUATION 8-1:
CALCULATING THE
WIPER SETTING FROM
THE DESIRED VTRIP
VDD
R1
MCP4018
SDA
SCL
VOUT
FIGURE 8-1:
Using the Digital
Potentiometer to Set a Precise Output Voltage.
8.1.1
VDD
Rsense
VCC+
R1
Comparator
MCP4018 A
VTRIP
SDA
W
MCP6021
SCL
B
VCC
0.1 F
FIGURE 8-2:
Calibration.
R WB
V TRIP = V DD ------------------
R1 + R2
RAB = RNominal
RWB = RAB D
127
D=
VTRIP
VDD
(R1 + RAB )
127
DS22147A-page 49
MCP4017/18/19
8.2
Operational Amplifier
Applications
MCP6291
Op Amp
VDD
VOUT
R1
A
R3
MCP4018 MCP4017
FIGURE 8-3:
Trimming Offset and Gain in
a Non-Inverting Amplifier.
MCP4018
B
R4
W
VDD
Op Amp
R1
A
VIN
W
MCP4018
VOUT
MCP6021
1
fc = -----------------------------
2 R Eq C
Thevenin R
= ( R 1 + R AB R WB ) || ( R 2 + R WB ) + R w
Equivalent Eq
FIGURE 8-4:
DS22147A-page 50
Programmable Filter.
MCP4017/18/19
8.3
R1
NTC
Thermistor
VOUT
MCP4018
FIGURE 8-6:
Thermistor Calibration using
a Digital Potentiometer in a Potentiometer
Configuration.
VDD
R1
NTC
Thermistor
VOUT
R2
MCP4017
FIGURE 8-5:
Thermistor Calibration using
a Digital Potentiometer in a Rheostat
Configuration.
DS22147A-page 51
MCP4017/18/19
8.4
5 k
MCP4017
VOUT
MCP4017
50 k
FIGURE 8-7:
Trimming.
DS22147A-page 52
MCP4017
50 k
Wheatstone Bridge
MCP4017/18/19
9.0
DEVELOPMENT SUPPORT
9.1
Development Tools
TABLE 9-1:
9.2
Technical Documentation
TECHNICAL DOCUMENTATION
Application
Note Number
Title
Literature #
AN1080
DS01080
AN737
DS00737
AN692
DS00692
AN691
DS00691
AN219
DS00219
DS22017
DS21825
DS22147A-page 53
MCP4017/18/19
NOTES:
DS22147A-page 54
MCP4017/18/19
10.0
PACKAGING INFORMATION
10.1
5-Lead SC70
XXNN
Part Number
Code
MCP4019T-502E/LT
BENN
MCP4019T-103E/LT
BFNN
MCP4019T-503E/LT
BGNN
MCP4019T-104E/LT
BHNN
BENN
6-Lead SC70
XXNN
Example:
Part Number
Code
Part Number
Code
MCP4017T-502E/LT
AENN
MCP4018T-502E/LT
AANN
MCP4017T-103E/LT
AFNN
MCP4018T-103E/LT
ABNN
MCP4017T-503E/LT
AGNN
MCP4018T-503E/LT
ACNN
MCP4017T-104E/LT
AHNN
MCP4018T-104E/LT
ADNN
Legend: XX...X
Y
YY
WW
NNN
e3
*
Note:
AANN
Customer-specific information
Year code (last digit of calendar year)
Year code (last 2 digits of calendar year)
Week code (week of January 1 is week 01)
Alphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
This package is Pb-free. The Pb-free JEDEC designator ( e3 )
can be found on the outer packaging for this package.
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.
DS22147A-page 55
MCP4017/18/19
.
#
#$ #/! - 0 #
1/%#
#!#
##+22---
2/
D
b
3
E1
E
5
e
A2
A1
L
3#
4#
5$8
%1
44"
"
5
56
7
1#
6, :#
;
9()*
<
!!1/
/
;
<
#!
%%
<
6, =!#
"
;
!!1/=!#
"
(
(
(
6, 4#
;
(
#4#
9
4! /
;
<
9
4!=!#
(
<
!"!
#$!
!%
# $
!%
# $
#&! !
!#
"'(
)*+ )
#&#,$
--#
$##
- *9)
DS22147A-page 56
MCP4017/18/19
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS22147A-page 57
MCP4017/18/19
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS22147A-page 58
MCP4017/18/19
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS22147A-page 59
MCP4017/18/19
NOTES:
DS22147A-page 60
MCP4017/18/19
APPENDIX A:
REVISION HISTORY
DS22147A-page 61
MCP4017/18/19
NOTES:
DS22147A-page 62
MCP4017/18/19
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
PART NO.
Device
XXX
/XX
Device:
Resistance
Version:
MCP4017:
502
103
503
104
=
=
=
=
5 k
10 k
50 k
100 k
Temperature
Range:
= -40C to +125C
Package:
Examples:
a)
b)
c)
d)
a)
b)
c)
d)
a)
b)
c)
d)
MCP4017T-502E/LT: 5 k,
6-LD SC-70.
MCP4017T-103E/LT: 10 k, 6-LD
SC-70.
MCP4017T-503E/LT: 50 k,
6-LD SC-70.
MCP4017T-104E/LT: 100 k,
6-LD SC-70.
MCP4018T-502E/LT: 5 k,
6-LD SC-70.
MCP4018T-103E/LT: 10 k,
6-LD SC-70.
MCP4018T-503E/LT: 50 k,
6-LD SC-70.
MCP4018T-104E/LT: 100 k,
6-LD SC-70.
MCP4019T-502E/LT: 5 k,
5-LD SC-70.
MCP4019T-103E/LT: 10 k,
5-LD SC-70.
MCP4019T-503E/LT: 50 k,
5-LD SC-70.
MCP4019T-104E/LT: 100 k,
5-LD SC-70.
DS22147A-page 63
MCP4017/18/19
NOTES:
DS22147A-page 64
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
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.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro,
PICSTART, rfPIC, SmartShunt and UNI/O are registered
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
FilterLab, Linear Active Thermistor, MXDEV, MXLAB,
SEEVAL, SmartSensor and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, In-Circuit Serial
Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB
Certified logo, MPLIB, MPLINK, mTouch, nanoWatt XLP,
PICkit, PICDEM, PICDEM.net, PICtail, PIC32 logo, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select
Mode, Total Endurance, TSHARC, WiperLock and ZENA are
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
2009, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
DS22147A-page 65
ASIA/PACIFIC
ASIA/PACIFIC
EUROPE
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://support.microchip.com
Web Address:
www.microchip.com
India - Bangalore
Tel: 91-80-3090-4444
Fax: 91-80-3090-4080
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11-4160-8632
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Cleveland
Independence, OH
Tel: 216-447-0464
Fax: 216-447-0643
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
Kokomo, IN
Tel: 765-864-8360
Fax: 765-864-8387
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Santa Clara
Santa Clara, CA
Tel: 408-961-6444
Fax: 408-961-6445
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8528-2100
Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
Malaysia - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-536-4803
China - Xiamen
Tel: 86-592-2388138
Fax: 86-592-2388130
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
China - Xian
Tel: 86-29-8833-7252
Fax: 86-29-8833-7256
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869
Fax: 44-118-921-5820
China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049
03/26/09
DS22147A-page 66