8-/10-/12-Bit Voltage Output Digital-to-Analog Converter
with EEPROM and I2C Interface
Features
• Output V oltage Resolutions
- 12-bit: MCP4726
- 10-bit: MCP4716
-8-bit: MCP4706
• Rail-to-Rail Output
• Fast Settling Time of 6 µs (typical)
• DAC Voltage Reference Options
-V
DD
-V
Pin
REF
• Output Gain Opt io n s
- Unity (1x)
- 2x, only when V
pin is used as voltage
REF
source
• Nonvolatile Memory (EEPROM)
- Auto Recall of Saved DAC register setting
- Auto Recall of Saved Device Configu ration
(Volt a ge R efer enc e, Gain, Pow er Down)
• Power-Down Modes
- Disconnects output buf fer
- Selection of V
pull-down resistors
OUT
(640 kΩ, 125 kΩ, or 1 kΩ)
• Low Power Consumption
- Normal Operation: 210µA typ.
- Power Down Operation: 60 nA typ.
(PD1:PD0 = “11”)
• Single-Supply Operation: 2.7V to 5.5V
2
•I
C™ Interface:
- Eight Available Addresses
- Standard (100 kbps), Fast (400 kbps), and
High-S pe ed (3.4Mbps ) Modes
• Small 6-lead SOT-23 and DFN (2x2) Packages
• Extended Temperature Range: -40°C to +125°C
Applications
• Set Point or Offset Trimming
• Sensor Calibration
• Low Power Portable Instrumentation
• PC Peripherals
• Data AcquisitionSystems
• Motor Control
Package Types
MCP4706 / 16 / 26
V
1
OUT
2
V
SS
V
3
DD
SOT-23-6
* Includes Exposed Thermal Pad (EP); see Table 3-1.
6
5
4
V
REF
SCL
SDA
V
REF
SCL
SDA
1
EP
2
7
3
2x2 DFN-6*
6
V
OUT
5
V
SS
4
V
DD
Description
The MCP4706/4716/4726 are single channel 8-bit,
10-bit, and 12-bit buffered voltage output Digital-toAnalog Converters (DAC) with nonvo latile m emory and
2
C Serial Interface. This family will a lso be re ferre d
an I
to as MCP47X6.
The V
DAC’s referenc e voltage. Wh en V
connected internally to the DAC reference circuit.
When the V
output buffer’s gain to 1 or 2. When the gain is 2, the
V
REF
V
DD
The DAC Register value and configuration bits can be
programmed to nonvolatile memory (EEPROM). The
nonvolatile memory holds the DAC Register and
configuration bi t values wh en the devi ce is pow ered of f.
A device reset (such as a Power On Reset) latches
these stored values into the volatile memory.
Power-down modes enable system current reduction
when the DAC output voltage i s not require d. The V
pin can be configure d to present a low , medi um, or high
resistance load.
These devices h ave a two-wire I
interface for standa rd (100 kHz), fast (400 kHz), or high
speed (3.4 MHz) mode.
These devices a re avai lable i n sma ll 6-pi n SOT-23 and
DFN 2x2 mm packages.
† 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 condit ions f or ext ended periods
may affect device reliability.
Electrical Specifications: Unless otherwise indicated, VDD = 2.7V to 5.5V, VSS = 0V , RL = 5 kΩ from V
= -40°C to +125°C. Typical values at +25°C.
ParametersSymbolMinTypicalMaxUnitsConditions
Power Requirements
Input VoltageV
Input CurrentI
DD
DD
2.7—5.5V
—210400µAV
REF1:VREF0
SCL = SDA = V
volatile DAC Register = 0x000
—210400µAV
REF1:VREF0
SCL = SDA = V
volatile DAC Register = 0x000
Power-Down CurrentI
Power-On Reset
V
DDP
POR
—0.092µAPD1:PD0 = ‘01’ (Note 6),
not connected
V
OUT
—2.2—VRAM retent ion voltage, (V
Threshold
Power-Up Ramp RateV
Note 1:This parameter is ensured by design and is not 100% tested.
2:This gain error does not include offset error. See Section 2 for more details in plots.
3:Within 1/2 LSb of final value when code changes from 1/4 to 3/4 of FSR. (Example: 400h to C00h in 12- bit device).
4:The power-up ramp rate affects on uploading the EEPROM contents to the DAC register. It measures the rise of V
over time.
5:This parameter is ensured by characterization, and not 100% tested.
6:The PD1:PD0 = ‘10’, and ‘11’ configurations should have the same current.
7:V
Gain Error Drift ΔG/°C—-3—ppm/°C
Resolutionn8bitsMCP4706
10bitsMCP4716
12bitsMCP4726
INL Error
(Note 7)
INL-0.907±0.125 +0.907LSbMCP4706 (codes: 6 to 250)
-3.625±0.5+3.625LSbMCP4716 (codes: 25 to 1000)
-14.5±2+14.5LSbMCP4726 (codes: 100 to 4000)
DNL Error
(Note 7)
DNL-0.05±0.0125 +0.05LSbMCP4706 (codes: 6 to 250)
-0.188±0.05+0.188LSbMCP4716 (codes: 25 to 1000)
-0.75±0.2+0.75LSbMCP4726 (codes: 100 to 4000)
Note 1:This parameter is ensured by design and is not 100% tested.
2:This gain error does not include offset error. See Section 2 for more details in plots.
3:Within 1/2 LSb of final value when code changes from 1/4 to 3/4 of FSR. (Example: 400h to C00h in 12- bit device).
4:The power-up ramp rate affects on uploading the EEPROM contents to the DAC register. It measures the rise of V
over time.
5:This parameter is ensured by characterization, and not 100% tested.
6:The PD1:PD0 = ‘10’, and ‘11’ configurations should have the same current.
7:V
Electrical Specifications: Unless otherwise indicated, VDD = 2.7V to 5.5V, VSS = 0V , RL = 5 kΩ from V
= -40°C to +125°C. Typical values at +25°C.
ParametersSymbolMinTypicalMaxUnitsConditions
Output Amplifier
Minimum Output Volt-
V
OUT(MIN)
—0.01 —VOutput Amplifier’s minimum drive
age
Maximum Output
Voltage
Phase MarginPM—66—Degree
V
OUT(MAX)
—VDD –
0.04
—VOutput Amplifier’s maximum drive
= 400 pF, R
C
L
(°)
Slew RateSR—0.55—V/µs
Short Circuit CurrentI
Settling Timet
SETTLING
Power Down Output
Disable Time Delay
T
SC
PDD
71524mA
—6—µsNote 3
—1—µsPD1:PD0 = “00” -> ‘11’, ‘10’, or ‘01’
started from falling edge SCL at end of
ACK bit.
= V
V
OUT
OUT
connected.
Power Down Output
Enable Time Delay
—10.5—µsPD1:PD0 = ‘11’, ‘10’, or ‘01’ -> “00”
T
PDE
started from falling edge SCL at end of
ACK bit.
Volatile DAC Register = FFh,
=10mV. V
V
OUT
External Reference (V
Input Range V
) (Note 1)
REF
0.04—VDD -
REF
VBuffered Mode
0.04
VUnbuffered Mode
Input ImpedanceR
0—V
—210—kΩUnbuffered Mode
VREF
DD
Input CapacitanceC_REF—29—pFUnbuffered Mode
-3 dB Bandwidth—86.5—kHzV
—67.7— kHzV
Total Harmonic Distor-
THD — -73—dBV
tion
= 2.048V ± 0.1V,
REF
V
REF1:VREF0
= 2.048V ± 0.1V,
REF
V
REF1:VREF0
= 2.048V ± 0.1V,
REF
V
REF1:VREF0
Frequency = 1 kHz
Dynamic Performance (Note 1)
Major Code Transition
Glitch
—45—nV-s1 LSb change around major carry
(800h to 7FFh)
Digital Feedthrough—<10—nV-s
Note 1:This parameter is ensured by design and is not 100% tested.
2:This gain error does not include offset error. See Section 2 for more details in plots.
3:Within 1/2 LSb of final value when code changes from 1/4 to 3/4 of FSR. (Example: 400h to C00h in 12- bit device).
4:The power-up ramp rate affects on uploading the EEPROM contents to the DAC register. It measures the rise of V
over time.
5:This parameter is ensured by characterization, and not 100% tested.
6:The PD1:PD0 = ‘10’, and ‘11’ configurations should have the same current.
7:V
Electrical Specifications: Unless otherwise indicated, VDD = 2.7V to 5.5V, VSS = 0V , RL = 5 kΩ from V
= -40°C to +125°C. Typical values at +25°C.
ParametersSymbolMinTypicalMaxUnitsConditions
Digital Interface
Output Low V oltage VOL ——0.4 V IOL = 3 mA
Input High Voltage
VIH 0.7V
—— V
DD
(SDA and SCL Pins)
Input Low Voltage
V
— —0.3VDDV
IL
(SDA and SCL Pins)
Input Leakage I
——±1 µA SCL = SDA = V
LI
SCL = SDA = V
Pin Capacitance C
—— 3 pF (Note 5)
PIN
EEPROM
EEPROM Write Time T
WRITE
—2550ms
Data Retention—200—YearsAt +25°C, (Note 1)
Endurance1——Million
At +25°C, (Note 1)
Cycles
Note 1:This parameter is ensured by design and is not 100% tested.
2:This gain error does not include offset error. See Section 2 for more details in plots.
3:Within 1/2 LSb of final value when code changes from 1/4 to 3/4 of FSR. (Example: 400h to C00h in 12- bit device).
4:The power-up ramp rate affects on uploading the EEPROM contents to the DAC register. It measures the rise of V
over time.
5:This parameter is ensured by characterization, and not 100% tested.
6:The PD1:PD0 = ‘10’, and ‘11’ configurations should have the same current.
7:V
Note 1:As a transmitter, the device must provide this internal minimum delay time to bridge the undefined region
(minimum 300 ns) of the falling edge of SCL to avoid uninten ded gene ration of START or STOP conditions.
2:A fast-mode (400 kHz) I
requirement t
≥ 250 ns must then be met. This will automatically be the case if the device does not
SU;DAT
stretch the LOW period of the SCL signal . If suc h a de vic e do es stretc h the LO W peri od of the SCL sig nal ,
it must output the next data bit to the SDA line.
max.+t
T
R
= 1000 + 250 = 1250 ns (according to the standard-mode I2C bus specification) before
SU;DAT
the SCL line is released.
3:The MCP47X6 device must provide a data hold time to bridge the undefined part between V
the falling edge of the SCL s ignal. This specificati on is not a p art of the I
in order to ensure that the output data will meet the setup and hold specifications for the receiving device.
4:Use C
in pF for the calculations.
b
5:Not Tested. This parameter ensured by characterization.
6: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.
If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the
2
I
C bus line. If this parameter is too long, the Data Input Setup (T
affected.
Data Input: This parameter must be longer than t
Data Output: This parameter is characterized, and tested indirectly by testing T
7:Ensured by the T
3.4 MHz specification test.
AA
8:The specification is not part of the I
Standard Operating Conditions (unless otherwise specified)
Operating Temperature –40°C ≤ T
Operating Voltage V
range is described in Electrical characteristics
DD
A≤ +125°C (Extended)
400 kHz mode600—ns2.7V-5.5V
1.7 MHz mode120ns4.5V-5.5V
3.4 MHz mode60—ns4.5V-5.5V
400 kHz mode1300—ns2.7V-5. 5V
1.7 MHz mode320ns4.5V-5.5V
3.4 MHz mode160—ns4.5V-5.5V
2
C-bus device can be used in a standard-mode (100 kHz) I2C-bus system, but the
TABLE 1-3:I2C BUS DATA REQUIREMENTS (SLAVE MODE) (CONTINUED)
I2C AC Characteristics
Param.
SymCharacteristicMinMaxUnitsConditions
No.
(5)
T
SCL rise time100 kHz mo de —1000nsCb is specified to be from
102A
102B
103A
103B
(5)
(5)
(5)
RSCL
T
SDA rise time100 kHz mode —1000nsCb is specified to be from
RSDA
T
SCL fall time100 kH z mode —300nsCb is specified to be from
FSCL
T
SDA fall time100 kHz mode —300nsCb is specified to be from
FSDA
Note 1:As a transmitter, the device must provide this internal minimum delay time to bridge the undefined region
(minimum 300 ns) of the falling edge of SCL to avoid uninten ded gene ration of START or STOP conditions.
2:A fast-mode (400 kHz) I
requirement t
≥ 250 ns must then be met. This will automatically be the case if the device does not
SU;DAT
stretch the LOW period of the SCL sig nal . If such a de vic e do es stretch the LOW period of the SCL signal,
it must output the next data bit to the SDA line.
max.+t
T
R
= 1000 + 250 = 1250 ns (according to the standard-mode I2C bus specification) before
SU;DAT
the SCL line is released.
3:The MCP47X6 device must provide a data hold time to bridge the undefined part between V
the falling edge of the SCL s ignal. This specificati on is not a p art of the I
in order to ensure that the output data will meet the setup and hold specifications for the receiving device.
4:Use C
in pF for the calculations.
b
5:Not Tested. This parameter ensured by characterization.
6: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.
If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the
2
C bus line. If this parameter is too long, the Data Input Setup (T
I
affected.
Data Input: This parameter must be longer than t
Data Output: This parameter is characterized, and tested indirectly by testing T
7:Ensured by the T
3.4 MHz specification test.
AA
8:The specification is not part of the I2C specification. TAA = T
Standard Operating Conditions (unless otherwise specified)
Operating Temperature –40°C ≤ T
Operating Voltage V
range is described in Electrical characteristics
DD
400 kHz mode20 + 0.1Cb300ns
1.7 MHz mode2080ns
A≤ +125°C (Extended)
10 to 400 pF (100 pF
maximum for 3.4 MHz
mode)
1.7 MHz mode20160nsAfter a Repeated Start
condition or an
Acknowledge bit
3.4 MHz mode1040ns
3.4 MHz mode1080nsAfter a Repeated Start
condition or an
Acknowledge bit
400 kHz mode20 + 0.1Cb300ns
1.7 MHz mode20160ns
10 to 400 pF (100 pF max
for 3.4 MHz mode)
3.4 MHz mode1080ns
400 kHz mode20 + 0.1Cb300ns
1.7 MHz mode2080ns
10 to 400 pF (100 pF max
for 3.4 MHz mode)
3.4 MHz mode1040ns
(4)
400 kHz mode20 + 0.1Cb
300ns
1.7 MHz mode20160ns
10 to 400 pF (100 pF max
for 3.4 MHz mode)
3.4 MHz mode1080ns
2
C-bus device can be used in a standard-mode (100 kHz) I2C-bus system, but the
TABLE 1-3:I2C BUS DATA REQUIREMENTS (SLAVE MODE) (CONTINUED)
I2C AC Characteristics
Param.
SymCharacteristicMinMaxUnitsConditions
No.
106T
HD:DAT
Data input hold
time
107T
SU:DAT
Data input setup
time
109T
AA
Output valid
from clock
110T
BUFBus free time100 kHz mode 4700—nsTime the bus must be free
Note 1:As a transmitter, the device must provide this internal minimum delay time to bridge the undefined region
(minimum 300 ns) of the falling edge of SCL to avoid uninten ded gene ration of START or STOP conditions.
2:A fast-mode (400 kHz) I
requirement t
≥ 250 ns must then be met. This will automatically be the case if the device does not
SU;DAT
stretch the LOW period of the SCL signal . If suc h a de vic e do es stretc h the LO W peri od of the SCL sig nal ,
it must output the next data bit to the SDA line.
max.+t
T
R
= 1000 + 250 = 1250 ns (according to the standard-mode I2C bus specification) before
SU;DAT
the SCL line is released.
3:The MCP47X6 device must provide a data hold time to bridge the undefined part between V
the falling edge of the SCL s ignal. This specificati on is not a p art of the I
in order to ensure that the output data will meet the setup and hold specifications for the receiving device.
4:Use C
in pF for the calculations.
b
5:Not Tested. This parameter ensured by characterization.
6: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.
If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the
I2C bus line. If this parameter is too long, the Data Input Setup (T
affected.
Data Input: This parameter must be longer than t
Data Output: This parameter is characterized, and tested indirectly by testing T
7:Ensured by the TAA 3.4 MHz specification test.
8:The specification is not part of the I
Standard Operating Conditions (unless otherwise specified)
Operating Temperature –40°C ≤ T
Operating Voltage V
TABLE 1-3:I2C BUS DATA REQUIREMENTS (SLAVE MODE) (CONTINUED)
I2C AC Characteristics
Param.
SymCharacteristicMinMaxUnitsConditions
No.
111TSP Input filter spike
suppression
(SDA and SCL)
Note 1:As a transmitter, the device must provide this internal minimum delay time to bridge the undefined region
(minimum 300 ns) of the falling edge of SCL to avoid uninten ded gene ration of START or STOP conditions.
2:A fast-mode (400 kHz) I
requirement t
≥ 250 ns must then be met. This will automatically be the case if the device does not
SU;DAT
stretch the LOW period of the SCL sig nal . If such a de vic e do es stretch the LOW period of the SCL signal,
it must output the next data bit to the SDA line.
max.+t
T
R
= 1000 + 250 = 1250 ns (according to the standard-mode I2C bus specification) before
SU;DAT
the SCL line is released.
3:The MCP47X6 device must provide a data hold time to bridge the undefined part between V
the falling edge of the SCL s ignal. This specificati on is not a p art of the I
in order to ensure that the output data will meet the setup and hold specifications for the receiving device.
4:Use C
in pF for the calculations.
b
5:Not Tested. This parameter ensured by characterization.
6: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.
If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the
2
C bus line. If this parameter is too long, the Data Input Setup (T
I
affected.
Data Input: This parameter must be longer than t
Data Output: This parameter is characterized, and tested indirectly by testing T
7:Ensured by the T
3.4 MHz specification test.
AA
8:The specification is not part of the I2C specification. TAA = T
Standard Operating Conditions (unless otherwise specified)
Operating Temperature –40°C ≤ T
Operating Voltage V
range is described in Electrical characteristics
DD
A≤ +125°C (Extended)
100 kHz mode —50nsNXP Spec states N.A.
400 kHz mode—50ns
Specified Temperature RangeT
Operating Temperature RangeT
Storage Temperature RangeT
Thermal Package Resistances
Thermal Resistance, 6L-SOT-23θ
Thermal Resistance, 6L-DFN (2 x 2)θNote 1:The MCP47X6 devices operate over this extended temperature range, but with reduced performance.
Operation in this range must not cause T
A
A
A
JA
JA
-40—+125°C
-40—+125°CNote 1
-65—+150°C
—190—°C/W
—91—°C/W
to exceed the Maximum Junction Temperature of +150°C.
Note:The graphs and tables provided fol lowing this note are a st atistical summary b as ed on a l im ite d n um ber 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.
Note: Unless otherwise indicate d, TA = +25°C, VDD = 5V , VSS = 0V, VRL = Internal, Gain = x1, R
has an output amplifier. V
approximately 0V to approximately V
range of the DAC output is from V
can swing from
OUT
. The full- sc a le
DD
to G * VRL, where
SS
OUT
)
G is the gain selection option (1x or 2x).
In normal mode, the DC impedance of the output pin is
about 1Ω. In Power-Down mode, the output pin is
internally connected to a known pull-down resistor of
1kΩ, 125 kΩ, or 640 kΩ. The Power-Down selection
bits settings are shown Table 4-2.
3.2Positive Power Supply Input (VDD)
VDD is the po siti ve supp ly vol tage i nput pi n. T he in put
supply voltage is relative to V
The power supply a t th e V
.
SS
pin should be as clean a s
DD
possible for a good DAC performance. It is
recommended to use an appropriate bypass capacitor
of about 0.1 µF (ceramic) to ground. An additional
10 µF capacitor (tantalum) in parallel is also
recommended to further attenuate high-frequency
noise present in application boards.
3.3Ground (VSS)
The VSS pin is the device ground reference.
The user must connect the V
through a low-impedance connection. If an analog
ground path is a vailable in th e applic ation PCB (pr inted
circuit board), it is highly recom mended that the V
be tied to the analog ground path or isolated within an
analog ground plane of the circuit board.
pin to a ground plane
SS
SS
pin
3.4 Serial Data Pin (SDA)
SDA is the serial dat a pin of the I2C interface. The SDA
pin is used to write or read the DAC registers and
configuration bits. The SDA pin is an open-drain
N-channel driver. Therefore, it needs a pull-up resistor
from the V
line to the SDA pin. Except for start and
DD
stop conditions, t he dat a on the SDA p in must be stabl e
during the high period of the clock. The high or low
state of the SDA pin can only change when the clock
signal on the SCL pin is low. Refer to Section 5.0 “I
Serial Interface” for more details of I
2
2
C Serial
Interface communication.
3.5Serial Clock Pin (SCL)
SCL is the serial clock pin of the I2C interface. The
MCP47X6 devices a ct only as a slave and th e SCL pin
accepts only exte rnal serial clocks . The input dat a from
the Master device is shifted into the SDA pin on the
rising edges of the SCL clock and output from the
device occurs at the falli ng edges of the SCL clock. The
SCL pin is an open-drain N-channel driver. Therefore,
it needs a pull-up resistor from the V
pin. Refer to Section 5.0 “I
more details of I
2
C Serial Interface communication.
2
C Serial Interface” for
3.6Voltage Reference Pin (V
This pin is used for the external volt age reference inpu t.
The user can select V
voltage as the reference resistor ladder’s voltage
reference.
When the V
pin signal is sel ected, there i s an option
REF
for this voltage to be buffered or unbuffered. This is
offered in cases where the reference voltage does not
have the current ca p ability not to drop it s v ol t ag e w he n
connected to the internal resistor ladder circuit.
When the V
is selected a s reference volt age, th is pin
DD
is disconnected from the internal circuit.
See Section 4.2 “DAC’s (Resistor Ladder)
Reference Voltage” and Table 4-4 for more details on
the configuration bits.
voltage or the V
DD
line to the SCL
DD
)
REF
REF
pin
C
3.7Exposed Pad (EP)
This pad is conductively connected to the device's
substrate. This pad should be tied to the same potential
as the V
used to assist as a heat sink for the device when
connected to a PCB heat sink.
The MCP4706, MCP4716, and MCP4726 devices are
single channel voltage output 8-bit, 10-bit, and 12-bit
DAC devices with nonvolatile memory (EEPROM) and
2
C serial interface. This fam ily will be referred to as
an I
MCP47X6.
The devices use a resistor ladder architecture. The
resistor ladder DAC is driven from a software
selectable voltage reference source. The source can
be either the dev ice’ s in ternal V
pin voltage.
The DAC output is buffered with a low power and
precision output amplifier (op amp). This output
amplifier provides a rail-to-rail output with low offset
voltage and low noise. The gain of the output buffer is
software configurable.
This device also has user programmable nonvolatile
memory (EEPROM), which allows the user to save th e
desired POR/BOR value of the DAC register and
device configuration bits.
The devices use a two-wire I
interface and op erat e w i th a s in gle s upp ly v oltage from
2.7V to 5.5V.
Volatile memory
retains data value
or the external V
DD
2
C serial communication
POR starts Reset Delay Timer.
When timer times out, I2C interface
can operate (if V
REF
DD
4.1Power-On-Reset / Brown Out
Reset (POR/BOR)
The internal Power-On-Reset (POR) / Brown-Out
Reset (BOR) circuit monitors the power supply voltage
(VDD) during operation. This circuit ensures correct
device start-up at system power-up and power-down
events. V
always lower than the POR trip point voltage.
POR occurs as the volt age is ri sin g (ty pical ly fr om 0V ),
while BOR occurs as the voltage is falling (typically
from V
When the rising V
point, the following occurs:
• Nonvolatile DAC Register value latched into
volatile DAC Register
• Nonvolatile configuration bit values latched into
volatile configuration bits
• POR status bit is set (“1”)
• The reset delay timer starts; when time r tim es ou t
(t
PORD
The analog output (V
the state of the volatile configuration bits and the DAC
Register. This is called a POR reset (event).
When the falling V
point, the following occurs:
• Device is forced into a power down state
(PD1:PD0 = ‘11’). Analog circuitry is turned off.
• Volatile DAC Register is forced to 000h
• Volatile configuration bits V
forced to ‘0’
Figure 4-1 illustrates the conditions for power-up and
power-down events under typical conditions.
>= V
DD(MIN)
)
is the RAM retention voltage and is
RAM
or higher).
DD(MIN)
voltage crosses the V
DD
), the I2C interface is operational.
) state will be determined by
OUT
voltage crosses the V
DD
, V
REF1
REF0
Volatile memory
becomes corrupted
POR
POR
and G are
trip
trip
V
DD(MIN
V
POR
V
RAM
)
T
PORD
(60 µs max.)
V
BOR
Normal Operation
Device in
Device in
POR stateunknown
state
POR reset forced active
EEPROM data latched into volatile
configuration bits and DAC register.
POR status bit is set (“1”)
The device can be configured to use one of three
voltage sources for the resistor ladder’s reference
voltage (VRL) (see Figure 4-2). These are:
1.V
2.V
3.V
The selection of the volt age is specifie d with the volatile
V
are nonvolatile and volatile V
bits. On a POR/BOR event, the state of the nonvolatil e
V
volatile V
When the user selects the V
pin voltage is not connected to the resistor ladder.
If the V
between the buffered or unbuffered mode.
In unbuffered mode, the V
V
In buffered mode, the V
0.01V to V
provides low offset voltage, low noise, and a very high
input impedance, with only minor limitations on the
input range and frequency response.
pin voltage
DD
pin voltage internally buf fered
REF
pin voltage unbuf fere d
REF
REF1:VREF0
REF1:VREF0
to VDD.
SS
configurat ion bits (see Table 4-4). There
REF1:VREF0
configuration
configuration bits are latched into the
REF1:VREF0
pin is selected, then one needs to select
REF
configuration bits.
as reference, the V
DD
pin voltage may be fro m
REF
Note:In unbuffered mode, the voltage source
should have a low output impedance. If
the voltage source has a high output
impedance, then the voltage on the
V
’s pin would be lower than expected.
REF
The resistor ladder has a typical
impedance of 210kΩ and a typical
capacitance of 29 pF.
pin voltage may be from
-0.04V. The input buffer (amplifier)
DD
REF
Note:Any variation or noises on the reference
source can directly affect the DAC output.
The reference voltage needs to be as
clean as possible for accurate DAC
performance.
V
REF
V
REF1:VREF0
V
DD
V
RL
Selection
Reference
REF
4.3Resistor Ladder
The resistor ladder is a dig it a l po tentiometer with the B
Terminal internally grounded and the A terminal
connected to the selected reference voltage (see
Figure 4-3). The volatile DAC register controls the
wiper position. Th e wiper voltag e (V
the DAC register value divided by the number of
resistor elements (RS) in the ladder (256, 1024, or
4096) related to the V
voltage.
RL
Note:The maximum wiper position is 2n - 1,
while the number of resistors in the
resistor ladder is 2n. This means that
when the DAC register is at full scale,
there is one resistor element (RS)
between the wiper and the V
The resistor ladder (RRL) has a typical impedance of
approximately 210kΩ. This resistor ladder resistance
(RRL) may vary from device to device up to ±20%.
Since this is a voltage divider configuration, the actual
resistance does not effect the output given a fixed
R
RL
voltage at V
If the unbuffered V
RL
.
pin is used as the VRL voltage
REF
source, this voltage source should have a low output
impedance.
When the DAC is powered down, the resistor ladder is
disconnected from the selected reference voltage.
V
PD1:PD0
R
S(2n)
RL
2n - 1
R
R
R
RL
R
S(2n - 1)
S(2n - 2)
S(1)
n
2
) is proportional to
W
DAC
Register
- 2
1
0
voltage.
RL
V
W
Buffer
FIGURE 4-2:Resistor Ladder Reference
Voltage Selection Block Diagram.
The DAC output is buffered with a low power and
precision o utput am plifier ( op amp). Figure 4-4 shows
a block diagram.
This amplifier provides a rail-to-rail output with low
offset voltage and low noise. The user can select the
output gain of the output amplifier. Gain options are:
a)Gain of 1, wit h either V
DD
or V
pin used as
REF
reference voltage
b)Gain of 2, only when V
reference voltage. The V
be limited to V
DD
/2.
pin is used as
REF
pin voltage should
REF
The amplifier’s output can drive the resistive and high
capacitive loads without oscillation. The amplifier
provides a maximum load current which is enough for
most programmable voltage reference applications.
Refer to Section 1.0 “Electrical Characteristics” for
the specifications of the output amplifier.
Note:The load resistance must keep higher
than 5 kΩ for the stable and expected
analog output (to meet electrical
specifications).
In any of the three Power-Down modes, the op amp is
powered down and it’s output becomes a high
impedance to the V
OUT
pin.
Gain (1x or 2x)
(G = 0 or 1)
Op
V
Amp
W
V
OUT
FIGURE 4-4:Output Buffer Block
Diagram.
4.4.1PROGRAMMABLE GAIN
The amplifier’s gain is controlled by the Gain (G)
configuration bit (See Table 4-4) and the V
selection. When the V
device’s V
voltage, the G b it i s ign ored and a gain of
DD
reference selection is the
RL
1 is used. The volatile G bit value can be modified by:
• POR event
• BOR event
2
•I
C write commands
2
•I
C General Call Reset command
reference
RL
4.4.2OUTPUT VOLTAGE
The volatile DAC Register’s value controls the analog
voltage, along with the device’ s five c onfigura tion
V
OUT
bits. The volatile DAC Register’s value is unsigned
binary.
The formula for the output voltage is given in
Equation 4-1. Table 4-1 shows examples of volatile
DAC Register value s and the corresponding theoretical
voltage for the MCP47X6 devices.
V
OUT
Note:When Gain = 2 (VRL = V
> VDD / 2, the V
if V
REF
limited to V
voltage will not change for volatile
V
OUT
. So if V
DD
),
REF
voltage will be
OUT
= VDD, then the
REF
DAC Register values mid-scale and
greater, since the op amp at full scale
output.
EQUATION 4-1:CALCULATING OUTPUT
VOLTAGE (V
V
OUT
# Resistors in Resistor Ladder = 4096 (MCP4726)
The DAC register value will be latched on the falling
edge of the acknow ledge pul se of the w rite comm and’ s
last byte. Then t he V
new value.
The following events update the analog voltage output
):
(V
OUT
• Power-On-Reset or General Call Reset
command: Output is updated wit h EEPROM data.
• Falling edge of the acknowledge pulse of the last
write command byte.
VRL * DAC Register Value
= * Gain
# Resistors in Resistor Ladder
1024 (MCP4716)
256 (MCP4706)
voltage will start drivi ng to the
OUT
OUT
)
4.4.2.1Resolution / Step Voltage
The Step volt age is d ependent o n the devi ce resolu tion
and the output voltage range. One LSb is defined as
the ideal voltage difference between two successive
codes. The step voltage can easily be calculated by
using Equation 4-1 where the DAC Register Value is
equal to 1.
4.4.3DRIVING RESISTIVE AND
CAPACITIVE LOADS
The V
in parallel wit h a 5 kΩ resistive load (to meet electrical
specifications). Figure 2-57shows the V
Resistive Load.
V
OUT
after about 3. 5 kΩ. It is recommended to use a load
with R
To allow the application to conserve power when the
DAC operation is not required, three power down
modes are available. The Power-Down configuration
bits (PD1:PD0) control the power down operation
(Figure 4-5). All power down modes do the following:
• Turning off most of its internal circuits (op amp,
resistor ladder, ...)
• Op amp output becomes high impedance to the
pin
V
OUT
• Disconnects resistor ladder from reference
voltage (V
• Retains the valu e of the volatile DAC register and
configuration bits, and the nonvolatile (EEPROM)
DAC register and configuration bits
Depending on the selected power down mode, the
following will occur:
•V
OUT
downs (See Table 4-2)
- 640kΩ (typical)
- 125kΩ (typical)
-1kΩ (typical)
There is a delay (T
changing from ‘00’ to either ‘ 01’, ‘10’, or ‘11’ and the op
amp no longer driving the V
down resistors are sin ki ng cu rr ent .
In any of the power down modes, where the V
is not externally connected (sinking or sourcing
current), the power down current will typical be 60nA
(see Section 1.0 “Electrical Characteristics”).
Section 6.0 “MCP47X6 I2C Commands” describes
2
C commands fo r writing the power -down bi ts. Th e
the I
commands that can update the volatile PD1:PD0 bits
are:
• Write Volatile DAC Register
• Write Volatile Memory
• Write All Memory
• Write Volatile Configuration bits
• General Call Reset
• General Call Wake-up
Note:The I
TABLE 4-2:POWER-DOWN BITS AND
PD1PD0Function
00Normal operation
011kΩ resistor to ground
10125 kΩ resistor to ground
11640 kΩ resistor to ground
)
RL
pin is switched to one of three resistive pull
) between the PD1:PD0 bits
PDE
output and the pull
OUT
OUT
2
C serial interface circuit is not
affected by t he Power-Down mode. This
circuit remains active in order to receive
any command that might come from the
2
C master device.
I
OUTPUT RESISTIVE LOAD
pin
Gain (1x or 2x)
(Gx = 0 or 1)
V
Op
V
Amp
W
OUT
PD1:PD0
1kΩ
FIGURE 4-5:Op Amp to V
125 kΩ
OUT
640 kΩ
Pin Block
Diagram.
4.5.1EXITING POWER-DOWN
When the device exits the power down mode the
following occurs:
• Disabled circuits (op amp, resistor ladder, ...) are
turned on
• Resistor ladder is connected to selected
referenc e voltage (V
• Selected pull down resistor is disconnected
•The V
output will be driven to the voltage
OUT
represented by the volatile DAC Register’s value
and configuration bits
The V
output signal will require time as these
OUT
circuits are powe red up and the ou tput volta ge is driven
to the specified value as determined by the volatile
DAC register and configuration bits.
Note:Since the op amp and resi stor ladder were
powered off (0V), the op amp’s input
voltage (VW) can be considered 0V. There
is a delay (T
bits updated t o ‘00’ and the op amp driving
the V
time (from 0V) needs to be taken into
account to ensure the V
reflects the selected value.
The following events will change the PD1:PD0 bits to
‘00’ and therefore exit the Power-Down mode. These
are:
2
•Any I
C write command for where the PD1:PD0
bits are ‘00’.
2
•I
C General Call Wake-up Command.
•I2C General Call Reset Command.
(if nonvolatile PD1:PD0 bits are ‘00’).
Device Resets can be grouped into two types. Resets
due to change in vol tage (POR/BOR Rese t), and resets
caused by the system master (such as a
microcontroller).
After a device reset, and when V
DD
≥ V
DD(MIN)
, the
device memory may be written or read.
4.6.1POR/BOR RESET OPERATION
The POR and BOR trip po ints are at the same volt ag e,
and is determined if the V
(see Figure 4-1). What occurs is different depending if
the reset is a POR or BOR reset.
voltage is rising or falling
DD
POR Reset (VDD Rising)
On a POR Reset, the nonvolatile mem ory values (DAC
Register and Configuration bits) are latched into the
volatile memory. This configures the analog output
) circuitry. Also a reset delay timer starts. During
(V
OUT
this delay time, the I
2
C interface will not accept
commands.
BOR Reset (VDD Falling)
On a BOR Reset, the device is forced into a power
down state. The v olatile PD1:PD0 bit s forced to ‘11’ and
all other volatile memory forced to ‘0’. The I
will not acce pt commands.
4.6.2RESET COMMANDS
When the MCP47X6 is in the valid operating voltage,
2
C General Call Reset command will force a reset
the I
event. This is similar to the POR reset, except that the
reset delay timer is not started.
2
In the case where the I
to be responsive, the technique shown in Section 8.9,
Software I2C Interf ace Re set Seque nce can be use d
to force the I
2
C interface to be reset.
Config Bits
C Interface bus does not s ee m
2
C interface
4.7DAC Registers, Configuration
Bits, and Status Bits
The MCP47X6 devices have both volatile and
nonvolatile (EEPROM) memory. Figure 4-6 shows the
volatile and nonvolatile memory and their interaction
due to a POR event.
There are five configuration bits in both the volatile and
nonvolatile memory, the DAC registers in both the
volatile and nonv olatile memory, and two volatile status
bits. The DAC regi sters (volati le and nonvolati le) will be
either 12-bits (MCP4 726), 10-bit s (MCP4 716), or 8-bit s
(MCP4706) wide.
When the device is first powered up, it automatically
uploads the EEPROM memory values to the volatile
memory. The volatile memory determines the analog
output (V
up, the user can update the device memory.
The I
written. Refer to Section 5.0 “I
and Section 6.0 “MCP47X6 I2C Commands” for
more details on the reading and writing the device’s
memory.
When the nonvolatile memory is written (using the I
Write All Memory command), the volatile memory is
written with the same values. The device starts writing
the EEPROM cell at the acknowledge pulse of the
EEPROM write command.
Table 4-3 shows the ope ration of the device st atus bits ,
Table 4-4 shows the operation of the device
configuration bits, and Table 4-5 shows the factory
default value of a POR/BOR event for the device
configuration bits .
There are two Status bits. These are only in volatile
memory and give ind ication on the st atus of t he devic e.
The POR bit indicates if the device V
below the POR trip poin t. During normal operati on, thi s
bit should be ‘1’. The RDY/BSY
EEPROM write cycle is in progress. While the RDY/
bit is low (during the EEPROM writing), all
BSY
commands are ignore d, except for t he Read Comman d
command.
The MCP47X6 devices support the I2C serial protocol.
The MCP47X6 I
(does not generate the serial clock).
5.1Overview
This I2C interface is a two-wire interface. Figure 5-1
shows a typical I
2
C interfac e s pe c if i es di ffe re nt c om mu ni ca t io n bi t
The I
rates. These are referred to as standard, fast or high
speed modes. The MCP47X6 supports these three
modes. The bit rates of these modes are:
• Standard Mode: bit rates up to 100 kbit/s
• Fast Mode: bit rates up to 400 kbit/s
• High Speed Mode (HS mode): bit rates up to
3.4 Mbit/s
A device th at sends data onto the bus is define d as
transmitter, and a device receiving data as receiver.
The bus has to be cont roll ed by a master device which
generates the serial clock (SCL), controls the bus
access and generates the START and STOP
conditions. The MCP47X6 devic e works as slave . Both
master and slave can operate as transmitter or
receiver , but the master dev ice determines which mode
is activated. Communication is initiated by the master
(microcontroller) which sends the START bit, followed
by the slave address byte. The first byte transmitted is
always the slave address byte, which contains the
device code, the address bits, and the R/W
Typical I
Host
Controller
SCL
2
C’s module operates in Slave mode
2
C Interface connection.
2
C Interface Connections
bit.
MCP4XXX
SCL
5.2Signal Descriptions
The I2C interface uses up to two pins (signals). These
are:
• SDA (Serial Data)
• SCL (Serial Clock)
5.2.1SERIAL DATA (SDA)
The Serial Data (SDA) signal is the data signal of the
device. The value on this pin is latched on the rising
edge of the SCL signal when the signal is an input.
With the exception of the START and ST OP conditions ,
the high o r low stat e of the S DA pin ca n only c hange
when the clock sign al on th e SCL pin is low. During the
high period of the clock, the SDA pin’s value (high or
low) must be stable. Changes in the SDA pin’s value
while the SCL pin is HIGH will be interpreted as a
START or a STOP condition.
5.2.2SERIAL CLOCK (SCL)
The Serial Clock (SCL) signal is the clock signal of the
device. The rising edge of the SCL signal latches the
value on the SDA pin.
The MCP47X6 will not stretch the clock signal (SCL)
since memory read access occurs fast enough.
Depending on the clock rate mode, the interface will
display different characteristics.
SDA
SDA
FIGURE 5-1:Typical I2C Interface.
The I2C serial protocol onl y defines the fiel d types, fiel d
lengths, timings, etc. of a frame. The frame content
defines the behavior of the device. For details on the
frame cont ent (commands/data) refer to Section 6.0.
- High-speed mode (HS mode), clock rates up
to 3.4 MHz
• Support Multi-Master Applications
• General call addressing (Reset and Wake-Up
commands)
2
C 10-bit addressing mode is not supported.
The I
2
The NXP I
field lengths, timings, etc. of a frame. The frame
content defines the behavior of the device. The frame
content for the MCP47X6 is defined in Section 6.0.
5.3.1I2C BIT STATES AND SEQUENCE
Figure 5-8 shows the I2C transfer sequence. Th e serial
clock is generated by the master. The following
definitions are used for the bit states:
• Start bit (S)
• Data bit
• Acknowledge (A) bit (driven low) /
No Acknowledge (A
• Repeated Start bit (Sr)
• Stop bit (P)
5.3.1.1Start Bit
The St art bit (see Figure 5-2) indicates the beginning of
a data transfer s equence. The St art bit is de fined as the
SDA signal falling when the SCL signal is “High”.
SDA
SCL
FIGURE 5-2:Start Bit.
5.3.1.2Data Bit
The SDA signal m ay change stat e while t he SCL signal
is Low. While the SCL signal is High, the SDA signal
MUST be stable (see Figure 5-5).
C specification only defines the field types,
) bit (not driven low)
1st Bit
S
2nd Bit
5.3.1.3Acknowledge (A) Bit
The A bit (see Figure 5-4) is typically a response from
the receiving device to the transmitting device.
Depending on the contex t of the transfer sequ ence, the
A bit may indicate different things. Typically the Slave
device will supply an A response after the Start bit and
8 “data” bits have been received. An A bit has the SDA
signal low.
SDA
SCL
D0
8
A
9
FIGURE 5-4:Acknowledge Waveform.
Not A (A) Response
The A bit has the SDA signal high. Table 5-1 shows
some of the conditions where the Slave Device will
issue a Not A (A).
If an error condition occurs (suc h as an A
then a ST ART bi t must be issu ed to reset the co mmand
state machine.
TABLE 5-1:MCP47X6 A / A RESPONSES
Acknowledge
Event
General CallA
Slave Address
valid
Slave Address
not valid
Communication
during
EEPROM write
cycle
Bus CollisionN.A.I
Bit
Response
A
A
AAfter device has
instead of A),
Comment
received address
and command,
and valid
conditions for
EEPROM write
2
C Module
Resets, or a
“Don’t Care” if
the collision
occurs on the
Master’s “Start
bit”
The Repeated Start bit (see Figure5-5) indicates the
current Master Device wishes to continue
communicati ng with the current Slave Device with out
releasing t he I
2
C bus. The Repeated Start condition is
the same as the Start condition, except that the
Repeated Start bit follows a Start bit (with the Data bit s
+ A bit) and not a Stop bit.
The Start bit is the beginning of a data transfer
sequence and is def ined as the SDA sig nal falling whe n
the SCL signal is “High”.
Note 1: A bus collision during the Repeated Start
condition occurs if:
• SDA is sampled low when SCL goes
from low to high.
• SCL goes low before SDA i s asserted
low. This may indicate that another
master is attempting to transmit a
data "1".
SDA
1st Bit
SCL
Sr = Repeated Start
FIGURE 5-5:Repeat Start Condition
Waveform.
5.3.1.5Stop Bit
The Stop bit (see Figure 5-6) Indicates the end of the
2
C Data T ransfer Seque nce. The Stop bit is defined a s
I
the SDA signal rising when the SCL signal is “High”.
2
A Stop bit resets the I
C interface of all MCP47X6
devices.
SDA
A / A
SCL
P
FIGURE 5-6:Stop Condition Receive or
Transmit Mode.
5.3.2CLOCK STRETCHING
“Clock Stretching” is something that the receiving
Device can do, to allow additional time to “respond” to
the “data” that has been received.
The MCP47X6 will not stretch the clock signal (SCL)
since memory read access occurs fast enough.
5.3.3ABORTING A TRANSMISSION
If any part of the I2C transmissi on does not meet t he
command format, it is abort ed. This can be intentiona lly
accomplished with a START or ST OP cond ition. Thi s is
done so that noisy transmissions (usually an extra
START or STOP condition) are aborted before they
corrupt the device.
SDA
SCL
S2nd Bit 3rd Bit4th Bit5th Bit 6th Bit7th Bit8th BitPA / A
The MCP47X6 implements slope control on the SDA
output.
As the device transitions from HS mode to FS mode,
the slope control paramet er will chang e from the HS
specification to the FS specification.
For Fast (FS) and High-Speed (HS) modes, the devic e
has a spike suppression and a Schmidt trigger at SDA
and SCL inputs.
5.3.5DEVICE ADDRESSING
The address byte is the first by te received fol lowing the
START condition from the master device. The
MCP47X6’s sla ve address c onsists of a 4-bit fixed code
(‘1100’) and a 3-bit code th at is user speci fied when the
device is orde red. This allows up to eig ht MCP47X6
devices on a single I
Figure 5-9 shows the I
which contain s the seve n addre ss bi ts and a read/w rite
(R/W) bit. Table 5-2 shows the eight I2C Slave address
options and their respective device order code.
Start bit
2
C bus.
2
C slave address byte format,
Acknowledge bit
Read/Write bit
Slave Address
Address Byte
Slave Address (7-bits)
FixedUser Specified
R/W
ACK
2
T ABLE 5-2:I
7-bit I2C
Address
‘1100000’
‘1100001’
‘1100010’
‘1100011’
‘1100100’
‘1100101’
‘1100110’
‘1100111’
C ADDRESS / ORDER CODE
Device Order CodeComment
MCP47x6A0-E/xx
MCP47x6A0T-E/xxTape and Reel
MCP47x6A1-E/xx
MCP47x6A1T-E/xxTape and Reel
MCP47x6A2-E/xx
MCP47x6A2T-E/xxTape and Reel
MCP47x6A3-E/xx
MCP47x6A3T-E/xxTape and Reel
MCP47x6A4-E/xx
MCP47x6A4T-E/xxTape and Reel
MCP47x6A5-E/xx
MCP47x6A5T-E/xxTape and Reel
MCP47x6A6-E/xx
MCP47x6A6T-E/xxTape and Reel
MCP47x6A7-E/xx
MCP47x6A7T-E/xxTape and Reel
Note 1:The sample center will ge nerally s tock I2C
address ‘1100000’, other addresses may
be available.
2:‘xx’ in the order c ode is the device
package code (CH for SOT-23 and MA for
DFN)
1
Note: Address Bits (A2:A0) specified at time of device
The I2C specification requires that a high-speed mode
device must be ‘activated’ to operate in high-speed
(3.4 Mbit/s) mode. This is done by the Master sending
a special address byte following the START bit. This
byte is referred to as the high-speed Master Mode
Code (HSMMC).
The MCP47X6 device does not ack nowledge thi s byte.
However, upon receiving this command, the device
switches to HS mode. The device can now
communicate at up to 3.4 Mbit/s on SDA and SCL
lines. The devic e wi ll switch out of the HS mo de on the
next STOP condition.
The master code is sent as follows:
1.START condition (S)
2.High-Speed Master Mode Code (0000 1XXX),
The XXX bits are unique to the high-speed (HS)
mode Master.
3.No Acknowledge (A
F/S-mode
)
HS-mode
After switching to the High-Speed mode, the next
transferred byte is the I
the device to communicate with, and any number of
data bytes plus acknowledgements. The Master
Device can then either issue a Repeated Start bit to
address a different de vice (at H igh-S peed ) or a S top bit
to return to Fast/Standard b us spee d. Afte r the S t op bit,
any other Master D evice (in a Multi -Master syste m) can
arbitrate for the I
See Figure 5-10 for illustration of HS mode command
sequence.
For more information on the HS mode, or other I
modes, please refer to the NXP I
2
C control byte, which s pe ci fie s
2
C bus.
2
C specification.
2
5.3.6.1Slope Control
The slope control on the SDA output is different
between the Fast/Standard Speed and the H igh-Speed
clock modes of the interface.
5.3.6.2Pulse Gobbler
The pulse gobbler on the SCL pin is automatically
adjusted to suppress spikes < 10 ns during HS mode.
The General Call is a method that the “Master” device
can communicate with all other “Slave” devices. In a
Multi-Master application, the other Master devices are
operating in Slave mode. The General Call address
has two documented formats. These are shown in
Figure 5-11.
Second Byte
0000S0000XXXXXAXX0AP
General Call Address
Reserved 7-bit Commands (By I
‘0000 011’b - Reset and write programmable part of slave address by hardware.
‘0000 010’b - Write programmable part of slave address by hardware.
‘0000 000’b - NOT Allowed
The Following is a “Hardware General Call” Format
“7-bit Command”
2
C Specification - NXP specification # UM10204, Rev. 03 19 June 2007)
Second Byte
The MCP47X6 has two General Call Commands. The
function of these commands are:
• Reset the device(s) (Software Reset)
• Wake-Up the device(s)
For details on the o peration of th e MCP47X6’ s General
Call Commands, see Section 6.6.
Note:Only one Genera l Call command per issue
of the General Call control byte. Any
additional General Call commands are
ignored and Not Acknowledged.
The I2C protocol does not specify how commands are
formatted, so this secti on spe cifie s th e MCP47 X6’ s I
command formats and operation.
The commands can be grouped into the following
categories:
• Write memory
• Read memory
• General Call commands
The supported commands are shown in Table 6-2.
Many of these commands allow for continuous
operation. This means that the I
2
C Master does not
generate a Stop bit but repeats the required data/
clocks. This allows faster updates since the overhead
2
of the I
C control byte is rem oved. Table 6-1 shows the
supported commands and the required number of bit
clocks for both single and continuous co mmands.
Write commands, determined by the R/W bit = ‘0’, use
up to three command codes bits (C2:C0) to determine
the write’s operation.
The Read command is strictly determined by the R/W
bit = ‘1’. There are two formats of the command. One
for 12-bit and 10-bit devices and a second for 8-bit
devices.
The General Call commands utilize the I
specification reserved General Call command address
and command codes.
This command is used to update the volatile DAC
Register value and the two Power-down configuration
bits (PD1:PD0). This command is typically used for a
quick update of the analog output by modifying the
minimum parameters. The EEPROM values are not
affected by this command.
Figure 6-1 shows an exam pl e of th e com ma nd f orm at ,
where a stop bit completes the command.
The volatile DAC register and Power-down
configuration bits are updated with the written date at
the completion of the ACK bit (falling edge of SCL).
Read/Write bit (Write)
(3)
Start bitACK bit
2
After this ACK bit, the I
Stop bit or the I
C Master should generate a
2
C Master can repeat the 2nd (2
command bits + 2 power down bits + 4 data bits
(b11:b08)) and the 3rd byte (8 data bits (b07:b00)).
Repeating the 2nd and 3rd bytes allows a continuous
command where the volatile DAC register can be
updated without the communication overhead of the
device addressing byte (1st byte).
The device updates the V
at the falling edge of the
OUT
Acknowledge pulse of the 3rd byte.
ACK bit
(3)
ACK bit
(3)
Stop bit
S
SDA
SCL
Device AddressingData bits (8 bits)
A2 A1 A011000000PD1 PD0 b11
Note 1:The device updates V
The 2nd - 3rd bytes can be repeated after the 3rd byte by continued clocking before issuing Stop bit.
2:
MCP4726 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
MCP4716 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00 X X
MCP4706 X X X X D07 D06 D05 D04 D03 D02 D01 D00
at the falling edge of the SCL at the end of this ACK pulse.
OUT
AR/WAAP
b10
Command
bitsDown
b11 b10 b09 b08 b07 b06 b05 b04 b03 b02 b01 b00
Power
bits
Data bits (4 bits)
3: ACK bit generated by MCP47X6.
Legend: X = don’t care
D11: D00 = 12-bit data for MCP4726 device
D09:D00 = 10-bit data for MCP4716 device
D07:D00 = 8-bit data for MCP4706 device
This write comma nd is used to upd ate the vola tile DA C
Register value and configuration bits. The EEPROM is
not affected by this command. Figure 6-2 shows an
example of this write command.
The volatile DAC register and configuration bits are
updated with the written date at the completion of the
ACK bit (falling edge of SCL).
Read/Write bit (Write)
Start bitACK bit
(3)
MCP4706/4716/4726
2
After this ACK bit, the I
Stop bit or the I
command bits + 5 configuration bits), and the 3rd byte
(8 data bits (b15:b08)), and the 4th byte (8 data bits
(b07:b00)). Repeating the 2nd throug h 4th bytes allo ws
a continuous com mand where the volatile DAC register
and configuration bits can be updated without the
communication overhead of the device addressing
byte (1st byte).
ACK bit
C Master should generate a
2
C Master can repeat the 2nd (3
(3)
ACK bit
(3)
S
SDA
SCL
Device AddressingData bits (8 bits) (3rd byte)
MCP4726 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00 X X X X
MCP4716 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00 X X X X X X
MCP4706 D07 D06 D05 D04 D03 D02 D01 D00 X X X X X X X X
This write command is used to update the volatile and
nonvolatile (EEPROM) DAC Register value and
configuration bit s. Figure6-3 shows an example of this
write command.
update: At the falling edge of the
•V
OUT
Acknowledge pulse of the 4th byte.
• EEPROM update: At the falling edge of the
Acknowledge pulse of the 4th byte.
The DAC register and Power-down configuration bits
(volatile and EEPROM) are updated with the written
date at the completion of the ACK bit (falling edge of
SCL). The EEPROM memory requires time (T
the values to be written. Another Write All memory
command should not be issued until the EEPROM
write is complete.
“high” after the EEPROM write is
completed. The state of the RDY/BSY bit
can be monitored by a read command.
Write commands which only update volatile memory
(C2:C0 = ‘00x’ or ‘010’) can be issued. Read
commands and the General Call commands may not
be issued.
MCP4726 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00 X X X X
MCP4716 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00 X X X X X X
MCP4706 D07 D06 D05 D04 D03 D02 D01 D00 X X X X X X X X
Note 1:The device updates V
The 2nd - 4th bytes can be repeated after the 4th byte by continued clocking before issuing Stop bit.
2:
at the falling edge of the SCL at the end of this ACK pulse.
OUT
Command
bitsDown
Data bits (16 bits) (3rd + 4th bytes)
3: ACK bit generated by MCP47X6.
Legend: X = don’t care
D11: D00 = 12-bit data for MCP4726 device
D09:D00 = 10-bit data for MCP4716 device
D07:D00 = 8-bit data for MCP4706 device
This write command is used to update the volatile
configuration register bits only. This command is a
quick method to modify the configuration of the DAC,
such as the selection of the resistor ladder reference
voltage, the op amp gain, and the Power Down state.
Figure 6-4 shows an example of this write command.
Read/Write bit (Write)
Start bitACK bit
(3)
MCP4706/4716/4726
(3)
ACK bit
Stop bit
S
SDA
SCL
Device Addressing
A2 A1 A011000010PD1 PD0 G0
Note 1: The device updates V
AR/WA
Command
bits
at the falling edge of the SCL at the end of this ACK pulse.
OUT
VREF1 VREF0
0
Configuration bits
2: The 2nd byte can be repeated after the 2nd by continued clocking before issuing Stop bit.
3: ACK bit generated by MCP47X6.
This command reads all the device memory. This
includes the volatile and nonvolatile (EEPROM) DAC
Register values and configuration bits, and the volatile
status bits.
2
This command is exe cu ted when the I
Read/Write bit is a ‘1’ (read).
Start bitACK bit
S
SDA
SCL
Device Addressing
RDY POR
A2 A1 A0110010
VREF1 VREF0
0
PD1 PD0 G
C control byte’s
Read/Write bit (Read)
(3)
AR/W
(4)
A
0 b15 b14 b13 b12 b11 b10 b09
This command has two different formats based on the
resolution of the device. The 12-bit and 10-bit devices
use the format in Figure 6-5, while the 8-bit device uses
the format in Figure6-6.
The 2nd byte (configuration bits) indicates the current
condition of the device operation. The RDY/BSY
The device acknowledges the general call address
command (0x00 in the first byte). The meaning of the
general call address is always specified in the second
byte. The I
(00h) in the second byte. Please refer to the Phillips I
document for more details on the General Call
specifications.
The MCP47X6 devices support the following I
general calls:
• General Call Reset
• General Call Wake-Up
2
C specification does not allow “00000000”
Start bitACK bit
S
SDA
SCL
000000000000
2
2
Read/Write bit (Write)
(3)
AR/WA
6.6.1GENERAL CALL RESET
The device perf orms Ge ner al C all R ese t if t he s econd
byte is “00000110” (06h). At the acknowledgement of
this byte, the device will abort the current conversion
and perform the following t asks :
C
C
0P00110
• Internal reset similar to a Power-On-Reset (POR).
The contents of the EEPROM are loaded into the
DAC registers and analog output is available
immediately.
• This is a similar event to the POR. The V
be available immediately, but after a short time
delay following the Acknowledgement pulse. The
value is determined by the EEPROM
V
OUT
contents.
This command al lows mul tiple MC P47X6 de vices t o be
reset synchronously.
ACK bit
will
OUT
(3)
Stop bit
General Call Address
General Call Reset Command
Note 1
Note 2
Note 1:At the falling edge of the SCL at the end of this ACK pulse a reset occurs (startup timer starts and DAC register latched).
The 2nd byte can be repeated after the 2nd by continued clocking before issuing Stop bit.
If the second byte is “00001001” (09h), the device
forces the volatile power-down bits to ‘00’. The
nonvolatile (EEPROM) power-down bit values are not
affected by this command.
Note:This comman d do es not ad here to the I2C
specification where if the LSb of the 2nd
byte is a ‘1’, it is a ‘Har dware General C all’
(see the NXP I2C Specification).
This command allows multiple MCP47X6 devices to
wake-up synchronously.
Read/Write bit (Write)
Start bitACK bit
S
SDA
SCL
General Call Address
000000000000
(3)
AR/WA
0P01001
General Call Wake-Up
Command
ACK bit
(3)
Stop bit
Note 1
Note 2
Note 1:At the falling edge of the SCL, at the end of this ACK pulse, the volatile PD1:PD0 bits are forced to ‘00’.
The 2nd byte can be repeated after the 2nd by continued clocking before issuing Stop bit.
The resolution is the num be r of DA C outp ut s t ate s th at
divide the full-scale range. For the 12-bit DAC, the
resolution is 212, meaning the DAC c ode range s from 0
to 4095.
7.2Least Significant bit (LSb)
Normally this is thought of as the ideal voltage
difference between two successive codes. This bit has
the smallest value or weight of all bits in the register.
For a given output voltage range, which is typically the
voltage between the Full-Scale voltage and the ZeroScale voltage (V
OUT(FS)
- V
resolution of the device (Equation 7-1).
EQUATION 7-1:LSb VOLTAGE
CALCULATION
V
=
OUT(FS)
2
N
V
LSb
2N = 4096 (MCP4726)
1024 (MCP4716)
256 (MCP4706)
OUT(ZS)
- V
OUT(ZS)
- 1
), it is divided by the
7.5Zero-Scale Error (ZSE)
The Zero-Scale Error (see Figure 7-4) is the difference
between the ideal a nd measu red V
voltage with th e
OUT
volatile DAC Register equal to 000h. The Zero-Scale
Error is the same as the Offset Error for this case
(volatile DAC Register = 000h).
EQUATION 7-3:ZERO SCALE ERROR
V
ZSE =
Where:
FSE is expressed in LSb
V
OUT(@ZS)
V
LSb
OUT(@ZS)
is the V
register code is at Zero-scale.
is the delta voltage of one DAC register code
step (such as code 000h to code 001h).
V
LSb
voltage when the DAC
OUT
7.6Offset Error
The Offset error (see Figure 7-1) is the deviation from
zero voltage output when the volatile DAC Register
value = 000h (zero scale voltage). This error affects all
codes by the same amount. The offset error can be
calibrated by software in application circuits.
7.3Monotonicity
Normally this is thought of as the V
decreasing, as the DAC Register code is continuously
incremented by 1 code step (LSb).
voltage neve r
OUT
7.4Full-Scale Error (FSE)
The Full-scale error (see Figure 7-4) is the sum of
offset error plus gain error. It is the difference between
the ideal and m easured DAC output volt age with a ll bits
set to one (DAC input code = FFFh for 12-bit DAC).
The Integral nonlinearity (INL) error is the maximum
deviation of an actual transfer function from an ideal
transfer function (straight line).
In the MCP47X6, INL is calculated usi ng two end point s
(zero and full scale). INL can be expressed as a percentage of full scale range (FSR) or in a fraction of an
LSb. INL is also ca lle d rel ati ve a ccura cy. Equation 7-4
shows how to calculate the INL error in LSb and
Figure 7-2 shows an example of INL accuracy.
EQUATION 7-4:INL ERROR
V
–()
INL
Where:
INL is expressed in LSb.
V
V
Analog
Output
(LSb)
Ideal
OUT
=Code*LSb
=The output voltage measured with
a given DAC input code
7
6
5
4
INL = 0.5 LSb
3
2
1
0
FIGURE 7-2:INL Accu ra cy Exam ple.
OUTVIdeal
---------------------------------------=
LSb
INL = < -1 LSb
INL = - 1 LSb
010001000
011111100 101
DAC Input Code
Ideal Transfer Function
Actual Transfer Function
110
7.8Differen ti a l N o n lin e a r it y (D N L )
The Differential nonlinearity (DNL) error (see Figure 7-
3) is the measure of step size be tween code s in ac tua l
transfer function. The ide al st ep si ze betw ee n cod es is
1 LSb. A DNL error of zero would imply that every code
is exactly 1 LSb wide. If the DNL error is less than
1 LSb, the DAC guarantees monotonic output and no
missing codes. The DNL error between any two
adjacent codes is calcu lated as follows:
EQUATION 7-5:DNL ERROR
ΔV
DNL
--------------------------------- -=
Where:
DNL is expressed in LSb.
Δ
V
OUT
=The measured DAC output
voltage difference between two
adjacent input codes.
The Gain error (see Figure 7-4) is the difference
between the actual full-scale output voltage from the
ideal output voltage of the DAC transfer curve. The
gain error i s calcul ated after nullifyi ng the offset error,
or full scale error minus the offset error.
The gain error indicates how well the slope of the actual
transfer function matche s the slope of the ideal tra nsfer
function. The gain error is usually e xpressed as perce nt
of full-scale range (% of FSR) or in LSb.
In the MCP4706/4716/4726, the gain error is not
calibrated at the factory and most of the gain error is
contributed by the output buffer (op amp) saturation
near the code range beyond 4000d. For the
applications that need the gain error specification less
than 1% maximum, the user may consider using the
DAC code range between 100d and 4000d instead of
using full code range (code 0 to 4095d). The DAC
output of the code range between 100d and 4000d is
much more linear than full-scale range (0 to 4095d).
The gain error can be calibrated out by software in the
application.
Actual Transfer Function
Full-Scale
Error
Analog
Output
Actual Transfer Function
after Offset Error is removed
Zero-Scale
Error
0
Ideal Transfer Function
DAC Input Code
FIGURE 7-4:Gain Error and Full-Scale
Error Example.
Gain Error
7.10Gain Error Drift
The Gain error drift is the variation in gain error due to
a change in amb ient tem perature. T he gain error drif t i s
typically expressed in ppm /
o
C.
7.11Offset Error Drift
The Offset error drift is the variation in offset error due
to a change in ambient temperature. The offset error
drift is typically expressed in ppm/oC.
7.12Settling Time
The Settling time is t he time delay re quired for the V
voltage to settle into its new output value. This time is
measured from the sta rt of code tra nsiti on, to when th e
V
voltage is within the specified accuracy.
OUT
In the MCP47X6, the settling time is a measure of the
time delay until the V
LSb of its final value, when the volatile DAC Register
changes from 400h to C00h.
voltage re aches within 0.5
OUT
OUT
7.13Major-Code Transition Glitch
Major-code transition glitch is the impulse energy
injected into the DAC analog output when the code in
the DAC register c hange s state. It is normall y sp ecifie d
as the area of the glitch in nV-Sec, and is measured
when the digital co de is changed by 1 LSb a t the maj or
carry transition (Example: 011...111 to 100...000, or 100... 000 to 011 ... 111).
7.14Digital Feedthrough
The Digital feedthrough is the glitch that appears at the
analog output caused by coupling from the digit a l input
pins of the device. The area of the glitch is expressed
in nV-Sec, and is measured with a full scale change
(Example: all 0s to all 1s and vice versa) on the digital
input pins . The digi tal feedthrou gh is measur ed when
the DAC is not being written to the output register.
7.15Power-Supply Rejection Ratio
(PSRR)
PSRR indicates how the output of the DAC is affected
by changes in the supply voltage. PSRR is the ratio of
the change in V
output of the DAC. The V
The MCP47X6 family of devices are general purpose,
single channel voltage output DACs for various
applications where a precision operation with
low-power and nonvolatile EEPROM memory is
needed.
Since the devices include a nonvolatile EEPROM
memory, the user can utilize these devices for
applications that require the output to return to the
previous set-up value on subsequent power-ups.
Applications generally suited for the devices are:
• Set Point or Offset Trimming
• Sensor Calibration
• Portable Instrument ati on (Batte ry Pow ere d)
• Motor Control
8.1Connecting to I2C BUS using
Pull-Up Resistors
The SCL and SDA pins of the MCP47X6 devices are
open-drain configura tions. These pi ns require a pu ll-up
resistor as shown in Figure 8-2.
The pull-up resistor values (R1 and R2) for SCL and
SDA pins depend on the operating speed (standard,
fast, and high speed) and loading capacitance of the
2
C bus line. A higher value of the pull-up resistor
I
consumes less power, but increases the signal
transition time (higher RC time constant) on the bus
line. Therefore, it can limit the bus operating speed.
The lower resistor va lue , on the othe r ha nd, c on su me s
higher power, but allows higher operating speed. If the
bus line has higher capacitance due to long metal
traces or multiple device connections to the bus line, a
smaller pull-up resistor is needed to compensate the
long RC time constant. The pull-up resistor is typically
chosen between 1 kΩ and 10 kΩ ranges for standard
and fast modes, and less than 1 kΩ for high speed
mode.
8.1.1DEVICE CONNECTION TEST
The user can te st the pre sence o f the dev ice on the I2C
bus line using a sim p l e I
achieved by checking an acknowledge response from
the device after sending a read or write command.
Figure 8-1 shows an example with a read command.
The steps are:
a)Set the R/W
byte.
b)Check the ACK bit of the address byte.
If the device acknowledges (ACK = 0) the
command, then the device is connected,
otherwise it is not connecte d.
The power source should be as clean as p os si ble . Th e
power supply to the device is also used for the DAC
DD
is
DD
pin as
DD
voltage reference internally if the internal V
selected as the resistor ladders reference voltage
(VREF1:VREF0 = 00 or 01).
Any noise induced on the V
line can affect the DAC
DD
performance. Typical applic ations will requ ire a byp as s
capacitor in order to filter out high frequency noise on
the V
line. The noi se c an be induced ont o the po w er
DD
supply’s traces or as a result of changes on the DAC
output. The bypass capacitor helps to minimize the
effect of these noise sources on signal integrity.
Figure 8-2 shows an example of using two bypass
capacitors (a 10 µF tantalum capacitor and a 0.1 µF
ceramic capacitor) in parallel on the V
line. These
DD
capacitors shou ld be placed as close to the V
possible (within 4 mm). If the application circuit has
separate digital and analog power supplies, the V
and VSS pins of the dev ice shou ld reside on the analo g
plane.
V
Optional
Analog
C3
Output
V
1
OUT
2
V
SS
3
V
DD
C2
C1
(a) Circuit when VDD is selected as reference
(Note: VDD is connected to the reference circuit internally.)
Optional
C3
V
1
OUT
2
V
SS
3
V
DD
C2
C1
MCP47X6
Analog
Output
MCP47X6
6
V
5
SDA
4
SCL
Optional
C4
V
6
5
SDA
4
SCL
REF
REF
C5
R1 R2
To MCU
V
V
REF
R1 R2
To MCU
DD
DD
(b) Circuit when external reference is used.
R1 and R2 are I2C pull-up resistors:
R1 and R2:
5kΩ - 10 kΩ for f
~700Ω for f
C1: 0.1 µF capacitor
C2: 10 µF capacitor
C3: ~ 0.1 µF
C4: 0.1 µF capacitor
C5: 10 µF capacitor
= 100 kHz to 400 kHz
SCL
= 3.4 MHz
SCL
Ceramic
Tantalum
Optional to reduce noise
OUT pin.
in V
Ceramic
Tantalum
Note: Pin assignment is opposite in DFN-6 package.
The MCP47X6 devices are rail-to-rail output DACs
designed to operate with a V
The internal output op amplifier is robust enough to
drive common, small-signal loads directly, thus
eliminating the cost and size of external buffers for
most applications. The user can use gain of 1 or 2 of
the output op amplifier by setting the configuration
register bits. Also, t he user c an use interna l V
reference or use external reference. Various user
options and easy-to-use features make the devices
suitable for various modern DAC applications.
Application examples include:
• Decreasing Output Step Size
• Building a “Window” DAC
• Bipolar Operation
• Selectable Ga in and Of fset Bipolar Voltage O utput
• Designing a Double-Precision DAC
• Building Programmable Current Source
• Serial Interface Comm unication Times
• Software I2C Interface Reset Sequence
• Power Supply Considerations
• Layout Consideration s
range of 2.7V to 5.5V.
DD
DD
as the
8.3.1DC SET POINT OR CALIBRATION
A common application for the devices is a
digitally-controlled set point and/or calibration of
variable parameters, such as sensor offset or s lope.
For example, the MCP4726 provides 4096 output
steps. If voltage reference is 4.096V, the LSb size is
1 mV. If a smaller output step size is desired, a lower
external voltage reference is needed.
8.3.1.1Decreasing Output Step Size
If the application is calibrating the bias voltage of a
diode or transistor , a bia s voltage range of 0.8V may be
desired with about 200 µV resolution per step. Two
common methods to achieve small step size are using
lower V
DAC’s output.
Using an external voltage reference (V
option, if the external reference is available with the
desired output voltage range. However, occasionally,
when using a low-voltage reference voltage, the noise
floor causes a SNR error that is intolerable. Using a
voltage divider method is another option, and provides
some advantages when external voltage reference
needs to be very low, or when the desired output
voltage is not available. In this case, a larger value
reference voltage is used, while two resistors scale the
output range down to the precise desired level.
Figure 8-3 illustrate s this concept . A bypass capaci tor
on the output of the voltage divider plays a critical
function in attenuat ing the o utput n oise of the DAC an d
the induced noise from the environment.
pin voltage or using a volt age di vider on the
REF
REF
V
DD
) is an
Optional
V
REF
MCP47X6
R
DD
SENSE
V
O
VCC+
V
R
1
R
2
V
Comp.
TRIP
C
1
OUT
–
V
CC
V
I2C™
2-wire
FIGURE 8-3:Example Circuit Of Set Point
or Threshold Calibration.
When calibrating a set point or threshold of a sensor,
typically only a sma ll portion of the DA C output range is
utilized. If the LSb size is adequate enough to meet the
application’s accuracy needs, the unused range is
sacrificed without consequences. If greater accuracy is
needed, then the output range will need to be reduced
to increase the resolutio n around the desired thresho ld.
If the threshold is not near V
REF
, 2 • V
, or VSS then
REF
creating a “window” around the threshold has several
advantages. One simple method to create this
“window” is to use a voltage divider network with a
pull-up and pull-do wn resistor . Figure 8-4 and Figure 8-
Bipolar operation is achievable by utilizing an external
operational amplifier. This configuration is desirable
due to the wide variety and avai lability of op amp s. This
allows a general purpose DAC, with its cost and
availability advantages, to meet almost any desired
output voltage range, power and noise performance.
Figure 8-5 illustrates a simple bipolar voltage source
configuration. R
while R
and R4 shift the DAC's output to a selected
3
offset. Note that R4 ca n be tie d to V
if a higher offset is desired.
Optional
V
REF
MCP47X6
I2C™
2-wire
FIGURE 8-5:Digitally-Controlled Bipolar
Voltage Source Example Circuit.
8.5Selectable Gain and Of fset Bipolar
Voltage Output
In some applications, precision digital control of the
output range is desirable. Example 8-6 illustrates how
to use the DAC devices to achieve this in a bipolar or
single-supply application.
This circuit is typically used for linearizing a sensor
whose slope and offset varies.
The equation to design a bipolar “window” DAC would
be utilized if R
8.5.1BIPOLAR DAC EXAMPLE USING
An output step size of 1 mV, with an output range of
±2.05V, is desired for a particular application.
Step 1: Calculate th e ra nge : +2. 05V – (-2.0 5V) = 4 .1V.
Step 2: Calculate the resolution needed:
4.1V/1 mV = 4100
Since 2
Step 3: The amplifier gain (R
full-scale V
desired minimum output to achieve bipolar
operation. Since any gain can be realized by
choosing resistor values (R
must be selected first. If a V
solve for the amplifi er’s gai n b y s ett ing the D AC to
0, knowing that the output needs to be -2.05V.
The equation can be simplified to:
, R4 and R5 are populated.
3
MCP4726
12
= 4096, 12-bit resolution is desired.
), multiplied by
(4.096V), must be equal to the
OUT
2/R1
), the V
1+R2
of 4.096V is used,
REF
REF
value
Optional
VCC+
Optional
V
REF
V
DD
R
5
VCC+
R
MCP4726
I2C™
2-wire
3
V
O
R
4
V
V
IN
CC
V
OA+
C
1
V
–
R
1
CC
V
OUT
–
R
2
FIGURE 8-6:Bipolar Voltage Source with
Selectable Gain and Offset.
EQUATION 8-4:V
OUT
, V
, AND VO
OA+
CALCULATIONS
V
OUT
V
OA+
VO = V
= V
REF
V
OUT
=
OA+
Offset AdjustGain Adjust
DAC Register Value
• G •
• R4 + V
+ R4
R
3
R2
• ( 1 + ) - VIN • ( )
R
CC-
1
N
2
• R5
R2
R
1
R2–
-------- R
2.05–
-----------------=
4.096V
1
R
----- R
1
2
-- -=
2
1
If R1 = 20 kΩ and R2 = 10 kΩ, the gain will be 0.5.
Step 4: Next, solve for R3 and R4 by setting the DAC to
4096, knowing th at the outp ut nee ds to be +2.05V.
operations of the I
serial interface operational frequencies. This, along
with the V
would be used to determine your applications volatile
DAC register update rate.
OUT
2
C serial interface for the different
output performance (such as slew rate),
TABLE 8-1:SERIAL INTERFACE TIMES / FREQUENCIES
Command
Code
Function C2 C1 C0
00XWrite Volatile
DAC
010Write Volatile
Memory
011Write All
Memory
100Write NV
Configuration
Bits
N.A.ReadN.A.N.A.N.A.N.A.77750187.522.11.35.345.3
Note 1:Only the volatile PD1:PD0 bits of the Configuration bits are written.
At times, it may become necessary to perform a
Software Reset Sequence to ensure the MCP47X6
device is in a correct and known I2C Interface state.
This technique only resets the I
This is useful if the MCP47X6 device powers up in an
incorrect state (due to excessive bus noise, etc), or if
the Master Device is reset during communication.
Figure 8-9 shows the communication sequence to
software reset the device.
S‘1’‘1’‘1’‘1’‘1’‘1’‘1’‘1’SP
Nine bits of ‘1’
Start
bit
FIGURE 8-9:Software Reset Sequence
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 if the
Start bit forces an internal Reset.
2
C state machine.
Start bit
Stop bit
The nine bits of ‘1’ are used to force a Reset of those
devices that cou ld not be res et by the prev ious S ta rt bit.
This occurs only if the MCP47X6 is driving an A bit on
2
C bus, or is in output mode (from a Read
the I
command) and is driving a data bit of ‘0’ onto the I
2
bus. In both of thes e case s, the previo us Start bit coul d
not be generated due to the MCP47X6 hol ding the bu s
low. By sending out nine ‘1’ bits, it is ensured that the
device will see an A bit (the Master Device does not
drive the I
2
C bus low to acknowledge the data sent by
the MCP47X6), which also forces the MCP47X6 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 co mmand to
the MCP47X6, AND then as the Mast er Devi ce return s
to normal operation and issues a Start condition, while
the MCP47X6 is issuing an Acknowledge. In this c as e,
if the 2nd Start bit is not sent (and the Stop bit was sent)
the MCP47X6 could initiate a write cycle.
Note:The potential for this erroneous write
ONLY occurs if the Master Device is reset
while sending a Write command to the
MCP47X6.
The Stop bit terminate s the current I2C bus activity . Th e
MCP47X6 waits to detect the next Start condition.
2
This sequence does not effect any other I
C devices
which may be on the bus, as they should disregard this
as an invalid command.
In the design of a system with the MCP4706/4716 /4726
devices, the following considerations should be taken
into account:
• Power Supply Considerations
• Layout Considerations
8.10.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-10 illustrates an
appropriate bypass stra teg y.
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
V
should reside on the analog plane.
SS
8.10.2LAYOUT CONSIDERATIONS
Several layout considerations may be applicable to
your application. These may include:
• Noise
• PCB Area Requirements
8.10.2.1Noise
Inductively-coupled AC transients and digital switching
noise can degrade the in put and outp ut signal integri ty,
potentially masking the MCP47X6’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 achiev ing the performance th at the silicon
is capable of providing. Particularly harsh
environments may require shielding of critical signals.
Separate digital and analog ground planes are
recommended. In thi s case, the V
pins of the V
capacitors should be terminated to the
DD
analog ground plane.
Note:Breadboards and wire-wrapped boards
are not recommended.
pin and the ground
SS
V
DD
0.1 µF
V
DD
0.1 µF
SCL
V
V
REF
OUT
MCP47X6
V
SS
SDA
Microcontroller
TM
PIC
V
SS
FIGURE 8-10:Typical Microcontroller
Connections.
8.10.2.2PCB Area Requirements
In some applicat ions , PCB area is a criter ia for de vice
selection. Table 8-2 shows the typical package
dimensions and area fo r the di fferent package opti ons .
The table also show s the relati ve area fac tor compare d
to the smallest area. Fo r space critical applicati ons, the
DFN package would be the suggested package.
TABLE 8-2:PACKAGE FOOTPRINT (1)
PackagePackage Footprint
Dimensions
(mm)
TypeCode
Pins
Length Width
6SOT-23CH2.902.707.831.96
6DFNMA2.002.004.001
Note 1: Does not include recommended land
pattern dimensions. Dimensions are
typical values.
Development supp ort can be classif ied into two gro ups.
These are:
• Development Tools
• Technical Documentation
9.1Development Tools
Several development tools are available to assist in
your design and evaluation of the MCP47X6 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.
MCP4706/4716/4726
9.1.1MCP47X6 PICTAIL PLUS
DAUGHTER BOARD
The MCP47X6 PICtail Plus Daughter Board (Order
Number: ADM00317) is available from Microchip
Technology Inc. This board works with Microchip’s
PICkit™ Serial Analyzer and PIC Explorer 16
Development Board. The firmware example is also
available for the Explore 16 Development Board with
PIC24FJ128.
Figure 9-1 shows the MCP47X6 PICtail Plus Daughter
Board being used with a PIC Explore r 16 De velop ment
Board (order #: ADM00317), while Figure 9-2 shows
the MCP47X6 PICtail Plu s Daughte r Board bein g used
with a PICkit™ Serial Analyzer. The PICkit™ Serial
Analyzer allows the user to quickly evaluate the DAC
operation. Refer to the MCP47X6 PICtail Plus
Daughter Board User’s Guide for detailed descriptions
on operating the daughter board.
Refer to www.microchip.com for further information on
this product and related material for the users.
MCP47X6 PICtail Plus
Daughter Board
inserted into PICtail Connector
Explore 16
Development Board
FIGURE 9-1:MCP47X6 PICtail Plus
Daughter Board with PIC Explorer 16
Development Board.
MCP47X6 PICtail Plus Daughter Board
FIGURE 9-2:MCP47X6 PICtail Plus
Daughter Board with PICkit™ Serial Analyzer.
TABLE 9-1:DEVELOPMENT TOOLS
Board Name Part # Supported Devices
6-pin SC70 Evaluation BoardSC 70EVMCP4706, MCP4716, MC P4726
MCP4706/4716/4726 Eva lua tio n Board
Note 1: Requires a PICDEM Demo board. See the User’s Guide for additional information and requirements.
2: Requires a PICkit Serial Analyzer. See the User’s Guide for additional information and requirements.
3: This board is currently in the manufacturing cycle, and should be available by end of March 2011.
Several additional tec hnical docume nts are availabl e 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-2:TECHNICAL DOCUMENTATION
Application
Note Number
AN1326Using DAC for LDMOS Amplifier Bias Control ApplicationsDS01326
—Signal Chai n Design GuideDS21825
—Analog Solutions for Automotive Applications Design GuideDS01005
Note:In the event the full Mic rochip part nu mber ca nnot be m arked o n one lin e, it will
MCP4706A0T-E/MA MCP4716A0T-E/MA MCP4726A0T-E/MA
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 tracea bil ity code
3
e
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.
be carried over to the next line, thus limiting the number of available
characters for customer-specific information.
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 it s 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 com mitted to continuously improving the c ode prot ection f eatures of our
products. Attempts to break Microchip’s code protection feature may be a violation of t he Digit al Mill ennium Copyright Act. If such act s
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 t he lik e is provided only for yo ur c onvenience
and may be su perseded by updat es . It is y o u r r es ponsibility 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 supp ort and/or safety ap plications is entir ely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless M icrochip from any and all dama ges, claims,
suits, or expenses re sulting from such use. No licens es are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
logo, rfPIC and UNI/O are registered trademarks of
PIC
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL 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, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified
logo, MPLIB, MPLINK, mTouch, Octopus, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance,
TSHARC, UniWinDriver, WiperLock and ZENA are
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
SQTP is a service mark of Microchip T echnology 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
Tempe, 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 design
and manufacture of development systems is ISO 9001:2000 certified.