## 12-Bit, Quad Digital-to-Analog Converter with EEPROM Memory

## Features

• 12-Bit Voltage Output DAC with Four Buffered Outputs

• On-Board Nonvolatile Memory (EEPROM) for DAC Codes and I<sup>2</sup>C™ Address Bits

• Internal or External Voltage Reference Selection

• Output Voltage Range:

\- Using Internal $V _ { \mathsf { R E F } }$ (2.048V): 0.000V to 2.048V with Gain Setting = 1 0.000V to 4.096V with Gain Setting = 2

\- Using External $\mathsf { V } _ { \mathsf { R E F } } ( \mathsf { V } _ { \mathsf { D D } } ) \colon$ 0.000V to V<sub>DD</sub>

• ±0.2 Least Significant Bit (LSB) Differential Nonlinearity (DNL) (typical)

• Fast Settling Time: 6 µs (typical)

• Normal or Power-Down Mode

• Low Power Consumption

• Single-Supply Operation: 2.7V to 5.5V

• I<sup>2</sup>C Interface:

\- Address bits: User Programmable to EEPROM

\- Standard (100 kbps), Fast (400 kbps) and High Speed (HS) Mode (3.4 Mbps)

• 10-Lead MSOP Package

• Extended Temperature Range: $\scriptscriptstyle - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf { C }$

## Applications

• Set Point or Offset Adjustment

• Sensor Calibration

• Closed-Loop Servo Control

• Low Power Portable Instrumentation

• PC Peripherals

• Programmable Voltage and Current Source

• Industrial Process Control

• Instrumentation

• Bias Voltage Adjustment for Power Amplifiers

## Description

The MCP4728 device is a quad, 12-bit voltage output Digital-to-Analog Convertor (DAC) with nonvolatile memory (EEPROM). Its on-board precision output amplifier allows it to achieve rail-to-rail analog output swing.

The DAC input codes, device configuration bits, and ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits are programmable to the nonvolatile memory (EEPROM) by using ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ serial interface commands. The nonvolatile memory feature enables the DAC device to hold the DAC input codes during power-off time, allowing the DAC outputs to be available immediately after power-up with the saved settings. This feature is very useful when the DAC device is used as a supporting device for other devices in the application’s network.

The MCP4728 device has a high precision internal voltage reference $( \mathsf { V } _ { \mathsf { R E F } } = 2 . 0 4 8 \mathsf { V } )$ . The user can select the internal reference or external reference $( \mathsf { V } _ { \mathsf { D D } } )$ for each channel individually.

Each channel can be operated in Normal mode or Power-Down mode individually by setting the configuration register bits. In Power-Down mode, most of the internal circuits in the powered down channel are turned off for power savings, and the output amplifier can be configured to present a known low, medium, or high resistance output load.

The MCP4728 device includes a Power-on Reset (POR) circuit to ensure reliable power-up and an on-board charge pump for the EEPROM programming voltage.

The MCP4728 has a two-wire ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ compatible serial interface for standard (100 kHz), fast (400 kHz), or high speed (3.4 MHz) mode.

The MCP4728 DAC is an ideal device for applications requiring design simplicity with high precision, and for applications requiring the DAC device settings to be saved during power-off time.

The MCP4728 device is available in a 10-lead MSOP package and operates from a single 2.7V to 5.5V supply voltage.

## MCP4728

Package Type

![DS22187E page 2](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-02.jpg)

Functional Block Diagram  
*(figure shown in the DS22187E page 2 render above)*

## 1.0 ELECTRICAL CHARACTERISTICS

## Absolute Maximum Ratings†

V<sub>DD</sub>... ..6.5V All inputs and outputs w.r.t V<sub>SS</sub> ....... .......... -0.3V to V +0.3V Current at Input Pins ..±2 mA Current at Supply Pins . ±110 mA Current at Output Pins .±25 mA Storage Temperature .-65°C to +150°C Ambient Temp. with Power Applied .............-55°C to +125°C ESD protection on all pins ................ ≥ 4 kV HBM, ≥ 400V MM Maximum Junction Temperature $( \mathsf { T } _ { \mathsf { J } } )$ .+150°C † 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 these or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

## ELECTRICAL CHARACTERISTICS

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated, all parameters apply at  $V_{DD} = +2.7V$  to 5.5V,  $V_{SS} = 0V$ , $R_L = 5\text{k}\Omega$ ,  $C_L = 100\text{ pF}$ ,  $G_X = 1$ ,  $T_A = -40°C$  to  $+125°C$ . Typical values are at  $+25°C$ ,  $V_{IH} = V_{DD}$ ,  $V_{IL} = V_{SS}$ .</td></tr><tr><td>Parameter</td><td>Symbol</td><td>Min</td><td>Typical</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td colspan="7">Power Requirements</td></tr><tr><td>Operating Voltage</td><td> $V_{DD}$ </td><td>2.7</td><td></td><td>5.5</td><td>V</td><td></td></tr><tr><td rowspan="4">Supply Current with External Reference( $V_{REF} = V_{DD}$ )(Note 1)</td><td rowspan="4"> $I_{DD\_EXT}$ </td><td>—</td><td>800</td><td>1400</td><td> $\mu A$ </td><td> $V_{REF} = V_{DD}$ ,  $V_{DD} = 5.5V$ All 4 channels are in Normal mode.</td></tr><tr><td>—</td><td>600</td><td>—</td><td> $\mu A$ </td><td>3 channels are in Normal mode,1 channel is powered down.</td></tr><tr><td>—</td><td>400</td><td>—</td><td> $\mu A$ </td><td>2 channels are in Normal mode,2 channel are powered down.</td></tr><tr><td>—</td><td>200</td><td>—</td><td> $\mu A$ </td><td>1 channel is in Normal mode,3 channels are powered down.</td></tr><tr><td>Power-Down Current with External Reference</td><td> $I_{PD\_EXT}$ </td><td>—</td><td>40</td><td>—</td><td>nA</td><td>All 4 channels are powered down. $(V_{REF} = V_{DD})$ </td></tr><tr><td rowspan="4">Supply Current with Internal Reference( $V_{REF} = \text{Internal}$ )(Note 1)</td><td rowspan="4"> $I_{DD\_INT}$ </td><td>—</td><td>800</td><td>1400</td><td> $\mu A$ </td><td> $V_{REF} = \text{Internal Reference}$  $V_{DD} = 5.5V$ All 4 channels are in normal mode.</td></tr><tr><td>—</td><td>600</td><td>—</td><td> $\mu A$ </td><td>3 channels are in Normal mode,1 channel is powered down.</td></tr><tr><td>—</td><td>400</td><td>—</td><td> $\mu A$ </td><td>2 channels are in Normal mode,2 channels are powered down.</td></tr><tr><td>—</td><td>200</td><td>—</td><td> $\mu A$ </td><td>1 channel is in Normal mode,3 channels are powered down.</td></tr><tr><td>Power-Down Current with Internal Reference</td><td> $I_{PD\_INT}$ </td><td>—</td><td>45</td><td>60</td><td> $\mu A$ </td><td>All 4 channels are powered down. $V_{REF} = \text{Internal Reference}$ </td></tr></table>

Note 1: All digital input pins (SDA, SCL, LDAC) are tied to “High”, Output pins are unloaded, code = 0 x 000.  
2: The power-up ramp rate measures the rise of $\mathsf { V } _ { \mathsf { D D } }$ over time.  
3: This parameter is ensured by design and not 100% tested.  
4: This parameter is ensured by characterization and not 100% tested.  
5: Test code range: 100 - 4000 codes, $\mathsf { V } _ { \mathsf { R E F } } = \mathsf { V } _ { \mathsf { D D } } , \mathsf { V } _ { \mathsf { D D } } = 5 . 5 \mathsf { V } .$  
6: Time delay to settle to a new reference when switching from external to internal reference or vice versa.  
7: This parameter is indirectly tested by Offset and Gain error testing.  
8: Within 1/2 LSB of the final value when code changes from 1/4 of to 3/4 of full scale.  
9: This time delay is measured from the falling edge of ACK pulse in ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ command to the beginning of $\mathsf { V } _ { \mathsf { O U T } }$ This time delay is not included in the output settling time specification.

ELECTRICAL CHARACTERISTICS (CONTINUED)

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated, all parameters apply at  $V_{DD}=+2.7V to 5.5V, V_{SS}=0V,$  $R_L=5 kΩ, C_L=100 pF, G_X=1, T_A=-40°C to +125°C. Typical values are at +25°C, V_{IH}=V_{DD}, V_{IL}=V_{SS}$ .</td></tr><tr><td>Parameter</td><td>Symbol</td><td>Min</td><td>Typical</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td>Power-on Reset Threshold Voltage</td><td> $V_{POR}$ </td><td>—</td><td>2.2</td><td>—</td><td>V</td><td>All circuits, including EEPROM, are ready to operate.</td></tr><tr><td>Power-Up Ramp Rate</td><td> $V_{RAMP}$ </td><td>1</td><td>—</td><td>—</td><td>V/s</td><td>Note 2, Note 4</td></tr><tr><td colspan="7">DC Accuracy</td></tr><tr><td>Resolution</td><td>n</td><td>12</td><td>—</td><td>—</td><td>Bits</td><td>Code Change: 000h to FFFh</td></tr><tr><td>Integral Nonlinearity (INL) Error</td><td>INL</td><td>—</td><td>±2</td><td>±13</td><td>LSB</td><td>Note 5</td></tr><tr><td>DNL Error</td><td>DNL</td><td>-0.75</td><td>±0.2</td><td>±0.75</td><td>LSB</td><td>Note 5</td></tr><tr><td>Offset Error</td><td> $V_{OS}$ </td><td>—</td><td>5</td><td>20</td><td>mV</td><td>Code = 000hSee Figure 2-24</td></tr><tr><td rowspan="2">Offset Error Drift</td><td rowspan="2"> $\Delta V_{OS}/°C$ </td><td>—</td><td>±0.16</td><td>—</td><td>ppm/°C</td><td>-45°C to +25°C</td></tr><tr><td>—</td><td>±0.44</td><td>—</td><td>ppm/°C</td><td>+25°C to +125°C</td></tr><tr><td>Gain Error</td><td> $G_E$ </td><td>-1.25</td><td>0.4</td><td>+1.25</td><td>% of FSR</td><td>Code = FFFh,Offset error is not included.Typical value is at room temperatureSee Figure 2-25</td></tr><tr><td>Gain Error Drift</td><td> $\Delta G_E/°C$ </td><td>—</td><td>-3</td><td>—</td><td>ppm/°C</td><td></td></tr><tr><td colspan="7">Internal Voltage Reference ( $V_{REF}$ ), (Note 3)</td></tr><tr><td>Internal Voltage Reference</td><td> $V_{REF}$ </td><td>2.007</td><td>2.048</td><td>2.089</td><td>V</td><td></td></tr><tr><td rowspan="4">Temperature Coefficient</td><td rowspan="4"> $\Delta V_{REF}/°C$ </td><td>—</td><td>125</td><td>—</td><td>ppm/°C</td><td rowspan="2">-40 to 0°C</td></tr><tr><td>—</td><td>0.25</td><td>—</td><td>LSB/°C</td></tr><tr><td>—</td><td>45</td><td>—</td><td>ppm/°C</td><td rowspan="2">0 to +125°C</td></tr><tr><td>—</td><td>0.09</td><td>—</td><td>LSB/°C</td></tr><tr><td>Reference Output Noise</td><td> $E_{NREF}$ </td><td>—</td><td>290</td><td>—</td><td>μ $V_{p-p}$ </td><td>Code = FFFh,0.1 - 10 Hz,  $G_x=1$ </td></tr><tr><td rowspan="2">Output Noise Density</td><td rowspan="2"> $e_{NREF}$ </td><td>—</td><td>1.2</td><td>—</td><td rowspan="2">μ $V/\sqrt{Hz}$ </td><td>Code = FFFh, 1 kHz,  $G_x=1$ </td></tr><tr><td>—</td><td>1.0</td><td>—</td><td>Code = FFFh, 10 kHz,  $G_x=1$ </td></tr><tr><td>1/f Corner Frequency</td><td> $f_{CORNER}$ </td><td>—</td><td>400</td><td>—</td><td>Hz</td><td></td></tr></table>

Note 1: All digital input pins (SDA, SCL, LDAC) are tied to “High”, Output pins are unloaded, code = 0 x 000.  
2: The power-up ramp rate measures the rise of $\mathsf { V } _ { \mathsf { D D } }$ over time.  
3: This parameter is ensured by design and not 100% tested.  
4: This parameter is ensured by characterization and not 100% tested.  
5: Test code range: 100 - 4000 codes, $\mathsf { V } _ { \mathsf { R E F } } = \mathsf { V } _ { \mathsf { D D } } ,$ V<sub>DD</sub> = 5.5V.  
6: Time delay to settle to a new reference when switching from external to internal reference or vice versa.  
7: This parameter is indirectly tested by Offset and Gain error testing.  
8: Within 1/2 LSB of the final value when code changes from 1/4 of to 3/4 of full scale.  
9: This time delay is measured from the falling edge of ACK pulse in ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ command to the beginning of $\mathsf { V } _ { \mathsf { O U T } }$ This time delay is not included in the output settling time specification.

ELECTRICAL CHARACTERISTICS (CONTINUED)

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated, all parameters apply at  $V_{DD} = +2.7V$  to 5.5V,  $V_{SS} = 0V$ , $R_L = 5\ k\Omega$ ,  $C_L = 100\ pF$ ,  $G_X = 1$ ,  $T_A = -40°C$  to  $+125°C$ . Typical values are at  $+25°C$ ,  $V_{IH} = V_{DD}$ ,  $V_{IL} = V_{SS}$ .</td></tr><tr><td>Parameter</td><td>Symbol</td><td>Min</td><td>Typical</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td colspan="7">Analog Output (Output Amplifier)</td></tr><tr><td>Output Voltage Swing</td><td> $V_{OUT}$ </td><td>—</td><td>FSR</td><td>—</td><td>V</td><td>Note 7</td></tr><tr><td rowspan="3">Full Scale Range(Note 7)</td><td rowspan="3">FSR</td><td>—</td><td> $V_{DD}$ </td><td>—</td><td>V</td><td> $V_{REF} = V_{DD}$ FSR = from 0.0V to  $V_{DD}$ </td></tr><tr><td>—</td><td> $V_{REF}$ </td><td>—</td><td>V</td><td> $V_{REF} = \text{Internal}, G_X = 1$ ,FSR = from 0.0 V to  $V_{REF}$ </td></tr><tr><td>—</td><td> $2 * V_{REF}$ </td><td>—</td><td>V</td><td> $V_{REF} = \text{Internal}, G_X = 2$ ,FSR = from 0.0V to  $2 * V_{REF}$ </td></tr><tr><td>Output VoltageSettling Time</td><td> $T_{SETTLING}$ </td><td>—</td><td>6</td><td>—</td><td>μs</td><td>Note 8</td></tr><tr><td>Analog Output Time Delayfrom Power-Down Mode</td><td> $Td_{ExPD}$ </td><td>—</td><td>4.5</td><td>—</td><td>μs</td><td> $V_{DD} = 5V$ ,Note 4, Note 9</td></tr><tr><td rowspan="2">Time delay to settle to newreference(Note 4, Note 6)</td><td rowspan="2"> $Td_{REF}$ </td><td>—</td><td>26</td><td>—</td><td>μs</td><td>From External to InternalReference</td></tr><tr><td>—</td><td>44</td><td>—</td><td>μs</td><td>From Internal to ExternalReference</td></tr><tr><td>Power Supply Rejection</td><td>PSRR</td><td>—</td><td>-57</td><td>—</td><td>dB</td><td> $V_{DD} = 5V \pm 10\%, V_{REF} = \text{Internal}$ </td></tr><tr><td>Capacitive Load Stability</td><td> $C_L$ </td><td>—</td><td>—</td><td>1000</td><td>pF</td><td> $R_L = 5\ k\Omega$ No oscillation, Note 4</td></tr><tr><td>Slew Rate</td><td>SR</td><td>—</td><td>0.55</td><td>—</td><td>V/μs</td><td></td></tr><tr><td>Phase Margin</td><td> $p_M$ </td><td>—</td><td>66</td><td>—</td><td>Degree(°)</td><td> $C_L = 400\ pF, R_L = \infty$ </td></tr><tr><td>Short Circuit Current</td><td> $I_{SC}$ </td><td>—</td><td>15</td><td>24</td><td>mA</td><td> $V_{DD} = 5V$ ,All  $V_{OUT}$  Pins = Grounded.Tested at room temperature.</td></tr><tr><td>Short Circuit CurrentDuration</td><td> $T_{SC\_DUR}$ </td><td>—</td><td>Infinite</td><td>—</td><td>hours</td><td>Note 4</td></tr><tr><td rowspan="4">DC Output Impedance(Note 4)</td><td rowspan="4"> $R_{OUT}$ </td><td>—</td><td>1</td><td>—</td><td>Ω</td><td>Normal mode</td></tr><tr><td>—</td><td>1</td><td>—</td><td>kΩ</td><td>Power-Down mode 1(PD1:PD0 = 0:1),  $V_{OUT}$  to  $V_{SS}$ </td></tr><tr><td>—</td><td>100</td><td>—</td><td>kΩ</td><td>Power-Down mode 2(PD1:PD0 = 1:0),  $V_{OUT}$  to  $V_{SS}$ </td></tr><tr><td>—</td><td>500</td><td>—</td><td>kΩ</td><td>Power-Down mode 3(PD1:PD0 = 1:1),  $V_{OUT}$  to  $V_{SS}$ </td></tr></table>

