## ±0.5°C Maximum Accuracy Digital Temperature Sensor

## Features

• Accuracy:

\- ±0.25 (typical) from -40°C to +125°C

\- ±0.5°C (maximum) from -20°C to 100°C

\- ±1°C (maximum) from -40°C to +125°C

• User-Selectable Measurement Resolution:

$$
+ 0. 5 ^ {\circ} \mathrm{C}, + 0. 2 5 ^ {\circ} \mathrm{C}, + 0. 1 2 5 ^ {\circ} \mathrm{C}, + 0. 0 6 2 5 ^ {\circ} \mathrm{C}
$$

• User-Programmable Temperature Limits:

\- Temperature Window Limit

\- Critical Temperature Limit

• User-Programmable Temperature Alert Output

• Operating Voltage Range: 2.7V to 5.5V

• Operating Current: 200 µA (typical)

• Shutdown Current: 0.1 µA (typical)

• 2-wire Interface: I<sup>2</sup>C™/SMBus Compatible

• Available Packages: 2x3 DFN-8, MSOP-8

## Typical Applications

• General Purpose

• Industrial Applications

• Industrial Freezers and Refrigerators

• Food Processing

• Personal Computers and Servers

• PC Peripherals

• Consumer Electronics

• Handheld/Portable Devices

## Temperature Accuracy

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

## Description

Microchip Technology Inc.’s MCP9808 digital temperature sensor converts temperatures between -20°C and +100°C to a digital word with ±0.25°C/±0.5°C (typical/maximum) accuracy.

The MCP9808 comes with user-programmable registers that provide flexibility for temperature sensing applications. The registers allow user-selectable settings such as Shutdown or Low-Power modes and the specification of temperature Alert window limits and critical output limits. When the temperature changes beyond the specified boundary limits, the MCP9808 outputs an Alert signal. The user has the option of setting the Alert output signal polarity as an active-low or activehigh comparator output for thermostat operation, or as a temperature Alert interrupt output for microprocessorbased systems. The Alert output can also be configured as a critical temperature output only.

This sensor has an industry standard 400 kHz, 2-wire, SMBus/I<sup>2</sup>C compatible serial interface, allowing up to eight or sixteen sensors to be controlled with a single serial bus (see Table 3-2 for available Address codes). These features make the MCP9808 ideal for sophisticated, multi-zone, temperature-monitoring applications.

Temperature Accuracy (°C)

Package Types

<table><tr><td colspan="2">8-Pin 2x3 DFN*</td><td>8-Pin MSOP</td></tr><tr><td>SDA</td><td>1: ○ : - : 8 VDD</td><td>SDA 1 8 VDD</td></tr><tr><td>SCL</td><td>2: EP A0</td><td>SCL 2 7 A0</td></tr><tr><td>Alert</td><td>3: 9 A1</td><td>Alert 3 6 A1</td></tr><tr><td>GND</td><td>4: - : - : 5 A2</td><td>GND 4 5 A2</td></tr></table>

Functional Block Diagram  
![](./images/a2091a3ac7f03c970a80c09e4677efb43241b7776bc947a45a8d947103d1036c.jpg)

## 1.0 ELECTRICAL CHARACTERISTICS

## Absolute Maximum Ratings †

V . . 6.0V Voltage at All Input/Output Pins .............. GND – 0.3V to 6.0V Storage Temperature .... ...-65°C to +150°C Ambient Temperature with Power Applied ....-40°C to +125°C Junction Temperature (T<sub>J</sub>) ... ..+150°C ESD Protection on All Pins (HBM:MM) ................ (4 kV:400V) Latch-up Current at Each Pin (+25°C) ..................... ±200 mA †Notice: Stresses above those listed under “Maximum ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

TEMPERATURE SENSOR DC CHARACTERISTICS

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated,  $V_{DD} = 2.7V$  to 5.5V, GND = Ground and  $T_A = -40°C$  to +125°C.</td></tr><tr><td>Parameters</td><td>Sym</td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td><td>Conditions</td></tr><tr><td colspan="7">Temperature Sensor Accuracy</td></tr><tr><td>-20°C &lt;  $T_A$  ≤ +100°C</td><td rowspan="2"> $T_{ACY}$  $T_{ACY}$ </td><td>-0.5</td><td>±0.25</td><td>+0.5</td><td>°C</td><td> $V_{DD} = 3.3V$ </td></tr><tr><td>-40°C &lt;  $T_A$  ≤ +125°C</td><td>-1.0</td><td>±0.25</td><td>+1.0</td><td>°C</td><td> $V_{DD} = 3.3V$ </td></tr><tr><td colspan="7">Temperature Conversion Time</td></tr><tr><td>0.5°C/bit</td><td rowspan="4"> $t_{CONV}$ </td><td>—</td><td>30</td><td>—</td><td>ms</td><td>33s/sec (typical)</td></tr><tr><td>0.25°C/bit</td><td>—</td><td>65</td><td>—</td><td>ms</td><td>15s/sec (typical)</td></tr><tr><td>0.125°C/bit</td><td>—</td><td>130</td><td>—</td><td>ms</td><td>7s/sec (typical)</td></tr><tr><td>0.0625°C/bit</td><td>—</td><td>250</td><td>—</td><td>ms</td><td>4s/sec (typical)</td></tr><tr><td colspan="7">Power Supply</td></tr><tr><td>Operating Voltage Range</td><td> $V_{DD}$ </td><td>2.7</td><td>—</td><td>5.5</td><td>V</td><td></td></tr><tr><td>Operating Current</td><td> $I_{DD}$ </td><td>—</td><td>200</td><td>400</td><td>μA</td><td></td></tr><tr><td>Shutdown Current</td><td> $I_{SHDN}$ </td><td>—</td><td>0.1</td><td>2</td><td>μA</td><td></td></tr><tr><td>Power-on Reset (POR)</td><td> $V_{POR}$ </td><td>—</td><td>2.2</td><td>—</td><td>V</td><td>Threshold for falling  $V_{DD}$ </td></tr><tr><td>Power Supply Rejection</td><td>Δ°C/Δ $V_{DD}$ </td><td>—</td><td>-0.1</td><td>—</td><td>°C/V</td><td> $V_{DD} = 2.7V$  to 5.5V,  $T_A = +25°C$ </td></tr><tr><td colspan="7">Alert Output (open-drain output, external pull-up resistor required), see Section 5.2.3 “Alert Output Configuration”</td></tr><tr><td>High-Level Current (leakage)</td><td> $I_{OH}$ </td><td>—</td><td>—</td><td>1</td><td>μA</td><td> $V_{OH} = V_{DD}$  (Active-Low, Pull-up Resistor)</td></tr><tr><td>Low-Level Voltage</td><td> $V_{OL}$ </td><td>—</td><td>—</td><td>0.4</td><td>V</td><td> $I_{OL} = 3 mA$  (Active-Low, Pull-up Resistor)</td></tr><tr><td colspan="7">Thermal Response, from +25°C (air) to +125°C (oil bath)</td></tr><tr><td>8L-DFN</td><td rowspan="2"> $t_{RES}$ </td><td>—</td><td>0.7</td><td>—</td><td>s</td><td rowspan="2">Time to 63% (+89°C)</td></tr><tr><td>8L-MSOP</td><td>—</td><td>1.4</td><td>—</td><td>s</td></tr></table>

## DIGITAL INPUT/OUTPUT PIN CHARACTERISTICS

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated,  $V_{DD} = 2.7V$  to 5.5V, GND = Ground and  $T_A = -40°C$  to +125°C.</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 colspan="7">Serial Input/Output (SCL, SDA, A0, A1, A2)</td></tr><tr><td colspan="7">Input</td></tr><tr><td>High-Level Voltage</td><td> $V_{IH}$ </td><td> $0.7 V_{DD}$ </td><td>—</td><td> $V_{DD}$ </td><td>V</td><td></td></tr><tr><td>Low-Level Voltage</td><td> $V_{IL}$ </td><td>GND</td><td>—</td><td> $0.3 V_{DD}$ </td><td>V</td><td></td></tr><tr><td>Input Current</td><td> $I_{IN}$ </td><td>—</td><td>—</td><td>±5</td><td>μA</td><td></td></tr><tr><td colspan="7">Output (SDA)</td></tr><tr><td>Low-Level Voltage</td><td> $V_{OL}$ </td><td>—</td><td>—</td><td>0.4</td><td>V</td><td> $I_{OL} = 3 mA$ </td></tr><tr><td>High-Level Current (leakage)</td><td> $I_{OH}$ </td><td>—</td><td>—</td><td>1</td><td>μA</td><td> $V_{OH} = 5.5V$ </td></tr><tr><td>Low-Level Current</td><td> $I_{OL}$ </td><td>6</td><td>—</td><td>—</td><td>mA</td><td> $V_{OL} = 0.6V$ </td></tr><tr><td colspan="7">SDA and SCL Inputs</td></tr><tr><td>Hysteresis</td><td> $V_{HYST}$ </td><td>—</td><td> $0.05 V_{DD}$ </td><td>—</td><td>V</td><td></td></tr><tr><td>Spike Suppression</td><td> $t_{SP}$ </td><td>—</td><td>—</td><td>50</td><td>ns</td><td></td></tr><tr><td>Capacitance</td><td> $C_{IN}$ </td><td>—</td><td>5</td><td>—</td><td>pF</td><td></td></tr></table>

## GRAPHICAL SYMBOL DESCRIPTION

![](./images/08d3c8deef877722ec90c0d741291f4a94d7dcfa7aee49971abf671ab9d9f46a.jpg)

![](./images/746c01b66d9ea4ff50394838c93e30aeefac112ca0fb6294d81479b6ac03bd8c.jpg)

## TEMPERATURE CHARACTERISTICS

<table><tr><td colspan="7">Electrical Specifications: Unless otherwise indicated,  $V_{DD} = 2.7V$  to 5.5V and GND = Ground.</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 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 rowspan="2">(Note 1)</td></tr><tr><td>Operating Temperature Range</td><td> $T_A$ </td><td>-40</td><td>—</td><td>+125</td><td>°C</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, 8L-DFN</td><td> $θ_{JA}$ </td><td>—</td><td>68</td><td>—</td><td>°C/W</td><td></td></tr><tr><td>Thermal Resistance, 8L-MSOP</td><td> $θ_{JA}$ </td><td>—</td><td>211</td><td>—</td><td>°C/W</td><td></td></tr></table>

Note 1: Operation in this range must not cause $\mathsf { T } _ { \mathsf { J } }$ to exceed Maximum Junction Temperature $( + 1 5 0 ^ { \circ } \mathrm { C } )$

SENSOR SERIAL INTERFACE TIMING SPECIFICATIONS

