The MCP41XX and MCP42XX devices offer a wide
range of product offerings using an SPI interface. This
family of devices support 7-bit and 8-bit resistor
networks, Non-Volatile memory configurations, and
Potentiometer and Rheostat pinouts.
WiperLock Technology allows application-specific
calibration settings to be secured in the EEPROM.
Note 1: Power dissipation is calculated as follows:
, SCK, SDI, SDI/SDO, WP, and
with respect to VSS
......................................
SS ............................
IK
OK
SS
pin....................................100 mA
DD
XA, PXW & PXB pins ............±2.5 mA
Pdis = VDD x {IDD - ∑ IOH} + ∑ {(VDD-VOH) x IOH} + ∑(VOl x IOL)
-0.6V to 12.5V
-0.3V to VDD + 0.3V
pin.................................100 mA
) ......................... +150°C
J
† Notice: Stresses above those listed under “Maximum
Ratings” may cause permanent damage to the device. This is
a stress rating only and functional operation of the device at
those or any other conditions above those indicated in the
operational listings of this specification is not implied.
Exposure to maximum rating conditions for extended periods
may affect device reliability.
Standard Operating Conditions (unless otherwise specified)
Operating Temperature–40°C ≤ TA ≤ +125°C (extended)
DC Characteristics
ParametersSymMinTypMaxUnit sConditions
Supply Voltage V
, SDI, SDO,
CS
DD
VHV V
SCK, WP, SHDN
pin Voltage Range
DD Start Voltage
V
V
BOR
to ensure Wiper
Reset
DD Rise Rate to
V
V
DDRR
ensure Power-on
Reset
Delay after device
T
BORD
exits the reset
state
(VDD > V
Supply Current
BOR
)
I
DD
(Note 10)
Note 1: Resistance is defined as the resistance between te rminal A to terminal B.
2:INL and DNL are measured at V
3:MCP4XX1 only.
4:MCP4XX2 only, inclu des V
5:Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6:This specification by design.
7:Non-linearity is affected by wiper resistance (R
temperature.
8:The MCP4XX1 is externally connected to match the configurations of the MCP41X2 and MCP42X2, and
then tested.
9:POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
All parameters apply across the specified operating ranges unless noted.
Note 1:Resistance is defined as the resistance between terminal A to terminal B.
2:INL and DNL are measured at V
with VA = VDD and VB = VSS.
W
3:MCP4XX1 only.
4:MCP4XX2 only, inclu des V
WZSE
and V
WFSE
.
5:Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6:This specification by design.
7:Non-linearity is affected by wiper resistance (R
), which changes significantly over voltage and
W
temperature.
8:The MCP4XX1 is externally connected to match the configurations of the MCP41X2 and MCP42X2, and
then tested.
9:POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
≤ +125°C (extended)
A
= 5.5V, TA = +25°C.
DD
Code = Full-Scale
= 2.7 V, IW = 2.0 mA, code = 00h
DD
= -40°C to +85°C
A
VNote 5, Note 6
wiper when wiper is either Full Scale or
Zero Scale.
Note 1: Resistance is defined as the resistance between terminal A to terminal B.
2: INL and DNL are measured at V
with VA = VDD and VB = VSS.
W
3: MCP4XX1 only.
4: MCP4XX2 only, includes V
WZSE
and V
WFSE
.
5: Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6: This specification by design.
7: Non-linearity is affected by wiper resistance (R
), which changes significantly over voltage and
W
temperature.
8: The MCP4XX1 is externally connected to match the configura tions of the MCP41X2 and MCP42X2, and
then tested.
9: POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
Rheostat Integral
Non-linearity
MCP41X1
(Note 4, Note 8)
MCP4XX2
devices only
R-INL-1.5±0.5+1.5LSb5 kΩ8-bit 5.5V, I
-8.25+4.5+8.25LSb3.0V, IW = 480 µA
-1.125±0.5+1.125LSb7-bit 5.5V, I
-6.0+4.5+6.0LSb3.0V, IW = 480 µA
(Note 4)
-1.5±0.5+1.5LSb10 kΩ8-bit 5.5V, I
-5.5+2.5+5.5LSb3.0V, IW = 240 µA
-1.125±0.5+1.125LSb7-bit 5.5V, I
-4.0+2.5+4.0LSb3.0V, IW = 240 µA
-1.5±0.5+1.5LSb50 kΩ8-bit 5.5V, I
-2.0+1+2.0LSb3.0V, IW = 48 µA
-1.125±0.5+1.125LSb7-bit 5.5V, I
-1.5+1+1.5LSb3.0V, IW = 48 µA
-1.0±0.5+1.0LSb100 kΩ 8-bit 5.5V, I
-1.5+0.25+1.5LSb3.0V, IW = 24 µA
-0.8±0.5+0.8LSb7-bit 5.5V, IW = 45 µA
-1.125+0.25+1.125LSb3.0V, IW = 24 µA
Note 1: Resistance is defined as the resistance between terminal A to terminal B.
2: INL and DNL are measured at V
with VA = VDD and VB = VSS.
W
3: MCP4XX1 only.
4: MCP4XX2 only, includes V
WZSE
and V
WFSE
.
5: Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6: This specification by design.
7: Non-linearity is affected by wiper resistance (R
), which changes significantly over voltage and
W
temperature.
8: The MCP4XX1 is externally connected to match the configura tions of the MCP41X2 and MCP42X2, and
then tested.
9: POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
Note 1: Resistance is defined as the resistance between terminal A to terminal B.
2: INL and DNL are measured at V
with VA = VDD and VB = VSS.
W
3: MCP4XX1 only.
4: MCP4XX2 only, includes V
WZSE
and V
WFSE
.
5: Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6: This specification by design.
7: Non-linearity is affected by wiper resistance (R
), which changes significantly over voltage and
W
temperature.
8: The MCP4XX1 is externally connected to match the configura tions of the MCP41X2 and MCP42X2, and
then tested.
9: POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
Digital Inputs/Outputs (CS, SDI, SDO, SCK, WP, SHDN)
Schmitt Trigger
V
IH
0.45 V
——V2.7V ≤ VDD ≤ 5.5V
DD
High Input
Threshold
——V1.8V ≤ VDD ≤ 2.7V
DD
Schmitt Trigger
0.5 V
DD
V
IL
——0.2V
Low Input
Threshold
Hysteresis of
V
HYS
—0.1VDD—V
Schmitt Trigger
Inputs
High Voltage Input
V
IHH
8.5—12.5
(6)
VThreshold for WiperLock™ Technolog y
Entry Voltage
High Voltage Input
Exit Voltage
High Voltage LimitV
Output Low
Voltage (SDO)
Output High
Voltage (SDO)
Weak Pull-up /
Pull-down Current
Pull-up /
CS
——V
V
IHH
MAX
V
V
OL
——12.5
—0.3VDD VIOL = 5 mA, VDD = 5.5V
SS
VSS —0.3VDD VIOL = 1 mA, VDD = 1.8V
0.7VDD —VDD VIOH = -2.5 mA, VDD = 5.5V
V
OH
0.7VDD —VDD VIOL = -1 mA, VDD = 1.8V
I
PU
——375uAInternal VDD pull-up, V
—170—µACS pin, V
R
CS
—16—kΩV
+
DD
(6)
0.8V
(6)
VPin can tolerate V
Pull-down
Resistance
Input Leakage
I
IL
-1—1µAVIN = VDD and VIN = VSS
Current
Pin CapacitanceC
, C
IN
OUT
—10—pFf
RAM (Wiper) Value
Value RangeN0h—1FFhhex8-bit device
0h—1FFhhex7-bit device
Note 1: Resistance is defined as the resistance between terminal A to terminal B.
2: INL and DNL are measured at V
with VA = VDD and VB = VSS.
W
3: MCP4XX1 only.
4: MCP4XX2 only, includes V
WZSE
and V
WFSE
.
5: Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6: This specification by design.
7: Non-linearity is affected by wiper resistance (R
), which changes significantly over voltage and
W
temperature.
8: The MCP4XX1 is externally connected to match the configura tions of the MCP41X2 and MCP42X2, and
then tested.
9: POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
PSS—0.00150.0035%/%8-bitV
Sensitivity
(MCP41X2 and
MCP42X2 only)
—0.00150.0035%/%7-bitV
Note 1: Resistance is defined as the resistance between terminal A to terminal B.
2: INL and DNL are measured at V
with VA = VDD and VB = VSS.
W
3: MCP4XX1 only.
4: MCP4XX2 only, includes V
WZSE
and V
WFSE
.
5: Resistor terminals A, W and B’s polarity with respect to each other is not restricted.
6: This specification by design.
7: Non-linearity is affected by wiper resistance (R
), which changes significantly over voltage and
W
temperature.
8: The MCP4XX1 is externally connected to match the configura tions of the MCP41X2 and MCP42X2, and
then tested.
9: POR/BOR is not rate dependent.
10: Supply current is independent of current through the resistor network
73Setup time of SDI input to SCK↑ edgeT
74Hold time of SDI input from SCK↑ edgeTscH2
77CS Inactive (VIH) to SDO output hi-impedance TcsH2DOZ—50nsNote 1
80SDO data output valid after SCK↓ edgeTscL2
83CS
84Hold time of CS
Inactive (VIH) after SCK↑ edgeTscH2csI100—nsVDD = 2.7V to 5.5V
T ABLE 1-3:SPI REQUIREMENTS FOR SDI/SDO MULTIPLEXED (READ OPERATION ONLY)
CharacteristicSymbolMinMax UnitsConditions
SCK Input FrequencyF
Active (VIL or V
CS
SCK input high time TscH1.8—us
SCK input low time TscL1.8—ns
Setup time of SDI input to SCK↑ edgeT
Hold time of SDI input from SCK↑ edgeTscH2
CS Inactive (VIH) to SDO output hi-impedance TcsH2DOZ—50nsNote 1
SDO data output valid after SCK↓ edgeTscL2
SDO data output valid after
Active (VIL or V
CS
Inactive (VIH) after SCK↓ edgeTscH2csI100—ns
CS
Hold time of CS Inactive (VIH) to
Active (VIL or V
CS
Note 1: This specification by design
2: This table is for the devices where the SPI’s SDI and SDO pins are multiplexed (SDI/SDO) and a Read
command is issued. This is NOT required for SDI/SDO operation with the Increment, Decrement, or Write
commands. This data rate can be increased by having external pull-up resistors to increase the rising
edges of each bit.
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.
The descriptions of the pins are listed in Table 3-1.
Additional descriptions of the device pins follows.
TABLE 3-1:PINOUT DESCRIPTION FOR THE MCP414X/416X/424X/426X
Pin
SingleDual
Rheo Pot
(1)
RheoPot
8L8L10L14L16L
SymbolI/O
Buffer
Type
Weak
Pull-up/
down
(2)
Standard Function
111116
CS
IHV w/ST“smart” SPI Chip Select Input
22221SCKIHV w/ST“smart” SPI Clock Input
3—332SDI IHV w/ST“smart” SPI Serial Data Input
—3———SDI/SDO
44443, 4V
SS
(1, 3)
I/OHV w/ST“smart” SPI Serial Data Input/Output
—P—Ground
——555P1BAAnalogNoPotentiometer 1 Terminal B
——666P1WAAnalogNoPotentiometer 1 Wiper Terminal
———77P1AAAnalogNoPotentiometer 1 Terminal A
—5—88P0AAAnalogNoPotentiomete r 0 Terminal A
56799P0WAAnalogNoPotentiometer 0 Wiper Terminal
6781010P0BAAnalogNoPotentiometer 0 Terminal B
———1112
WP
II“smart” Hardware EEPROM Write
Protect
———1213
SHDN
IHV w/ST“smart” Hardware Shutdown
7—91314SDOOONoSPI Serial Data Out
88101415V
—P—Positive Power Supply Input
DD
————11NC———No Connection
(4)
(4)
(4)
—
(4)
Exposed Pad———Note 4
Legend:HV w/ST = High Voltage tolerant input (with Schmidtt trigger input)
A = Analog pins (Potentiometer terminals) I = digital input (high Z)
O = digital output I/O = Input / Output
P = Power
Note 1: The 8-lea d Single Potentiometer devices are pin limited so the SDO pin is multiplexed with the SDI pin
(SDI/SDO pin). After the Address/Command (first 6-bits) are received, If a valid Read command has been
requested, the SDO pin starts driving the requested read data onto the SDI/SDO pin.
2: The pin’s “smart” pull-up shuts off while the pin is forced low. This is done to reduce the standby and shut-
down current.
3: The SDO is an open drain outp ut, which uses the internal “smart” pull-up. The SDI input data rate can be
at the maximum SPI frequency. the SDO output data rate will be limited by the “speed” of the pull-up, customers can increase the rate with external pull-up resistors.
4: The DFN and QFN packages have a contact on the bott om of the package. This contact is conductively
connected to the die substrate, and therefore should be unconnected or connected to the same ground as
the device’s V
The CS pin is the serial interface’s chip select input.
Forcing the CS
Forcing the CS pin to V
serial commands.
pin to VIL enables the serial commands.
enables the high-voltage
IHH
3.2Serial Data In (SDI)
The SDI pin is the serial interfaces Serial Data In pin.
This pin is connected to the Host Controllers SDO pin.
3.3Serial Data In / Serial Data Out
(SDI/SDO)
On the MCP41X1 devices, pin-out limitations do not
allow for individual SDI and SDO pins. On these
devices, the SDI and SDO pins are multiplexed.
The MCP41X1 serial interface knows when the pin
needs to change from being an input (SDI) to being an
output (SDO). The Host Controller’s SDO pin must be
properly protected from a drive conflict.
3.4Ground (VSS)
The VSS pin is the device ground reference.
3.5Potentiometer Terminal B
3.7Potentiometer Terminal A
The terminal A pin is available on the MCP4XX1
devices, and is connected to the internal potentiometer’s terminal A.
The potentiometer’s terminal A is the fixed connection
to the Full Scale wiper value of the digital potentiometer. This corresponds to a wiper value of 0x100 for 8-bit
devices or 0x80 for 7-bit devices.
The terminal A pin does not have a polarity relative to
the terminal W or B pins. The terminal A pin can
support both positive and negative current. The voltage
on terminal A must be between V
The terminal A pin is not available on the MCP4XX2
devices, and the internally terminal A signal is floating.
MCP42X1 devices have two terminal A pins, one for
each resistor network.
and VDD.
SS
3.8Write Protect (WP)
The WP pin is used to force the non-volatile memory to
be write protected.
3.9 Shutdown (SHDN)
The SHDN pin is used to force the resistor network
terminals into the hardware shutdown state.
The terminal B pin is connected to the internal potentiometer’s terminal B.
The potentiometer’s terminal B is the fixed connection
to the Zero Scale wiper value of the digital potentiometer. This corresponds to a wiper value of 0x00 for both
7-bit and 8-bit devices.
The terminal B pin does not have a polarity relative to
the terminal W or A pins. The terminal B pin can
support both positive and negative current. The voltage
on terminal B must be between V
MCP42XX devices have two terminal B pins, one for
each resistor network.
and VDD.
SS
3.6Potentiometer Wiper (W) Terminal
The terminal W pin is connected to the internal potentiometer’s terminal W (the wiper). The wiper terminal is
the adjustable terminal of the digital potentiometer. The
terminal W pin does not have a polarity relative to
terminals A or B pins. The terminal W pin can support
both positive and negative current. The voltage on
terminal W must be between V
MCP42XX devices have two terminal W pins, one for
each resistor network.
and VDD.
SS
3.10Serial Data Out (SDO)
The SDO pin is the serial interfaces Serial Data Out pin.
This pin is connected to the Host Controllers SDI pin.
This pin allows the Host Controller to read the digital
potentiometers registers, or monitor the state of the
command error bit.
3.11Positive Power Supply Input (VDD)
The VDD pin is the device’s positive po wer supply input.
The input power supply is relative to V
While the device V
performance of the device may not meet the data sheet
specifications.
This Data Sheet covers a family of thirty-two Digital
Potentiometer and Rheostat devices that will be
referred to as MCP4XXX. The MCP4XX1 devices are
the Potentiometer configuration, while the MCP4XX2
devices are the Rheostat configuration.
As the Device Block Diagram shows, there are four
main functional blocks. These are:
• POR/BOR Operation
• Memory Map
• Resistor Network
• Serial Interface (SPI)
The POR/BOR operation and the Memory Map are
discussed in this section and the Resistor Network and
SPI operation are described in their own sections. The
Device Commands commands are discussed in
Section 7.0.
4.1POR/BOR Operation
The Power-on Reset is the case where the device is
having power applied to it from V
Reset occurs when a device had power applied to it,
and that power (voltage) drops below the specified
range.
The devices RAM retention voltage (V
than the POR/BOR voltage trip point (V
maximum V
When V
POR/VBOR
POR/VBOR
voltage is less then 1.8V.
< VDD < 2.7V, the electrical
performance may not meet the data sheet
specifications. In this region, the device is capable of
reading and writing to its EEPROM and incrementing,
decrementing, reading and writing to its volatile
memory if the proper serial command is executed.
4.1.1POWER-ON RESET
When the device powers up, the device VDD will cross
the V
POR/VBOR
the V
POR/VBOR
• Volatile wiper register is loaded with value in the
corresponding non-volatile wiper register
• The TCON register is loaded it’s default value
• The device is capable of digital operation
voltage. Once the VDD voltage crosses
voltage the following happens:
. The Brown-out
SS
) is lower
RAM
POR/VBOR
). The
4.1.2BROWN-OUT RESET
When the device powers down, the device VDD will
cross the V
Once the V
POR/VBOR
DD
voltage.
voltage decreases below the V
POR/VBOR
voltage the following happens:
• Serial Interface is disabled
• EEPROM Writes are disabled
If the V
voltage decreases below the V
DD
RAM
voltage
the following happens:
• Volatile wiper registers may become corrupted
• TCON register may become corrupted
As the voltage recovers above the V
POR/VBOR
voltage
see Section 4.1.1 “Power-on Reset”.
Serial commands not completed due to a brown-out
condition may cause the memory location (volatile and
non-volatile) to become corrupted.
4.2Memory Map
The device memory is 16 locations that are 9-bits wide
(16x9 bits). This memory space contains both volatile
and non-volatile locations (see Table 4-1).
This memory can be grouped into two uses of non-volatile memory. These are:
• General Purpose Registers
• Non-V olatile W iper Registers
The non-volatile wipers starts functioning below the
devices V
POR/VBOR
trip point.
4.2.1.1General Purpose Registers
These locations allow the user to store up to 10 (9-bit)
locations worth of information.
4.2.1.2Non-Volatile Wiper Registers
These locations contain the wiper values that are
loaded into the corresponding volatile wiper register
whenever the device has a POR/BOR event. There are
up to two registers, one for each resistor network.
The non-volatile wiper register enables stand-alone
operation of the device (without Microcontroller control)
after being programmed to the desired value.
4.2.1.3Factory Initialization of Non-Volatile
Memory (EEPROM)
The Non-Volatile Wiper values will be initialized to
mid-scale value. This is shown in Table 4-2.
The General purpose EEPROM memory will be
programmed to a default value of 0xFF.
It is good practice in the manufacturing flow to
configure the device to your desired settings.
TABLE 4-2:DEFAULT FACTORY
SETTINGS SELECTION
Wiper
Code
Code
Resistance
-5025.0 kΩMid-scale 80h40hDisabled
-10310.0 kΩMid-scale 80h40hDisabled
-50350.0 kΩMid-scale 80h40hDisabled
-104100.0 kΩ Mid-scale 80h40hDisabled
Value
AB
Typical
R
8-bit 7-bit
Default POR
Wiper Setting
WiperLock™
Technology and
4.2.1.4Special Features
There are 3 non-volatile bits that are not directly
mapped into the address space. These bits control the
following functions:
• EEPROM Write Protect
• WiperLock Technology for Non-Volatile Wiper 0
• WiperLock Technology for Non-Volatile Wiper 1
The operation of WiperLock T echnology is discussed in
Section 5.3. The state of the WL0, WL1, and WP bits
is reflected in the STATUS register (see Register 4-1).
EEPROM Write Protect
All internal EEPROM memory can be Write Protected.
When EEPROM memory is Write Protected, Write
commands to the internal EEPROM are prevented.
Write Protect (WP
methods. These are:
• External WP
only)
• Non-Volatile configuration bit
High Voltage commands are required to enable and
disable the nonvolatile WP bit. These commands are
shown in Section 7.9 “Modify Write Protect or Wip-erLock Technology (High Voltage)”.
To write to EEPROM, both the external WP
internal WP EEPROM bit must be disabled. Write
Protect does not block commands to the volatile
registers.
4.2.2VOLATILE MEMORY (RAM)
There are four Volatile Memory locations. Th e se are:
This register contains 5 status bits. These bits show the
state of the WiperLock bits, the Shutdown bit the Write
Protect bit, and if an EEPROM write cycle is active. The
STATUS register can be accessed via the READ
commands. Register 4-1 describes each STATUS
register bit.
The STATUS register is placed at Address 05h.
REGISTER 4-1:STATUS REGISTER
R-1R-1R-1R-1R-0R-xR-xR-xR-x
D8:D5EEWAWL1
bit 7bit 0
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
-n = Value at POR‘1’ = Bit is set‘0’ = Bit is clearedx = Bit is unknown
bit 8-5D8:D5: Reserved. Forced to “1”
bit 4EEWA: EEPROM Write Active Status bit
This bit indicates if the EEPROM Write Cycle is occurring.
1 = An EEPROM Write cycle is currently occurring. Only serial commands to the Volatile memory
locations are allowed (addresses 00h, 01h, 04h, and 05h)
0 = An EEPROM Write cycle is NOT currently occurring
bit 3WL1: WiperLock Status bit for Resistor Network 1 (Refer to Section 5.3 “WiperLock™ Technology”
for further information)
WiperLock (WL) prevents the Volatile and Non-Volatile Wiper 1 addresses and the TCON register bits
R1HW, R1A, R1W, and R1B from being written to. High Voltage commands are required to enable and
disable WiperLock Technology.
1 = Wi per and TCON register bits R1HW, R1A, R1W, and R1B of Resistor Network 1 (Pot 1) are
“Locked” (Write Protected)
0 = Wiper and TCON of Resistor Network 1 (Pot 1) can be modified
Note:The WL1 bit always reflects the result of the last programming cycle to the non-volatile WL1
bit. After a POR or BOR event, the WL1 bit is loaded with the non-volatile WL1 bit value.
bit 2WL0: WiperLock Status bit for Resistor Network 0 (Refer to Section 5.3 “WiperLock™ Technology”
for further information)
The WiperLock T echnology bits (WLx) prevents the V olatile and Non-V olatile Wiper 0 addresses and the
TCON register bits R0HW, R0A, R0W, and R0B from being written to. High Voltage commands are
required to enable and disable WiperLock Technology.
1 = Wi per and TCON register bits R0HW, R0A, R0W, and R0B of Resistor Network 0 (Pot 0) are
“Locked” (Write Protected)
0 = Wiper and TCON of Resistor Network 0 (Pot 0) can be modified
Note:The WL0 bit always reflects the result of the last programming cycle to the non-volatile WL0
bit. After a POR or BOR event, the WL0 bit is loaded with the non-volatile WL0 bit value.
bit 1SHDN: Hardware Shutdown pin Status bit (Refer to Section 5.4 “Shutdown” for further information)
This bit indicates if the Hardware shutdown pin (SHDN
T erminal A and forces the wiper (Terminal W) to T erminal B (see Figure 5-2). While the device is in Hardware Shutdown (the SHDN
read.
1 = MCP4XXX is in the Hardware Shutdown state
0 = MCP4XXX is NOT in the Hardware Shutdown state
Note 1: Requires a High Voltage command to modify the st ate of this bit (for Non-V olatile devices only). This bit is
Not directly written, but reflects the system state (for this feature).
pin is low) the serial interface is operational so the STATUS register may be
bit 0WP: EEPROM Write Protect Status bit (Refer to Section “EEPROM Write Protect” for further infor-
mation)
This bit indicates the status of the write protection on the EEPROM memory. When Write Protect is
enabled, writes to all non-volatile memory are prevented. This includes the General Purpose EEPROM
memory, and the non-volatile Wiper registers. Write Protect does not block modification of the volatile
wiper register values or the volatile TCON register value (via Increment, Decrement, or Write
commands).
This status bit is an OR of the devices Write Protect pin (WP
Voltage commands are required to enable and disable the internal WP EEPROM bit.
1 = EEPROM memory is Write Protected
0 = EEPROM memory can be written
Note 1: Requires a High Voltage command to modify the st ate of this bit (for Non-V olatile devices only). This bit is
Not directly written, but reflects the system state (for this feature).
This register contains 8 control bits. Four bits are for
Wiper 0, and four bits are for Wiper 1. Register 4-2
describes each bit of the TCON register.
The state of each resistor network terminal connection
is individually controlled. That is, each terminal connection (A, B and W) can be individually connected/disconnected from the resistor network. This allows the
system to minimize the currents through the digital
potentiometer.
REGISTER 4-2:TCON BITS
R-1R/W-1R/W-1R/W-1R/W-1R/W-1R/W-1R/W-1R/W-1
D8R1HWR1AR1WR1BR0HWR0AR0WR0B
bit 8bit 0
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
-n = Value at POR‘1’ = Bit is set‘0’ = Bit is clearedx = Bit is unknown
bit 8D8: Reserved. Forced to “1”
bit 7R1HW: Resistor 1 Hardware Configuration Control bit
This bit forces Resistor 1 into the “shutdown” configuration of the Hardware pin
1 = Resistor 1 is NOT forced to the hardware pin “shutdown” configuration
0 = Resistor 1 is forced to the hardware pin “shutdown” configuration
bit 6R1A: Resistor 1 Terminal A (P1A pin) Connect Control bit
This bit connects/disconnects the Resistor 1 Terminal A to the Resisto r 1 Network
1 = P1A pin is connected to the Resistor 1 Network
0 = P1A pin is disconnected from the Resistor 1 Network
bit 5R1W: Resistor 1 Wiper (P1W pin) Connect Control bit
This bit connects/disconnects the Resistor 1 Wiper to the Resistor 1 Network
1 = P1W pin is connected to the Resistor 1 Network
0 = P1W pin is disconnected from the Resistor 1 Network
bit 4R1B: Resistor 1 Terminal B (P1B pin) Connect Control bit
This bit connects/disconnects the Resistor 1 Terminal B to the Resisto r 1 Network
1 = P1B pin is connected to the Resistor 1 Network
0 = P1B pin is disconnected from the Resistor 1 Network
bit 3R0HW: Resistor 0 Hardware Configuration Control bit
This bit forces Resistor 0 into the “shutdown” configuration of the Hardware pin
1 = Resistor 0 is NOT forced to the hardware pin “shutdown” configuration
0 = Resistor 0 is forced to the hardware pin “shutdown” configuration
bit 2R0A: Resistor 0 Terminal A (P0A pin) Connect Control bit
This bit connects/disconnects the Resistor 0 Terminal A to the Resisto r 0 Network
1 = P0A pin is connected to the Resistor 0 Network
0 = P0A pin is disconnected from the Resistor 0 Network
(1, 2)
The value that is written to this register will appear on
the resistor network terminals when the serial command has completed.
When the WL1 bit is enabled, writes to the TCON register bits R1HW, R1A, R1W, and R1B are inhibited.
When the WL0 bit is enabled, writes to the TCON register bits R0HW, R0A, R0W, and R0B are inhibited.
On a POR/BOR this register is loaded with 1FFh
(9-bits), for all terminals connected. The Host Controller needs to detect the POR/BOR event and then
update the Volatile TCON register value.
Note 1: The hardware SHDN
inactive state, the TCON register will control the state of the terminals. The SHDN
state of the TCON bits.
2: These bits do not affect the wiper register values.
, Terminal voltages (on A, B,
and W), and temperature.
Also for the same conditions, each tap
selection resistance has a small variation.
This R
W
variation has greater effects on
some specifications (such as INL) for the
smaller resistance devices (5.0 kΩ)
compared to larger resistance devices
(100.0 kΩ).
R
AB
8-Bit
N =
128
127
126
1
0
(01h)
(00h)
(7Eh)
(7Fh)
(80h)
7-Bit
N =
R
S
R
AB
256()
-------------=
R
S
R
AB
128()
------------- -=
8-bit Device
7-bit Device
5.0RESISTOR NETWORK
The Resistor Network has either 7-bit or 8-bit resolution. Each Resistor Network allows zero scale to full
scale connections. Figure 5-1 shows a block diagram
for the resistive network of a device.
The Resistor Network is made up of several parts.
These include:
• Resistor Ladder
•Wiper
• Shutdown (Terminal Connections)
Devices have either one or two resistor networks,
These are referred to as Pot 0 and Pot 1.
5.1Resistor Ladder Module
The resistor ladder is a series of equal value resistors
) with a connection point (tap) between the two
(R
S
resistors. The total number of resistors in the series
(ladder) determines the RAB resistance (see
Figure 5-1). The en d points of the resistor ladder are
connected to analog switches which are connected to
the device Terminal A and Terminal B pins. The R
(and RS) resistance has small variations over voltage
and temperature.
For an 8-bit device, there are 256 resistors in a string
between terminal A and terminal B. The wiper can be
set to tap onto any of these 256 resistors thus providing
257 possible settings (including terminal A and terminal
B).
For a 7-bit device, there are 128 resistors in a string
between terminal A and terminal B. The wiper can be
set to tap onto any of these 128 resistors thus providing
129 possible settings (including terminal A and terminal
B).
Each tap point (between the RS resistors) is a
connection point for an analog switch. The opposite
side of the analog switch is connected to a common
signal which is connected to the Terminal W (Wiper)
pin.
A value in the volatile wiper register selects which
analog switch to close, connecting the W terminal to
the selected node of the resistor ladder.
The wiper can connect directly to Terminal B or to
Terminal A. A zero-scale connections, connects the
Terminal W (wiper) to Terminal B (wiper setting of
000h). A full-scale connections, connects the Terminal
W (wiper) to Terminal A (wiper setting of 100h or 80h).
In these configurations the only resistance between the
T erminal W and the other Terminal (A or B) is that of the
analog switches.
A wiper setting value greater than full scale (wiper
setting of 100h for 8-bit device or 80h for 7-bit devices)
will also be a Full Scale setting (Terminal W (wiper)
connected to Terminal A). Table 5-1 illustrates the full
wiper setting map.
Equation 5-2 illustrates the calculation used to deter-
mine the resistance between the wiper and terminal B.
EQUATION 5-2:RWB CALCULATION
5.3WiperLock™ Technology
The MCP4XXX device’s WiperLock technology allows
application-specific calibration settings to be secured in
the EEPROM without requiring the use of an additional
write-protect pin. There are two WiperLock Technology
configuration bits (WL0 and WL1). These bits prevent
the Non-Volatile and V olatile addresses and bits for the
specified resistor network from being written.
The WiperLock technology prevents the serial
commands from doing the following:
• Changing a volatile wiper value
• Writing to a non-volatile wiper memory location
• Changing the volatile TCON register value
For either Resistor Network 0 or Resistor Network 1
High Voltage commands are required to enable and
disable WiperLock. Please refer to the Modify Write
Protect or WiperLock Technology (High Voltage)
command for operation.
5.3.1POR/BOR OPERATION WHEN
WIPERLOCK TECHNOLOGY
ENABLED
The WiperLock Technology state is not affected by a
POR/BOR event. A POR/BOR event will load the
Volatile Wiper register value with the Non-Volatile
Wiper register value, refer to Section 4.1.
Reserved (Full Scale (W = A)),
Increment and Decrement
commands ignored
Increment commands ignored
W = N
W = N
Decrement command ignored
MCP414X/416X/424X/426X
A
B
W
Resistor Network
SHDN (from pin)
RxHW
(from TCON register)
To Pot x Hardware
Shutdown Control
5.4Shutdown
Shutdown is used to minimize the device’s current
consumption. The MCP4XXX has two methods to
achieve this. These are:
• Hardware Shutdown Pin (SHDN)
• Terminal Control Register (TCON)
The Hardware Shutdown pin is backwards compatible
with the MCP42XXX devices.
5.4.1HARDWARE SHUTDOWN PIN
(SHDN
The SHDN pin is available on the dual potentiometer
devices. When the SHDN
• The P0A and P1A terminals are disconnected
• The P0W and P1W terminals are simultaneously
connect to the P0B and P1B terminals, respectively (see Figure 5-2)
• The Serial Interface is NOT disabled, and all
Serial Interface activity is executed
• Any EEPROM write cycles are completed
The Hardware Shutdown pin mode does NOT corrupt
the values in the Volatile Wiper Registers nor the
TCON register. When the Shutdown mode is exited
pin is inactive (VIH)):
(SHDN
• The device returns to the Wiper setting specified
by the Volatile Wiper value
• The TCON register bits return to controlling the
terminal connection state
)
pin is forced active (VIL):
5.4.2TERMINAL CONTROL REGISTER
(TCON)
The Terminal Control (TCON) register is a volatile
register used to configure the connection of each
resistor network terminal pin (A, B, and W) to the
Resistor Network. This register is shown in
Register 4-2.
The RxHW bits forces the selected resistor network
into the same state as the SHDN
power configurations may be achieved with the RxA,
RxW, and RxB bits.
Note:When the RxHW bit forces the resistor
network into the hardware SHDN state,
the state of the TCON register RxA, RxW,
and RxB bits is overridden (ignored).
When the state of the RxHW bit no longer
forces the resistor network into the hardware SHDN
RxW, and RxB bits return to controlling the
terminal connection state. In other words,
the RxHW bit does not corrupt the state of
the RxA, RxW, and RxB bits.
state, the TCON register RxA,
pin. Alternate low
5.4.3INTERACTION OF SHDN PIN AND
TCON REGISTER
Figure 5-3 shows how the SHDN pin signal and the
RxHW bit signal interact to control the hardware
shutdown of each resistor network (independently).
Using the TCON bits allows each resistor network (Pot
0 and Pot 1) to be individually “shutdown” while the
hardware pin forces both resistor networks to be “shutdown” at the same time.
Note 1: If High voltage commands are desired, some type of external circuitry needs to be
implemented.
6.0SERIAL INTERFACE (SPI)
The MCP4XXX devices support the SPI serial protocol.
This SPI operates in the slave mode (does not
generate the serial clock).
The SPI interface uses up to four pins. These are:
- Chip Select
•CS
• SCK - Serial Clock
• SDI - Serial Data In
• SDO - Serial Data Out
Typical SPI Interfaces are shown in Figure 6-1. In the
SPI interface, The Master’s Output pin is connected to
the Slave’s Input pin and the Master’s Input pin is
connected to the Slave’s Output pin.
The MCP4XXX SPI’s module supports two (of the four)
IHH
).
0,0 and 1,1.
standard SPI modes. These are Mode
The SPI mode is determined by the state of the SCK
pin (V
inactive (VIH) to active (VIL or V
All SPI interface signals are high-voltage tolerant.
The operation of the four SPI interface pins are
discussed in this section. These pins are:
• SDI (Serial Data In)
• SDO (Serial Data Out)
• SCK (Serial Clock)
(Chip Select)
•CS
The serial interface works on either 8-bit or 16-bit
boundaries depending on the selected command. The
Chip Select (CS
6.1.1SERIAL DATA IN (SDI)
The Serial Data In (SDI) signal is the data signal into
the device. The value on this pin is latched on the rising
edge of the SCK signal.
6.1.2SERIAL DATA OUT (SDO)
The Serial Data Out (SDO) signal is the data signal out
of the device. The value on this pin is driven on the
falling edge of the SCK signal.
Once the CS
V
), the SDO pin will be driven. The state of the SDO
IHH
pin is determined by the serial bit’s position in the
command, the command selected, and if there is a
command error state (CMDERR).
) pin frames the SPI commands.
pin is forced to the active level (VIL or
6.1.3SDI/SDO
Note:MCP41X1 Devices Only .
For device packages that do not have enough pins for
both an SDI and SDO pin, the SDI and SDO functionality is multiplexed onto a single I/O pin called SDI/
SDO.
The SDO will only be driven for the command error bit
(CMDERR) and during the data bits of a read command
(after the memory address and command has been
received).
6.1.3.1SDI/SDO Operation
Figure 6-2 shows a block diagram of the SDI/SDO pin.
The SDI signal has an internal “smart” pull-up. The
value of this pull-up determines the frequency that data
can be read from the device. An external pull-up can be
added to the SDI/SDO pin to improve the rise time and
therefore improve the frequency that data can be read.
Note:To support the High volt age requirement of
the SDI function, the SDO function is an
open drain output.
Data written on the SDI/SDO pin can be at the
maximum SPI frequency.
Note:Care must be take to ensure that a Drive
conflict does not exist between the Host
Controllers SDO pin (or software SDI/SDO
pin) and the MCP41x1 SDI/SDO pin (see
Figure 6-1).
On the falling edge of the SCK pin during th e C0 bit
(see Figure 7-1), the SDI/SDO pin will start outputting
the SDO value. The SDO signal overrides the control of
the smart pull-up, such that whenever the SDI /SDO pin
is outputting data, the smart pull-up is enabled.
The SDI/SDO pin will change from an input (SDI) to an
output (SDO) after the state machine has received the
Address and Command bits of the Command Byte. If
the command is a Read command, then the SDI/SDO
pin will remain an output for the remainder of the
command. For any other command, the SDI/SDO pin
returns to an input.
6.1.4SERIAL CLOCK (SCK)
(SPI FREQUENCY OF OPERATION)
The SPI interface is specified to operate up to 10 MHz.
The actual clock rate depends on the configuration of
the system and the serial command used. Table 6-1
shows the SCK frequency for different configurations.
TABLE 6-1:SCK FREQUENCY
Command
Memory Type Access
Non-Volatile
Memory
Volatile
Memory
SDI, SDO10 MHz 10 MHz
SDI/SDO
(1)
250 kHz
SDI, SDO10 MHz 10 MHz
SDI/SDO
(1)
250 kHz
Note 1: MCP41X1 devices only
2: Non-Volatile memory does not support
the Increment or Decrement command .
3: After a Write command, the internal write
cycle must complete before the next SPI
command is received.
4: This is the maximum clock frequency
without an external pull-up resistor.
Read
Write,
Increment,
Decrement
(4)
10 MHz
(4)
10 MHz
(2, 3)
(2, 3)
6.1.5THE CS
SIGNAL
The Chip Select (CS) signal is used to select the device
and frame a command sequence. To st art a command,
or sequence of commands, the CS
signal must
transition from the inactive state (VIH) to an active state
or V
(V
IL
After the CS
).
IHH
signal has gone active, the SDO pin is
driven and the clock bit counter is reset.
Note:There is a required delay after the CS pin
goes active to the 1st edge of the SCK pin.
If an error condition occurs for an SPI command, then
the Command byte’s Command Error (CMDERR) bit
(on the SDO pin) will be driven low (V
). To exit the
IL
error condition, the user must take the CS pin to the V
level.
When the CS
pin returns to the inactive state (VIH) the
SPI module resets (including the address pointer).
While the CS
pin is in the inactive state (VIH), the serial
interface is ignored. This allows the Host Controller to
interface to other SPI devices using the same SDI,
SDO, and SCK signals.
pin has an internal pull-up resistor. The resistor
The CS
is disabled when the voltage on the CS pin is at the V
level. This means that when the CS pin is not driven,
the internal pull-up resistor will pull this signal to the V
level. When the CS pin is driven low (VIL), the resistance becomes very large to reduce the device current
consumption.
The high voltage capability of the CS
pin allows High
Voltage commands. High Voltage commands allow the
device’s WiperLock Technology and write protect
features to be enabled and disabled.
The SPI module supports two (of the four) standard SPI
modes. These are Mode 0,0 and 1,1. The mode is
determined by the state of the SDI pin on the rising
edge of the 1st clock bit (of the 8-bit byte).
6.2.1MODE 0,0
In Mode 0,0: SCK idle state = low (VIL), data is clocked
in on the SDI pin on the rising edge of SCK and clocked
out on the SDO pin on the falling edge of SCK.
6.2.2MODE 1,1
In Mode 1,1: SCK idle state = high (VIH), data is
clocked in on the SDI pin on the rising edge of SCK and
clocked out on the SDO pin on the falling edge of SCK.
6.3SPI Waveforms
Figure 6-3 thro ugh Figure6-8 show the different SPI
command waveforms. Figure 6-3 and Figure 6-4 are
read and write commands. Figure 6-5 and Figure 6-6
are read commands when the SDI and SDO pins are
multiplexed on the same pin (SDI/SDO). Figure 6-7
and Figure 6-8 are increment and decrement
commands. The high voltage increment and decrement
commands are used to enable and disable WiperLock
Technology and Write Protect.
The MCP4XXX’s SPI command format supports 16
memory address locations and four commands. Each
command has two modes. These are:
• Normal Serial Commands
• High-Voltage Serial Commands
Normal serial commands are those where the CS
driven to V
CS pin is driven to V
possible commands. These commands are shown in
Table7-1.
The 8-bit commands (Increment Wiper and Decre-
ment Wiper commands) contain a Command Byte,
see Figure 7-1, while 16-bit commands (Read Data
and Wri t e D a ta commands) contain a C ommand Byte
and a Data Byte. The Command Byte contains two data
bits, see Figure 7-1.
Table7-2 shows the supported commands for each
memory location and the corresponding values on the
SDI and SDO pins.
Table7-3 sho ws an overview o f all the SPI co mmands
and their interaction with other device features.
. With High-Voltage Serial Commands, the
IL
. In each mode, there are four
IHH
pin is
7.1Command Byte
The Command Byte has three fields, the Address, the
Command, and 2 Data bits, see Figure 7-1. Currently
only one of the data bits is defined (D8). This is for the
Write command.
The device memory is accessed when the master
sends a proper Command Byte to select the desired
operation. The memory location getting accessed is
contained in the Command Byte’s AD3:AD0 bits. The
action desired is contained in the Command Byte’s
C1:C0 bits, see Table 7-1. C1:C0 determines if the
desired memory location will be read, written,
Incremented (wiper setting +1) or Decremented (wiper
setting -1). The Increment and Decrement commands
are only valid on the volatile wiper registers, and in
High Voltage commands to enable/disable WiperLock
Technology and Software Write Protect.
As the Command Byte is being loaded into the device
(on the SDI pin), the device’s SDO pin is driving. The
SDO pin will output high bits for the first six bits of that
command. On the 7th bit, the SDO pin will output the
CMDERR bit state (see Section 7.3 “Error Condi-tion”). The 8th bit state depends on the the command
selected.
T ABLE 7-1:COMMAND BIT OVERVIEW
C1:C0
Bit
Command
States
Read Data16-Bits Both
11
Write Data16-Bits Both
00
Increment
01
Decrement
10
Note 1: High Voltage Increment and Decrement
(1)
commands on select non-volatile memory
locations enable/disable WiperLock
Technology and the software Write
Protect feature.
Note 1: The Data Memory is only 9-bits wide, so the MSb is ignored by the device.
2: All these Address/Command combinations are valid, so the CMDERR bit is set. Any other Address/Command combi-
nation is a command error state and the CMDERR bit will be clear.
3: Disables WiperLock Technology for wiper 0 or wiper 1, or disables Write Protect.
4: Enables WiperLock Technology for wiper 0 or wiper 1, or enables Write Protect.
5: Reserved addresses: Increment or Decrement commands are invalid for these addresses.
Only the Read Command and the Write Command use
the Data Byte, see Figure 7-1. These commands
concatenate the 8-bits of the Data Byte with the one
data bit (D8) contained in the Command Byte to form
9-bits of data (D8:D0). The Command Byte format
supports up to 9-bits of data so that the 8-bit resistor
network can be set to Full Scale (100h or greater). This
allows wiper connections to Terminal A and to
Terminal B.
The D9 bit is currently unused, and corresponds to the
position on the SDO data of the CMDERR bit.
7.3Error Condition
The CMDERR bit indicates if the four address bits
received (AD3:AD0) and the two command bits
received (C1:C0) are a valid combination (see
Table4-1). The CMDERR bit is high if the combination
is valid and low if the combination is invalid.
The command error bit will also be low i f a write to a
Non-Volatile Address has been specified and another
SPI command occurs before the CS
inactive (VIH).
SPI commands that do not have a multiple of 8 clocks
are ignored.
Once an error condition has occurred, any following
commands are ignored. All following SDO bits will be
low until the CMDERR condition is cleared by forcing
pin to the inactive state (VIH).
the CS
pin is driven
7.3.1ABORTING A TRANSMISSION
All SPI transmissions must have the correct number of
SCK pulses to be executed. The command is not
executed until the complete number of clocks have
been received. Some commands also require the CS
pin to be forced inactive (VIH). If the CS pin is forced to
the inactive state (VIH) the serial interface is reset.
Partial commands are not executed.
SPI is more susceptible to noise than other bus
protocols. The most likely case is that this noise
corrupts the value of the data being clocked into the
MCP4XXX or the SCK pin is injected with extra clock
pulses. This may cause data to be corrupted in the
device, or a command error to occur, since the address
and command bits were not a valid combination. The
extra SCK pulse will also cause the SPI data (SDI) and
clock (SCK) to be out of sync. Forcing the CS
inactive state (V
interface will ignore activity on the SDI and SCK pins
until the CS pin transition to the active state is detected
to VIL or VIH to V
(V
IH
Note 1: Wh en data is not being received by the
2: It is also recommended that long continu-
) resets the serial interface. The SPI
IH
).
IHH
MCP4XXX, It is recommended that the
pin be forced to the inactive level (VIL)
CS
ous command strings should be broken
down into single commands or shorter
continuous command strings. This
reduces the probability of noise on the
SCK pin corrupting the desired SPI
commands.
The device supports the ability to execute commands
continuously. While the CS
or V
). Any sequence of valid commands may be
IHH
received.
The following example is a valid sequence of events:
1.CS pin driven active (VIL or V
2.Read Command.
3.Increment Command (Wiper 0).
4.Increment Command (Wiper 0).
5.Decrement Command (Wiper 1).
pin is in the active state (V
).
IHH
IL
Note 1: It is recommended that while the CS pin is
active, only one type of command should
be issued. When changing commands, it
is recommended to take the CS
inactive then force it back to the active
state.
2: It is also recommended that long
command strings should be broken down
into shorter command strings. This
reduces the probability of noise on the
SCK pin corrupting the desired SPI
command string.
High Voltage Write D ata16-BitsYesBothYesunchangedNo
High Voltage Read Data16-Bits—BothYesunchangedY e s
High Voltage Increment Wiper 8-Bits —Volatile OnlyYesunchangedNo
High Voltage Decrement Wiper 8-Bits—Volatile OnlyYesunchangedNo
Modify Write Protect or WiperLock Technology (High Voltage) -
8-Bits—
(2)
Non-Volatile
Only
(2)
Yeslocked/
protected
(2)
Enable
Modify Write Protect or WiperLock Technology (High Voltage) -
8-Bits—
Non-Volatile
Only
(3)
Yesunlocked/
unprotected
(3)
Disable
Note 1: This command will only complete if wiper is “unlocked” (WiperLock Technology is Disabled).
2: If th e command is executed using address 02h or 03h, then that corresponding wiper is locked or
if with address 0Fh, then Write Protect is enabled.
3: If th e command is executed using with address 02h or 03h, then that corresponding wiper is unlocked or
if with address 0Fh, then Write Protect is disabled.
Note 1: If an Error Condition occurs (CMDERR = L), all following SDO bits will be low until the CMDERR
condition is cleared (the CS
pin is forced to the inactive state).
7.5Write Data
Normal and High Voltage
The Write command is a 16-bit command. The Write
Command can be issued to both the Volatile and
Non-Volatile memory locations. The format of the
command is shown in Figure 7-2.
A Write command to a Volatile memory location
changes that location after a properly formatted Write
Command (16-clock) have been received.
A Write command to a Non-Volatile memory location
will only start a write cycle after a properly formatted
Write Command (16-clock) have been received and the
pin transitions to the inactive state (VIH).
CS
Note:Writes to certain memory locations will be
dependant on the state of the WiperLock
Technology bits and the Write Protect bit.
7.5.1SINGLE WRITE TO VOLATILE
MEMORY
The write operation requires that the CS pin be in the
active state (VILor V
the inactive state (VIH) and is driven to the active state
). The 16-bit Write Command (Command Byte and
(V
IL
Data Byte) is then clocked in on the SCK and SDI pins.
Once all 16 bits have been received, the specified
volatile address is updated. A write will not occur if the
write command isn’t exactly 16 clocks pulses. This
protects against system issues from corrupting the
Non-Volatile memory locations.
Figure 6-3 and Figure 6-4 show possible waveforms
for a single write.
). Typically, the CS pin will be in
IHH
7.5.2SINGLE WRITE TO NON-VOLATILE
MEMORY
The sequence to write to to a single non-volatile
memory location is the same as a single write to volatile
memory with the exception that after the CS
driven inactive (VIH), the EEPROM write cycle (twc) is
started. A write cycle will not start if the write command
isn’t exactly 16 clocks pulses. This protects against
system issues from corrupting the Non-Volatile
memory locations.
After the CS
interface may immediately be re-enabled by driving the
pin to the active state (VILor V
CS
During an EEPROM write cycle, only serial commands
to Volatile memory (addresses 00h, 01h, 04h, and 05h)
are accepted. All other serial commands are ignored
until the EEPROM write cycle (t
allows the Host Controller to operate on the Volatile
Wiper registers and the TCON register, and to Read
the Status Register . The EEW A bit in the S tatus register
indicates the status of an EEPROM Write Cycle.
Once a write command to a Non-Volatile memory
location has been received, NO other SPI commands
should be received before the CS
inactive state (VIH) or the current SPI command will
have a Command Error (CMDERR) occur.
The Read command is a 16-bit command. The Rea d
Command can be issued to both the Volatile and
Non-Volatile memory locations. The format of the
command is shown in Figure 7-4.
The first 6-bits of the Read command determine the
address and the command. The 7th clock will output
the CMDERR bit on the SDO pin. The remaining
9-clocks the device will transmit the 9 data bits (D8:D0)
of the specified address (AD3:AD0).
Figure 7-4 shows the SDI and SDO information for a
Read command.
During a write cycle (Write or High Voltage Write to a
Non-Volatile memory location) the Read command can
only read the Volatile memory locations. By reading the
Status Register (04h), the Host Controller can
determine when the write cycle has completed (via the
state of the EEWA bit).
7.6.1SINGLE READ
The read operation requires that the CS pin be in the
or V
active state (V
the inactive state (VIH) and is driven to the active state
(VILor V
Byte and Data Byte) is then clocked in on the SCK and
SDI pins. The SDO pin starts driving data on the 7th bit
(CMDERR bit) and the addressed data comes out on
the 8th through 16th clocks. Figure 6-3 through
Figure 6-6 show possible waveforms for a single read.
Figure 6-5 and Figure 6-6 sh ow the single read wave-
forms when the SDI and SDO signals are multiplexed
on the same pin. For additional information on the multiplexing of these signals, refer to Section 6.1.3 “SDI/SDO”.
Note 1: If a Command Error (CMDERR) occurs at this bit location (*), then all following SDO bits will be
driven low until the CS pin is driven inactive (VIH).
7.6.2CONTINUOUS READS
Continuous reads allows the devices memory to be
read quickly. Continuous reads are possible to all memory locations. If a non-volatile memory write cycle is
occurring, then Read commands may only access the
volatile memory locations.
Figure 7-5 shows the sequence for three continuous
reads. The reads do not need to be to the same
memory address.
all following SDO bits will be low until the
CMDERR condition is cleared.
(the CS
pin is forced to the inactive
state).
4: If a Command Error (CMDERR) occurs
at this bit location (*), then all following
SDO bits will be driven low until the CS
pin is driven inactive (VIH).
7.7Increment Wiper
Normal and High Voltage
The Increment Command is an 8-bit command. The
Increment Command can only be issued to volatile
memory locations. The format of the command is
shown in Figure 7-6.
An Increment Command to the volatile memory
location changes that location after a properly
formatted command (8-clocks) have been received.
Increment commands provide a quick and easy
method to modify the value of the volatile wiper location
by +1 with minimal overhead.
7.7.1SINGLE INCREMENT
Typically, the CS pin starts at the inactive state (VIH),
but may be already be in the active state due to the
completion of another command.
Figure 6-7 through Figure6-8 show possible
waveforms for a single increment. The increment
operation requires that the CS
(VILor V
state (V
The 8-bit Increment Command (Command Byte) is
then clocked in on the SDI pin by the SCK pins. The
SDO pin drives the CMDERR bit on the 7th clock.
The wiper value will increment up to 100h on 8-bit
devices and 80h on 7-bit devices. After the wiper value
has reached Full Scale (8-bit =100h, 7-bit = 80h), the
wiper value will not be incremented further. If the Wiper
register has a value between 101h and 1FFh, the
Increment command is disabled. See Table 7-4 for
additional information on the Increment Command
versus the current volatile wiper value.
The Increment operations only require the Increment
command byte while the CS
for a single increment.
After the wiper is incremented to the desired position,
the CS
unexpected transitions on the SCK pin do not cause
the wiper setting to change. Driving the CS
should occur as soon as possible (within device
specifications) after the last desired increment occurs.
). Typically, the CS pin will be in the inactive
IHH
) and is driven to the active state (VILor V
IH
pin should be forced to VIH to ensure that
pin be in the active state
pin is active (VIL or V
pin to V
IHH
IHH
).
)
IH
FIGURE 7-6:Increment Command SDI and SDO States.
Note:Table7-2 shows the valid addresses for
the Increment Wiper command. Other
addresses are invalid.
Note 1: Only fu nctions when writing the volatile wiper registers (AD3:AD0) 0h and 1h.
2: Valid Address/Command combination.
3: Invali d Address/Command combination.
4: If an Error Condition occurs (CMDERR = L), all following SDO bits will be low until the CMDERR
condition is cleared (the CS
pin is forced to the inactive state).
7.7.2CONTINUOUS INCREMENTS
Continuous Increments are possible only when writing
to the volatile memory registers (address 00h, and
01h).
Figure 7-7 shows a Continuous Increment sequence
for three continuous writes. The writes do not need to
be to the same volatile memory address.
When executing an continuous Increment commands,
the selected wiper will be altered from n to n+1 for each
Increment command received. The wiper value will
increment up to 100h on 8-bit devices and 80h on 7-bit
devices. After the wiper value has reached Full Scale
(8-bit =100h, 7-bit =80h), the wiper value will not be
incremented further. If the Wiper register has a value
between 101h and 1FFh, the Increment command is
disabled.
Increment commands can be sent repeatedly without
raising CS
the Volatile Wiper register can be read using a Read
Command and written to the corresponding Non-Volatile Wiper EEPROM using a Write Command.
When executing a continuous command string, The
Increment command can be followed by any other valid
command.
The wiper terminal will move after the command has
been received (8th clock).
After the wiper is incremented to the desired position,
the CS
unexpected transitions (on the SCK pin do not cause
the wiper setting to change). Driving the CS pin to V
should occur as soon as possible (within device
specifications) after the last desired increment occurs.
until a desired condition is met. The value in
pin should be forced to VIH to ensure that
IH
FIGURE 7-7:Continuous Increment Command - SDI and SDO States.
all following SDO bits will be low until the
CMDERR condition is cleared.
(the CS
pin is forced to the inactive
state).
4: If a Command Error (CMDERR) occurs
at this bit location (*), then all following
SDO bits will be driven low until the CS
pin is driven inactive (VIH).
7.8Decrement Wiper
Normal and High Voltage
The Decrement Command is an 8-bit command. The
Decrement Command can only be issued to volatile
memory locations. The format of the command is
shown in Figure 7-6.
An Decrement Command to the volatile memory
location changes that location after a properly
formatted command (8-clocks) have been received.
Decrement commands provide a quick and easy
method to modify the value of the volatile wiper location
by -1 with minimal overhead.
7.8.1SINGLE DECREMENT
Typically the CS pin starts at the inactive state (VIH), but
may be already be in the active state due to the completion of another command.
Figure 6-7 through Figure6-8 show possible
waveforms for a single Decrement. The decrement
operation requires that the CS
(VILor V
state (V
Then the 8-bit Decrement Command (Command Byte)
is clocked in on the SDI pin by the SCK pins. The SDO
pin drives the CMDERR bit on th e 7th clock.
The wiper value will decrement from the wipers Full
Scale value (100h on 8-bit devices and 80h on 7-bit
devices). Above the wipers Full Scale value
(8-bit =101h to 1FFh, 7-bit = 81h to FFh), the
decrement command is disabled. If the Wiper register
has a Zero Scale value (000h), then the wiper value will
not decrement. See Table 7-4 for additional information
on the Decrement Command vs. the current volatile
wiper value.
The Decrement commands only require the Decrement
command byte, while the CS
for a single decrement.
After the wiper is decremented to the desired position,
the CS
unexpected transitions on the SCK pin do not cause
the wiper setting to change. Driving the CS
should occur as soon as possible (within device
specifications) after the last desired decrement occurs.
the Decrement Wiper command. Other
addresses are invalid.
T ABLE 7-5:DECREMENT OPERATION VS.
VOLATILE WIPER VALUE
Current Wiper
Setting
7-bit
Pot
3FFh
081h
080h100hFull Scale (W = A)Yes
07Fh
041h
040h080hW = N (Mid-Scale) Yes
03Fh
001h
000h000hZero Scale (W = B) No
8-bit
Pot
3FFh
101h
0FFh
081
07Fh
001
Wiper (W)
Properties
Reserved
(Full Scale (W = A))
W = N
W = N
Decrement
Command
Operates?
No
MCP414X/416X/424X/426X
A
D
3
A
D
2
A
D
1
A
D
0
10XXA
D
3
A
D
2
A
D
1
A
D
0
10XXA
D
3
A
D
2
A
D
1
A
D
0
10XX
1111111*11111111*11111111*1Note 1, 2
111111
000000000000000000 Note 3, 4
11111111111111
0000000000 Note 3, 4
1111111111111111111111
00 Note 3, 4
(DECR COMMAND (n-1) )(DECR COMMAND (n-1) )
(DECR COMMAND (n-1) )
SDI
SDO
COMMAND BYTE
COMMAND BYTE
COMMAND BYTE
Note 1: Only fu nctions when writing the volatile wiper registers (AD3:AD0) 0h and 1h.
2: Valid Address/Command combination.
3: Inval id Address/Command combination.
4: If an Error Condition occurs (CMDERR = L), all following SDO bits will be low until the CMDERR
condition is cleared (the CS
pin is forced to the inactive state).
7.8.2CONTINUOUS DECREMENTS
Continuous Decrements are possible only when writing
to the volatile memory registers (address 00h, 01h, and
04h).
Figure 7-9 sho ws a continuous Decrement sequence
for three continuous writes. The writes do not need to
be to the same volatile memory address.
When executing an continuous Decrement commands,
the selected wiper will be altered from n to n-1 for each
Decrement command received. The wiper value will
decrement from the wipers Full Scale value (100h on
8-bit devices and 80h on 7-bit devices). Above the
wipers Full Scale value (8-bit =101h to 1FFh,
7-bit = 81h to FFh), the decrement command is
disabled. If the Wiper register has a Zero Scale value
(000h), then the wiper value will not decrement. See
Table7-4 for a dditional information on the Decrement
Command vs. the current volatile wiper value.
Decrement commands can be sent repeatedly without
raising CS
the Volatile Wiper register can be read using a Read
Command and written to the corresponding Non-Volatile Wiper EEPROM using a Write Command.
When executing a continuous command string, The
Decrement command can be followed by any other
valid command.
The wiper terminal will move after the command has
been received (8th clock).
After the wiper is decremented to the desired position,
the CS
“unexpected” transitions (on the SCK pin do not cause
the wiper setting to change). Driving the CS pin to V
should occur as soon as possible (within device
specifications) after the last desired decrement occurs.
until a desired condition is met. The value in
pin should be forced to VIH to ensure that
IH
FIGURE 7-9:Continuous Decrement Command - SDI and SDO States.
7.9Modify Write Protect or WiperLock
Technology (High Voltage)
Enable and Disable
This command is a special case of the High Voltage
Decrement Wiper and High V oltage Increment Wip er
commands to the non-volatile memory locations 02h,
03h, and 0Fh. This command is used to enable or disable either the software Write Protect, wiper 0
WiperLock Techn olo gy, or wiper 1 WiperLock Technology. Table 7-6 shows the memory addresses, the High
Voltage command and the result of those commands
on the non-volatile WP, WL0, 0r WL1 bits. The format
of the command is shown in Figure 7-8 (Enable) or
Figure 7-6 (Disable).
7.9.1SINGLE ENABLE WRITE PROTECT
OR WIPERLOCK TECHNOLOGY
(HIGH VOLTAGE)
Figure 6-7 through Figure6-8 show possible
waveforms for a single Modify Write Protect or WiperLock Technology command.
A Modify Write Protect or WiperLock Technology
Command will only start an EEPROM write cycle (t
after a properly formatted Command (8-clocks) has
been received and the CS pin transitions to the inactive
state (V
After the CS
interface may immediately be re-enabled by driving the
CS pin to the active state (VIL or V
During an EEPROM write cycle, only serial commands
to Volatile memory (addresses 00h, 01h, 04h, and 05h)
are accepted. All other serial commands are ignored
until the EEPROM write cycle (t
allows the Host Controller to operate on the Volatile
Wiper registers and the TCON register, and to Read
the Status Register . The EEW A bit in the S tatus register
indicates the status of an EEPROM Write Cycle.
).
IH
pin is driven inactive (VIH), the serial
).
IHH
) completes. This
wc
TABLE 7-6:ADDRESS MAP TO MODIFY WR ITE PROTECT AND WIPERLOCK TECHNOLOGY
Memory
Address
00hWiper 0 register is inc rementedWiper 0 register is incremented
01hWiper 1 register is inc rementedWiper 1 register is incremented
02hWL0 is enabled WL0 is disabled
03hWL1 is enabled WL1 is disabled
(1)
04h
05h - 0Eh
0FhWP is enabled WP is disabled
Note 1: Reserved addresses: Increment or Decrement commands are invalid for these addresses.
High Voltage Decrement WiperHigh Voltage Increment Wiper
TCON register not changed, CMDERR bit is set TCON register not changed, CMDERR bit is set
Non-volatile digital potentiometers have a multitude of
practical uses in modern electronic circuits. The most
popular uses include precision calibration of set point
thresholds, sensor trimming, LCD bias trimming, audio
attenuation, adjustable power supplies, motor control
overcurrent trip setting, adjustable gain amplifiers and
offset trimming. The MCP414X/416X/424X/426X
devices can be used to replace the common mechanical trim pot in applications where the operating and
terminal voltages are within CMOS process limitations
= 2.7V to 5.5V).
(V
DD
8.1Split Rail Applications
All inputs that would be used to interface to a Host
Controller support High Voltage on their input pin. This
allows the MCP4XXX device to be used in split power
rail applications.
An example of this is a battery application where the
®
MCU is directly powered by the battery supply
PIC
(4.8V) and the MCP4XXX device is powered by the
3.3V regulated voltage.
For SPI applications, these inputs are:
•CS
•SCK
• SDI (or SDI/SDO)
•WP
• SHDN
Figure 8-1 through Figure 8-2 show three example split
rail systems. In this system, the MCP4XXX interface
input signals need to be able to support the PIC MCU
output high voltage (V
In Example #1 (Figure 8-1), the MCP4XXX interface
input signals need to be able to support the PIC MCU
output high voltage (V
becomes too large, then the customer may be required
to do some level shifting due to MCP4XXX V
related to Host Controller V
In Example #2 (Figure 8-2), the MCP4XXX interface
input signals need to be able to support the lower voltage of the PIC MCU output high voltage level (V
Table8-1 shows an example PIC microcontroller I/O
voltage specifications and the MCP4XXX specifications. So this PIC MCU operating at 3.3V will drive a
at 2.64V , and for the MCP4XXX operating at 5.5V ,
V
OH
the V
is 2.47V. Therefore, the interface signal s meet
IH
specifications.
).
OH
). If the split rail voltage delta
OH
levels.
IH
OH
levels
).
OH
FIGURE 8-1:Example Split Rail System
1.
FIGURE 8-2:Example Split Rail System
2.
TABLE 8-1:V
(1)
PIC
MCP4XXX
V
DDVIH VOHVDDVIH
5.54.44.42.71.215 —
5.04.04.03.01.35—
4.53.63.63.31.485 —
3.32.64 2.64 4.52.025 —
3.02.42.45.02.25—
2.72.16 2.16 5.52.475 —
Note 1: V
OH
V
OL
VIH minimum = 0.8 * VDD;
maximum = 0.2 * VDD;
V
IL
2: V
OH
V
OL
minimum = 0.45 * VDD;
V
IH
VIL maximum = 0.2 * VDD
3: The only MCP4XXX output pin is SDO,
which is Open-Drain (or Open-Drain with
Internal Pull-up) with High Voltage Support
The circuit in Figure 8-3 shows a method using the
TC1240A doubling charge pump. When the SHDN pin
is high, the TC1240A is off, and the level on the CS
pin
is controlled by the PIC® microcontrollers (MCUs) IO2
pin.
When the SHDN pin is low, the TC1240A is on and the
voltage is 2 * VDD. The resistor R1 allows the CS
V
OUT
pin to go higher than the voltage such that the PIC
MCU’s IO2 pin “clamps” at approximately V
DD.
FIGURE 8-4:MCP4XXX Non-volatile
Digital Potentiometer Evaluation Board
(MCP402XEV) implementation to generate the
V
voltage.
IHH
8.3Using Shutdown Modes
Figure 8-5 shows a possi ble application circuit where
the independent terminals could be used. Disconnecting the wiper allows the transistor input to be taken to
the Bias voltage level (disconnecting A and or B may be
desired to reduce system current). Disconnecting Terminal A modifies the transistor input by the R
stat value to the Common B. Disconnecting T erminal B
modifies the transistor input by the RAW rheostat value
FIGURE 8-3:Using the TC1240A to
generate the V
The circuit in Figure 8-4 shows the method used on the
MCP402X Non-volatile Digital Potentiometer Evaluation Board (Part Number: MCP402XEV). This method
requires that the system voltage be approximately 5V.
This ensures that when the PIC10F206 enters a
brown-out condition, there is an insufficient voltage
level on the CS
wiper. The MCP402X Non-volatile Digital Potentiometer Evaluation Board User’s Guide (DS51546) cont ains
a complete schematic.
GP0 is a general purpose I/O pin, while GP2 can either
be a general purpose I/O pin or it can output the internal
clock.
For the serial commands, configure the GP2 pin as an
input (high impedance). The output state of the GP0 pin
will determine the voltage on the CS
For high-voltage serial commands, force the GP0
output pin to output a high level (V
GP2 pin to output the internal clock. This will form a
charge pump and increase the voltage on the CS
(when the system voltage is approximately 5V).
to the Common A. The Common A and Common B
connections could be connected to V
and VSS.
DD
FIGURE 8-5:Example Application Circuit
using Terminal Disconnects.
BW
rheo-
MCP414X/416X/424X/426X
V
DD
V
DD
V
SS
V
SS
MCP414X/416X/
424X/426X
0.1 µF
PIC
®
Microcontroller
0.1 µF
U/D
CS
W
B
A
8.4Design Considerations
In the design of a system with the MCP4XXX devices,
the following considerations should be taken into
account:
• Power Supply Considerations
• Layout Considerations
8.4.1POWER SUPPLY
CONSIDERATIONS
The typical application will require a bypass capacitor
in order to filter high-frequency noise, which can be
induced onto the power supply's traces. The bypass
capacitor helps to minimize the effect of these noise
sources on signal integrity. Figure 8-6 illustrates an
appropriate bypass strategy.
In this example, the recommended bypass capacitor
value is 0.1 µF. This capacitor should be placed as
DD
DD
) as
and
close (within 4 mm) to the device power pin (V
possible.
The power source supplying these devices should be
as clean as possible. If the application circuit has
separate digital and analog power supplies, V
should reside on the analog plane.
V
SS
8.4.2LAYOUT CONSIDERATIONS
Inductively-coupled AC transients and digital switching
noise can degrade the input and output signal integrity,
potentially masking the MCP4XXX’s performance.
Careful board layout minimizes these effects and
increases the Signal-to-Noise Ratio (SNR). Multi-layer
boards utilizing a low-inductance ground plane,
isolated inputs, isolated outputs and proper decoupling
are critical to achieving the performance that the silicon
is capable of providing. Particularly harsh environments may require shielding of critical signals.
If low noise is desired, breadboards and wire-wrapped
boards are not recommended.
8.4.3RESISTOR TEMPCO
Characterization curves of the resistor temperature
coefficient (Tempco) are shown in Figure 2-8,
Figure 2-19, Figure 2-29, and Figure 2-39.
These curves show that the resistor network is
designed to correct for the change in resistance as
temperature increases. This technique reduces the
end to end change is R
resistance.
AB
8.4.4HIGH VOLTAGE TOLERANT PINS
High Voltage support (V
supports two features. These are:
• In-Circuit Accommodation of split rail applications
and power supply sync issues
• User configuration of the Non-Volatile EEPROM,
Write Protect, and WiperLock feature
Note:In many applications, the High Voltage will
only be present at the manufacturing
stage so as to “lock” the Non-Volatile wiper
value (after calibration) and the contents
of the EEPROM. This ensures that the
since High Voltage is not present under
normal operating conditions, that these
values can not be modified.
Several development tools are available to assist in
your design and evaluation of the MCP4XXX devices.
The currently available tools are shown in Table 9-1.
These boards may be purchased directly from the
Microchip web site at www.microchip.com.
9.2Technical Documentation
Several additional technical documents are available to
assist you in your design and development. These
technical documents include Application Notes, Technical Briefs, and Design Guides. Table 9-2 shows some
of these documents.
TABLE 9-1:DEVELOPMENT TOOLS
Board Name Part # Supported Devices
MCP4XXX Digital Potentiometer Daughter Board
8-pin SOIC/MSOP/TSSOP/DIP Evaluation BoardSOIC8EVAny 8-pin device in DIP, SOIC, MSOP,
14-pin SOIC/MSOP/DIP Evaluation BoardSOIC14EVAny 14-pin device in DIP, SOIC, or
Note 1: Requires the use of a PICDEM Demo board (see User’s Guide for details)
(1)
MCP4XXXDM-DBMCP42XXX, MCP42XX, MCP4021,
and MCP4011
or TSSOP package
MSOP package
TABLE 9-2:TECHNICAL DOCUMENTATION
Application
Note Number
AN1080Understanding Digital Potentiometers Resistor VariationsDS01080
AN737Using Digital Potentiometers to Design Low Pass Adjustable FiltersDS00737
AN692Using a Digital Potentiometer to Optimize a Precision Single Supply Photo DetectDS00692
AN691Optimizing the Digital Potentiometer in Precision CircuitsDS00691
AN219Comparing Digital Potentiometers to Mechanical PotentiometersDS002 19
—Digital Potentiometer Design GuideDS22017
—Signal Chain Design GuideDS21825
YYear code (last digit of calendar year)
YYYear code (last 2 digits of calendar year)
WWWeek code (week of January 1 is week ‘01’)
NNNAlphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
*This package is Pb-free. The Pb-free JEDEC designator ()
can be found on the outer packaging for this package.
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.
YYear code (last digit of calendar year)
YYYear code (last 2 digits of calendar year)
WWWeek code (week of January 1 is week ‘01’)
NNNAlphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
*This package is Pb-free. The Pb-free JEDEC designator ()
can be found on the outer packaging for this package.
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.
YYear code (last digit of calendar year)
YYYear code (last 2 digits of calendar year)
WWWeek code (week of January 1 is week ‘01’)
NNNAlphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
*This package is Pb-free. The Pb-free JEDEC designator ()
can be found on the outer packaging for this package.
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.
8-Lead Plastic Dual Flat, No Lead Package (MF) – 3x3x0.9 mm Body [DFN]
Notes:
1. Pin 1 visual index feature may vary, but must be located withi n the hatched area.
2. Package may have one or more exposed t ie bars at ends.
3. Package is saw singulated.
4. Dimensioning and tolerancing per ASME Y14.5M.
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
UnitsMILLIMETERS
Dimension LimitsMINNOMMAX
Number of PinsN8
Pitche0.65 BSC
Overall HeightA0.800.901.00
Standoff A10.000.020.05
Contact ThicknessA30.20 REF
Overall LengthD3.00 BSC
Exposed Pad WidthE20.00–1.60
Overall WidthE3.00 BSC
Exposed Pad LengthD20.00–2.40
Contact Widthb0.250.300.35
Contact LengthL0.200.300.55
Contact-to-Exposed PadK0.20––
8-Lead Plastic Micro Small Outline Package (MS) [MSOP]
Notes:
1. Pin 1 visual index feature may vary, but must be located within the hatched area.
2. Dimens ions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.15 mm per side.
3. Dimens ioning and tolerancing per ASME Y14.5M.
BSC: Basic Di mension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
UnitsMILLIMETERS
Dimension LimitsMINNOMMAX
Number of PinsN8
Pitche0.65 BSC
Overall HeightA––1. 10
Molded Package ThicknessA20.750.850.95
Standoff A10.00–0.15
Overall WidthE4.90 BSC
Molded Package WidthE13.00 BSC
Overall LengthD3.00 BSC
Foot LengthL0.400.600.80
FootprintL10.95 REF
Foot Angleφ0°–8°
Lead Thicknessc0.08–0.23
Lead Widthb0.22–0.40
8-Lead Plastic Dual In-Line (P) – 300 mil Body [PDIP]
Notes:
1. Pin 1 visual index feature may vary, but must be located with the hatched area.
2. § Significant Characteristic.
3. Dimensi ons D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" per side.
4. Dimens ioning and tolerancing per ASME Y14.5M.
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
UnitsINCHES
Dimension LimitsMINNOMMAX
Number of PinsN8
Pitche.100 BSC
Top to Seating PlaneA––.210
Molded Package ThicknessA2.115.130.195
Base to Seating PlaneA1.015––
Shoulder to Shoulder WidthE.290.310.325
Molded Package WidthE1.240.250.280
Overall LengthD.348.365.400
Tip to Seating PlaneL.115.130.150
Lead Thicknessc.008.010.015
Upper Lead Widthb1.040.060.070
Lower Lead Widthb.014.018.022
Overall Row Spacing §eB––.430
10-Lead Plastic Dual Flat, No Lead Package (MF) – 3x3x0.9 mm Body [DFN]
Notes:
1. Pin 1 visual index feature may vary, but must be located withi n the hatched area.
2. Package may have one or more exposed t ie bars at ends.
3. Package is saw singulated.
4. Dimensioning and tolerancing per ASME Y14.5M.
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
UnitsMILLIMETERS
Dimension LimitsMINNOMMAX
Number of PinsN10
Pitche0.50 BSC
Overall HeightA0.800.901.00
Standoff A10.000.020.05
Contact ThicknessA30.20 REF
Overall LengthD3.00 BSC
Exposed Pad LengthD22.202.352.48
Overall WidthE3.00 BSC
Exposed Pad WidthE21.401.581.75
Contact Widthb0.180.250.30
Contact LengthL0.300.400.50
Contact-to-Exposed PadK0.20––
14-Lead Plastic Dual In-Line (P) – 300 mil Body [PDIP]
Notes:
1. Pin 1 visual index feature may vary, but must be located with the hatched area.
2. § Significant Characteristic.
3. Dimensi ons D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" per side.
4. Dimens ioning and tolerancing per ASME Y14.5M.
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
UnitsINCHES
Dimension LimitsMINNOMMAX
Number of PinsN14
Pitche.100 BSC
Top to Seating PlaneA––.210
Molded Package ThicknessA2.115.130.195
Base to Seating PlaneA1.015––
Shoulder to Shoulder WidthE.290.310.325
Molded Package WidthE1.240.250.280
Overall LengthD.735.750.775
Tip to Seating PlaneL.115.130.150
Lead Thicknessc.008.010.015
Upper Lead Widthb1.045.060.070
Lower Lead Widthb.014.018.022
Overall Row Spacing §eB––.430
= ML for 16-lead QFN
= MS for 8-lead MSOP
= P for 8/14-lead PDIP
= SN for 8-lead SOIC
= SL for 14-lead SOIC
= ST for 14-lead TSSOP
= UN for 10-lead MSOP
XXX
Resistance
Version
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
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 Microchip’s 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 Microchip’s 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.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EELOQ, KEELOQ logo, microID, MPLAB, PIC,
PICmicro, PICSTART, PRO MATE, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Linear Active Thermistor, Migratable
Memory, 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, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi,
MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select
Mode, Smart Serial, SmartTel, Total Endurance, UNI/O,
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.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
T empe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the desig n
and manufacture of development systems is ISO 9001:2000 certified.