Note 1: All digital input pins (SDA, SCL, LDAC) are tied to “High”, Output pins are unloaded, code = 0 x 000.  
2: The power-up ramp rate measures the rise of $\mathsf { V } _ { \mathsf { D D } }$ over time.  
3: This parameter is ensured by design and not 100% tested.  
4: This parameter is ensured by characterization and not 100% tested.  
5: Test code range: 100 - 4000 codes, $\mathsf { V } _ { \mathsf { R E F } } = \mathsf { V } _ { \mathsf { D D } } , \mathsf { V } _ { \mathsf { D D } } = 5 . 5 \mathsf { V } .$  
6: Time delay to settle to a new reference when switching from external to internal reference or vice versa.  
7: This parameter is indirectly tested by Offset and Gain error testing.  
8: Within 1/2 LSB of the final value when code changes from 1/4 of to 3/4 of full scale.  
9: This time delay is measured from the falling edge of ACK pulse in ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ command to the beginning of $\mathsf { V } _ { \mathsf { O U T } }$ This time delay is not included in the output settling time specification.

ELECTRICAL CHARACTERISTICS (CONTINUED)

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated, all parameters apply at  $V_{DD} = +2.7V$  to 5.5V,  $V_{SS} = 0V$ , $R_L = 5\ k\Omega$ ,  $C_L = 100\ pF$ ,  $G_X = 1$ ,  $T_A = -40°C$  to  $+125°C$ . Typical values are at  $+25°C$ ,  $V_{IH} = V_{DD}$ ,  $V_{IL} = V_{SS}$ .</td></tr><tr><td>Parameter</td><td>Symbol</td><td>Min</td><td>Typical</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td colspan="7">Dynamic Performance (Note 4)</td></tr><tr><td>Major Code Transition Glitch</td><td></td><td>—</td><td>45</td><td>—</td><td>nV-s</td><td>1 LSB code change around major carry (from 7FFh to 800h)</td></tr><tr><td>Digital Feedthrough</td><td></td><td>—</td><td>&lt;10</td><td>—</td><td>nV-s</td><td></td></tr><tr><td>Analog Crosstalk</td><td></td><td>—</td><td>&lt;10</td><td>—</td><td>nV-s</td><td></td></tr><tr><td>DAC-to-DAC Crosstalk</td><td></td><td>—</td><td>&lt;10</td><td>—</td><td>nV-s</td><td></td></tr><tr><td colspan="7">Digital Interface</td></tr><tr><td>Output Low Voltage</td><td> $V_{OL}$ </td><td>—</td><td>—</td><td>0.4</td><td>V</td><td> $I_{OL} = 3\ mA$ SDA and RDY/BSY pins</td></tr><tr><td rowspan="2">Schmitt Trigger Low Input Threshold Voltage</td><td rowspan="2"> $V_{IL}$ </td><td>—</td><td>—</td><td> $0.3V_{DD}$ </td><td>V</td><td> $V_{DD} > 2.7V$ .SDA, SCL, LDAC pins</td></tr><tr><td>—</td><td>—</td><td> $0.2V_{DD}$ </td><td>V</td><td> $V_{DD} \leq 2.7V$ .SDA, SCL, LDAC pins</td></tr><tr><td>Schmitt Trigger High Input Threshold Voltage</td><td> $V_{IH}$ </td><td> $0.7V_{DD}$ </td><td>—</td><td>—</td><td>V</td><td>SDA, SCL, LDAC pins</td></tr><tr><td>Input Leakage</td><td> $I_{LI}$ </td><td>—</td><td>—</td><td>±1</td><td>μA</td><td>SCL = SDA =  $\overline{LDAC}$  =  $V_{DD}$ ,SCL = SDA =  $\overline{LDAC}$  =  $V_{SS}$ </td></tr><tr><td>Pin Capacitance</td><td> $C_{PIN}$ </td><td>—</td><td>—</td><td>3</td><td>pF</td><td>Note 4</td></tr><tr><td colspan="7">EEPROM</td></tr><tr><td>EEPROM Write Time</td><td>TWRITE</td><td>—</td><td>25</td><td>50</td><td>ms</td><td>EEPROM write time</td></tr><tr><td>Data Retention</td><td></td><td>—</td><td>200</td><td>—</td><td>Years</td><td>At +25°C, Note 3</td></tr><tr><td colspan="7"> $\overline{LDAC}$  Input</td></tr><tr><td> $\overline{LDAC}$  Low Time</td><td> $T_{\overline{LDAC}}$ </td><td>210</td><td>—</td><td>—</td><td>ns</td><td>Updates analog outputs (Note 3)</td></tr></table>

Note 1: All digital input pins (SDA, SCL, LDAC) are tied to “High”, Output pins are unloaded, code = 0 x 000.  
2: The power-up ramp rate measures the rise of $\mathsf { V } _ { \mathsf { D D } }$ over time.  
3: This parameter is ensured by design and not 100% tested.  
4: This parameter is ensured by characterization and not 100% tested.  
5: Test code range: 100 - 4000 codes, V<sub>REF</sub> = V<sub>DD</sub>, V<sub>DD</sub> = 5.5V.  
6: Time delay to settle to a new reference when switching from external to internal reference or vice versa.  
7: This parameter is indirectly tested by Offset and Gain error testing.  
8: Within 1/2 LSB of the final value when code changes from 1/4 of to 3/4 of full scale.  
9: This time delay is measured from the falling edge of ACK pulse in ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ command to the beginning of $\mathsf { V } _ { \mathsf { O U T } }$ This time delay is not included in the output settling time specification.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F0a43a02b68e636a1dde31c34a6812117c1fe138c1c6afbffd018be1f66d18472.jpg)  
FIGURE 1-1: I<sup>2</sup>C Bus Timing Data.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F9940213d65e4bdf51416f6f6b5e1c29d9b05a08a9231e0e2bff1692ce8a50af4.jpg)  
FIGURE 1-2: LDAC Pin Timing vs. V<sub>OUT</sub> Update.

I<sup>2</sup>C SERIAL TIMING SPECIFICATIONS

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise specified, all limits are specified for  $T_A$ = -40 to +125°C,  $V_{SS}$ = 0V, Standard and Fast Mode:  $V_{DD}$ = +2.7V to +5.5V High Speed Mode:  $V_{DD}$ = +4.5V to +5.5V.</td></tr><tr><td>Parameters</td><td>Sym</td><td>Min</td><td>Typ</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td rowspan="4">Clock Frequency</td><td rowspan="4"> $f_{SCL}$ </td><td>0</td><td>—</td><td>100</td><td>kHz</td><td>Standard Mode $C_b$ = 400 pF, 2.7V – 5.5V</td></tr><tr><td>0</td><td>—</td><td>400</td><td>kHz</td><td>Fast Mode $C_b$ = 400 pF, 2.7V – 5.5V</td></tr><tr><td>0</td><td>—</td><td>1.7</td><td>MHz</td><td>High Speed Mode 1.7 $C_b$ = 400 pF, 4.5V – 5.5V</td></tr><tr><td>0</td><td>—</td><td>3.4</td><td>MHz</td><td>High Speed Mode 3.4 $C_b$ = 100 pF, 4.5V – 5.5V</td></tr><tr><td rowspan="4">Bus Capacitive Loading</td><td rowspan="4">Cb</td><td>—</td><td>—</td><td>400</td><td>pF</td><td>Standard Mode2.7V – 5.5V</td></tr><tr><td>—</td><td>—</td><td>400</td><td>pF</td><td>Fast Mode2.7V – 5.5V</td></tr><tr><td>—</td><td>—</td><td>400</td><td>pF</td><td>High Speed Mode 1.74.5V – 5.5V</td></tr><tr><td>—</td><td>—</td><td>100</td><td>pF</td><td>High Speed Mode 3.44.5V – 5.5V</td></tr><tr><td rowspan="4">Start Condition Setup Time(Start, Repeated Start)</td><td rowspan="4"> $T_{SU:STA}$ </td><td>4700</td><td></td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>600</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Start Condition Hold Time</td><td rowspan="4"> $T_{HD:STA}$ </td><td>4000</td><td></td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>600</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Stop Condition Setup Time</td><td rowspan="4"> $T_{SU:STO}$ </td><td>4000</td><td></td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>600</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Clock High Time</td><td rowspan="4"> $T_{HIGH}$ </td><td>4000</td><td>—</td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>600</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>120</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>60</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Clock Low Time</td><td rowspan="4"> $T_{LOW}$ </td><td>4700</td><td>—</td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>1300</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>320</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>160</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr></table>

Note 1: This parameter is ensured by characterization and is not 100% tested.  
2: After a Repeated Start condition or an Acknowledge bit.  
3: If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus line. If this parameter is too long, the Data Input Setup $( \mathsf { T } _ { \mathsf { S U : D A T } } )$ or Clock Low time $( \mathsf { T } _ { \mathsf { L O W } } )$ can be affected. Data Input: This parameter must be longer than $t _ { S P }$ Data Outnut: This parameter is characterized, and tested indirectly by testing parameter  
Data Output: This parameter is characterized, and tested indirectly by testing $\mathsf { T } _ { \mathsf { A A } }$ parameter.  
4: This specification is not a part of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ specification. This specification is equivalent to the Data Hold Time (T<sub>HD:DAT</sub>) plus SDA Fall (or rise) time: $\mathsf { T } _ { \mathsf { A A } } = \mathsf { T } _ { \mathsf { Y } }$ <sub>HD:DAT</sub> + T<sub>FSDA</sub> (OR T<sub>RSDA</sub>).  
5: Time between Start and Stop conditions.

I<sup>2</sup>C SERIAL TIMING SPECIFICATIONS (CONTINUED)

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise specified, all limits are specified for  $T_A$ = -40 to +125°C,  $V_{SS}$ = 0V, Standard and Fast Mode:  $V_{DD}$ = +2.7V to +5.5V High Speed Mode:  $V_{DD}$ = +4.5V to +5.5V.</td></tr><tr><td>Parameters</td><td>Sym</td><td>Min</td><td>Typ</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td rowspan="6">SCL Rise Time (Note 1)</td><td rowspan="6"> $T_{RSCL}$ </td><td>—</td><td>—</td><td>1000</td><td>ns</td><td>Standard Mode</td></tr><tr><td>20 + 0.1Cb</td><td>—</td><td>300</td><td>ns</td><td>Fast Mode</td></tr><tr><td>20</td><td>—</td><td>80</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>20</td><td>—</td><td>160</td><td>ns</td><td>High Speed Mode 1.7 (Note 2)</td></tr><tr><td>10</td><td>—</td><td>40</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td>10</td><td>—</td><td>80</td><td>ns</td><td>High Speed Mode 3.4 (Note 2)</td></tr><tr><td rowspan="4">SDA Rise Time (Note 1)</td><td rowspan="4"> $T_{RSDA}$ </td><td>—</td><td>—</td><td>1000</td><td>ns</td><td>Standard Mode</td></tr><tr><td>20 + 0.1Cb</td><td>—</td><td>300</td><td>ns</td><td>Fast Mode</td></tr><tr><td>20</td><td>—</td><td>80</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>10</td><td>—</td><td>40</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">SCL Fall Time (Note 1)</td><td rowspan="4"> $T_{FSCL}$ </td><td>—</td><td>—</td><td>300</td><td>ns</td><td>Standard Mode</td></tr><tr><td>20 + 0.1Cb</td><td>—</td><td>300</td><td>ns</td><td>Fast Mode</td></tr><tr><td>20</td><td>—</td><td>80</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>10</td><td>—</td><td>40</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">SDA Fall Time (Note 1)</td><td rowspan="4"> $T_{FSDA}$ </td><td>—</td><td>—</td><td>300</td><td>ns</td><td>Standard Mode</td></tr><tr><td>20 + 0.1Cb</td><td>—</td><td>300</td><td>ns</td><td>Fast Mode</td></tr><tr><td>20</td><td>—</td><td>160</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>10</td><td>—</td><td>80</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Data Input Setup Time</td><td rowspan="4"> $T_{SU:DAT}$ </td><td>250</td><td>—</td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>100</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>10</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>10</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Data Hold Time (Input, Output) (Note 3)</td><td rowspan="4"> $T_{HD:DAT}$ </td><td>0</td><td>—</td><td>3450</td><td>ns</td><td>Standard Mode</td></tr><tr><td>0</td><td>—</td><td>900</td><td>ns</td><td>Fast Mode</td></tr><tr><td>0</td><td>—</td><td>150</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>0</td><td>—</td><td>70</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Output Valid from Clock (Note 4)</td><td rowspan="4"> $T_{AA}$ </td><td>0</td><td>—</td><td>3750</td><td>ns</td><td>Standard Mode</td></tr><tr><td>0</td><td>—</td><td>1200</td><td>ns</td><td>Fast Mode</td></tr><tr><td>0</td><td>—</td><td>310</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>0</td><td>—</td><td>150</td><td>ns</td><td>High Speed Mode 3.4</td></tr></table>

Note 1: This parameter is ensured by characterization and is not 100% tested.  
2: After a Repeated Start condition or an Acknowledge bit.  
3: If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus line. If this parameter is too long, the Data Input Setup (T<sub>SU:DAT</sub>) or Clock Low time $( \mathsf { T } _ { \mathsf { L O W } } )$ can be affected. Data Input: This parameter must be longer than t<sub>SP</sub>. Data Output: This parameter is characterized, and tested indirectly by testing Data Output: This parameter is characterized, and tested indirectly by testing parameter parameter.  
$\mathsf { T } _ { \mathsf { A A } }$  
4: This specification is not a part of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ specification. This specification is equivalent to the Data Hold Time (T<sub>HD:DAT</sub>) plus SDA Fall (or rise) time: T<sub>AA</sub> = T<sub>HD:DAT</sub> + T<sub>FSDA</sub> (OR T<sub>RSDA</sub>).  
5: Time between Start and Stop conditions.