<table><tr><td colspan="6">Electrical Specifications: Unless otherwise indicated,  $V_{DD} = 2.7V$  to  $5.5V$ ,  $T_A = -40°C$  to  $+125°C$ , GND = Ground and  $C_L = 80$  pF. (Note 1)</td></tr><tr><td>Parameters</td><td>Sym</td><td>Min</td><td>Max</td><td>Units</td><td>Conditions</td></tr><tr><td colspan="6">2-Wire SMBus/Standard Mode I $^2C^{TM}$  Compatible Interface (Note 1)</td></tr><tr><td>Serial Port Clock Frequency</td><td> $f_{SC}$ </td><td>0</td><td>400</td><td>kHz</td><td>(Note 2, 4)</td></tr><tr><td>Low Clock</td><td> $t_{LOW}$ </td><td>1300</td><td>—</td><td>ns</td><td>(Note 2)</td></tr><tr><td>High Clock</td><td> $t_{HIGH}$ </td><td>600</td><td>—</td><td>ns</td><td>(Note 2)</td></tr><tr><td>Rise Time</td><td> $t_R$ </td><td>20</td><td>300</td><td>ns</td><td></td></tr><tr><td>Fall Time</td><td> $t_F$ </td><td>20</td><td>300</td><td>ns</td><td></td></tr><tr><td>Data in Setup Time</td><td> $t_{SU-DI}$ </td><td>100</td><td>—</td><td>ns</td><td>(Note 3)</td></tr><tr><td>Data In Hold Time</td><td> $t_{HD-DI}$ </td><td>0</td><td>—</td><td>ns</td><td>(Note 5)</td></tr><tr><td>Data Out Hold Time</td><td> $t_{HD-DO}$ </td><td>200</td><td>900</td><td>ns</td><td>(Note 4)</td></tr><tr><td>Start Condition Setup Time</td><td> $t_{SU-START}$ </td><td>600</td><td>—</td><td>ns</td><td></td></tr><tr><td>Start Condition Hold Time</td><td> $t_{HD-START}$ </td><td>600</td><td>—</td><td>ns</td><td></td></tr><tr><td>Stop Condition Setup Time</td><td> $t_{SU-STOP}$ </td><td>600</td><td>—</td><td>ns</td><td></td></tr><tr><td>Bus Free</td><td> $t_{B-FREE}$ </td><td>1300</td><td>—</td><td>ns</td><td></td></tr><tr><td>Time-out</td><td> $t_{OUT}$ </td><td>25</td><td>35</td><td>ms</td><td></td></tr><tr><td>Bus Capacitive Load</td><td> $C_b$ </td><td>—</td><td>400</td><td>pf</td><td></td></tr></table>

Note 1: All values referred to $\mathsf { V } _ { \mathsf { I L } \mathsf { M A X } }$ and $\mathsf { V } _ { \mathsf { I H M N } }$ levels.  
2: If $\mathrm { t } _ { \mathsf { L O W } } > \mathrm { t } _ { \mathsf { O U T } } \mathsf { o r t } _ { \mathsf { H I G H } } > \mathrm { t } _ { \mathsf { O U T } } ,$ the temperature sensor ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ interface will time-out. A Repeat Start command is required for communication.  
3: This device can be used in a Standard mode ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ bus system, but the requirement, $\mathsf { t } _ { \mathsf { S U - D l } } \geq 1 0 0 \mathsf { n s }$ , must be met. This device does not stretch the SCL Low time.  
4: As a transmitter, the device provides internal minimum delay time, $\mathsf { t } _ { \mathsf { H D - D O M I N } } ,$ to bridge the undefined region (min. 200 ns) of the falling edge of SCL, t<sub>F</sub> $\mathsf { M A X } ,$ to avoid unintended generation of Start or Stop conditions.  
5: As a receiver, SDA should not be sampled at the falling edge of SCL. SDA can transition $t H D - D$ 0 ns after SCL toggles Low.

TIMING DIAGRAM  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F73b9c703153958ba6337ed1efb11edf409997205f7e513ba9b6a5d65ccee8f48.jpg)

NOTES:

## 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, $\mathsf { V } _ { \mathsf { D D } } = 2 . 7 \mathsf { V }$ to 5.5V, GND = Ground, SDA/SCL pulled-up to $\mathsf { V } _ { \mathsf { D D } }$ and $\mathsf { T } _ { \mathsf { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf C$

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

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

![](./images/6cec76d716d3426bf51048c3a0f0c5f611d75cc4966641e3ea949f3946edcd49.jpg)  
FIGURE 2-2: Temperature Accuracy Histogram, $T _ { A } = \cdot 2 0 ^ { \circ } C .$

FIGURE 2-4: Temperature Accuracy Histogram.  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F02bf6f1c698e330ed82fb9ed590a29cfe2ae551a294dbc5e646ff10a93d452a7.jpg)

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F72086bfdf06f172140347c8eb0f8381eda8a74b9a4c956786fa8f105da845796.jpg)  
FIGURE 2-3: Temperature Accuracy Histogram, $T _ { A } = + 2 5 ^ { \circ } C .$

FIGURE 2-5: Temperature Accuracy Histogram, $T _ { A } = + 8 5 ^ { \circ } C .$  
![](./images/390524aa4b3f25d77970e0c3add6714e508b0c9686beda01262078711a856e2e.jpg)  
FIGURE 2-6: Temperature Accuracy Histogram, ${ T _ { A } } = + 1 0 0 ^ { \circ } C .$

Note: Unless otherwise indicated, $\mathsf { V } _ { \mathsf { D D } } = 2 . 7 \mathsf { V }$ to 5.5V, GND = Ground, SDA/SCL pulled-up to $\mathsf { V } _ { \mathsf { D D } }$ and $\mathsf { T } _ { \mathsf { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +125°C.

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

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

FIGURE 2-7: Temperature Accuracy Histogram, $T _ { A } = \cdot 4 0 ^ { \circ } C .$  
![](./images/bd0d3d39d7bbb57b068dbc40b81d01eb24d68c331180621c8dcb7da7acc7e093.jpg)  
FIGURE 2-10: Temperature Accuracy Histogram, $T _ { A } = + 1 2 5 ^ { \circ } C .$

![](./images/e76dec2921a4695461a856bef5ca1d5664073054e441d93bc55d3fb6fb61118d.jpg)

FIGURE 2-8: Supply Current vs. Temperature.  
![](./images/a04aed4a23a9e1ecf54bb6579af19d57532dbc6aaeffa1010e9e6701d6a7fd45.jpg)  
FIGURE 2-9: Power-on Reset Threshold Voltage vs. Temperature.

FIGURE 2-11: Temperature Accuracy vs Supply Voltage.  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F28ab5c3368a0c754b0c87b41d776535c15afc56b013e4195ba72b18681d31791.jpg)  
FIGURE 2-12: Temperature Conversion Time vs. Temperature.

Note: Unless otherwise indicated, $\mathsf { V } _ { \mathsf { D D } } = 2 . 7 \mathsf { V }$ to 5.5V, GND = Ground, SDA/SCL pulled-up to $\mathsf { V } _ { \mathsf { D D } }$ and $\mathsf { T } _ { \mathsf { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to $+ 1 2 5 ^ { \circ } \mathsf C$  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2Ffac5a64339fc1321abd5fba852acb1602800ebbaf68a0cd85efecc6116f31986.jpg)

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

FIGURE 2-13: SDA and Alert Output $V _ { O L }$ vs. Temperature.  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F3701961b883f0e3084c7d0516e6d2d8e42e1bee671172ff3d2fe41c61a8d2d89.jpg)  
FIGURE 2-14: $\overline { { S D A I _ { O L } } }$ vs. Temperature.

FIGURE 2-16: SMBus Time-out vs. Temperature.  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F0a3ef5ca3c230ac919315baaa8427cea5330c5e548ebb672c60cb9ee43444b6a.jpg)

![](./images/39031ee418d41924a03b05d8ea354be4002b9ffb3386de35678856dd0687be02.jpg)  
FIGURE 2-15: Package Thermal Response.

FIGURE 2-17: Shutdown Current vs Temperature.  
![](./images/a8820305aa8dd0271e09f9fb42dde9d7e62770393b5ded6b407c155460bd87aa.jpg)  
FIGURE 2-18: Power Supply Rejection vs. Frequency.

## NOTES:

## 3.0 PIN DESCRIPTION

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

TABLE 3-1: PIN FUNCTION TABLE

<table><tr><td>DFN</td><td>MSOP</td><td>Symbol</td><td>Pin Function</td></tr><tr><td>1</td><td>1</td><td>SDA</td><td>Serial Data Line</td></tr><tr><td>2</td><td>2</td><td>SCL</td><td>Serial Clock Line</td></tr><tr><td>3</td><td>3</td><td>Alert</td><td>Temperature Alert Output</td></tr><tr><td>4</td><td>4</td><td>GND</td><td>Ground</td></tr><tr><td>5</td><td>5</td><td>A2</td><td>Slave Address</td></tr><tr><td>6</td><td>6</td><td>A1</td><td>Slave Address</td></tr><tr><td>7</td><td>7</td><td>A0</td><td>Slave Address</td></tr><tr><td>8</td><td>8</td><td> $V_{DD}$ </td><td>Power Pin</td></tr><tr><td>9</td><td>—</td><td>EP</td><td>Exposed Thermal Pad (EP); must be connected to GND</td></tr></table>

## 3.1 Serial Data Line (SDA)

SDA is a bidirectional input/output pin, used to serially transmit data to/from the host controller. This pin requires a pull-up resistor. (See Section 4.0 “Serial Communication”.)

## 3.2 Serial Clock Line (SCL)

The SCL is a clock input pin. All communication and timing is relative to the signal on this pin. The clock is generated by the host or master controller on the bus. (See Section 4.0 “Serial Communication”.)

## 3.3 Temperature Alert, Open-Drain Output (Alert)

The MCP9808 temperature Alert output pin is an open-drain output. The device outputs a signal when the ambient temperature goes beyond the user-programmed temperature limit. (See Section 5.2.3 “Alert Output Configuration”).

## 3.4 Ground Pin (GND)

The GND pin is the system ground pin.

## 3.5 Address Pins (A0, A1, A2)

These pins are device address input pins.

The address pins correspond to the Least Significant bits (LSbs) of the address bits and the Most Significant bits (MSbs): A6, A5, A4, A3. This is illustrated in Table 3-2.

TABLE 3-2: MCP9808 ADDRESS BYTE

<table><tr><td rowspan="2">Device</td><td colspan="4">Address Code</td><td colspan="3">Slave Address</td></tr><tr><td>A6</td><td>A5</td><td>A4</td><td>A3</td><td>A2</td><td>A1</td><td>A0</td></tr><tr><td>MCP9808</td><td>0</td><td>0</td><td>1</td><td>1</td><td> $x^{(1)}$ </td><td>x</td><td>x</td></tr><tr><td> $MCP9808^{(2)}$ </td><td>1</td><td>0</td><td>0</td><td>1</td><td>x</td><td>x</td><td>x</td></tr></table>