## I<sup>2</sup>C SERIAL TIMING SPECIFICATIONS (CONTINUED)

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise specified, all limits are specified for  $T_A$ = -40 to +125°C,  $V_{SS}$ = 0V, Standard and Fast Mode:  $V_{DD}$ = +2.7V to +5.5V High Speed Mode:  $V_{DD}$ = +4.5V to +5.5V.</td></tr><tr><td>Parameters</td><td>Sym</td><td>Min</td><td>Typ</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td rowspan="4">Bus Free Time (Note 5)</td><td rowspan="4"> $T_{BUF}$ </td><td>4700</td><td>—</td><td>—</td><td>ns</td><td>Standard Mode</td></tr><tr><td>1300</td><td>—</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>—</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>—</td><td>—</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr><tr><td rowspan="4">Input Filter Spike Suppression (SDA and SCL) (Not Tested)</td><td rowspan="4"> $T_{SP}$ </td><td>—</td><td>—</td><td>—</td><td>ns</td><td>Standard Mode (Not Applicable)</td></tr><tr><td>—</td><td>50</td><td>—</td><td>ns</td><td>Fast Mode</td></tr><tr><td>—</td><td>10</td><td>—</td><td>ns</td><td>High Speed Mode 1.7</td></tr><tr><td>—</td><td>10</td><td>—</td><td>ns</td><td>High Speed Mode 3.4</td></tr></table>

Note 1: This parameter is ensured by characterization and is not 100% tested.  
2: After a Repeated Start condition or an Acknowledge bit.  
3: If this parameter is too short, it can create an unintentional Start or Stop condition to other devices on the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus line. If this parameter is too long, the Data Input Setup (T ) or Clock Low time $( \mathsf { T } _ { \mathsf { L O W } } )$ can be affected. Data Input: This parameter must be longer than $t _ { S P }$  
Data Output: This parameter is characterized, and tested indirectly by testing $\mathsf { T } _ { \mathsf { A A } }$ parameter.  
4: This specification is not a part of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ specification. This specification is equivalent to the Data Hold Time (T<sub>HD:DAT</sub>) plus SDA Fall (or rise) time: $\mathsf { T } _ { \mathsf { A A } } = \mathsf { T } _ { \mathsf { H D } : \mathsf { D A T } } + \mathsf { T } _ { \mathsf { F S D A } }$ (OR T<sub>RSDA</sub>).  
5: Time between Start and Stop conditions.

## TEMPERATURE CHARACTERISTICS

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated,  $V_{DD} = +2.7V$  to +5.5V,  $V_{SS} = GND$ .</td></tr><tr><td>Parameters</td><td>Symbol</td><td>Min</td><td>Typical</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td colspan="7">Temperature Ranges</td></tr><tr><td>Specified Temperature Range</td><td> $T_A$ </td><td>-40</td><td>—</td><td>+125</td><td>°C</td><td></td></tr><tr><td>Operating Temperature Range</td><td> $T_A$ </td><td>-40</td><td>—</td><td>+125</td><td>°C</td><td></td></tr><tr><td>Storage Temperature Range</td><td> $T_A$ </td><td>-65</td><td>—</td><td>+150</td><td>°C</td><td></td></tr><tr><td colspan="7">Thermal Package Resistances</td></tr><tr><td>Thermal Resistance, 10L-MSOP</td><td> $θ_{JA}$ </td><td>—</td><td>202</td><td>—</td><td>°C/W</td><td></td></tr></table>

## 2.0 TYPICAL PERFORMANCE CURVES

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.

Note: Unless otherwise indicated, $\mathrm { \Delta T _ { A } } = - 4 0 ^ { \circ } \mathrm { C } \ \mathrm { t o } + 1 2 5 ^ { \circ } \mathrm { C } , \mathrm { V _ { D D } } = + 5 . 0 \mathrm { V } , \mathrm { V _ { S S } } = 0 \mathrm { V } , \mathrm { R _ { L } } = 5 \ \mathrm { k \Omega } , \mathrm { C _ { L } } = 1 0 0 \ \mathrm { p F } .$  
![DS22187E page 11](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-11.jpg)  
FIGURE 2-1: INL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C ) .$

*(figure shown in the DS22187E page 11 render above)*  
FIGURE 2-4: DNL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F6321e4ca3a5088c94fabd64dc13180e1ea4e0d7a33e371c710a131500c70aae7.jpg)  
FIGURE 2-2: INL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$

*(figure shown in the DS22187E page 11 render above)*  
FIGURE 2-5: DNL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fe9c2b0af6f23ec9441e43e3ddf5154d0730b675f3e9d3bc9e4bffd936bc49b40.jpg)  
FIGURE 2-3: INL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F80947943220b395c55602bab8a8d462e5f55e7833478abc53333c3dfd6d0dc00.jpg)  
FIGURE 2-6: DNL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$

INL vs. Code and

FIGURE 2-10: DNL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$  
Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf { C }$ , V<sub>DD</sub> = +5.0V, V<sub>SS</sub> = 0V, R<sub>L</sub> = 5 kΩ, ${ \mathsf { C } } _ { \mathsf { L } } = 1 0 0 { \mathsf { p F } } .$  
![DS22187E page 12](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-12.jpg)  
FIGURE 2-7: INL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C ) .$

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F7c45d5d1876c7bbabac2aea32fc0cbb3fcbafb25f2789b28e6599060b71c54da.jpg)

*(figure shown in the DS22187E page 12 render above)*  
FIGURE 2-8: INL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$

*(figure shown in the DS22187E page 12 render above)*

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F0743558d61be612bc4286106eec62f93048ff3c3fe79f68d6a66d2dc84fab1cd.jpg)

FIGURE 2-11: DNL vs. Code $( T _ { A } = + 2 5 ^ { \circ } C )$  
*(figure shown in the DS22187E page 12 render above)*  
FIGURE 2-12: DNL vs. Code and Temperature.

Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf { C }$ $\mathsf { V } _ { \mathsf { D D } } = + 5 . 0 \mathsf { V } ,$ , V<sub>SS</sub> = 0V, R<sub>L</sub> = 5 kΩ, C<sub>L</sub> = 100 pF.  
![DS22187E page 13](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-13.jpg)  
FIGURE 2-13: INL vs. Code and Temperature.

*(figure shown in the DS22187E page 13 render above)*

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fb08c6e5cf52797381fc0277da7e5bb1a2167ac16aaba4e7a01db2be885bf902c.jpg)  
FIGURE 2-14: INL vs. Code and Temperature.

FIGURE 2-16: DNL vs. Code and Temperature.  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F4f87c97a91ab9cee03560d1bac7cb2343265f8d3923be9c9f5dab4d8d3b530e6.jpg)

*(figure shown in the DS22187E page 13 render above)*  
FIGURE 2-15: INL vs. Code and Temperature.

FIGURE 2-17: DNL vs. Code and Temperature.  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F434dfa0d68f56530e0c421cec7638bcc354e14db9cc263e349d278bfb7669346.jpg)  
FIGURE 2-18: DNL vs. Code and Temperature.

Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +125°C, V<sub>DD</sub> = +5.0V, V<sub>SS</sub> = 0V, R<sub>L</sub> = 5 kΩ, ${ \mathsf C } _ { \mathsf { L } } = 1 0 0 { \mathsf p } { \mathsf F } .$  
![DS22187E page 14](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-14.jpg)  
FIGURE 2-19: INL vs. Code and Temperature.

*(figure shown in the DS22187E page 14 render above)*  
FIGURE 2-22: DNL vs. Code and Temperature.

*(figure shown in the DS22187E page 14 render above)*  
FIGURE 2-20: Full Scale Error vs. Temperature (Code = FFFh, $V _ { R E F } = I n t e r n a I ) .$

*(figure shown in the DS22187E page 14 render above)*  
FIGURE 2-23: Zero Scale Error vs. Temperature (Code = 000h, $V _ { R E F } = I n t e r n a I ) .$

*(figure shown in the DS22187E page 14 render above)*  
FIGURE 2-21: Full Scale Error vs.  
Temperature (Code = FFFh, $V _ { R E F } = V _ { D D } ) .$

*(figure shown in the DS22187E page 14 render above)*  
FIGURE 2-24: Offset Error (Zero Scale Error).

Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf { C } , \mathsf { V } _ { \mathsf { D D } } = + 5 . 0 \mathsf { V } , \mathsf { V } _ { \mathsf { S S } } = 0 \mathsf { V } , \mathsf { R } _ { \mathsf { L } } = 5 \mathsf { k } \Omega , \mathsf { C } _ { \mathsf { L } } = 1 0 0 \mathsf { p F } .$  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F3d611fb66fba1e1cb0b100bad4f89a9d6ed4be11f07cdc73fbaf1b0f592f6939.jpg)  
FIGURE 2-25: Absolute DAC Output Error $( V _ { D D } = 5 . 5 V ) .$

![DS22187E page 15](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-15.jpg)  
FIGURE 2-28: Full Scale Settling Time $( V _ { R E F } = I n t e r n a I , ~ V _ { D D } = 5 V , \overline { { U D A C } } = 1 ,$ Gain = x1, Code Change: 000h to FFFh).

*(figure shown in the DS22187E page 15 render above)*  
FIGURE 2-26: Full Scale Settling Time $( V _ { R E F } = V _ { D D } , V _ { D D } = 5 V , U D A C = 1 ,$ Code Change: 000h to FFFh).

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fe6dd2e739f210f315f5e73a523a053da497ebcb78b343808ea9dfcc6fcb567ff.jpg)

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F1596bc52cc63dde798a524c53ca33e79fa96b19db57057b026782992010543ba.jpg)  
FIGURE 2-29: Full Scale Settling Time $( V _ { R E F } = V _ { D D } , V _ { D D } = 5 V , U D A C = 1 ,$ Code Change: FFFh to 000h).

$$
(V _ {R E F} = V _ {D D}, V _ {D D} = 5 V, U D A C = 1,
$$

Code Change: 000h to 7FFh).

*(figure shown in the DS22187E page 15 render above)*

$$
(V _ {R E F} = V _ {D D}, V _ {D D} = 5 V, \overline {{U D A C}} = 1,
$$

Code Change: 7FFh to 000h).

## MCP4728

Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +125°C, V<sub>DD</sub> = +5.0V, V<sub>SS</sub> = 0V, $\mathsf { R } _ { \mathsf { L } } = 5$ kΩ, ${ \mathsf { C } } _ { \mathsf { L } } = 1 0 0 { \mathsf { p F } } .$  
![DS22187E page 16](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-16.jpg)  
FIGURE 2-31: Full Scale Settling Time (V<sub>REF</sub> = Internal, $V _ { D D } = 5 V , { \overline { { U D A C } } } = 1 ,$ Gain = x1, Code Change: FFFh to 000h).

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fd9e5df8abc55ba3a9fb71542ce8b674ca9523b2591e7d7878079a421897fe525.jpg)  
FIGURE 2-34: Entering Power Down Mode (Code: FFFh, V<sub>REF</sub> = Internal, $V _ { D D } = 5 V ,$ Gain = x1, $P D 1 = P D O = 1 ,$ No External Load).

*(figure shown in the DS22187E page 16 render above)*

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fff793fd53f2d327c642e7d92746765ddfa52e3bf9260565820a99a8371772261.jpg)  
FIGURE 2-32: Half Scale Settling Time (V<sub>REF</sub> = Internal, $V _ { D D } = 5 V ,$ UDAC = 1, $G a i n = x 1 ,$ , Code Change: 000h to 7FFh).

*(figure shown in the DS22187E page 16 render above)*  
FIGURE 2-35: Half Scale Settling Time (V<sub>REF</sub> = Internal, $V _ { D D } = 5 V , { \overline { { U D A C } } } = 1 ,$ $G a i n = x 1 ,$ Code Change: 7FFh to 000h).

(Code: FFFh, $V _ { R E F } = I n t e r n a I ,$ $V _ { D D } = 5 V ,$ $G a i n = x 1$ , for all Channels.).  
![DS22187E page 17](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-17.jpg)  
(Code: FFFh, $V _ { R E F } = V _ { D D } , \ V _ { D D } = 5 V ,$ for all Channels).

FIGURE 2-38: V<sub>OUT</sub> Time Delay when  
FIGURE 2-40: Channel Cross Talk $( V _ { R E F } = V _ { D D } , \ V _ { D D } = 5 V ) .$  
Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf { C }$ $\mathsf { V } _ { \mathsf { D D } } = + 5 . 0 \mathsf { V } ,$ V<sub>SS</sub> = 0V, $\mathsf { R } _ { \mathsf { L } } = 5$ kΩ, ${ \mathsf { C } } _ { \mathsf { L } } = 1 0 0 { \mathsf { p F } } .$  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fa52c2123612eca72ca65b49790ff812e7ee3dcceefc6c41d2374c7e0c4be9de0.jpg)

*(figure shown in the DS22187E page 17 render above)*  
FIGURE 2-37: Entering Power Down Mode (Code: FFFh, $V _ { R E F } = V _ { D D } , \ V _ { D D } = 5 V ,$ $P D 1 = P D O = 1 ,$ No External Load).

*(figure shown in the DS22187E page 17 render above)*  
V changes from Internal Reference to $V _ { D D } .$

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fa67bf98c25c8c40fb7afca91cbe2269f945b1f6682db525e47e9ad483830f19d.jpg)

*(figure shown in the DS22187E page 17 render above)*  
V changes from $V _ { D D }$ to Internal Reference.

(V<sub>REF</sub> = External, $V _ { D D } = 5 V ,$ No External Load), Code Change: 800h to 7FFh.  
*(figure shown in the DS22187E page 17 render above)*  
$( V _ { R E F } = I n t e r n a I ,$ $V _ { D D } = 5 V ,$ Gain = 1, No External Load), Code Change: 800h to 7FFh.

## MCP4728

Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathrm { C }$ , V<sub>DD</sub> = +5.0V, V<sub>SS</sub> = 0V, $\mathsf { R } _ { \mathsf { L } } = 5$ kΩ, $\mathsf { C } _ { \mathsf { L } } = 1 0 0 \mathsf { p F } .$  
![DS22187E page 18](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-18.jpg)  
FIGURE 2-43: $V _ { O U T }$ vs. Resistive Load.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F2ff7f9dca8a13cec438ba4af2d79a373f696c6e773ead29441955c92aefeac42.jpg)

*(figure shown in the DS22187E page 18 render above)*

FIGURE 2-46: $I _ { D D }$ vs. Temperature $( V _ { R E F } = V _ { D D } ,$ All channels are in Normal Mode, Code = FFFh).  
*(figure shown in the DS22187E page 18 render above)*

FIGURE 2-44: $I _ { D D }$ vs. Temperature $( V _ { R E F } = V D D ,$ $V _ { D D } = 5 V ,$ Code = FFFh).  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F6d0a835ba8c187fdac33960657003f5567ba78e0058fa04bdeac37611555d4d9.jpg)  
FIGURE 2-45: I<sub>DD</sub> vs. Temperature (V<sub>REF</sub> = V<sub>DD</sub>, $V _ { D D } = 2 . 7 V ,$ Code = FFFh).

FIGURE 2-47: $I _ { D D }$ vs. Temperature (V<sub>REF</sub> = Internal, $V _ { R E F } = 5 V ,$ Code = FFFh).  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F8d3a8addbc934df2c2ac1c06652a1772cd08b320965cddb46fa42c4b41136c40.jpg)  
FIGURE 2-48: $I _ { D D } \ = v s .$ Temperature $( V _ { R E F } = I n t e r n a I ,$ $V _ { D D } = 2 . 7 V ,$ Code = FFFh).

Note: Unless otherwise indicated, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf { C }$ $\mathsf { V } _ { \mathsf { D D } } = + 5 . 0 \mathsf { V } ,$ , V<sub>SS</sub> = 0V, $\mathsf { R } _ { \mathsf { L } } = 5$ kΩ, ${ \mathsf C } _ { \mathsf { L } } = 1 0 0 { \mathsf p } { \mathsf F } .$  
![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F1fb61bde6ee17ab310178ee562fd46f3a61148e178977fab67096656ddd7896f.jpg)  
FIGURE 2-49: $I _ { D D }$ vs. Temperature $( V _ { R E F } = I n t e r n a I , A I I$ Channels are in Normal Mode, Code = FFFh).

![DS22187E page 19](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-19.jpg)

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fb36c88ac8c79941d80db352b219a8f000eb8b20d39cf175ab0df2ee1f21bd0e0.jpg)  
FIGURE 2-50: $I _ { D D }$ vs. Temperature (V<sub>REF</sub> = Internal <sub>,</sub> All Channels are in Powered Down).

FIGURE 2-51: Source Current Capability $( V _ { R E F } = V _ { D D } ,$ Code = FFFh).  
*(figure shown in the DS22187E page 19 render above)*  
FIGURE 2-52: Sink Current Capability $( V _ { R E F } = V _ { D D } ,$ Code = 000h).

NOTES:

## 3.0 PIN DESCRIPTIONS

The descriptions of the pins are listed in Table 3-1.

TABLE 3-1: PIN FUNCTION TABLE

<table><tr><td>Pin No.</td><td>Name</td><td>Pin Type</td><td>Function</td></tr><tr><td>1</td><td> $V_{DD}$ </td><td>P</td><td>Supply Voltage</td></tr><tr><td>2</td><td>SCL</td><td>OI</td><td>I2C Serial Clock Input (Note 1)</td></tr><tr><td>3</td><td>SDA</td><td>OI/OO</td><td>I2C Serial Data Input and Output (Note 1)</td></tr><tr><td>4</td><td> $\overline{LDAC}$ </td><td>ST</td><td>This pin is used for two purposes:(a) Synchronization Input. It is used to transfer the contents of the DAC input registers to the output registers ( $V_{OUT}$ ).(b) Select the device for reading and writing I2C address bits. (Note 2)</td></tr><tr><td>5</td><td>RDY/BSY</td><td>OO</td><td>This pin is a status indicator of EEPROM programming activity. An external pull-up resistor (about 100 kΩ) is needed from RDY/BSY pin to  $V_{DD}$  line. (Note 1)</td></tr><tr><td>6</td><td> $V_{OUT}$  A</td><td>AO</td><td>Buffered analog voltage output of channel A. The output amplifier has rail-to-rail operation.</td></tr><tr><td>7</td><td> $V_{OUT}$  B</td><td>AO</td><td>Buffered analog voltage output of channel B. The output amplifier has rail-to-rail operation.</td></tr><tr><td>8</td><td> $V_{OUT}$  C</td><td>AO</td><td>Buffered analog voltage output of channel C. The output amplifier has rail-to-rail operation.</td></tr><tr><td>9</td><td> $V_{OUT}$  D</td><td>AO</td><td>Buffered analog voltage output of channel D. The output amplifier has rail-to-rail operation.</td></tr><tr><td>10</td><td> $V_{SS}$ </td><td>P</td><td>Ground reference.</td></tr></table>

Legend: P = Power, OI = Open-Drain Input, OO = Open-Drain Output, ST = Schmitt Trigger Input Buffer, AO = Analog Output  
Note 1: This pin needs an external pull-up resistor from $\mathsf { V } _ { \mathsf { D D } }$ line. Leave this pin float if it is not used.  
2: This pin can be driven by MCU.

## 3.1 Supply Voltage Pins (V<sub>DD</sub>, V<sub>SS</sub>)

$\mathsf { V } _ { \mathsf { D D } }$ is the power supply pin for the device. The voltage at the $\mathsf { V } _ { \mathsf { D D } }$ pin is used as a power supply input as well as a DAC external reference. The power supply at the $\mathsf { V } _ { \mathsf { D D } }$ pin should be as clean as possible for a good DAC performance.

It is recommended to use an appropriate bypass capacitor of about $0 . 1 \mu \mathsf { 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. The supply voltage $( \mathsf { V } _ { \mathsf { D D } } )$ must be maintained in the 2.7V to 5.5V range for specified operation.

$\vee _ { \mathsf { S S } }$ is the ground pin and the current return path of the device. The user must connect the $\mathsf { V } _ { \mathsf { S S } }$ pin to a ground plane through a low-impedance connection. If an analog ground path is available in the application printed circuit board (PCB), it is highly recommended that the $\vee _ { \mathsf { S S } }$ pin be tied to the analog ground path, or isolated within an analog ground plane of the circuit board.

## 3.2 Serial Clock Pin (SCL)

SCL is the serial clock pin of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ interface. The MCP4728 device acts only as a slave and the SCL pin accepts only external input serial clocks. The input data from the Master device is shifted into the SDA pin on the rising edges of the SCL clock, and output from the MCP4728 occurs at the falling edges of the SCL clock.

The SCL pin is an open-drain N-channel driver. Therefore, it needs a pull-up resistor from the $\mathsf { V } _ { \mathsf { D D } }$ line to the SCL pin.

Refer to Section 5.0 “I<sup>2</sup>C Serial Interface Communications” for more details on I<sup>2</sup>C Serial Interface communication.

Typical range of the pull-up resistor value for SCL and SDA is from 5 kΩ to 10 kΩ for Standard (100 kHz) and Fast (400 kHz) modes, and less than 1 kΩ for High Speed mode (3.4 MHz).

## 3.3 Serial Data Pin (SDA)

SDA is the serial data pin of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ interface. The SDA pin is used to write or read the DAC register and EEPROM data. Except for Start and Stop conditions, the data on the SDA pin must be stable during the high duration of the clock pulse. The High or Low state of the SDA pin can only change when the clock signal on the SCL pin is Low.

The SDA pin is an open-drain N-channel driver. Therefore, it needs a pull-up resistor from the $\mathsf { V } _ { \mathsf { D D } }$ line to the SDA pin.

Refer to Section 5.0 “I<sup>2</sup>C Serial Interface Communications” for more details on the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ Serial Interface communication.

## 3.4 LDAC Pin

This pin can be driven by an external control device such as an MCU I/O pin. This pin is used to:

a) transfer the contents of the input registers to their corresponding DAC output registers and

b) select a device of interest when reading or writing ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits.

For more details on reading and writing the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits, see Section ${ \pmb 5 . 4 . 4 \ ^ { 6 } { \bf \Sigma } }$ eneral Call Read Address Bits” and Section 5.6.8 “Write Command: Write I2C Address bits (C2=0, C1=1, C0=1)”.

When the logic status of the LDAC pin changes from “High” to “Low”, the contents of all input registers (Channels A – D) are transferred to their corresponding output registers, and all analog voltage outputs are updated simultaneously.

If this pin is permanently tied to “Low”, the content of the input register is transferred to its output register $( \mathsf { V } _ { \mathsf { O U T } } )$ immediately at the last input data byte’s acknowledge pulse.

The user can also use the UDAC bit instead. However, the UDAC bit updates a selected channel only. See Section 4.8 “Output Voltage Update” for more information on the LDAC pin and UDAC bit functions.

## 3.5 RDY/BSY Status Indicator Pin

This pin is a status indicator of EEPROM programming activity. This pin is “High” when the EEPROM has no programming activity, and “Low” when the EEPROM is in programming mode. It goes “High” when the EEPROM program is completed.

The RDY/BSY pin is an open-drain N-channel driver. Therefore, it needs a pull-up resistor (about 100 kΩ) from the $V _ { \mathsf { D D } }$ line to the RDY/BSY pin. Let this pin float if it is not used.

## 3.6 Analog Output Voltage Pins (V<sub>OUT</sub> A, V<sub>OUT</sub> B, V<sub>OUT</sub> C, V<sub>OUT</sub> D)

The device has four analog voltage output $( \mathsf { V } _ { \mathsf { O U T } } )$ pins. Each output is driven by its own output buffer with a gain of 1 or 2, depending on the gain and $V _ { \mathsf { R E F } }$ selection bit settings. In Normal mode, the DC impedance of the output pin is about 1Ω. In Power-Down mode, the output pin is internally connected to 1 kΩ, 100 kΩ, or 500 kΩ, depending on the Power-Down selection bit settings.

The $\mathsf { V } _ { \mathsf { O U T } }$ pin can drive up to 1000 pF of capacitive load. It is recommended to use a load with $\mathsf { R } _ { \mathsf { L } }$ greater than 5 kΩ.

## 4.0 THEORY OF DEVICEOPERATION

The MCP4728 device is a 12-bit 4-channel buffered voltage output DAC with nonvolatile memory (EEPROM). The user can program the EEPROM with ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits, configuration and DAC input data of each channel. The device has an internal charge pump circuit to provide the programming voltage of the EEPROM.

When the device is first powered-up, it automatically loads the stored data in its EEPROM to the DAC input and output registers, and provides analog outputs with the saved settings immediately. This event does not require an LDAC or UDAC bit condition. After the device is powered-up, the user can update the input registers using ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ write commands. The analog outputs can be updated with new register values if the LDAC pin or UDAC bit is low. The DAC output of each channel is buffered with a low power and precision output amplifier. This amplifier provides a rail-to-rail output with low offset voltage and low noise.

The device uses a resistor string architecture. The resistor ladder DAC can be driven from $\mathsf { V } _ { \mathsf { D D } }$ or internal ${ \mathsf { V } } _ { { \mathsf { R E F } } }$ depending on the reference selection. The user can select internal (2.048V) or external reference $( \mathsf { V } _ { \mathsf { D D } } )$ for each DAC channel individually by software control. The $\mathsf { V } _ { \mathsf { D D } }$ is used as the external reference. Each channel is controlled and operated independently.

The device has a Power-Down mode feature. Most of the circuit in each powered down channel are turned off. Therefore, operating power can be saved significantly by putting any unused channel to the Power-Down mode.

## 4.1 Power-on Reset (POR)

The device contains an internal Power-on Reset (POR) circuit that monitors power supply voltage $( \mathsf { V } _ { \mathsf { D D } } )$ during operation. This circuit ensures correct device start-up at system power-up and power-down events.

If the power supply voltage is less than the POR threshold $( \mathsf { V } _ { \mathsf { P O R } } = 2 \mathsf { V } ,$ typical), all circuits are disabled and there will be no analog output. When the $\mathsf { V } _ { \mathsf { D D } }$ increases above the $\mathsf { V } _ { \mathsf { P O R } }$ , the device takes a reset state. During the reset period, each channel uploads all configuration and DAC input codes from EEPROM, and analog output $( \mathsf { V } _ { \mathsf { O U T } } )$ will be available accordingly. This enables the device to return to the same state that it was at the last write to the EEPROM, before it was powered off. The POR status is monitored by the POR status bit by using the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ read command. See Figure 5-15 for the details of the POR status bit.

## 4.2 Reset Conditions

The device can be reset by two independent events:

a) by Power-on Reset

b) by ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ General Call Reset Command

Under the reset conditions, the device uploads the EEPROM data into both of the DAC input and output registers simultaneously. The analog output voltage of each channel is available immediately, regardless of the LDAC and UDAC bit conditions.

The factory default settings for the EEPROM prior to the device shipment are shown in Table 4-2.

## 4.3 Output Amplifier

The DAC output is buffered with a low power precision amplifier. This amplifier provides low offset voltage and low noise, as well as rail-to-rail output.

The output amplifier can drive the resistive and high capacitive loads without oscillation. The amplifier can provide a maximum load current of 24 mA, which is enough for most of programmable voltage reference applications. Refer to Section 1.0 “Electrical Characteristics” for the specifications of the output amplifier.

## 4.3.1 PROGRAMMABLE GAIN BLOCK

The rail-to-rail output amplifier of each channel has configurable gain option. When the internal voltage reference is selected, the output amplifier gain has two selection options: Gain of 1 or Gain of 2.

When the external reference is selected $( \mathsf { V } _ { \mathsf { R E F } } = \mathsf { V } _ { \mathsf { D D } } )$ the Gain of 2 option is disabled, and only the Gain of 1 is used by default.

## 4.3.1.1 Resistive and Capacitive Loads

The analog output $( \mathsf { V } _ { \mathsf { O U T } } )$ pin is capable of driving capacitive loads up to 1000 pF in parallel with 5 kΩ load resistance. Figure 2-43 shows the $\mathsf { V } _ { \mathsf { O U T } } \ \mathsf { v s } .$ Resistive Load.

## MCP4728

## 4.4 DAC Input Registers and Non-Volatile EEPROM Memory

Each channel has its own volatile DAC input register and EEPROM. The details of the input registers and EEPROM are shown in Table 4-1 and Table 4-2, respectively.

TABLE 4-1: INPUT REGISTER MAP (VOLATILE)

<table><tr><td></td><td colspan="10">Configuration Bits</td><td colspan="12">DAC Input Data (12 bits)</td></tr><tr><td>Bit Name</td><td>RDY/BSY</td><td>A2</td><td>A1</td><td>A0</td><td>VREF</td><td>DAC1</td><td>DAC0</td><td>PD1</td><td>PD0</td><td>Gx</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td></tr><tr><td>Bit Function</td><td>(Note 1)</td><td colspan="3"> $I^{2}C$ Address Bits (Note 2)</td><td>Ref.Select (Note 2)</td><td colspan="2">DAC Channel (Note 2)</td><td colspan="2">Power-Down Select (Note 2)</td><td>GainSelect (Note 2)</td><td colspan="12">(Note 2)</td></tr><tr><td>CH. A</td><td rowspan="4"></td><td rowspan="4" colspan="3"></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CH. B</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CH. C</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CH. D</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>

Note 1: EEPROM write status indication bit (flag).  
2: Loaded from EEPROM during power-up, or can be updated by the user.

TABLE 4-2: EEPROM MEMORY MAP AND FACTORY DEFAULT SETTINGS

<table><tr><td></td><td colspan="7">Configuration Bits</td><td colspan="12">DAC Input Data (12 bits)</td></tr><tr><td>Bit Name</td><td>A2</td><td>A1</td><td>A0</td><td>VREF</td><td>PD1</td><td>PD0</td><td>Gx</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td></tr><tr><td>Bit Function</td><td colspan="3">I2C Address Bits (Note 1)</td><td>Ref. Select (Note 2)</td><td colspan="2">Power-Down Select</td><td>Gain Select (Note 3)</td><td colspan="12"></td></tr><tr><td>CH. A</td><td rowspan="4">0</td><td rowspan="4">0</td><td rowspan="4">0</td><td>1</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>CH. B</td><td>1</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>CH. C</td><td>1</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>CH. D</td><td>1</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr></table>

Note 1: Device I<sup>2</sup>C address bits. The user can also specify these bits during the device ordering process. The factory default setting is “000”. These bits can be reprogrammed by the user using the I<sup>2</sup>C Address Write command.  
2: Voltage Reference Select: 0 = External V<sub>REF</sub> (V<sub>DD</sub>), 1 = Internal $\mathsf { V } _ { \mathsf { R E F } }$ (2.048V).  
3: Gain Select: 0 = Gain of 1, 1 = Gain of 2.

TABLE 4-3: CONFIGURATION BITS

<table><tr><td>Bit Name</td><td>Functions</td></tr><tr><td>RDY/BSY</td><td>This is a status indicator (flag) of EEPROM programming activity:1 = EEPROM is not in programming mode0 = EEPROM is in programming modeNote: RDY/BSY status can also be monitored at the RDY/BSY pin.</td></tr><tr><td>(A2, A1, A0)</td><td>Device I2C address bits. See Section 5.3 “MCP4728 Device Addressing” for more details.</td></tr><tr><td>VREF</td><td>Voltage Reference Selection bit:0 = VDD1 = Internal voltage reference (2.048V)Note: Internal voltage reference circuit is turned off if all channels select external reference (VREF = VDD).</td></tr><tr><td>DAC1, DAC0</td><td>DAC Channel Selection bits:00 = Channel A01 = Channel B10 = Channel C11 = Channel D</td></tr><tr><td>PD1, PD0</td><td>Power-Down selection bits:00 = Normal Mode01 = VOUT is loaded with 1 kΩ resistor to ground. Most of the channel circuits are powered off.10 = VOUT is loaded with 100 kΩ resistor to ground. Most of the channel circuits are powered off.11 = VOUT is loaded with 500 kΩ resistor to ground. Most of the channel circuits are powered off.Note: See Table 4-7 and Figure 4-1 for more details.</td></tr><tr><td>GX</td><td>Gain selection bit:0 = x1 (gain of 1)1 = x2 (gain of 2)Note: Applicable only when internal VREF is selected. If VREF = VDD, the device uses a gain of 1 regardless of the gain selection bit setting.</td></tr><tr><td>UDAC</td><td>DAC latch bit. Upload the selected DAC input register to its output register (VOUT):0 = Upload. Output (VOUT) is updated.1 = Do not upload.Note: UDAC bit affects the selected channel only.</td></tr></table>