Note 1: User-selectable address is shown by ‘x’. A2, A1 and A0 must match the corresponding device pin configuration.  
2: Contact factory for this address code.

## 3.6 Power Pin (V<sub>DD</sub>)

V<sub>DD</sub> is the power pin. The operating voltage range, as specified in the DC electrical specification table, is applied on this pin.

## 3.7 Exposed Thermal Pad (EP)

There is an internal electrical connection between the Exposed Thermal Pad (EP) and the GND pin. The EP may be connected to the system ground on the Printed Circuit Board (PCB).

## NOTES:

## 4.0 SERIAL COMMUNICATION

## 4.1 2-Wire Standard Mode I<sup>2</sup>C™ Protocol Compatible Interface

The MCP9808 Serial Clock (SCL) input and the bidirectional Serial Data (SDA) line form a 2-wire bidirectional, Standard mode, I<sup>2</sup>C compatible communication port (refer to the Digital Input/Output Pin Characteristics and Sensor Serial Interface Timing Specifications tables).

The following bus protocol has been defined:

TABLE 4-1: MCP9808 SERIAL BUS PROTOCOL DESCRIPTIONS

<table><tr><td>Term</td><td>Description</td></tr><tr><td>Master</td><td>The device that controls the serial bus, typically a microcontroller.</td></tr><tr><td>Slave</td><td>The device addressed by the master, such as the MCP9808.</td></tr><tr><td>Transmitter</td><td>Device sending data to the bus.</td></tr><tr><td>Receiver</td><td>Device receiving data from the bus.</td></tr><tr><td>START</td><td>A unique signal from the master to initiate serial interface with a slave.</td></tr><tr><td>STOP</td><td>A unique signal from the master to terminate serial interface from a slave.</td></tr><tr><td>Read/Write</td><td>A read or write to the MCP9808 registers.</td></tr><tr><td>ACK</td><td>A receiver Acknowledges (ACK) the reception of each byte by polling the bus.</td></tr><tr><td>NAK</td><td>A receiver Not-Acknowledges (NAK) or releases the bus to show End-of-Data (EOD).</td></tr><tr><td>Busy</td><td>Communication is not possible because the bus is in use.</td></tr><tr><td>Not Busy</td><td>The bus is in the Idle state; both SDA and SCL remain high.</td></tr><tr><td>Data Valid</td><td>SDA must remain stable before SCL becomes high in order for a data bit to be considered valid. During normal data transfers, SDA only changes state while SCL is low.</td></tr></table>

## 4.1.1 DATA TRANSFER

Data transfers are initiated by a Start condition (START), followed by a 7-bit device address and a read/write bit. An Acknowledge (ACK) from the slave confirms the reception of each byte. Each access must be terminated by a Stop condition (STOP).

Repeated communication is initiated after t<sub>B-FREE</sub>.

This device does not support sequential register read/write. Each register needs to be addressed using the Register Pointer.

This device supports the receive protocol. The register can be specified using the pointer for the initial read. Each repeated read or receive begins with a Start condition and address byte. The MCP9808 retains the previously selected register. Therefore, it outputs data from the previously specified register (repeated pointer specification is not necessary).

## 4.1.2 MASTER/SLAVE

The bus is controlled by a master device (typically a microcontroller) that controls the bus access and generates the Start and Stop conditions. The MCP9808 is a slave device and does not control other devices in the bus. Both master and slave devices can operate as either transmitter or receiver. However, the master device determines which mode is activated.

## 4.1.3 START/STOP CONDITION

A high-to-low transition of the SDA line (while SCL is high) is the Start condition. All data transfers must be preceded by a Start condition from the master. A low-to-high transition of the SDA line (while SCL is high) signifies a Stop condition.

If a Start or Stop condition is introduced during data transmission, the MCP9808 releases the bus. All data transfers are ended by a Stop condition from the master.

## 4.1.4 ADDRESS BYTE

Following the Start condition, the host must transmit an 8-bit address byte to the MCP9808. The address for the MCP9808 temperature sensor is ‘0011,A2,A1,A0’ in binary, where the A2, A1 and A0 bits are set externally by connecting the corresponding pins to $\mathsf { V } _ { \mathsf { D D } }$ ‘1’ or GND ‘0’. The 7-bit address, transmitted in the serial bit stream, must match the selected address for the MCP9808 to respond with an ACK. Bit 8 in the address byte is a read/write bit. Setting this bit to $\ " \mathrm { ~ \textmathopen ~ } \mathrm { ~ \textmathopen ~ } \mathrm { ~ \text' ~ }$ commands a read operation, while ‘0’ commands a write operation (see Figure 4-1).

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F01b3101a6d72f448d028e60ff7ae895ee9b8e34d323fb441486711879107e719.jpg)  
FIGURE 4-1: Device Addressing.

## 4.1.5 DATA VALID

After the Start condition, each bit of data in the transmission needs to be settled for a time specified by $\mathtt { t } _ { \mathtt { S U - D A T A } }$ before SCL toggles from low-to-high (see the Sensor Serial Interface Timing Specifications section).

## 4.1.6 ACKNOWLEDGE (ACK/NAK)

Each receiving device, when addressed, must generate an ACK bit after the reception of each byte. The master device must generate an extra clock pulse for ACK to be recognized.

The Acknowledging device pulls down the SDA line for t<sub>SU-DATA</sub> before the low-to-high transition of SCL from the master. SDA also needs to remain pulled down for t after a high-to-low transition of SCL.

During read, the master must signal an End-of-Data (EOD) to the slave, by not generating an ACK bit (NAK), once the last bit has been clocked out of the slave. In this case, the slave will leave the data line released to enable the master to generate the Stop condition.

## 4.1.7 TIME-OUT

If the SCL stays low or high for the time specified by t , the MCP9808 temperature sensor resets the serial interface. This dictates the minimum clock speed as outlined in the specification.

## 5.0 FUNCTIONAL DESCRIPTION

The MCP9808 temperature sensors consist of a bandgap-type temperature sensor, a Delta-Sigma Analog-to-Digital Converter (ΔΣ ADC), user-programmable registers and a 2-wire SMBus/I<sup>2</sup>C protocol compatible serial interface. Figure 5-1 shows a block diagram of the register structure.

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F739cc0938b5aa7d292e60b9898b3d78099b970e277fc542dc7ee8768540184c3.jpg)  
FIGURE 5-1: Functional Block Diagram.

## 5.1 Registers

The MCP9808 has several registers that are user-accessible. These registers include the Temperature register, Configuration register, Temperature Alert Upper Boundary and Lower Boundary Limit registers, Critical Temperature Limit register, Manufacturer Identification register and Device Identification register.

The Temperature register is read-only, used to access the ambient temperature data. This register is doublebuffered and it is updated every t<sub>CONV</sub>. The Temperature Alert Upper Boundary and Lower Boundary Limit registers are read/write registers. If the ambient temperature drifts beyond the user-specified limits, the MCP9808 outputs a signal using the Alert pin (refer to

Section 5.2.3 “Alert Output Configuration”). In addition, the Critical Temperature Limit register is used to provide an additional critical temperature limit.

The Configuration register provides access to configure the MCP9808 device’s various features. These registers are described in further detail in the following sections.

The registers are accessed by sending a Register Pointer to the MCP9808, using the serial interface. This is an 8-bit write-only pointer. However, the four Least Significant bits are used as pointers and all unused bits (Register Pointer<7:4>) need to be cleared or set to ‘0’. Register 5-1 describes the pointer or the address of each register.

REGISTER 5-1: REGISTER POINTER (WRITE-ONLY)

<table><tr><td>W-0</td><td>W-0</td><td>W-0</td><td>W-0</td><td>W-0</td><td>W-0</td><td>W-0</td><td>W-0</td></tr><tr><td>—</td><td>—</td><td>—</td><td>—</td><td colspan="4">Pointer bits</td></tr><tr><td colspan="8">bit 7 bit 0</td></tr></table>

<table><tr><td colspan="4">Legend:</td></tr><tr><td>R = Readable bit</td><td>W = Writable bit</td><td colspan="2">U = Unimplemented bit, read as ‘0’</td></tr><tr><td>-n = Value at POR</td><td>‘1’ = Bit is set</td><td>‘0’ = Bit is cleared</td><td>x = Bit is unknown</td></tr></table>

Note 1: Some registers contain calibration codes and should not be accessed.

TABLE 5-1: BIT ASSIGNMENT SUMMARY FOR ALL REGISTERS (See Section 5.3 “Summary of Power-on Default” for Power-on Defaults)

<table><tr><td rowspan="2">Register Pointer (Hex)</td><td rowspan="2">MSB/LSB</td><td colspan="8">Bit Assignment</td></tr><tr><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td rowspan="2">0x00</td><td>MSB</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>LSB</td><td>0</td><td>0</td><td>0</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td rowspan="2">0x01</td><td>MSB</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td colspan="2">Hysteresis</td><td>SHDN</td></tr><tr><td>LSB</td><td>Crt Loc</td><td>Win Loc</td><td>Int Clr</td><td>Alt Stat</td><td>Alt Cnt</td><td>Alt Sel</td><td>Alt Pol</td><td>Alt Mod</td></tr><tr><td rowspan="2">0x02</td><td>MSB</td><td>0</td><td>0</td><td>0</td><td>SIGN</td><td> $2^{7} \circ C$ </td><td> $2^{6} \circ C$ </td><td> $2^{5} \circ C$ </td><td> $2^{4} \circ C$ </td></tr><tr><td>LSB</td><td> $2^{3} \circ C$ </td><td> $2^{2} \circ C$ </td><td> $2^{1} \circ C$ </td><td> $2^{0} \circ C$ </td><td> $2^{-1} \circ C$ </td><td> $2^{-2} \circ C$ </td><td>0</td><td>0</td></tr><tr><td rowspan="2">0x03</td><td>MSB</td><td>0</td><td>0</td><td>0</td><td>SIGN</td><td> $2^{7} \circ C$ </td><td> $2^{6} \circ C$ </td><td> $2^{5} \circ C$ </td><td> $2^{4} \circ C$ </td></tr><tr><td>LSB</td><td> $2^{3} \circ C$ </td><td> $2^{2} \circ C$ </td><td> $2^{1} \circ C {}$ </td><td> $2^{0} \circ C$ </td><td> $2^{-1} \circ C$ </td><td> $2^{-2} \circ C$ </td><td>0</td><td>0</td></tr><tr><td rowspan="2">0x04</td><td>MSB</td><td>0</td><td>0</td><td>0</td><td>SIGN</td><td> $2^{7} \circ C$ </td><td> $2^{6} \circ C$ </td><td> $2^{5} \circ C$ </td><td> $2^{4} \circ C$ </td></tr><tr><td>LSB</td><td> $2^{3} \circ C$ </td><td> $2^{2} \circ C$ </td><td> $2^{1} \circ C{}$ </td><td> $2^{0} \circ C$ </td><td> $2^{-1} \circ C$ </td><td> $2^{-2} \circ C$ </td><td>0</td><td>0</td></tr><tr><td rowspan="2">0x05</td><td>MSB</td><td> $T_A \geq T_{CRIT}$ </td><td> $T_A > T_{UPPER}$ </td><td> $T_A < T_{LOWER}$ </td><td>SIGN</td><td> $2^{7} \circ C$ </td><td> $2^{6} \circ C$ </td><td> $2^{5} \circ C$ </td><td> $2^{4} \circ C$ </td></tr><tr><td>LSB</td><td> $2^{3} \circ C$ </td><td> $2^{2} \circ C$ </td><td> $2^{1} \circ C{}$ </td><td> $2^{0 } \circ C$ </td><td> $2^{-1} \circ C$ </td><td> $2^{-2} \circ C$ </td><td> $2^{-3} \circ C$ </td><td> $2^{-4} \circ C$ </td></tr><tr><td rowspan="2">0x06</td><td>MSB</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>LSB</td><td>0</td><td>1</td><td>0</td><td>1</td><td>0</td><td>1</td><td>0</td><td>0</td></tr><tr><td rowspan="2">0x07</td><td>MSB</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>1</td><td>0</td><td>0</td></tr><tr><td>LSB</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>0x08</td><td>LSB</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>1</td><td>1</td></tr></table>