## 4.5 Voltage Reference

The device has a precision internal voltage reference which provides a nominal voltage of 2.048V. The user can select the internal voltage reference or $\mathsf { V } _ { \mathsf { D D } }$ as the voltage reference source of each channel using the $V _ { \mathsf { R E F } }$ configuration bit. The internal voltage reference circuit is turned off when all channels select $\mathsf { V } _ { \mathsf { D D } }$ as their references. However, it stays turned on if any one of the channels selects the internal reference.

## 4.6 LSB Size

The LSB is defined as the ideal voltage difference between two successive codes. LSB sizes of the MCP4728 device are shown in Table 4-4.

TABLE 4-4: LSB SIZES (EXAMPLE)

<table><tr><td> $V_{REF}$ </td><td>Gain ( $G_X$ ) Selection</td><td>LSB Size</td><td>Condition</td></tr><tr><td rowspan="2">Internal  $V_{REF}$ (2.048V)</td><td>x1</td><td>0.5 mV</td><td>2.048V/4096</td></tr><tr><td>x2</td><td>1 mV</td><td>4.096V/4096</td></tr><tr><td> $V_{DD}$ </td><td>x1</td><td> $V_{DD}/4096$ </td><td>(Note 1)</td></tr></table>

$$
V _ {D D}
$$

$$
V _ {R E F} = V _ {D D},
$$

$$
G _ {X} = 1
$$

$$
G _ {X} = 2
$$

## 4.7 DAC Output Voltage

Each channel has an independent output associated with its own configuration bit settings and DAC input code. When the internal voltage reference is selected $( \mathsf { V } _ { \mathsf { R E F } } = \mathsf { i n t e r n a l } )$ , it supplies the internal $V _ { \mathsf { R E F } }$ voltage to the resistor string DAC of the channel. When the external reference $( \mathsf { V } _ { \mathsf { R E F } } { = } \mathsf { V } _ { \mathsf { D D } } )$ is selected, $\mathsf { V } _ { \mathsf { D D } }$ is used for the channel’s resistor string DAC.

The $V _ { \mathsf { D D } }$ needs to be as clean as possible for accurate DAC performance. When the $\mathsf { V } _ { \mathsf { D D } }$ is selected as the voltage reference, any variation or noises on the $\mathsf { V } _ { \mathsf { D D } }$ line can directly affect on the DAC output.

The analog output of each channel has a programmable gain block. The rail-to-rail output amplifier has a configurable gain of 1 or 2. But the gain of 2 is not applicable if $\mathsf { V } _ { \mathsf { D D } }$ is selected for the voltage reference. The formula for the analog output voltage is given in Equation 4-1 and Equation 4-2.

## 4.7.1 OUTPUT VOLTAGE RANGE

The DAC output voltage range varies depending on the voltage reference selection.

• When the internal reference $( \mathsf { V } _ { \mathsf { R E F } } { = } 2 . 0 4 8 \mathsf { V } ) \mathrm { ~ i ~ }$ is selected:

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
-  $V_{OUT} = 0.000V$  to  $2.048V \times 4095/4096$  for Gain of 1
</div>

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
-  $V_{OUT} = 0.000V$  to 4.096V * 4095/4096 for Gain of 2
</div>

• When the external reference $( \mathsf { V } _ { \mathsf { R E F } } { = } \mathsf { V } _ { \mathsf { D D } } )$ is selected:

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
- $V_{\mathrm{OUT}} = 0.000\mathrm{V}$ to $V_{\mathrm{DD}}$
</div>

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
Note: The gain selection bit is not applicable for  $V_{REF} = V_{DD}$ . In this case, Gain of 1 is used regardless of the gain selection bit setting.
</div>

EQUATION 4-1: $\mathsf { V } _ { 0 \mathsf { U T } } \mathsf { F o R } \mathsf { V } _ { \mathsf { R E F } } =$ INTERNAL REFERENCE

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
$V_{OUT} = \frac{(V_{REF} \times D_n)}{4096} \times G_x \leq V_{DD}$

Where:

$V_{REF} = 2.048V$ for internal reference selection
$D_n = DAC$ input code
$G_x = Gain$ Setting
</div>

EQUATION 4-2: V<sub>OUT</sub> FOR $v _ { R E F } = v _ { D D }$

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
$V_{OUT} = \frac{(V_{DD} \times D_n)}{4096}$

Where:

$D_n = DAC input code$
</div>

## 4.8 Output Voltage Update

The following events update the output registers $( \mathsf { V } _ { \mathsf { O U T } } ) \colon$

a. LDAC pin to “Low”: Updates all DAC channels.

b. UDAC bit to “Low”: Updates a selected channel only.

c. General Call Software Update Command: Updates all DAC channels.

d. Power-on Reset or General Call Reset command: Both input and output registers are updated with EEPROM data. All channels are affected.

## 4.8.1 LDAC PIN AND UDAC BIT

The user can use the LDAC pin or UDAC bit to upload the input DAC register to output DAC register $( \mathsf { V } _ { \mathsf { O U T } } )$ However, the UDAC affects only the selected channel while the LDAC affects all channels. The UDAC bit is not used in the Fast Mode Writing.

Table 4-5 shows the output update vs. $\overline { { \mathsf { L D A C } } }$ pin and UDAC bit conditions.

TABLE 4-5: LDAC AND UDAC CONDITIONS VS. OUTPUT UPDATE

<table><tr><td>LDAC Pin</td><td>UDAC Bit</td><td>DAC Output (VOUT)</td></tr><tr><td>0</td><td>0</td><td>Update all DAC channel outputs</td></tr><tr><td>0</td><td>1</td><td>Update all DAC channel outputs</td></tr><tr><td>1</td><td>0</td><td>Update a selected DAC channel output</td></tr><tr><td>1</td><td>1</td><td>No update</td></tr></table>

## 4.9 DAC Input Code Vs. DAC Analog Output

Table 4-6 shows an example of the DAC input data code vs. analog output. The MSB of the input data is always transmitted first and the format is unipolar binary.

TABLE 4-6: DAC INPUT CODE VS. ANALOG OUTPUT $( \mathsf { v } _ { \mathsf { o u r } } )$

<table><tr><td rowspan="2">DAC Input Code</td><td colspan="2"> $V_{REF} = Internal (2.048 V)$ </td><td colspan="2"> $V_{REF} = V_{DD}$ </td></tr><tr><td>Gain Selection</td><td>Nominal Output Voltage (V)(See Note 1)</td><td>Gain Selection</td><td>Nominal Output Voltage (V)</td></tr><tr><td rowspan="2">111111111111</td><td>x1</td><td> $V_{REF} - 1 LSB$ </td><td rowspan="10">Ignored</td><td rowspan="2"> $V_{DD} - 1 LSB$ </td></tr><tr><td>x2</td><td> $2*V_{REF} - 1 LSB$ </td></tr><tr><td rowspan="2">111111111110</td><td>x1</td><td> $V_{REF} - 2 LSB$ </td><td rowspan="2"> $V_{DD} - 2 LSB$ </td></tr><tr><td>x2</td><td> $2*V_{REF} - 2 LSB$ </td></tr><tr><td rowspan="2">000000000010</td><td>x1</td><td>2 LSB</td><td rowspan="2">2 LSB</td></tr><tr><td>x2</td><td>2 LSB</td></tr><tr><td rowspan="2">000000000001</td><td>x1</td><td>1 LSB</td><td rowspan="2">1 LSB</td></tr><tr><td>x2</td><td>1 LSB</td></tr><tr><td rowspan="2">000000000000</td><td>x1</td><td>0</td><td rowspan="2">0</td></tr><tr><td>x2</td><td>0</td></tr></table>

Note 1: (a) LSB with gain of $1 = 0 . 5 \mathrm { m V } ,$ and (b) LSB with gain of 2 = 1 mV.

## 4.10 Normal and Power-Down Modes

Each channel has two modes of operation: (a) Normal mode where analog voltage is available and (b) Power-Down mode which turns off most of the internal circuits for power savings.

The user can select the operating mode of each channel individually by setting the Power-Down selection bits (PD1 and PD0). For example, the user can select Normal mode for channel A while selecting Power-Down mode for all other channels.

See Section 5.6 “Write Commands for DAC Registers and EEPROM” for more details on the writing the power-down bits.

Most of the internal circuit in the powered down channel are turned off. However, the internal voltage reference circuit is not affected by the Power-Down mode. The internal voltage reference circuit is turned off only if all channels select external reference (V<sub>REF</sub> $\tt = V _ { D D } )$

## Device actions during Power-Down mode:

• The powered down channel stays in a power-saving condition by turning off most of its circuits

• No analog voltage output at the powered down channel

• The output $( \mathsf { V } _ { \mathsf { O U T } } )$ pin of the powered down channel is switched to a known resistive load. The value of the resistive load is determined by the state of the Power-Down bits (PD1 and PD0). Table 4-7 shows the outcome of the Power-Down bit settings

• The contents of both the DAC registers and EEPROM are not changed

• Draws less than 40 nA (typical) when all four channels are powered down and $\mathsf { V } _ { \mathsf { D D } }$ is selected as the voltage reference

## Circuits that are not affected during Power-Down mode:

• The I<sup>2</sup>C serial interface circuits remain active in order to receive any command from the Master

• The internal voltage reference circuit stays turned-on if it is selected as reference by at least one channel

## Exiting Power-Down Mode:

The device exits Power-Down mode immediately by the following commands:

• Any write command for normal mode. Only selected channel is affected

• I<sup>2</sup>C General Call Wake-Up Command. All channels are affected

• I<sup>2</sup>C General Call Reset Command. This is a conditional case. The device exits Power-Down mode, depending on the Power-Down bit settings in EEPROM as the configuration bits and DAC input codes are uploaded from EEPROM. All channels are affected

When the DAC operation mode is changed from the Power-Down to Normal mode, there will be a time delay until the analog output is available. Typical time delay for the output voltage is approximately 4.5 µs. This time delay is measured from the acknowledge pulse of the $| ^ { 2 } \dot { \mathsf { C } }$ serial communication command to the beginning of the analog output $( \mathsf { V } _ { \mathsf { O U T } } )$ . This time delay is not included in the output settling time specification. See Section 2.0 “Typical Performance Curves” for more details.

TABLE 4-7: POWER-DOWN BITS

<table><tr><td>PD1</td><td>PD0</td><td>Function</td></tr><tr><td>0</td><td>0</td><td>Normal Mode</td></tr><tr><td>0</td><td>1</td><td>1 kΩ resistor to ground (Note 1)</td></tr><tr><td>1</td><td>0</td><td>100 kΩ resistor to ground (Note 1)</td></tr><tr><td>1</td><td>1</td><td>500 kΩ resistor to ground (Note 1)</td></tr></table>

Note 1: In Power-Down mode: $\mathsf { V } _ { \mathsf { O U T } }$ is off and most of internal circuits in the selected channel are disabled.

Power-Down Mode.  
![DS22187E page 28](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-28.jpg)  
FIGURE 4-1: Output Stage for

## 5.0 I<sup>2</sup>C SERIAL INTERFACE COMMUNICATIONS

The MCP4728 device uses a two-wire ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ serial interface. When the device is connected to the I<sup>2</sup>C bus line, the device works as a slave device. The device supports standard, fast and high speed modes.

The following sections describe how to communicate with the MCP4728 device using the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ serial interface commands.

## 5.1 Overview of $1 ^ { 2 } 0$ Serial Interface Communications

An example of the hardware connection diagram is shown in Figure 7-1. A device that sends data onto the bus is defined as the transmitter, and a device receiving data, as the receiver. The bus has to be controlled by a master (MCU) device which generates the serial clock (SCL), controls the bus access and generates the START and STOP conditions. Both master (MCU) and slave (MCP4728) can operate as transmitter or receiver, but the master device determines which mode is activated.

Communication is initiated by the master (MCU) which sends the START bit, followed by the slave (MCP4728) address byte. The first byte transmitted is always the slave (MCP4728) address byte, which contains the device code (1100), the address bits (A2, A1, A0), and the R/W bit. The device code for the MCP4728 device is 1100, and the address bits are user-writable.

When the MCP4728 device receives a Read command (R/W = 1), it transmits the contents of the DAC input registers and EEPROM sequentially. When writing to the device (R/W = 0), the device will expect Write command type bits in the following byte. The reading and various writing commands are explained in the following sections.

The MCP4728 device supports all three I<sup>2</sup>C serial communication operating modes:

• 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

Refer to the Philips ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ document for more details of the I<sup>2</sup>C specifications.

## 5.1.1 HIGH-SPEED (HS) MODE

The ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ 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 sending a special address byte of 00001XXX following the START bit. The XXX bits are unique to the high-speed mode Master. This byte is referred to as the high-speed Master Mode Code (HSMMC). The MCP4728 device does not acknowledge this byte. However, upon receiving this command, the device switches to HS mode and can communicate at up to 3.4 Mbit/s on SDA and SCL lines. The device will switch out of the HS mode on the next STOP condition.

For more information on the HS mode, or other I<sup>2</sup>C modes, please refer to the Philips I<sup>2</sup>C specification.

## 5.2 I<sup>2</sup>C BUS CHARACTERISTICS

The specification of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ serial communication defines the following bus protocol:

• Data transfer may be initiated only when the bus is not busy

• During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data line while the clock line is HIGH will be interpreted as a START or STOP condition

Accordingly, the following bus conditions have been defined using Figure 5-1.

## 5.2.1 BUS NOT BUSY (A)

Both data and clock lines remain HIGH.

## 5.2.2 START DATA TRANSFER (B)

A HIGH to LOW transition of the SDA line, while the clock (SCL) is HIGH, determines a START condition.

All commands must be preceded by a START condition.

## 5.2.3 STOP DATA TRANSFER (C)

A LOW to HIGH transition of the SDA line, while the clock (SCL) is HIGH, determines a STOP condition. All operations must be ended with a STOP condition.

## 5.2.4 DATA VALID (D)

The state of the data line represents valid data when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal.

The data on the line must be changed during the LOW period of the clock signal. There is one clock pulse per bit of data.

Each data transfer is initiated with a START condition and terminated with a STOP condition.

## 5.2.5 ACKNOWLEDGE

Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte. The master device must generate an extra clock pulse, which is associated with this acknowledge bit.

The device that acknowledges has to pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse. Of course, setup and hold times must be taken into account. During reads, a master must send an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave.

In this case, the slave (MCP4728) will leave the data line HIGH to enable the master to generate the STOP condition.

![DS22187E page 30](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-30.jpg)  
FIGURE 5-1: Data Transfer Sequence On The Serial Bus.

## 5.3 MCP4728 Device Addressing

The address byte is the first byte received following the START condition from the master device. The first part of the address byte consists of a 4-bit device code, which is set to 1100 for the MCP4728 device. The device code is followed by three I<sup>2</sup>C address bits (A2, A1, A0) which are programmable by the users. Although the three address bits are programmable at the user’s application PCB, the user can also specify the address bits during the product ordering process. If there is no user’s request, the factory default setting of the three address bits is “000”, programmed into the EEPROM. The three address bits allow eight unique addresses.

*(figure shown in the DS22187E page 30 render above)*  
FIGURE 5-2: Device Addressing.

## 5.3.1 PROGRAMMING OF I<sup>2</sup>C ADDRESS BITS

When the customer first receives any new MCP4728 device, its default address bit setting is “000” if the address bit programming was not requested. The customer can reprogram the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits into the EEPROM by using “Write Address Bit” command. This write command needs current address bits. If the address bits are unknown, the user can find them by sending “General Call Read Address” Command. The LDAC pin is also used to select the device of interest to be programmed or to read the current address.

The following steps are needed for the I<sup>2</sup>C address programming.

(a) Read the address bits using “General Call Read Address” Command. (This is the case when the address is unknown.)

(b) Write I<sup>2</sup>C address bits using “Write I<sup>2</sup>C Address Bits” Command.

The Write Address command will replace the current address with a new address in both input registers and EEPROM.

See Section 5.4.4 “General Call Read Address Bits” for the details of reading the address bits, and Section 5.6.8 “Write Command: Write I2C Address bits (C2=0, C1=1, C0=1)” for writing the address bits.

## 5.4 I<sup>2</sup>C General Call Commands

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<sup>2</sup>C specification does not allow the use of “00000000” (00h) in the second byte. Refer to the Philips I<sup>2</sup>C document for more details of the General Call specifications.

The MCP4728 device supports the following I<sup>2</sup>C General Calls:

• General Call Reset

• General Call Wake-Up

• General Call Software Update

• General Call Read Address Bits

## 5.4.1 GENERAL CALL RESET

The General Call Reset occurs if the second byte is “00000110” (06h). At the acknowledgement of this byte, the device will abort the current conversion and perform the following tasks:

• Internal Reset similar to a Power-on Reset (POR). The contents of the EEPROM are loaded into each DAC input and output registers immediately

• V<sub>OUT</sub> will be available immediately regardless of the LDAC pin condition

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fea5b5f65609d2fa060caf1ad8f16e235388722ba808663071f8ac12f38b8573b.jpg)  
FIGURE 5-3: General Call Reset.  
5.4.2 GENERAL CALL WAKE-UP

If the second byte is “00001001” (09h), the device will reset the Power-Down bits (PD1, PD0 = 0,0).

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fd6ad780af8fad550a5432ccd3e4dcc80ec0bbbe02dcf0235bc7baf4ecb89460e.jpg)  
FIGURE 5-4: General Call Wake-Up.

## 5.4.3 GENERAL CALL SOFTWARE UPDATE

If the second byte is $^ { \prime \prime } 0 0 0 0 1 0 0 0 ^ { \prime \prime }$ (08h), the device updates all DAC analog outputs $( \mathsf { V } _ { \mathsf { O U T } } )$ at the same time.

![DS22187E page 32](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-32.jpg)  
FIGURE 5-5: General Call Software Update.

## 5.4.4 GENERAL CALL READ ADDRESS BITS

This command is used to read the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits of the device. If the second byte is “00001100” (0Ch), the device will output its address bits stored in EEPROM and register. This command uses the LDAC pin to select the device of interest to read on the I<sup>2</sup>C bus. The LDAC pin needs a logic transition from “High” to “Low” during the negative pulse of the 8th clock of the second byte, and stays “Low” until the end of the 3rd byte. The maximum clock rate for this command is 400 kHz.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F3051c59a9d36955eee60c5c81758fb638d61b5c7921ea118e3d820e41c3a3586.jpg)

<table><tr><td>Note 1: Clock Pulse and LDAC Transition Details.2: LDAC pin events at the 2nd and 3rd bytes.a. Keep LDAC pin “High” until the end of the positive pulse of the 8th clock of the 2nd byte.b. LDAC pin makes a transition from “High” to “Low” during the negative pulse of the 8th clock of the 2nd byte (just before the rising edge of the 9th clock) and stays “Low” until the rising edge of clock 9 of the 3rd byte.c. The MCP4728 device does not acknowledge the 3rd byte if the conditions (a) and (b) are not met.3: LDAC pin resumes its normal function after “Stop” bit.</td></tr></table>

FIGURE 5-6: General Call Read I<sup>2</sup>C Address.

## 5.5 Writing and Reading Registers and EEPROM

The Master (MCU) can write or read the DAC input registers or EEPROM using the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ interface command.

The following sections describe the communication examples to write and read the DAC registers and EEPROM using the I<sup>2</sup>C interface.

TABLE 5-1: WRITE COMMAND TYPES

## 5.6 Write Commands for DAC Registers and EEPROM

Table 5-1 summarizes the write command types and their functions.The write command is defined by using three write command type bits $( \mathsf C _ { 2 } , \mathsf C _ { 1 } , \mathsf C _ { 0 } )$ and two write function bits (W1, W0). The register selection bits (DAC1, DAC0) are used to select the DAC channel.

<table><tr><td colspan="3">Command Field</td><td colspan="2">Write Function</td><td rowspan="2">Command Name</td><td rowspan="2">Function</td></tr><tr><td>C2</td><td>C1</td><td>C0</td><td>W1</td><td>W0</td></tr><tr><td colspan="7">Fast Mode Write</td></tr><tr><td>0</td><td>0</td><td>X</td><td colspan="2">Not Used</td><td>Fast Write for DAC Input Registers</td><td>This command writes to the DAC input registers sequentially with limited configuration bits. The data is sent sequentially from channels A to D. The input register is written at the acknowledge clock pulse of the channel&#x27;s last input data byte. EEPROM is not affected. (Note 1)</td></tr><tr><td colspan="7">Write DAC Input Register and EEPROM</td></tr><tr><td rowspan="3">0</td><td rowspan="3">1</td><td rowspan="3">0</td><td>0</td><td>0</td><td>Multi-Write for DAC Input Registers</td><td>This command writes to multiple DAC input registers, one DAC input register at a time. The writing channel register is defined by the DAC selection bits (DAC1, DAC0). EEPROM is not affected. (Note 2)</td></tr><tr><td>1</td><td>0</td><td>Sequential Write for DAC Input Registers and EEPROM</td><td>This command writes to both the DAC input registers and EEPROM sequentially. The sequential writing is carried out from a starting channel to channel D. The starting channel is defined by the DAC selection bits (DAC1 and DAC0).The input register is written at the acknowledge clock pulse of the last input data byte of each register. However, the EEPROM data is written altogether at the same time sequentially at the end of the last byte.(Note 2),(Note 3)</td></tr><tr><td>1</td><td>1</td><td>Single Write for DAC Input Register and EEPROM</td><td>This command writes to a single selected DAC input register and its EEPROM. Both the input register and EEPROM are written at the acknowledge clock pulse of the last input data byte. The writing channel is defined by the DAC selection bits (DAC1 and DAC0).(Note 2),(Note 3)</td></tr><tr><td colspan="7">Write  $I^{2}C$  Address Bits (A2, A1, A0)</td></tr><tr><td>0</td><td>1</td><td>1</td><td colspan="2">Not Used</td><td>Write  $I^{2}C$  Address Bits</td><td>This command writes new  $I^{2}C$  address bits (A2, A1, A0) to the DAC input register and EEPROM.</td></tr><tr><td colspan="7">Write  $V_{REF}$ , Gain, and Power-Down Select Bits (Note 4)</td></tr><tr><td>1</td><td>0</td><td>0</td><td colspan="2">Not Used</td><td>Write Reference ( $V_{REF}$ ) selection bits to Input Registers</td><td>This command writes Reference ( $V_{REF}$ ) selection bits of each channel.</td></tr><tr><td>1</td><td>1</td><td>0</td><td colspan="2">Not Used</td><td>Write Gain selection bits to Input Registers</td><td>This command writes Gain selection bits of each channel.</td></tr><tr><td>1</td><td>0</td><td>1</td><td colspan="2">Not Used</td><td>Write Power-Down bits to Input Registers</td><td>This command writes Power-Down bits of each channel.</td></tr></table>

Note 1: The analog output is updated when LDAC pin is (or changes to) “Low”. UDAC bit is not used for this command. 2: The DAC output is updated when LDAC pin or UDAC bit is “Low”.  
3: The device starts writing to the EEPROM on the acknowledge clock pulse of the last channel. The device does not execute any command until RDY/BSY bit comes back to “High”.  
4: The input and output registers are updated at the acknowledge clock pulse of the last byte. The update does not require LDAC pin or UDAC bit conditions. EEPROM is not affected.

## 5.6.1 FAST WRITE COMMAND (C2=0, C1=0, C0=X, X = DON’T CARE)

The Fast Write command is used to update the input DAC registers from channels A to D sequentially. The EEPROM data is not affected by this command. This command is called “Fast Write” because it updates the input registers with only limited data bits. Only the Power-Down mode selection bits (PD1 and PD0) and 12 bits of DAC input data are writable.

The input register is updated at the acknowledge pulse of each channel’s last data byte. Figure 5-7 shows an example of the Fast Write command.

## Updating Analog Outputs:

a. When the LDAC pin is “High” before the last byte of the channel D, all analog outputs are updated simultaneously by bringing down the LDAC pin to “Low” any time.

b. If the command starts with the LDAC pin “Low”, the channel’s analog output is updated at the falling edge of the acknowledge clock pulse of the channel’s last byte.

c. Send the General Call Software Update command: This command updates all channels simultaneously.

<table><tr><td>Note:</td><td>The UDAC bit is not used in this command.</td></tr></table>

## 5.6.2 MULTI-WRITE COMMAND: WRITE DAC INPUT REGISTERS (C2=0, C1=1, C0=0; W1=0, W0=0)

This command is used to write DAC input register, one at a time. The EEPROM data is not affected by this command.

The DAC selection bits (DAC1, DAC0) select the DAC channel to write. Only a selected channel is affected. Repeated bytes are used to write more multiple DAC registers.

The D11 - D0 bits in the third and fourth bytes are the DAC input data of the selected DAC channel. Bytes 2 - 4 can be repeated for the other channels. Figure 5-8 shows an example of the Multi-Write command.

## Updating Analog Outputs:

The analog outputs can be updated by one of the following events after the falling edge of the acknowledge clock pulse of the 4th byte.

a. When the LDAC pin or UDAC bit is “Low”.

b. If UDAC bit is “High”, bringing down the LDAC pin to “Low” any time.

c. By sending the General Call Software Update command.

<table><tr><td>Note:</td><td>The UDAC bit can be used effectively to upload the input register to the output register, but it affects only a selected channel only, while the LDAC pin and General Call Software Update command affect all channels.</td></tr></table>

## 5.6.3 SEQUENTIAL WRITE COMMAND: WRITE DAC INPUT REGISTERS AND EEPROM SEQUENTIALLY FROM STARTING CHANNEL TO CHANNEL D

$$
(C 2 = 0, C 1 = 1, C 0 = 0; W 1 = 1, W 0 = 0)
$$

When the device receives this command, it writes the input data to the DAC input registers sequentially from the starting channel to channel D, and also writes to EEPROM sequentially. The starting channel is determined by the DAC1 and DAC0 bits. Table 5-2 shows the functions of the channel selection bits for the sequential write command.

When the device is writing EEPROM, the RDY/BSY bit stays “Low” until the EEPROM write operation is completed. The state of the RDY/BSY bit flag can be monitored by a read command or at the RDY/BSY pin. Any new command received during the EEPROM write operation (RDY/BSY bit is “Low”) is ignored. Figure 5-9 shows an example of the sequential write command.

## Updating Analog Outputs:

The analog outputs can be updated by one of the following events after the falling edge of the acknowledge clock pulse of the 4th byte.

a. When the LDAC pin or UDAC bit is “Low”.

b. If UDAC bit is “High”, bringing down the LDAC pin to “Low” any time.

c. By sending the General Call Software Update command.

<table><tr><td>Note:</td><td>The UDAC bit can be used effectively to upload the input register to the output register, but it affects only a selected channel only, while the LDAC pin and General Call Software Update command affect all channels.</td></tr></table>

TABLE 5-2: DAC CHANNEL SELECTION BITS FOR SEQUENTIAL WRITE COMMAND

<table><tr><td>DAC1</td><td>DAC0</td><td>Channels</td></tr><tr><td>0</td><td>0</td><td>Ch. A - Ch. D</td></tr><tr><td>0</td><td>1</td><td>Ch. B - Ch. D</td></tr><tr><td>1</td><td>0</td><td>Ch. C - Ch. D</td></tr><tr><td>1</td><td>1</td><td>Ch. D</td></tr></table>

5.6.4 SINGLE WRITE COMMAND: WRITEA SINGLE DAC INPUT REGISTERAND EEPROM(C2=0, C1=1, C0=0; W1=1, W0=1)

When the device receives this command, it writes the input data to a selected single DAC input register and also to its EEPROM. The channel is selected by the channel selection bits (DAC1 and DAC0). See Table 5-2 for the channel selection bit function. Figure 5-10 shows an example of the single write command.

## Updating Analog Outputs:

The analog outputs can be updated by one of the following events after the falling edge of the acknowledge clock pulse of the 4th byte.

a. When the LDAC pin or UDAC bit is “Low”.

b. If UDAC bit is “High”, bringing down the LDAC pin to “Low” any time.

c. By sending the General Call Software Update command.

Note: The UDAC bit can be used effectively to upload the input register to the output register, but it affects only a selected channel only, while the LDAC pin and General Call Software Update command affect all channels.

## 5.6.5 WRITE COMMAND: SELECT VREF BIT (C2=1, C1=0, C0=0)

When the device receives this command, it updates the DAC voltage reference selection bit (V ) of each channel. The EEPROM data is not affected by this command. The affected channel’s analog output is updated after the acknowledge pulse of the last byte. Figure 5-12 shows an example of the write command for Select $V _ { \mathsf { R E F } }$ bits.

## 5.6.6 WRITE COMMAND: SELECT POWER-DOWN BITS (C2=1, C1=0, C0=1)

When the device receives this command, it updates the Power-Down selection bits (PD1, PD0) of each channel. The EEPROM data is not affected by this command. The affected channel is updated after the acknowledge pulse of the last byte. Figure 5-13 shows an example of the write command for the Select Power-Down bits.

## 5.6.7 WRITE COMMAND: SELECT GAIN BIT (C2=1, C1=1, C0=0)

When the device receives this command, it updates the gain selection bits $( \mathsf { G } _ { \mathsf { X } } )$ of each channel. The EEPROM data is not affected by this command. The analog output is updated after the acknowledge pulse of the last byte. Figure 5-14 shows an example of the write command for select gain bits.

## 5.6.8 WRITE COMMAND: WRITE I<sup>2</sup>C ADDRESS BITS (C2=0, C1=1, C0=1)

This command writes new ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ address bits (A2, A1, A0) to the DAC input registers and EEPROM. When the device receives this command, it overwrites the current address bits with the new address bits.

This command is valid only when the LDAC pin makes a transition from “High” to “Low” at the low time of the last bit (8th clock) of the second byte, and stays “Low” until the end of the third byte. The update occurs after “Stop” bit, if the conditions are met. The LDAC pin is used to select a device of interest to write. The highest clock rate of this command is 400 kHz. Figure 5-11 shows the details of the address write command.

Note: To write a new device address, the current address of the device is also required. If the current address is not known, it can be read out by sending General Call Read Address Bits command. See 5.4.4 “General Call Read Address Bits” for more details of reading the I<sup>2</sup>C address bits.

## 5.6.9 READ COMMAND

If the R/W bit is set to a logic “High” in the I<sup>2</sup>C serial communications command, the device enters a reading mode and reads out the input registers and EEPROM. Figure 5-15 shows the details of the read command.

<table><tr><td>Note:</td><td>The device address bits are read by using General Call Read Address Bits command.</td></tr></table>

![DS22187E page 38](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-38.jpg)  
FIGURE 5-7: Fast Write Command: Write DAC Input Registers Sequentially from Channel A to D.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F7fa8b3cede1445f499cd84f2d97743062c4bb8d08eeec178e7a5d5fbeb4e8466.jpg)  
FIGURE 5-8: Multi-Write Command: Write Multiple DAC Input Registers.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F78b1f73f4332f64c60c8a4dc779f573e5978489486476389f2723c6bfbe6ecaa.jpg)  
FIGURE 5-9: Sequential Write Command: Write DAC Input Registers and EEPROM Sequentially from Starting Channel to Channel D. The sequential input register starts with the "Starting Channel" and ends at Channel D. For example, if DAC1:DAC0 = 00, then it starts with channel A and ends at channel D. If DAC1:DAC0 = 01, then it starts with channel B and ends at Channel D. Note that this command can send up to 10 bytes including the device addressing and command bytes. Any byte after the 10th byte is ignored.