```txt
bit 15-11 Unimplemented: Read as '0'
bit 10-9 THYST: TUPPER and TLOWER Limit Hysteresis bits
00 = 0°C (power-up default)
01 = +1.5°C
10 = +3.0°C
11 = +6.0°C
(Refer to Section 5.2.3 "Alert Output Configuration").
This bit can not be altered when either of the Lock bits are set (bit 6 and bit 7).
This bit can be programmed in Shutdown mode.
bit 8 SHDN: Shutdown Mode bit
0 = Continuous conversion (power-up default)
1 = Shutdown (Low-Power mode)
In shutdown, all power-consuming activities are disabled, though all registers can be written to or read.
This bit cannot be set to '1' when either of the Lock bits is set (bit 6 and bit 7). However, it can be cleared to '0' for continuous conversion while locked (refer to Section 5.2.1 "Shutdown Mode").
```

## 5.1.1 SENSOR CONFIGURATION REGISTER (CONFIG)

The MCP9808 has a 16-bit Configuration register (CONFIG) that allows the user to set various functions for a robust temperature monitoring system. Bits 10 through 0 are used to select the temperature alert output hysteresis, device shutdown or Low-Power mode, temperature boundary and critical temperature lock, and temperature Alert output enable/disable. In addition, Alert output condition (output set for T<sub>UPPER</sub> and T<sub>LOWER</sub> temperature boundary or $\mathsf { T } _ { \mathsf { C R I T } } \circ \mathsf { n l y } )$ , Alert output status and Alert output polarity and mode (Comparator Output or Interrupt Output mode) are user-configurable.

The temperature hysteresis bits 10 and 9 can be used to prevent output chatter when the ambient temperature gradually changes beyond the user-specified temperature boundary (see Section 5.2.2 “Temperature Hysteresis (T<sub>HYST</sub>)”. The Continuous Conversion or Shutdown mode is selected using bit 8. In Shutdown mode, the band gap temperature sensor circuit stops converting temperature and the Ambient Temperature register (T<sub>A</sub>) holds the previous temperature data (see Section 5.2.1 “Shutdown Mode”). Bits 7 and 6 are used to lock the user-specified boundaries T<sub>UPPER</sub>, T<sub>LOWER</sub> and T<sub>CRIT</sub> to prevent an accidental rewrite. The Lock bits are cleared by resetting the power. Bits 5 through 0 are used to configure the temperature Alert output pin. All functions are described in Register 5-2 (see Section 5.2.3 “Alert Output Configuration”).

REGISTER 5-2: CONFIG: CONFIGURATION REGISTER (→ ADDRESS ‘0000 0001’b)

<table><tr><td>U-0</td><td>U-0</td><td>U-0</td><td>U-0</td><td>U-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td></tr><tr><td>—</td><td>—</td><td>—</td><td>—</td><td>—</td><td colspan="2"> $T_{HYST}$ </td><td>SHDN</td></tr><tr><td colspan="8">bit 15 bit 8</td></tr></table>

<table><tr><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td></tr><tr><td>Crit. Lock</td><td>Win. Lock</td><td>Int. Clear</td><td>Alert Stat.</td><td>Alert Cnt.</td><td>Alert Sel.</td><td>Alert Pol.</td><td>Alert Mod.</td></tr><tr><td colspan="8">bit 7 bit 0</td></tr></table>

```python
Legend:
R = Readable bit    W = Writable bit    U = Unimplemented bit, read as '0'
-n = Value at POR    '1' = Bit is set    '0' = Bit is cleared    x = Bit is unknown
```

## REGISTER 5-2: CONFIG: CONFIGURATION REGISTER (→ ADDRESS ‘0000 0001’b)

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
bit 7 Crit. Lock: T$_{CRIT}$ Lock bit
0 = Unlocked. T$_{CRIT}$ register can be written (power-up default)
1 = Locked. T$_{CRIT}$ register can not be written

When enabled, this bit remains set to '1' or locked until cleared by an internal Reset (Section 5.3 "Summary of Power-on Default").
This bit can be programmed in Shutdown mode.

bit 6 Win. Lock: T$_{UPPER}$ and T$_{LOWER}$ Window Lock bit
0 = Unlocked; T$_{UPPER}$ and T$_{LOWER}$ registers can be written (power-up default)
1 = Locked; T$_{UPPER}$ and T$_{LOWER}$ registers can not be written

When enabled, this bit remains set to '1' or locked until cleared by a Power-on Reset (Section 5.3 "Summary of Power-on Default").
This bit can be programmed in Shutdown mode.

bit 5 Int. Clear: Interrupt Clear bit
0 = No effect (power-up default)
1 = Clear interrupt output; when read, this bit returns to '0'
This bit can not be set to '1' in Shutdown mode, but it can be cleared after the device enters Shutdown mode.

bit 4 Alert Stat.: Alert Output Status bit
0 = Alert output is not asserted by the device (power-up default)
1 = Alert output is asserted as a comparator/Interrupt or critical temperature output

This bit can not be set to '1' or cleared to '0' in Shutdown mode. However, if the Alert output is configured as Interrupt mode, and if the host controller clears to '0', the interrupt, using bit 5 while the device is in Shutdown mode, then this bit will also be cleared '0'.

bit 3 Alert Cnt.: Alert Output Control bit
0 = Disabled (power-up default)
1 = Enabled

This bit can not be altered when either of the Lock bits are set (bit 6 and bit 7).
This bit can be programmed in Shutdown mode, but the Alert output will not assert or deassert.

bit 2 Alert Sel.: Alert Output Select bit
0 = Alert output for T$_{UPPER}$, T$_{LOWER}$ and T$_{CRIT}$ (power-up default)
1 = T$_{A}$ &gt; T$_{CRIT}$ only (T$_{UPPER}$ and T$_{LOWER}$ temperature boundaries are disabled)

When the Alarm Window Lock bit is set, this bit cannot be altered until unlocked (bit 6).
This bit can be programmed in Shutdown mode, but the Alert output will not assert or deassert.

bit 1 Alert Pol.: Alert Output Polarity bit
0 = Active-low (power-up default; pull-up resistor required)
1 = Active-high

This bit cannot be altered when either of the Lock bits are set (bit 6 and bit 7).
This bit can be programmed in Shutdown mode, but the Alert output will not assert or deassert.

bit 0 Alert Mod.: Alert Output Mode bit
0 = Comparator output (power-up default)
1 = Interrupt output

This bit cannot be altered when either of the Lock bits are set (bit 6 and bit 7).
This bit can be programmed in Shutdown mode, but the Alert output will not assert or deassert.
</div>

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

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F19e170800615b24d4f628c9696afc2692619c0d46161e0e03e0ab3026e6d2bf2.jpg)  
FIGURE 5-2: Timing Diagram for Writing to the Configuration Register (see Section 4.0 “Serial Communication”).

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F495d063c5cd6d012b1fd9a3953261e2181e6a16d41b3b5fafb56d3cbeed2d856.jpg)  
FIGURE 5-3: Timing Diagram for Reading from the Configuration Register (see Section 4.0 “Serial Communication”).

<table><tr><td>U-0</td><td>U-0</td><td>U-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td></tr><tr><td>—</td><td>—</td><td>—</td><td>Sign</td><td> $2^{7}°C$ </td><td> $2^{6}°C$ </td><td> $2^{5}°C$ </td><td> $2^{4}°C$ </td></tr></table>

## 5.1.2 UPPER/LOWER/CRITICALTEMPERATURE LIMIT REGISTERS(T<sub>UPPER</sub>/T<sub>LOWER</sub>/T<sub>CRIT</sub>)

The MCP9808 has a 16-bit read/write Alert Output Temperature Upper Boundary register (T<sub>UPPER</sub>), a 16-bit Lower Boundary register (T<sub>LOWER</sub>) and a 16-bit Critical Boundary register $( \mathsf { T } _ { \mathsf { C R I T } } )$ that contain 11-bit data in two’s complement format (0.25°C). This data represents the maximum and minimum temperature boundary or temperature window that can be used to monitor ambient temperature. If this feature is enabled (Section 5.1.1 “Sensor Configuration Register (CONFIG)”) and the ambient temperature exceeds the specified boundary or window, the MCP9808 asserts an Alert output. (Refer to Section 5.2.3 “Alert Output Configuration”).

REGISTER 5-3: T<sub>UPPER</sub>/T<sub>LOWER</sub>/T<sub>CRIT</sub> UPPER/LOWER/CRITICAL TEMPERATURE LIMIT REGISTER (→ ADDRESS ‘0000 0010’b/‘0000 0011’b/‘0000 0100’b)<sup>(1)</sup>

<table><tr><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>R/W-0</td><td>U-0</td><td>U-0</td></tr><tr><td> $2^{3} \circ C$ </td><td> $2^{2} \circ C$ </td><td> $2^{1} \circ C$ </td><td> $2^{0} \circ C$ </td><td> $2^{-1} \circ C$ </td><td> $2^{-2} \circ C$ </td><td>—</td><td>—</td></tr><tr><td colspan="8">bit 7 bit 0</td></tr></table>

<table><tr><td colspan="4">Legend:</td></tr><tr><td>R = Readable bit</td><td>W = Writable bit</td><td colspan="2">U = Unimplemented bit, read as ‘0’</td></tr><tr><td>-n = Value at POR</td><td>‘1’ = Bit is set</td><td>‘0’ = Bit is cleared</td><td>x = Bit is unknown</td></tr></table>

bit 15-13 Unimplemented: Read as $" 0 "$  
bit 12 Sign: Sign bit

$$
0 = T _ {A} \geq 0 ^ {\circ} C
$$

1 = T<sub>A</sub> < 0°C

bit 11-2 T<sub>UPPER</sub>/T<sub>LOWER</sub>/T<sub>CRIT</sub>: Temperature Boundary bits

Temperature boundary trip data in two’s complement format.

bit 1-0 Unimplemented: Read as $" 0 "$

Note 1: This table shows two 16-bit registers for T<sub>UPPER</sub>, T<sub>LOWER</sub> and ${ \mathsf { T } } _ { \mathsf { C R I T } }$ located at ‘0000 0010b’, ‘0000 0011b’ and ‘0000 0100b’, respectively.

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F7f51fec1fd7ce72d97fe3f657292a3a81b111695842310e5a488ff5b716bf018.jpg)  
FIGURE 5-4: Timing Diagram for Writing and Reading from the T<sub>UPPER</sub> Register (see Section 4.0 “Serial Communication”).

## 5.1.3 AMBIENT TEMPERATUREREGISTER $( \mathsf { T } _ { \mathsf { A } } )$

The MCP9808 uses a band gap temperature sensor circuit to output analog voltage proportional to absolute temperature. An internal ΔΣ ADC is used to convert the analog voltage to a digital word. The digital word is loaded to a 16-bit read-only Ambient Temperature register $( \mathsf { T } _ { \mathsf { A } } )$ that contains 13-bit temperature data in two’s complement format.

The $\mathsf { T } _ { \mathsf { A } }$ register bits $( \mathsf { T } _ { \mathsf { A } } { < } 1 2 { : } 0 { > } )$ are double-buffered. Therefore, the user can access the register, while in the background, the MCP9808 performs an Analog-to-Digital conversion. The temperature data from the ΔΣ ADC is loaded in parallel to the $\mathsf { T } _ { \mathsf { A } }$ register at t<sub>CONV</sub> refresh rate.

In addition, the $\mathsf { T } _ { \mathsf { A } }$ register uses three bits $( \mathsf { T } _ { \mathsf { A } } { < } 1 5 ; 1 3 > )$ to reflect the Alert pin state. This allows the user to identify the cause of the Alert output trigger (see Section 5.2.3 “Alert Output Configuration”); bit 15 is set to $\mathrm { \ddot { 2 } \ i f \ \bar { T } _ { A } }$ is greater than or equal to ${ \mathsf { T } } _ { \mathsf { C R } \mathsf { I T } } ,$ bit 14 is set to ‘1’ if $\mathsf { T } _ { \mathsf { A } }$ is greater than ${ \mathsf { T } } _ { \mathsf { U P P E R } }$ and bit 13 is set to ‘1’ if $\mathsf { T } _ { \mathsf { A } }$ is less than $\mathsf { T } _ { \mathsf { L O W E R } } .$

The $\mathsf { T } _ { \mathsf { A } }$ register bit assignment and boundary conditions are described in Register 5-4.

REGISTER 5-4: $\mathsf { T } _ { \mathsf { A } } \mathsf { : }$ AMBIENT TEMPERATURE REGISTER (→ ADDRESS ‘0000 0101’b)<sup>(1)</sup>

<table><tr><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td></tr><tr><td> $T_A$  vs.  $T_{CRIT}^{(1)}$ </td><td> $T_A$  vs.  $T_{UPPER}^{(1)}$ </td><td> $T_A$  vs.  $T_{LOWER}^{(1)}$ </td><td>SIGN</td><td>27°C</td><td>26°C</td><td>25°C</td><td>24°C</td></tr><tr><td colspan="8">bit 15 bit 8</td></tr></table>

<table><tr><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td></tr><tr><td> $2^{3}$ °C</td><td> $2^{2}$ °C</td><td> $2^{1}$ °C</td><td> $2^{0}$ °C</td><td> $2^{-1}$ °C</td><td> $2^{-2}$ °C(2)</td><td> $2^{-3}$ °C(2)</td><td> $2^{-4}$ °C(2)</td></tr><tr><td colspan="8">bit 7 bit 0</td></tr></table>

```txt
Legend:
R = Readable bit    W = Writable bit    U = Unimplemented bit, read as '0'
-n = Value at POR    '1' = Bit is set    '0' = Bit is cleared    x = Bit is unknown

bit 15    TA vs. TCRIT bit(1)
    0 = TA < TCRIT
    1 = TA ≥ TCRIT

bit 14    TA vs. TUPPER bit(1)
    0 = TA ≤ TUPPER
    1 = TA > TUPPER

bit 13    TA vs. TLOWER bit(1)
    0 = TA ≥ TLOWER
    1 = TA < TLOWER

bit 12    SIGN bit
    0 = TA ≥ 0°C
    1 = TA < 0°C

bit 11-0    TA: Ambient Temperature bits(2)
    12-bit ambient temperature data in two's complement format.

Note 1: Bits 15, 14 and 13 are not affected by the status of the Alert Output Configuration (CONFIG<5:0> bits, Register 5-2).
2: Bits 2, 1 and 0 may remain clear at '0' depending on the status of the Resolution register (Register 5-7). The power-up default is 0.25°C/bit; bits 1 and 0 remain clear '0'.
```

## 5.1.3.1 $\mathsf { T } _ { \mathsf { A } }$ Bits to Temperature Conversion

To convert the $\mathsf { T } _ { \mathsf { A } }$ bits to decimal temperature, the upper three boundary bits $( \mathsf { T } _ { \mathsf { A } } { < } 1 5 ; 1 3 > )$ must be masked out. Then, determine the SIGN bit (bit 12) to check positive or negative temperature, shift the bits accordingly, and combine the upper and lower bytes of the 16-bit register. The upper byte contains data for temperatures greater than $+ 3 2 ^ { \circ } \mathsf { C }$ while the lower byte contains data for temperature less than $+ 3 2 ^ { \circ } \mathsf { C }$ , including fractional data. When combining the upper and lower bytes, the upper byte must be right-shifted by 4 bits (or multiply by $\dot { 2 } ^ { 4 } )$ and the lower byte must be leftshifted by 4 bits (or multiply by $2 ^ { - 4 } )$ . Adding the results of the shifted values provides the temperature data in decimal format (see Equation 5-1).

The temperature bits are in two’s compliment format, therefore, positive temperature data and negative temperature data are computed differently. Equation 5-1 shows the temperature computation. The example instruction code, outlined in Example 5-1, shows the communication flow; also see Figure 5-5 for the timing diagram.

## EQUATION 5-1: BYTES TO TEMPERATURE CONVERSION

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
Temperature $T_{A} \geq 0^{\circ}\mathrm{C}$ $T_{A} = (UpperByte \times 2^{4} + LowerByte \times 2^{-4})$  
Temperature $&lt; 0^{\circ}\mathrm{C}$ $T_{A} = 256 - (UpperByte \times 2^{4} + LowerByte \times 2^{-4})$  
Where:  
$\mathsf{T}_{\mathsf{A}} = \text{Ambient Temperature (°C)}$ $\text{UpperByte} = \mathsf{T}_{\mathsf{A}} \text{ bit 15 to bit 8}$ $\text{LowerByte} = \mathsf{T}_{\mathsf{A}} \text{ bit 7 to bit 0}$
</div>

## EXAMPLE 5-1: SAMPLE INSTRUCTION CODE

This example routine assumes the variables and $1 ^ { 2 } 0$ ™ communication subroutines are predefined (see Appendix A: “Source Code”):

```lisp
(i2c_start(); // send START command
i2c_write (AddressByte & 0xFE); //WRITE Command (see Section 4.1.4 "Address Byte")
//also, make sure bit 0 is cleared '0'
i2c_write(0x05); // Write TA Register Address
i2c_start(); //Repeat START
i2c_write(AddressByte | 0x01); // READ Command (see Section 4.1.4 "Address Byte")
//also, make sure bit 0 is Set '1'
UpperByte = i2c_read(ACK); // READ 8 bits
//and Send ACK bit
LowerByte = i2c_read(NAK); // READ 8 bits
//and Send NAK bit
i2c_stop(); // send STOP command
//Convert the temperature data
//First Check flag bits
if ((UpperByte & 0x80) == 0x80){
    //TA³ TCrit
}
if ((UpperByte & 0x40) == 0x40){
    //TA > TUPPER
}
if ((UpperByte & 0x20) == 0x20){
    //TA < TLower
}
UpperByte = UpperByte & 0x1F; //Clear flag bits
if ((UpperByte & 0x10) == 0x10){
    //TA < 0°C
    UpperByte = UpperByte & 0x0F; //Clear SIGN
Temperature = 256 - (UpperByte x 16 + LowerByte / 16);
} else
    //TA³ 0°C
Temperature = (UpperByte x 16 + LowerByte / 16);
//Temperature = Ambient Temperature (°C)
```

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2Ff7bc78d9294db885b067da4cf96950d907ec622f56e0f8e151a27ca0e0ffc32d.jpg)  
FIGURE 5-5: Timing Diagram for Reading +25.25°C Temperature from the $T _ { A }$ Register (see Section 4.0 “Serial Communication”).

## 5.1.4 MANUFACTURER ID REGISTER

This register is used to identify the manufacturer of the device in order to perform manufacturer-specific operation. The Manufacturer ID for the MCP9808 is 0x0054 (hexadecimal).

REGISTER 5-5: MANUFACTURER ID REGISTER – READ-ONLY (→ ADDRESS ‘0000 0110’b)

<table><tr><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td></tr><tr><td colspan="8">Manufacturer ID</td></tr><tr><td>bit 15</td><td></td><td></td><td></td><td></td><td></td><td></td><td>bit 8</td></tr></table>

<table><tr><td>R-0</td><td>R-1</td><td>R-0</td><td>R-1</td><td>R-0</td><td>R-1</td><td>R-0</td><td>R-0</td></tr><tr><td colspan="8">Manufacturer ID</td></tr><tr><td>bit 7</td><td></td><td></td><td></td><td></td><td></td><td></td><td>bit 0</td></tr></table>