![DS22187E page 41](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-41.jpg)  
FIGURE 5-10:  
Single Write Command: Write to a Single DAC Input Register and EEPROM.

*(figure shown in the DS22187E page 41 render above)*

<table><tr><td>Note 1: Clock Pulse and  $\overline{LDAC}$  Transition Details.2:  $\overline{LDAC}$  pin events at the 2nd and 3rd bytes:a. Keep  $\overline{LDAC}$  pin “High” until the end of the positive pulse of the 8th clock of the 2nd byte.b.  $\overline{LDAC}$  pin makes a transition from “High” to “Low” during the negative pulse of the 8th clock of the 2nd byte (just before the rising edge of the 9th clock), and stays “Low” until the rising edge of the 9th clock of the 3rd byte.c. The MCP4728 device does not acknowledge the 3rd byte if the conditions (a) and (b) are not met.3:  $\overline{LDAC}$  pin resumes its normal function after “Stop” bit.4: EEPROM Write:a. Charge Pump initiates the EEPROM write sequence at the falling edge of the 4th byte’s ACK pulse.b. The RDY/ $\overline{BSY}$  bit (pin) goes “Low” at the falling edge of this ACK clock and back to “High” immediately after the EEPROM write is completed.</td></tr></table>

FIGURE 5-11: Write Command: Write I<sup>2</sup>C Address Bits to the DAC Registers and EEPROM.

<table><tr><td>Note:</td><td>The  $I^{2}C$  address bits can also be programmed at the factory for customers. See the Product Identification System on page 65 for details.</td></tr></table>

![DS22187E page 43](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-43.jpg)  
FIGURE 5-12: Write Command: Write Voltage Reference Selection Bit (V<sub>REF</sub>) to the DAC Input Registers.

*(figure shown in the DS22187E page 43 render above)*  
FIGURE 5-13: Write Command: Write Power-Down Selection Bits (PD1, PD0) to the DAC Input Registers. See Table 4-7 for the power-down bit setting.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F41f62232e704e7f43daa5c852e5fc550a3c87e5d23ad22aca4af7a33822df5ea.jpg)  
FIGURE 5-14:  
Write Command: Write Gain Selection Bit $( G _ { X } )$ to the DAC Input Registers.

<table><tr><td rowspan="19">Start</td><td colspan="101">Read Command</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>S</td><td>1</td><td>1</td><td>0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>1</td><td>A</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="100">Device Code Address Bits R/W</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DAC1</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="100">Channel A DAC Input Register</td><td rowspan="4" colspan="52">Stop</td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DAC1</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="100">Channel A DAC EEPROM</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DAC1</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="97">Channel B DAC Input Register</td><td colspan="2">Stop</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DAC1</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="89">Channel B DAC EEPROM</td><td colspan="2">Stop</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSZ</td><td>POR</td><td>DAC1</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="84">Channel C DAC Input Register</td><td colspan="2">Stop</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DACI</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="79">Channel C DAC EEPROM</td><td colspan="2">Stop</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DAC1</td><td>DAC 0.0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>A</td><td>VREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="67">Channel D DAC Input Register</td><td rowspan="2" colspan="2">Stop</td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>RDY/BSY</td><td>POR</td><td>DAC1</td><td>DAC 0</td><td>0</td><td>A2</td><td>A1</td><td>A0</td><td>APREF</td><td>PD1</td><td>PD0</td><td>GX</td><td>D11</td><td>D10</td><td>D9</td><td>D8</td><td>A</td><td>D7</td><td>D6</td><td>D5</td><td>D4</td><td>D3</td><td>D2</td><td>D1</td><td>D0</td><td>A</td><td>P</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Channel D DAC EEPROM Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Period Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Record Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Rate Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Repeat Chain D DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register ChannelB DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel B DAC Input Register Channel: 5th-7th bytes are the EEPROM contents. The device outputs sequentially from channel A to D. POR Bit: 1 = Set (Device is powered on with VDD &gt; VPOR), 0 = Powered off state.</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>

FIGURE 5-15: Read Command and Device Outputs.

NOTES:

## 6.0 TERMINOLOGY

## 6.1 Resolution

The resolution is the number of DAC output states that divide the full scale range. For the 12-bit DAC, the resolution is $2 ^ { 1 2 }$ , meaning the DAC code ranges from 0 to 4095.

## 6.2 Least Significant Bit (LSB)

The least significant bit is the ideal voltage difference between two successive codes.

## EQUATION 6-1:

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
$LSB = \frac{V_{REF}}{2^n}$ $= \frac{(V_{Full Scale} - V_{Zero Scale})}{2^{12} - 1}$ $= \frac{(V_{Full Scale} - V_{Zero Scale})}{4095}$

Where:

$V_{REF} = V_{DD}$ If external reference is selected

$= 2.048V$ If internal reference is selected

$n =$ The number of digital input bits, $n = 12$ for MCP4728
</div>

## 6.3 Integral Nonlinearity (INL)

Integral nonlinearity (INL) error is the maximum deviation of an actual transfer function from an ideal transfer function (straight line). In the MCP4728, INL is calculated using two end-points (zero and full scale). INL can be expressed as a percentage of full scale range (FSR) or in fractions of an LSB. INL is also called relative accuracy. Equation 6-2 shows how to calculate the INL error in LSB and Figure 6-1 shows an example of INL accuracy.

## EQUATION 6-2: INL ERROR

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
$INL = \frac{(V_{OUT} - V_{Ideal})}{LSB}$

Where:

INL is expressed in LSB

$V_{Ideal}$ = Code*LSB

$V_{OUT}$ = The output voltage measured at the given input code
</div>

![DS22187E page 47](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-47.jpg)

## 6.4 Differential Nonlinearity (DNL)

Differential nonlinearity (DNL) error (see Figure 6-2) is the measure of step size between codes in actual transfer function. The ideal step size between codes 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 calculated as follows:

## EQUATION 6-3: DNL ERROR

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
$DNL = \frac{\Delta V_{OUT} - LSB}{LSB}$

Where:

DNL is expressed in LSB.

$\Delta V_{OUT} = \text{The measured DAC output voltage difference between two adjacent input codes}$
</div>

![DS22187E page 48](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-48.jpg)  
FIGURE 6-2: DNL Accuracy.

## 6.5 Offset Error

Offset error (see Figure 6-3) is the deviation from zero voltage output when the digital input code is zero (zero scale voltage). This error affects all codes by the same amount. For the MCP4728 device, the offset error is not trimmed at the factory. However, it can be calibrated by software in application circuits.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fe8a9b34f07a886ee4399d0e9b261de41c57218e2bcf5ef6aa1a03d9cc00f9d86.jpg)  
FIGURE 6-3: Offset Error.

## 6.6 Gain Error

Gain error (see Figure 6-4) is the difference between the actual full scale output voltage from the ideal output voltage of the DAC transfer curve. The gain error is calculated after nullifying the offset error, or full scale error minus the offset error.

The gain error indicates how well the slope of the actual transfer function matches the slope of the ideal transfer function. The gain error is usually expressed as percent of full scale range (% of FSR) or in LSB.

For the MCP4728 device, 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 4000. For applications that need the gain error specification less than 1% maximum, a user may consider using the DAC code range between 100 and 4000 instead of using full code range (code 0 to 4095). The DAC output of the code range between 100 and 4000 is much more linear than full scale range (0 to 4095). The gain error can be calibrated out by using applications’ software.

## 6.7 Full Scale Error (FSE)

Full scale error (see Figure 6-4) is the sum of offset error plus gain error. It is the difference between the ideal and measured DAC output voltage with all bits set to one (DAC input code = FFFh).

EQUATION 6-4:

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
$FSE = \frac{(V_{OUT} - V_{Ideal})}{LSB}$

Where:

FSE is expressed in LSB.

$V_{Ideal} = (V_{REF})(1 - 2^{-n}) - \text{Offset Voltage (V}_{OS})$ $V_{REF} = \text{Voltage Reference}$
</div>

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F6f1f644e39cbd7734ed6482967d646755978630e5f2fb7a2174339ca1878dda8.jpg)  
FIGURE 6-4: Gain Error and Full Scale Error.

## 6.8 Gain Error Drift

Gain error drift is the variation in gain error due to a change in ambient temperature. The gain error drift is typically expressed in ppm/°C.

## 6.9 Offset Error Drift

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/<sup>o</sup>C.

## 6.10 Settling Time

The Settling time is the time delay required for the DAC output to settle to its new output value from the start of code transition, within specified accuracy. In the MCP4728 device, the settling time is a measure of the time delay until the DAC output reaches its final value within 0.5 LSB when the DAC code changes from 400h to C00h.

## 6.11 Major-Code Transition Glitch

Major-code transition glitch is the impulse energy injected into the DAC analog output when the code in the DAC register changes state. It is normally specified as the area of the glitch in nV-Sec. and is measured when the digital code is changed by 1 LSB at the major carry transition (Example: 011...111 to 100... 000, or 100... 000 to 011... 111).

## 6.12 Digital Feedthrough

Digital feedthrough is a glitch that appears at the analog output caused by coupling from the digital 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 digital feedthrough is measured when the DAC is not being written to the output register. This condition can be created by writing the input register with both the UDAC bit and the LDAC pin high.

## 6.13 Analog Crosstalk

Analog crosstalk is a glitch that appears at the output of one DAC due to a change in the output of the other DAC. The area of the glitch is expressed in nV-Sec, and measured by loading one of the input registers with a full scale code change (all 0s to all 1s and vice versa) while keeping both the UDAC bit and the LDAC pin high. Then bring down the LDAC pin to low and measure the output of the DAC whose digital code was not changed.

## 6.14 DAC-to-DAC Crosstalk

DAC-to-DAC crosstalk is the glitch that appears at the output of one DAC due to an input code change and subsequent output change of the other DAC. This includes both digital and analog crosstalks. The area of the glitch is expressed in nV-Sec, and measured by loading one of the input registers with a full scale code change (all 0s to all 1s and vice versa) while keeping UDAC bit or LDAC pin low.

## 6.15 Power-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 $\mathsf { V } _ { \mathsf { O U T } }$ to a change in $V _ { \mathsf { D D } }$ for full scale output of the DAC. It is measured on one DAC that is using an internal $\mathsf { V } _ { \mathsf { R E F } }$ while the $\mathsf { V } _ { \mathsf { D D } }$ is varied ±10%, and expressed in dB or $\mu \lor / \lor .$

## NOTES:

## 7.0 TYPICAL APPLICATIONS

The MCP4728 device is a part of Microchip’s latest DAC family with nonvolatile EEPROM memory. The device is a general purpose resistor string DAC intended to be used in applications where a precise and low power DAC, with moderate bandwidth, is required.

Since the device includes nonvolatile EEPROM memory, the user can use this device for applications that require the output to return to the previous set-up value on subsequent power-ups.

Applications generally suited for the MCP4728 device family include:

• Sensor Calibration

• Set Point or Offset Trimming

• Portable Instrumentation (Battery Powered)

• Motor Speed Control

## 7.1 Connecting to I<sup>2</sup>C BUS Using Pull-Up Resistors

The SCL, SDA, and RDY/BSY pins of the MCP4728 device are open-drain configurations. These pins require a pull-up resistor, as shown in Figure 7-1. The LDAC pin has a Schmitt trigger input configuration and it can be driven by an external MCU I/O pin.

The pull-up resistor values $( \mathsf { R } _ { 1 }$ and $\mathsf { R } _ { 2 } )$ for SCL and SDA pins depend on the operating speed (standard, fast, and high speed) and loading capacitance of the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus line. Higher value of pull-up resistor 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. A lower resistor value, on the other hand, consumes higher power, but allows for 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 for the long RC time constant. The pull-up resistor is typically chosen between 1 kΩ and 10 kΩ range for standard and fast modes, and less than 1 kΩ for high speed mode.

![DS22187E page 51](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-51.jpg)

C<sub>1</sub> = 0.1 µF, Ceramic capacitor

C<sub>2</sub> = 10 µF, Tantalum capacitor

FIGURE 7-1: Example of the MCP4728 Device Connection.

## 7.1.1 DEVICE CONNECTION TEST

The user can test the presence of the MCP4728 device on the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus line without performing a data conversion. This test can be achieved by checking an acknowledge response from the MCP4728 device after sending a read or write command. Figure 7-2 shows an example with a read command:

a. Set the $\mathsf { R } \bar { \mathsf { M } }$ bit “High” or “Low” in the address byte.

b. Check the ACK pulse after sending the address byte.

If the device acknowledges (ACK = 0) the command, then the device is connected, otherwise it is not connected.

## c. Send Stop Bit.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F6eab6140e551fb63e462597936dfaa8a0e87e13c37af50a8e567fbce6a8a1d7f.jpg)  
FIGURE 7-2: I<sup>2</sup>C Bus Connection Test.

## 7.2 Layout Considerations

Inductively-coupled AC transients and digital switching noise from other devices can affect DAC performance and DAC output signal integrity. Careful board layout will minimize these effects. Bench testing has shown that a multi-layer board utilizing a low-inductance ground plane, isolated inputs, isolated outputs and proper decoupling are critical to achieving good DAC performance.

Separate digital and analog ground planes are recommended. In this case, the $\vee _ { \mathsf { S S } }$ pin and the ground pins of the $\mathsf { V } _ { \mathsf { D D } }$ capacitors of the MCP4728 should be terminated to the analog ground plane.

## 7.3 Power Supply Considerations

The power source should be as clean as possible. The power supply to the device is used for both $\mathsf { V } _ { \mathsf { D D } }$ and DAC voltage reference by selecting $\mathsf { V } _ { \mathsf { R E F } } = \mathsf { V } _ { \mathsf { D D } }$ Any noise induced on the $\mathsf { V } _ { \mathsf { D D } }$ line can affect DAC performance. A typical application will require a bypass capacitor in order to filter out high-frequency noise on the $\mathsf { V } _ { \mathsf { D D } }$ line. The noise can be induced onto the power 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 7-1 shows an example of using two bypass capacitors (a 10 $\mu \mathsf { F }$ tantalum capacitor and a 0.1 µF ceramic capacitor) in parallel on the $\mathsf { V } _ { \mathsf { D D } }$ line. These capacitors should be placed as close to the $\mathsf { V } _ { \mathsf { D D } }$ pin as possible (within 4 mm). If the application circuit has separate digital and analog power supplies, the $\mathsf { V } _ { \mathsf { D D } }$ and $\mathsf { V } _ { \mathsf { S S } }$ pins of the MCP4728 device should reside on the analog plane.

## 7.4 Using Power Saving Feature

The device consumes very little power when it is in Power-Down (shut-down) mode. During the Power-Down mode, most circuits in the selected channel are turned off. It is recommended to power down any unused channel.

The device consumes the least amount of power if it enters the Power-Down mode after the internal voltage reference is disabled. This can be achieved by selecting $\mathsf { V } _ { \mathsf { D D } }$ as the voltage reference for all 4 channels, and then issuing the Power-Down mode for all channels.

## 7.5 Using Nonvolatile EEPROM Memory

The user can store the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ device address bits, configuration bits and DAC input code of each channel in the on-board nonvolatile EEPROM memory using the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ write command. The contents of EEPROM are readable and writable using the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ command.

When the MCP4728 device is first powered-up or receives General Call Reset Command, it uploads the EEPROM contents to the DAC output registers automatically and provides analog outputs immediately with the saved settings in EEPROM. This feature is very useful in applications where the MCP4728 device is used to provide set points or calibration data for other devices in the application systems. The MCP4728 device can save important system parameters when the application system experiences power failure. See Section 5.5 “Writing and Reading Registers and EEPROM” for more details on using the nonvolatile EEPROM memory.

## 7.6 Application Examples