<table><tr><td colspan="4">Legend:</td></tr><tr><td>R = Readable bit</td><td>W = Writable bit</td><td colspan="2">U = Unimplemented bit, read as ‘0’</td></tr><tr><td>-n = Value at POR</td><td>‘1’ = Bit is set</td><td>‘0’ = Bit is cleared</td><td>x = Bit is unknown</td></tr></table>

bit 15-0 Device Manufacturer Identification bits

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2Feae515aca4479d19ffab35efabf6f957e280b839bc79b7f2382a4f32c817552d.jpg)  
FIGURE 5-6: Timing Diagram for Reading the Manufacturer ID Register (see Section 4.0 “Serial Communication”).

## 5.1.5 DEVICE ID AND REVISIONREGISTER

The upper byte of this register is used to specify the device identification and the lower byte is used to specify the device revision. The Device ID for the MCP9808 is 0x04 (hex).

The revision begins with 0x00 (hex) for the first release, with the number being incremented as revised versions are released.

REGISTER 5-6: DEVICE ID AND DEVICE REVISION – READ-ONLY (→ ADDRESS ‘0000 0111’b)

<table><tr><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-1</td><td>R-0</td><td>R-0</td></tr><tr><td colspan="8">Device ID</td></tr><tr><td>bit 15</td><td></td><td></td><td></td><td></td><td></td><td></td><td>bit 8</td></tr></table>

<table><tr><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td><td>R-0</td></tr><tr><td colspan="8">Device Revision</td></tr><tr><td>bit 7</td><td></td><td></td><td></td><td></td><td></td><td></td><td>bit 0</td></tr></table>

<table><tr><td colspan="4">Legend:</td></tr><tr><td>R = Readable bit</td><td>W = Writable bit</td><td colspan="2">U = Unimplemented bit, read as ‘0’</td></tr><tr><td>-n = Value at POR</td><td>‘1’ = Bit is set</td><td>‘0’ = Bit is cleared</td><td>x = Bit is unknown</td></tr></table>

bit 15-8 Device ID: Bit 15 to bit 8 are used for device ID

bit 7-0 Device Revision: Bit 7 to bit 0 are used for device revision  
![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F3054837b8cd205414150db766bf90229d5de2368759bc19782ea2963dcaeb1bb.jpg)  
FIGURE 5-7: Timing Diagram for Reading Device ID and Device Revision Register (see Section 4.0 “Serial Communication”).

## 5.1.6 RESOLUTION REGISTER

This register allows the user to change the sensor resolution (see Section 5.2.4 “Temperature Resolution”). The POR default resolution is +0.0625°C. The selected resolution is also reflected in the Capability register (see Register 5-2).

REGISTER 5-7: RESOLUTION REGISTER (→ ADDRESS ‘0000 1000’b)

<table><tr><td>U-0</td><td>U-0</td><td>U-0</td><td>U-0</td><td>U-0</td><td>U-0</td><td>R/W-1</td><td>R/W-1</td></tr><tr><td>—</td><td>—</td><td>—</td><td>—</td><td>—</td><td>—</td><td colspan="2">Resolution</td></tr><tr><td colspan="8">bit 7 bit 0</td></tr></table>

<table><tr><td colspan="4">Legend:</td></tr><tr><td>R = Readable bit</td><td>W = Writable bit</td><td colspan="2">U = Unimplemented bit, read as ‘0’</td></tr><tr><td>-n = Value at POR</td><td>‘1’ = Bit is set</td><td>‘0’ = Bit is cleared</td><td>x = Bit is unknown</td></tr></table>

```txt
bit 7-2 Unimplemented: Read as '0'
bit 1-0 Resolution bits
00 = +0.5°C (tCONV = 30 ms typical)
01 = +0.25°C (tCONV = 65 ms typical)
10 = +0.125°C (tCONV = 130 ms typical)
11 = +0.0625°C (power-up default, tCONV = 250 ms typical)
```

![](./images/958200945e44e599aaf7c02ba25f7b8d18ecde7740c0e006230652417d213d88.jpg)  
FIGURE 5-8: Timing Diagram for Changing $T _ { A }$ Resolution to $+ O . O 6 2 5 ^ { \circ } C < O 0 O O 0 1 1 > b$ (see Section 4.0 “Serial Communication”).

## 5.2 SENSOR FEATURE DESCRIPTION

## 5.2.1 SHUTDOWN MODE

Shutdown mode disables all power consuming activities (including temperature sampling operations) while leaving the serial interface active. This mode is selected by setting bit 8 of CONFIG to ‘1’. In this mode, the device consumes I<sub>SHDN</sub>. It remains in this mode until bit 8 is cleared to ‘0’ to enable Continuous Conversion mode or until power is recycled.

The Shutdown bit (bit 8) cannot be set to ‘1’ while the CONFIG<7:6> bits (Lock bits) are set to ‘1’. However, it can be cleared to ‘0’ or returned to Continuous Conversion mode while locked.

In Shutdown mode, all registers can be read or written. However, the serial bus activity increases the shutdown current. In addition, if the device is in shutdown while the Alert pin is asserted, the device will retain the active state during shutdown. This increases the shutdown current due to the additional Alert output current.

## 5.2.2 TEMPERATURE HYSTERESIS(T<sub>HYST</sub>)

A hysteresis of $0 ^ { \circ } \mathsf { C } , \mathsf { \Gamma } + 1 . 5 ^ { \circ } \mathsf { C } , \mathsf { \Gamma } + 3 ^ { \circ } \mathsf { C }$ or $+ 6 ^ { \circ } \mathsf { C }$ can be selected for the T<sub>UPPER</sub>, T<sub>LOWER</sub> and T<sub>CRIT</sub> temperate boundaries, using bits 10 and 9 of CONFIG. The hysteresis applies for decreasing temperature only (hot to cold) or as temperature drifts below the specified limit.

The Hysteresis bits can not be changed if either of the Lock bits (CONFIG<7:6) are set to ‘1’.

The T<sub>UPPER</sub>, ${ \mathsf { T } } _ { \mathsf { L O W E R } }$ and ${ \sf T } _ { \mathsf { C R I T } }$ boundary conditions are described graphically in Figure 5-10.

## 5.2.3 ALERT OUTPUT CONFIGURATION

The Alert output can be enabled by using bit 3 of the CONFIG register (Alert Output Control bit) and can be configured as either a comparator output or as an Interrupt Output mode using bit 0 of CONFIG (Alert Output Mode bit). The polarity can also be specified as active-high or active-low using bit 1 of CONFIG (Alert Polarity bit). This is an open-drain output and requires a pull-up resistor.

When the ambient temperature increases above the critical temperature limit, the Alert output is forced to a comparator output (regardless of CONFIG<0>). When the temperature drifts below the critical temperature limit minus hysteresis, the Alert output automatically returns to the state specified by CONFIG<0> bit.

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F6ba105280022fa0669d064ca4402de10e36d78a5768574b4f8718cddf58f7faf.jpg)  
FIGURE 5-9: Active-Low Alert Output Configuration.

The status of the Alert output can be read using CONFIG<4> (Alert Output Status bit). This bit can not be set to ‘1’ in Shutdown mode.

Bits 7 and 6 of the CONFIG register can be used to lock the T<sub>UPPER</sub>, ${ \mathsf { T } } _ { \mathsf { L O W E R } }$ and ${ \sf T } _ { \mathsf { C R I T } }$ registers. These bits prevent false triggers at the Alert output due to an accidental rewrite to these registers.

The Alert output can also be used as a critical temperature output using bit 2 of CONFIG (Alert Output Select bit). When this feature is selected, the Alert output becomes a comparator output. In this mode, the interrupt output configuration (Alert Output Mode bit, CONFIG<0>) is ignored.

## 5.2.3.1 Comparator Mode

Comparator mode is selected using bit 0 of CONFIG. In this mode, the Alert output is asserted as active-high or active-low, using bit 1 of CONFIG. Figure 5-10 shows the conditions that toggle the Alert output.

If the device enters Shutdown mode with asserted Alert output, the output remains asserted during Shutdown mode. The device must be operating in Continuous Conversion mode for $\mathsf { t } _ { \mathsf { C O N V } }$ . The $\mathsf { T } _ { \mathsf { A } }$ vs. T<sub>UPPER</sub>, ${ \mathsf { T } } _ { \mathsf { L O W E R } }$ and ${ \sf T } _ { \mathsf { C R I T } }$ boundary conditions need to be satisfied in order for the Alert output to deassert.

Comparator mode is useful for thermostat type applications, such as turning on a cooling fan or triggering a system shutdown when the temperature exceeds a safe operating range.

## 5.2.3.2 Interrupt Mode

In Interrupt mode, the Alert output is asserted as activehigh or active-low (depending on the polarity configuration) when $\mathsf { T } _ { \mathsf { A } }$ drifts above or below T<sub>UPPER</sub> and ${ \mathsf { T } } _ { \mathsf { L O W E R } }$ limits. The output is deasserted by setting bit 5 (Interrupt Clear bit) of CONFIG. Shutting down the device will not reset or deassert the Alert output. This mode can not be selected when the Alert output is used as a critical temperature output only, using bit 2 of CONFIG.

This mode is designed for interrupt driven microcontroller-based systems. The microcontroller receiving the interrupt will have to Acknowledge the interrupt by setting bit 5 of the CONFIG register from the MCP9808.

## 5.2.4 TEMPERATURE RESOLUTION

The MCP9808 is capable of providing temperature data with +0.5°C to +0.0625°C resolution. The resolution can be selected using the Resolution register (Register 5-7). It is located at address, ‘00001000’b, and it provides measurement flexibility. A +0.0625°C resolution is set as a POR default by the factory.

TABLE 5-2: TEMPERATURECONVERSION TIME

<table><tr><td>Resolution</td><td>tCONV (ms)</td><td>Samples/sec (typical)</td></tr><tr><td>+0.5°C</td><td>30</td><td>33</td></tr><tr><td>+0.25°C</td><td>65</td><td>15</td></tr><tr><td>+0.125°C</td><td>130</td><td>7</td></tr><tr><td>+0.0625°C (Power-up Default)</td><td>250</td><td>4</td></tr></table>

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