The MCP4728 device is a rail-to-rail output DAC designed to operate with a $\mathsf { V } _ { \mathsf { D D } }$ range of 2.7V to 5.5V. Its output amplifier of each channel is robust enough to drive common, small-signal loads directly, thus eliminating the cost and size of external buffers for most applications. Since each channel has its own configuration bits for selecting the voltage reference, gain, power-down, etc., the MCP4728 device offers great simplicity and flexibility to use for various DAC applications.

## 7.6.1 DC SET POINT OR CALIBRATION VOLTAGE SETTINGS

A common application for the MCP4728 device is a digitally-controlled set point or a calibration of variable parameters such as sensor offset or bias point. Figure 7-3 shows an example of the set point settings.

Let us consider that the application requires different trip voltages (Trip 1 - Trip 4). Assuming the DAC output voltage requirements are given as shown in Table 7-1, examples of sending the Sequential Write and Fast Write commands are shown in Figure 7-4 and Figure 7-5.

TABLE 7-1: EXAMPLE: SETTING $\mathtt { v _ { o u r } }$ OF EACH CHANNEL

<table><tr><td>DAC Channel</td><td>Voltage Reference</td><td>DAC Output (VOUT)</td></tr><tr><td>VOUT A</td><td>VDD</td><td>VDD/2</td></tr><tr><td>VOUT B</td><td>VDD</td><td>VDD-1 LSB</td></tr><tr><td>VOUT C</td><td>Internal</td><td>2.048V</td></tr><tr><td>VOUT D</td><td>Internal</td><td>4.096V</td></tr></table>

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F4eb4a284248c8618baae381e1a2b32c0adc98ce594da803f96eb165a8237e9b5.jpg)  
FIGURE 7-3:  
Using the MCP4728 for Set Point or Threshold Calibration.

![DS22187E page 55](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-55.jpg)

( ) V

V ( )

V ( )

FIGURE 7-4:

Sequential Write Command for Setting Test Points in Figure $7 . 3 .$

*(figure shown in the DS22187E page 55 render above)*

The following example shows the expected analog outputs with the corresponding DAC input codes:

$$
\begin{array}{l} \text {DAC A Input Code = 001111 - 11111111} \\ \text {DAC B Input Code = 000111 - 11111111} \\ \text {DAC C Input Code = 000011 - 11111111} \\ \text {DAC D Input Code = 000001 - 11111111} \end{array}
$$

$$
V _ {O U T} = \frac {(V _ {R E F} \times D _ {n})}{4 0 9 6} G _ {x}
$$

(A) Channel A Output:

Dn for Channel A = 0FFF (hex) = 4095 (decimal)

$$
V _ {O U T} A = \frac {(V _ {D D} \times 4 0 9 5)}{4 0 9 6} = V _ {D D} \left(\frac {4 0 9 6 - I}{4 0 9 6}\right) = V _ {D D} \left(I - \frac {1}{4 0 9 6}\right) = V _ {D D} - L S B
$$

(B) Channel B Output:

Dn for Channel B = 07FF (hex) = 2047 (decimal)

$$
V _ {O U T} B = \frac {(V _ {D D} \times 2 0 4 7)}{4 0 9 6} = V _ {D D} \left(\frac {2 0 4 8 - I}{4 0 9 6}\right) = \frac {V _ {D D}}{2} \left(1 - \frac {2}{4 0 9 6}\right) = \frac {V _ {D D}}{2} - L S B
$$

(C) Channel C Output:

Dn for Channel C = 03FF (hex) = 1023 (decimal)

$$
V _ {O U T} C = \frac {V _ {D D} \times 1 0 2 3}{4 0 9 6} = V _ {D D} \left(\frac {1 0 2 4 - 1}{4 0 9 6}\right) = \frac {V _ {D D}}{4} \left(1 - \frac {4}{4 0 9 6}\right) = \frac {V _ {D D}}{4} - L S B
$$

(D) Channel D Output:

Dn for Channel D = 01FF (hex) = 511 (decimal)

$$
V _ {O U T} D = \frac {V _ {D D} \times 5 1 1}{4 0 9 6} = V _ {D D} \Big (\frac {5 1 2 - I}{4 0 9 6} \Big) = \frac {V _ {D D}}{8} \Big (1 - \frac {8}{4 0 9 6} \Big) = \frac {V _ {D D}}{8} - L S B
$$

FIGURE 7-5: Example of Writing Fast Write Command for Various V<sub>OUT</sub>. $V _ { R E F } = V _ { D D }$ For All Channels.

## 8.0 DEVELOPMENT SUPPORT

## 8.1 Evaluation & Demonstration Boards

The MCP4728 Evaluation Board is available from Microchip Technology Inc. This board works with Microchip’s PICkit™ Serial Analyzer. The user can easily program the DAC input registers and EEPROM using the PICkit Serial Analyzer, and test out the DAC analog output voltages.The PICkit Serial Analyzer uses the PC Graphic User Interface software. Refer to www.microchip.com for further information on this product’s capabilities and availability.

![DS22187E page 57](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-57.jpg)

*(figure shown in the DS22187E page 57 render above)*  
FIGURE 8-2: Setup for the MCP4728 Evaluation Board with PICkit™ Serial Analyzer.

FIGURE 8-1: MCP4728 Evaluation Board.  
*(figure shown in the DS22187E page 57 render above)*  
FIGURE 8-3:  
Example of PICkit™ Serial User Interface.

## NOTES:

## 9.0 PACKAGING INFORMATION

## 9.1 Package Marking Information

10-Lead MSOP

XXXXXX

![DS22187E page 59](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-59.jpg)

YWWNNN

<table><tr><td>Device</td><td>Code</td></tr><tr><td>MCP4728-E/UN</td><td>4728UN</td></tr><tr><td>MCP4728T-E/UN</td><td>4728UN</td></tr><tr><td>MCP4728A0-E/UN</td><td>4728A0</td></tr><tr><td>MCP4728A0T-E/UN</td><td>4728A0</td></tr><tr><td>MCP4728A1-E/UN</td><td>4728A1</td></tr><tr><td>MCP4728A1T-E/UN</td><td>4728A1</td></tr><tr><td>MCP4728A2-E/UN</td><td>4728A2</td></tr><tr><td>MCP4728A2T-E/UN</td><td>4728A2</td></tr><tr><td>MCP4728A3-E/UN</td><td>4728A3</td></tr><tr><td>MCP4728A3T-E/UN</td><td>4728A3</td></tr><tr><td>MCP4728A4-E/UN</td><td>4728A4</td></tr><tr><td>MCP4728A4T-E/UN</td><td>4728A4</td></tr><tr><td>MCP4728A5-E/UN</td><td>4728A5</td></tr><tr><td>MCP4728A5T-E/UN</td><td>4728A5</td></tr><tr><td>MCP4728A6-E/UN</td><td>4728A6</td></tr><tr><td>MCP4728A6T-E/UN</td><td>4728A6</td></tr><tr><td>MCP4728A7-E/UN</td><td>4728A7</td></tr><tr><td>MCP4728A7T-E/UN</td><td>4728A7</td></tr></table>

Example

007256

4728UN

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F0cf361402e7bcc6173d7233bcb2903b0b5c04ded26eb1b5b5557ad56eea35f95.jpg)

Legend: XX...X Customer-specific information Y Year code (last digit of calendar year) YY Year code (last 2 digits of calendar year) WW Week code (week of January 1 is week ‘01’) NNN Alphanumeric traceability code e3 Pb-free JEDEC designator for Matte Tin (Sn) \* This package is Pb-free. The Pb-free JEDEC designator ( )<sub>e3</sub> 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.

## 10-Lead Plastic Micro Small Outline Package (UN) [MSOP]

Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Faa22df20b140f2cf33ae6f3423fc6ede8f7e819ea6ea9d5076815feef5c9d9d0.jpg)

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F6181f1bfb4cd1e73a2c9c9b6e881132eed09c0636ebd9cc7976b5ad25ed8905a.jpg)

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2F2fe63b49c8b49bee7cac5b5e95a254adbb2aee85072582568024ac0062b724c1.jpg)

<table><tr><td colspan="2">Units</td><td colspan="3">MILLIMETERS</td></tr><tr><td colspan="2">Dimension Limits</td><td>MIN</td><td>NOM</td><td>MAX</td></tr><tr><td>Number of Pins</td><td>N</td><td colspan="3">10</td></tr><tr><td>Pitch</td><td>e</td><td colspan="3">0.50 BSC</td></tr><tr><td>Overall Height</td><td>A</td><td>-</td><td>-</td><td>1.10</td></tr><tr><td>Molded Package Thickness</td><td>A2</td><td>0.75</td><td>0.85</td><td>0.95</td></tr><tr><td>Standoff</td><td>A1</td><td>0.00</td><td>-</td><td>0.15</td></tr><tr><td>Overall Width</td><td>E</td><td colspan="3">4.90 BSC</td></tr><tr><td>Molded Package Width</td><td>E1</td><td colspan="3">3.00 BSC</td></tr><tr><td>Overall Length</td><td>D</td><td colspan="3">3.00 BSC</td></tr><tr><td>Foot Length</td><td>L</td><td>0.40</td><td>0.60</td><td>0.80</td></tr><tr><td>Footprint</td><td>L1</td><td colspan="3">0.95 REF</td></tr><tr><td>Foot Angle</td><td> $\phi$ </td><td>0°</td><td>-</td><td>8°</td></tr><tr><td>Lead Thickness</td><td>c</td><td>0.08</td><td>-</td><td>0.23</td></tr><tr><td>Lead Width</td><td>b</td><td>0.15</td><td>-</td><td>0.33</td></tr></table>

Notes:

1. Pin 1 visual index feature may vary, but must be located within the hatched area.
2. Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.15 mm per side.
3. 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.

Microchip Technology Drawing C04-021B

## 10-Lead Plastic Micro Small Outline Package (UN) [MSOP]

Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging

![DS22187E page 61](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fds22187e-page-61.jpg)  
RECOMMENDED LAND PATTERN

<table><tr><td colspan="2">Units</td><td colspan="3">MILLIMETERS</td></tr><tr><td colspan="2">Dimension Limits</td><td>MIN</td><td>NOM</td><td>MAX</td></tr><tr><td>Contact Pitch</td><td>E</td><td colspan="3">0.50 BSC</td></tr><tr><td>Contact Pad Spacing</td><td>C</td><td></td><td>4.40</td><td></td></tr><tr><td>Overall Width</td><td>Z</td><td></td><td></td><td>5.80</td></tr><tr><td>Contact Pad Width (X10)</td><td>X1</td><td></td><td></td><td>0.30</td></tr><tr><td>Contact Pad Length (X10)</td><td>Y1</td><td></td><td></td><td>1.40</td></tr><tr><td>Distance Between Pads</td><td>G1</td><td>3.00</td><td></td><td></td></tr><tr><td>Distance Between Pads</td><td>GX</td><td>0.20</td><td></td><td></td></tr></table>

Notes:  
1. Dimensioning and tolerancing per ASME Y14.5M  
BSC: Basic Dimension. Theoretically exact value shown without tolerances.  
Microchip Technology Drawing No. C04-2021A

## NOTES:

## APPENDIX A: REVISION HISTORY

## Revision E (October 2010)

The following is the list of modifications:

1. Corrected values in I<sup>2</sup>C Serial Timing Specifications table (SCL Fall Time, SDA Fall Time, Data Hold Time, Output Valid from Clock).

2. Updated the Package Marking Information table in the “Packaging Information” section.

3. Updated the information in the section “Product Identification System”.

## Revision D (October 2009)

The following is the list of modifications:

1. Front page - Applications: Added new item: Bias Voltage Adjustment for Power Amplifiers.

2. Electrical Characteristics: Changed typical, max values for Offset Error.

3. Electrical Characteristics: Changed Min, Max values for Gain Error.

4. Section 2.0 Typical Performance Curves: Added new Figure 2-25: Absolute Gain Error.

5. Page 45, Figure 5-15: Changed ACK (MCP4728) to ACK (MASTER).

## Revision C (September 2009)

The following is the list of modifications:

6. Updated Figure 5-11 and Figure 7-4.

## Revision B (August 2009)

The following is the list of modifications:

7. Updated Figure 2-25 to Figure 2-41 in Section 2.0 “Typical Performance Curves”.

8. Updated Figure 5-7, Figure 5-8 and Figure 5-11.

## Revision A (June 2009)

• Original Release of this Document.

NOTES:

## PRODUCT IDENTIFICATION SYSTEM

To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.

<table><tr><td>PART NO.</td><td>XX</td><td>X</td><td>-X</td><td>/XX</td></tr><tr><td>Device</td><td>Address Options</td><td>Tape and Reel</td><td>Temperature Range</td><td>Package</td></tr><tr><td>Device:</td><td colspan="4">MCP4728: 12-bit, Quad Digital-to-Analog Converter with EEPROM memory</td></tr><tr><td rowspan="11">Address Options:</td><td>XX</td><td>A2</td><td>A1</td><td>A0</td></tr><tr><td>A0*</td><td>=</td><td>0</td><td>0</td></tr><tr><td>A1</td><td>=</td><td>0</td><td>1</td></tr><tr><td>A2</td><td>=</td><td>0</td><td>1</td></tr><tr><td>A3</td><td>=</td><td>0</td><td>1</td></tr><tr><td>A4</td><td>=</td><td>1</td><td>0</td></tr><tr><td>A5</td><td>=</td><td>1</td><td>0</td></tr><tr><td>A6</td><td>=</td><td>1</td><td>1</td></tr><tr><td>A7</td><td>=</td><td>1</td><td>1</td></tr><tr><td colspan="4">* Default option. Contact Microchip factory for other address options</td></tr><tr><td colspan="4">Note: These address bits are reprogrammable by the user.</td></tr><tr><td>Tape and Reel:</td><td colspan="4">T = Tape and Reel</td></tr><tr><td>Temperature Range:</td><td colspan="4">E = -40°C to +125°C</td></tr><tr><td>Package:</td><td colspan="4">UN = Plastic Micro Small Outline Transistor, 10-lead</td></tr></table>

## NOTES:

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.

## QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV =IS0/TS 16949:2002=

## Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC<sup>32</sup> logo, rfPIC and UNI/O are registered trademarks of 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 Technology Incorporated in the U.S.A.

All other trademarks mentioned herein are property of their respective companies.

© 2010, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

![](https://www.embedr.app/api/datasheets/ds_c5b5f8bee7dbdeb08c4a/asset?path=images%2Fff6643b12ef7d05927abbf6d75d0ed7151fb2adf86fc6466cdb6f36c4444fbda.jpg)

Printed on recycled paper.

## ISBN: 978-1-60932-562-6

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® MCUs and dsPIC® DSCs, KEELOQ® code hopping 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.

## Worldwide Sales and Service

## AMERICAS

Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Web Address: www.microchip.com

## Atlanta

Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455

## Boston

Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088

Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075

## Cleveland

Independence, OH Tel: 216-447-0464 Fax: 216-447-0643

Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924

## Detroit

Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260

Kokomo, IN Tel: 765-864-8360 Fax: 765-864-8387

Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608

## Santa Clara

Santa Clara, CA Tel: 408-961-6444 Fax: 408-961-6445

## Toronto

Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509

## ASIA/PACIFIC

Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431

Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755

China - Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104

China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889

China - Chongqing Tel: 86-23-8980-9588 Fax: 86-23-8980-9500

China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431

China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470

China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205

China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066

China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393

China - Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760

China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118

China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256

China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130

China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049

## ASIA/PACIFIC

India - Bangalore Tel: 91-80-3090-4444 Fax: 91-80-3090-4123

India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632

India - Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513

Japan - Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122

Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302

Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934

Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859

Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068

Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069

Singapore Tel: 65-6334-8870 Fax: 65-6334-8850

Taiwan - Hsin Chu Tel: 886-3-6578-300 Fax: 886-3-6578-370

Taiwan - Kaohsiung Tel: 886-7-213-7830 Fax: 886-7-330-9305

Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102

Tel: 66-2-694-1351 Fax: 66-2-694-1350

## EUROPE

Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393

Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829

France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79

Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44

Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781

Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340

Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91

UK - Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820