<table><tr><td rowspan="2">Notes</td><td rowspan="2">Alert Output Boundary Conditions</td><td>Comparator</td><td>Interrupt</td><td>Critical</td><td colspan="3"> $T_A$ Bits</td></tr><tr><td colspan="3">Alert Output (Active-Low/High)</td><td>15</td><td>14</td><td>13</td></tr><tr><td>1</td><td> $T_A \geq T_{LOWER}$ </td><td>High/Low</td><td>Low/High</td><td>High/Low</td><td>0</td><td>0</td><td>0</td></tr><tr><td>2</td><td> $T_A < T_{LOWER} - T_{HYST}$ </td><td>Low/High</td><td>Low/High</td><td>High/Low</td><td>0</td><td>0</td><td>1</td></tr><tr><td>3</td><td> $T_A > T_{UPPER}$ </td><td>Low/High</td><td>Low/High</td><td>High/Low</td><td>0</td><td>1</td><td>0</td></tr><tr><td>4</td><td> $T_A \leq T_{UPPER} - T_{HYST}$ </td><td>High/Low</td><td>Low/High</td><td>High/Low</td><td>0</td><td>0</td><td>0</td></tr><tr><td>5</td><td> $T_A \geq T_{CRIT}$ </td><td>Low/High</td><td>Low/High</td><td>Low/High</td><td>1</td><td>1</td><td>0</td></tr><tr><td>6</td><td colspan="7">When  $T_A \geq T_{CRIT}$ , the Alert output is forced to Comparator mode and the CONFIG&lt;0&gt;(Alert Output Mode bit) is ignored until  $T_A < T_{CRIT} - T_{HYST}$ . In the Interrupt mode, if the interrupt is not cleared (bit 5 of CONFIG), as shown in the diagram at Note 6, then Alert will remain asserted at Note 7 until the interrupt is cleared by the controller.</td></tr><tr><td>7</td><td> $T_A < T_{CRIT} - T_{HYST}$ </td><td>Low/High</td><td>High/Low</td><td>High/Low</td><td>0</td><td>1</td><td>0</td></tr></table>

FIGURE 5-10: Alert Output Conditions.

## 5.3 Summary of Power-on Default

The MCP9808 has an internal Power-on Reset (POR) circuit. If the power supply voltage, $\mathsf { V } _ { \mathsf { D D } } .$ , glitches below the $\mathsf { V } _ { \mathsf { P O R } }$ threshold, the device resets the registers to the power-on default settings.

Table 5-3 shows the power-on default summary for the Temperature Sensor registers.

TABLE 5-3: POWER-ON RESET DEFAULTS

<table><tr><td colspan="2">Registers</td><td rowspan="2">Default Register Data (Hexadecimal)</td><td rowspan="2">Power-Up Default Register Description</td></tr><tr><td>Address (Hexadecimal)</td><td>Register Name</td></tr><tr><td>0x01</td><td>CONFIG</td><td>0x0000</td><td>Comparator ModeActive-Low OutputAlert and Critical OutputOutput DisabledAlert Not AssertedInterrupt ClearedAlert Limits UnlockedCritical Limit UnlockedContinuous Conversion0°C Hysteresis</td></tr><tr><td>0x02</td><td> $T_{UPPER}$ </td><td>0x0000</td><td>0°C</td></tr><tr><td>0x03</td><td> $T_{LOWER}$ </td><td>0x0000</td><td>0°C</td></tr><tr><td>0x04</td><td> $T_{CRIT}$ </td><td>0x0000</td><td>0°C</td></tr><tr><td>0x05</td><td> $T_A$ </td><td>0x0000</td><td>0°C</td></tr><tr><td>0x06</td><td>Manufacturer ID</td><td>0x0054</td><td>0x0054 (hex)</td></tr><tr><td>0x07</td><td>Device ID/Device Revision</td><td>0x0400</td><td>0x0400 (hex)</td></tr><tr><td>0x08</td><td>Resolution</td><td>0x03</td><td>0x03 (hex)</td></tr></table>

## NOTES:

## 6.0 APPLICATIONS INFORMATION

## 6.1 Layout Considerations

The MCP9808 does not require any additional components besides the master controller in order to measure temperature. However, it is recommended that a decoupling capacitor of 0.1 µF to 1 µF be used between the $\mathsf { V } _ { \mathsf { D D } }$ and GND pins. A high-frequency ceramic capacitor is recommended. It is necessary for the capacitor to be located as close as possible to the power and ground pins of the device in order to provide effective noise protection.

In addition, good PCB layout is key for better thermal conduction from the PCB temperature to the sensor die. For good temperature sensitivity, add a ground layer under the device pins, as shown in Figure 6-1.

## 6.2 Thermal Considerations

A potential for self-heating errors can exist if the MCP9808 SDA, SCL and Event lines are heavily loaded with pull-ups (high current). Typically, the self-heating error is negligible because of the relatively small current consumption of the MCP9808. A temperature accuracy error of approximately $+ 0 . 5 ^ { \circ } \mathsf { C }$ could result from self-heating if the communication pins sink/source the maximum current specified.

For example, if the event output is loaded to maximum I , Equation 6-1 can be used to determine the effect of self-heating.

<div class="mineru-algorithm" style="white-space: pre-wrap; font-family:monospace;">
EQUATION 6-1: EFFECT OF SELF-HEATING
$T_{\Delta} = \theta_{JA}(V_{DD} \bullet I_{DD} + V_{OL\_Alert} \bullet I_{OL\_Alert} + V_{OL\_SDA} \bullet I_{OL\_SDA})$
Where:
$T_{\Delta} = T_{J} - T_{A}$ $T_{J} = \text{Junction Temperature}$ $T_{A} = \text{Ambient Temperature}$ $\theta_{JA} = \text{Package Thermal Resistance}$ $V_{OL\_Alert, SDA} = \text{Alert and SDA Output } V_{OL} (0.4 V_{max})$ $I_{OL\_Alert, SDA} = \text{Alert and SDA Output } I_{OL} (3 mA_{max})$
</div>

$\mathsf { A t }$ room temperature $( { \mathsf { T } } _ { \mathsf { A } } = + 2 5 ^ { \circ } { \mathsf { C } } )$ with maximum $\mathsf { I } _ { \mathsf { D D } } = 5 0 0 \mu \mathsf { A }$ and $\mathsf { V } _ { \mathsf { D D } } = 3 . 6 \mathsf { V } ,$ the self-heating due to power dissipation $\mathsf { T } _ { \Delta } \mathsf { i } \mathsf { s } + 0 . 2 ^ { \circ } \mathsf { C }$ for the DFN-8 package and $+ 0 . 5 ^ { \circ } \mathsf { C }$ for the TSSOP-8 package.

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F648ecb460bd43e077de651f51568d6c05575e1517e518484044f63f9bb12f8e0.jpg)  
FIGURE 6-1: DFN Package Layout (Top View).

## NOTES:

## 7.0 PACKAGING INFORMATION

## 7.1 Package Marking Information

8-Lead DFN (2x3x0.9 mm)

![](./images/fcced61ef87d7ef0012dfc0ea6f18b9891495f58462d4c95a1cf825b866ec90a.jpg)  
Example

![](./images/6b459dbb05d5d742c715f42e87afaac5fda49821651dedd8dbf3f67d4aba8a67.jpg)

8-Lead MSOP (3x3 mm)

![](./images/107b2073ce67b41dc38504342b553494a6651d4f89602827738029e32cd19a54.jpg)  
Example

![](./images/a060802675455142ecb59957c0c6e27d6768e73ba1eb3f7b25d92ed362cfa535.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.

## -	    	 !""#\$%&

<sup></sup><sup></sup>' <sup>2</sup><sup>%</sup> & <sup>%</sup>! <sup>%</sup> <sup>\*</sup> <sup>"</sup>)<sup></sup> ' <sup></sup>   <sup>%</sup> <sup></sup><sup></sup> <sup></sup><sup>\*</sup><sup></sup><sup></sup> <sup>\$</sup><sup>%</sup><sup></sup><sup>% "</sup><sup>%</sup> <sup>%%</sup> 1<sup>33</sup>)))&<sup></sup><sup></sup> &<sup>3</sup> <sup>\*</sup><sup></sup>

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F2fef1a6e87c4098f474c077aa911fe49b2f7ac75232efdcb11a532ce6856c550.jpg)  
TOP VIEW

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

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

![](./images/7094cbe11980fb4b107545b10c5fb2df41612131426538b30e901f39be171031.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">8</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>0.80</td><td>0.90</td><td>1.00</td></tr><tr><td>Standoff</td><td>A1</td><td>0.00</td><td>0.02</td><td>0.05</td></tr><tr><td>Contact Thickness</td><td>A3</td><td colspan="3">0.20 REF</td></tr><tr><td>Overall Length</td><td>D</td><td colspan="3">2.00 BSC</td></tr><tr><td>Overall Width</td><td>E</td><td colspan="3">3.00 BSC</td></tr><tr><td>Exposed Pad Length</td><td>D2</td><td>1.30</td><td>-</td><td>1.55</td></tr><tr><td>Exposed Pad Width</td><td>E2</td><td>1.50</td><td>-</td><td>1.75</td></tr><tr><td>Contact Width</td><td>b</td><td>0.20</td><td>0.25</td><td>0.30</td></tr><tr><td>Contact Length</td><td>L</td><td>0.30</td><td>0.40</td><td>0.50</td></tr><tr><td>Contact-to-Exposed Pad</td><td>K</td><td>0.20</td><td>-</td><td>-</td></tr></table>

## '

<sup></sup> <sup></sup><sup></sup><sup></sup> !<sup></sup><sup></sup><sup>"</sup> #<sup>\$</sup> <sup>%</sup>! &'<sup>(</sup>!<sup>%</sup>&! <sup>%</sup><sup>(</sup> <sup></sup><sup>% "</sup>)<sup>%</sup><sup>%</sup> <sup></sup><sup>%</sup><sup> "</sup>

<sup></sup> <sup></sup><sup>\*</sup> &<sup></sup>  &  #  <sup>"</sup><sup>%</sup> <sup>(</sup> <sup>%</sup> <sup>"</sup>

<sup>+</sup> <sup></sup><sup>\*</sup> <sup></sup>  ) <sup></sup>!<sup></sup><sup>% "</sup>

<sup></sup> <sup>-</sup>&  <sup></sup><sup></sup><sup>"</sup><sup>%</sup><sup></sup> <sup></sup> <sup>,</sup><sup>-</sup><sup>.</sup>

<sup>/0</sup>1 <sup>/</sup> <sup></sup><sup>-</sup>&  <sup></sup><sup></sup>  <sup>%</sup><sup></sup> #<sup>%</sup><sup></sup>!  <sup></sup>))<sup>%</sup>!<sup>%</sup><sup>%</sup><sup></sup> 

<sup>,2</sup>1 <sup> \$</sup>   <sup>-</sup>&  <sup></sup>'! !<sup></sup>)<sup>%</sup>!<sup>%</sup><sup>%</sup><sup></sup>  '<sup>\$</sup><sup></sup><sup>\$</sup>&<sup>%</sup> !   <sup></sup>

<sup></sup><sup></sup> <sup></sup> <sup></sup><sup></sup> <sup>-</sup>)<sup></sup> <sup>0</sup>	<sup>+0</sup>

## 8-Lead Plastic Dual Flat, No Lead Package (MC) - 2x3x0.9mm Body [DFN]

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_2700bf4746e9810833a2/asset?path=images%2Ff7b767837064c57c8cdd5c400b4e2bcf7105d36cc3b17cdbe83294447c9738c6.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>Optional Center Pad Width</td><td>W2</td><td></td><td></td><td>1.45</td></tr><tr><td>Optional Center Pad Length</td><td>T2</td><td></td><td></td><td>1.75</td></tr><tr><td>Contact Pad Spacing</td><td>C1</td><td></td><td>2.90</td><td></td></tr><tr><td>Contact Pad Width (X8)</td><td>X1</td><td></td><td></td><td>0.30</td></tr><tr><td>Contact Pad Length (X8)</td><td>Y1</td><td></td><td></td><td>0.75</td></tr><tr><td>Distance Between Pads</td><td>G</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-2123B

## -	   ()" \* +	)%)\*	&

<sup></sup><sup></sup>' <sup>2</sup><sup>%</sup> & <sup>%</sup>! <sup>%</sup> <sup>\*</sup> <sup>"</sup>)<sup></sup> ' <sup></sup>   <sup>%</sup> <sup></sup><sup></sup> <sup></sup><sup>\*</sup><sup></sup><sup></sup> <sup>\$</sup><sup>%</sup><sup></sup><sup>% "</sup><sup>%</sup> <sup>%%</sup> 1<sup>33</sup>)))&<sup></sup><sup></sup> &<sup>3</sup> <sup>\*</sup><sup></sup>

![](https://www.embedr.app/api/datasheets/ds_2700bf4746e9810833a2/asset?path=images%2F2d93022922fc3394042c672637323b12b93d829a48cea3738be9ffd0ea04c424.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">8</td></tr><tr><td>Pitch</td><td>e</td><td colspan="3">0.65 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.22</td><td>-</td><td>0.40</td></tr></table>

'  
<sup></sup> <sup></sup><sup></sup><sup></sup> !<sup></sup><sup></sup><sup>"</sup> #<sup>\$</sup> <sup>%</sup>! &'<sup>(</sup>!<sup>%</sup>&! <sup>%</sup><sup>(</sup> <sup></sup><sup>% "</sup>)<sup>%</sup><sup>%</sup> <sup></sup><sup>%</sup><sup> "</sup>  
 -&   -","%!" &"\$  %!  "\$  %!   % # ".&&  "  
<sup>+</sup> <sup>-</sup>&  <sup></sup><sup></sup><sup>"</sup><sup>%</sup><sup></sup> <sup></sup> <sup>,</sup><sup>-</sup><sup>.</sup>  
<sup>/0</sup>1 <sup>/</sup> <sup></sup><sup>-</sup>&  <sup></sup><sup></sup>  <sup>%</sup><sup></sup> #<sup>%</sup><sup></sup>!  <sup></sup>))<sup>%</sup>!<sup>%</sup><sup>%</sup><sup></sup>   
<sup>,2</sup>1 <sup> \$</sup>   <sup>-</sup>&  <sup></sup>'! !<sup></sup>)<sup>%</sup>!<sup>%</sup><sup>%</sup><sup></sup>  '<sup>\$</sup><sup></sup><sup>\$</sup>&<sup>%</sup> !   <sup></sup>

<sup></sup><sup> </sup> <sup></sup><sup></sup> <sup>-</sup>)<sup></sup> <sup>0</sup>	<sup>/</sup>

## 8-Lead Plastic Micro Small Outline Package (MS) [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_2700bf4746e9810833a2/asset?path=images%2F669b3aecedd49ce34c5c022b61e879ad2104b559cce6166935bf2530700d34dd.jpg)  
RECOMMENDED LAND PATTERN  
Notes:

<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.65 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.85</td></tr><tr><td>Contact Pad Width (X8)</td><td>X1</td><td></td><td></td><td>0.45</td></tr><tr><td>Contact Pad Length (X8)</td><td>Y1</td><td></td><td></td><td>1.45</td></tr><tr><td>Distance Between Pads</td><td>G1</td><td>2.95</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>

1. Dimensioning and tolerancing per ASME Y14.5M  
BSC: Basic Dimension. Theoretically exact value shown without tolerances.

Microchip Technology Drawing No. C04-2111A

## NOTES:

```txt
Software License Agreement
The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Company’s customer, for use solely and exclusively with products manufactured by the Company.
The software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved. Any use in violation of the foregoing restrictions may subject the user to criminal sanctions under applicable laws, as well as to civil liability for the breach of the terms and conditions of this license.
THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
```

## APPENDIX A: SOURCE CODE

```c
/*****
FileName:    I2C.c
Processor:    PIC18 Microcontrollers
Complier:    Microchip C18 (for PIC18) or C30 (for PIC24)
Company:    Microchip Technology, Inc.

#include <p18cxx.h> // This code is developed for PIC18F2550
//It can be modified to be used with any PICmicro with MSSP module

/** PRIVATE PROTOTYPES ******************************/
void i2c_init(void);
void i2c_start(void);
void i2c_repStart(void);
void i2c_stop(void);
unsigned char i2c_write( unsigned char i2cWriteData );
unsigned char i2c_read( unsigned char ack );

/*****
* Function Name:    i2c_init
* Return Value:    void
* Parameters:    Enable SSP
* Description:    This function sets up the SSP1 module on a
*    PIC18CXXX device for use with a Microchip I2C
******************************/
void i2c_init(void) {

TRISBbits.TRISB0 = 1;    // Digital Output (make it input only when reading data)
TRISBbits.TRISB1 = 1;    // Digital Output

SSPCON1 = 0x28;    // enable I2C Master mode
SSPCON2 = 0x00;    // clear control bits
SSPSTAT = 0x80;    // disable slew rate control; disable SMBus

SSPADD = 19;    // set baud rate to 100 kHz (Fosc = 48 MHz)

PIR1bits.SSPIF = 0;
PIR2bits.BCLIF = 0;

SSPCON2bits.SEN = 0;    // force idle condition
}
```

## MCP9808

```c
/******************************************************************************************
* Function Name: i2c_start
* Return Value: void
* Parameters: void
* Description: Send I2C Start Command
*****************************************************************************************/
void i2c_start(void) {

    PIR1bits.SSPIF = 0; // clear flag
    while (SSPSTATbits.BF); // wait for idle condition

    SSPCON2bits.SEN = 1; // initiate START condition

    while (!PIR1bits.SSPIF); // wait for a flag to be set
    PIR1bits.SSPIF = 0; // clear flag
}

/******************************************************************************************
* Function Name: i2c_repStart
* Return Value: void
* Parameters: void
* Description: Resend I2C Start Command
*

*****************************************************************************************/
void i2c_repStart(void) {

    PIR1bits.SSPIF = 0; // clear flag
    while (SSPSTATbits.BF); // wait for idle condition

    SSPCON2bits.RSEN = 1; // initiate Repeated START condition

    while (!PIR1bits.SSPIF); // wait for a flag to be set
    PIR1bits.SSPIF = 0; // clear flag
}

/******************************************************************************************
* Function Name: i2c_stop
* Return Value: void
* Parameters: void
* Description: Send I2C Stop command
*

*****************************************************************************************/
void i2c_stop(void) {

    PIR1bits.SSPIF = 0; // clear flag
    while (SSPSTATbits.BF); // wait for idle condition

    SSPCON2bits.PEN = 1; // Initiate STOP condition

    while (!PIR1bits.SSPIF); // wait for a flag to be set
    PIR1bits.SSPIF = 0; // clear flag
}
```

```txt
/******************************************************************************************
* Function Name: i2c_write
* Return Value: Status byte for WCOL detection.
* Parameters: Single data byte for I2C2 bus.
* Description: This routine writes a single byte to the
* I2C2 bus.
******************************************************************************************/
unsigned char i2c_write( unsigned char i2cWriteData ) {
PIR1bits.SSPIF = 0; // clear interrupt
while ( SSPSTATbits.BF ) ; // wait for idle condition
SSPBUF = i2cWriteData;    // Load SSPBUF with i2cWriteData (the value to be transmitted)
while (!PIR1bits.SSPIF) ; // wait for a flag to be set
PIR1bits.SSPIF = 0; // clear flag
return ( !SSPCON2bits.ACKSTAT ); // function returns '1' if transmission is acknowledged
}
```

```txt
/******************************************************************************************
* Function Name: i2c_read
* Return Value: contents of SSP2BUF register
* Parameters: ack = 1 and nak = 0
* Description: Read a byte from I2C bus and ACK/NAK device
****************************************************************************************/
unsigned char i2c_read( unsigned char ack ) {
    unsigned char i2cReadData;

    PIR1bits.SSPIF = 0; // clear interrupt

    while ( SSPSTATbits.BF ) ; // wait for idle condition
    SSPCON2bits.RCEN = 1; // enable receive mode

    while (!PIR1bits.SSPIF) ; // wait for a flag to be set
    PIR1bits.SSPIF = 0; // clear flag

    i2cReadData = SSPBUF; // Read SSPBUF and put it in i2cReadData

    if ( ack ) { // if ack=1
    SSPCON2bits.ACKDT = 0; // then transmit an Acknowledge
    } else {
    SSPCON2bits.ACKDT = 1; // otherwise transmit a Not Acknowledge
    }

    SSPCON2bits.ACKEN = 1; // send acknowledge sequence

    while (!PIR1bits.SSPIF) ; // wait for a flag to be set
    PIR1bits.SSPIF = 0; // clear flag

    return( i2cReadData ); // return the value read from SSPBUF
}
```

## NOTES:

APPENDIX B: REVISION HISTORY

Revision A (October 2011)

• 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>X</td><td>-X</td><td>/XX</td></tr><tr><td>Device</td><td>Tape and Reel and/or Alternate Pinout</td><td>Temperature Range</td><td>Package</td></tr><tr><td>Device:</td><td colspan="3">MCP9808: Digital Temperature SensorMCP9808T: Digital Temperature Sensor (Tape and Reel)</td></tr><tr><td>Temperature Range:</td><td colspan="3">E = -40°C to +125°C</td></tr><tr><td>Package:</td><td colspan="3">MC = Plastic Dual Flat No-Lead (DFN) 2x3, 8-leadMS = Plastic Micro Small Outline (MSOP), 8-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 ISO/TS 16949:2009=

## 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, chipKIT, chipKIT logo, 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, 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.

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

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

Printed on recycled paper.

## ISBN: 978-1-61341-739-3

Microchip received ISO/TS-16949:2009 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://www.microchip.com/ support 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

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

Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453

## 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-8569-7000 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 - Hangzhou Tel: 86-571-2819-3187 Fax: 86-571-2819-3189

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-5778-366 Fax: 886-3-5770-955

Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-330-9305

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

## Thailand - Bangkok

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