±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°C, +0.25°C, +0.125°C, +0.0625°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
2
C™/SMBus Compatible
• Available Packages: 2x3 DFN-8, MSOP-8
Typical Applications
• General Purpose
• Industrial Applic atio ns
• Industrial Freezers and Refrigerators
• Food Processing
• Personal Computers and Servers
• PC Peripherals
• Consumer Electronics
• Handheld/Portable Devices
Temperature Accuracy
40%
TA= -20°C, 25°C, 85°C, 100°C
= 3.3V
V
DD
854 units
30%
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
2
C compatible se rial interfa ce, 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.
Package Types
8-Pin 2x3 DFN*
SDAV
1
SCL
2
Alert
3
GND
4
* Includes Exposed Thermal Pad (EP); see Table 3-1 .
†Notice: S tress es ab ove th ose li ste d under “Maxim um
ratings” may ca use permanen t damage to the de vice.
This is a stress rating only and functional operation of
the device at tho se or any oth er conditions ab ove 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
Electrical Specifications: Unless otherwise indicated, VDD = 2.7V to 5.5V, GND = Ground and
= -40°C to +125°C.
T
A
ParametersSymMinTypMaxUnitConditions
Temperature Sensor Accuracy
-20°C < T
-40°C < TA ≤ +125°C -1.0±0.25+1.0°CVDD = 3.3V
Temperature Conversion Time
0.5°C/bitt
0.25°C/bit—65—ms15s/sec (typical)
0.125°C/bit—130—ms7s/sec (typical)
0.0625°C/bit—250—ms4s/sec (typical)
Power Supply
Operating Voltage RangeV
Operating CurrentI
Shutdown CurrentI
Power-on Reset (POR)V
Power Supply RejectionΔ°C/ΔV
Electrical Specifications: Unless otherwise indicated, VDD = 2.7V to 5.5V, TA = -40°C to +125°C, GND = Ground
= 80 pF. (Note 1)
and C
L
ParametersSymMinMaxUnitsConditions
2-Wire SMBus/Standard Mode I
Serial Port Clock Frequencyf
Low Clockt
High Clockt
Rise Timet
Fall Timet
Data in Setup Timet
Data In Hold Timet
Data Out Hol d Timet
Start Condition Setup Timet
Start Condition Hold Timet
Stop Condition Setup Timet
Bus Freet
Time-out t
Bus Capacitive LoadC
Note 1: All values referred to V
2: If t
LOW
> t
OUT
or t
is required for communication.
3: This device can be used in a Standard mode I
be met. This device does not stretch the SCL Low time.
4: As a transmitter, the device provides internal minimum delay time, t
region (min. 200 ns) of the falling edge of SCL, t
conditions.
5: As a receiver, SDA should not be sampled at the falling edge of SCL. SDA can transition t
SCL toggles Low.
2
C™ Compatible Interface (Note 1)
SC
LOW
HIGH
R
F
SU-DI
HD-DI
HD-DO
SU-START
HD-START
SU-STOP
B-FREE
OUT
b
HIGH
and V
IL MAX
> t
, the temperature senso r I2C interface will time-out. A Repeat Start comm and
Note:The graphs and t ables provid ed follo wing this no te are a st atis tical summa ry bas ed on a lim ited nu mber 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, VDD = 2.7V to 5.5V, GND = Ground, SDA/SCL pulled-up to VDD and
T
= -40°C to +125°C.
A
1.0
0.5
V
= 3.3V
DD
854 units at -20°C, 25°C, 85°C, 100°C
240 units at -40°C, 125°C
The descriptions of the pins are listed in Table 3-1.
TABLE 3-1:PIN FUNCTION TABLE
DFNMSOPSymbolPin Function
11SDASerial Data Line
22SCLSerial Clock Line
33AlertTemperature Alert Output
44 GNDGround
55A2Slave Address
66A1Slave Address
77A0Slave Address
88 V
9—EPExposed Thermal Pad (EP); must be connected to GND
DD
Power Pin
MCP9808
3.1Serial 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.2Serial 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.3Temperature 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.4Ground Pin (GND)
The GND pin is the system ground pin.
3.5Address Pins (A0, A1, A2)
These pins are device address input pins.
The address pins correspond to the Least Significant
bits (LSbs) of th e ad dre ss bi t s a nd the Mo st Significant
bits (MSbs): A6, A5, A4, A3. This is illustrated in
Table 3-2.
TABLE 3-2:MCP9808 ADDRESS BYTE
DeviceAddress CodeSlave
Address
A6 A5 A4 A3A2A1 A0
(1)
MCP98080011x
MCP9808
Note 1: User-selectable address is shown by ‘x’.
(2)
1001xxx
A2, A1 and A0 must match the
corresponding device pin configuration.
2: Contact factory for this address code.
xx
3.6Power Pin (VDD)
VDD is the power pin. The operating voltage range, as
specified in the DC electrical specification table, is
applied on this pin.
3.7Exposed 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 syst em gro und on the Pri nted
Circuit Board (PCB).
4.12-Wire Standard Mode I2C™
Protocol Compatible Interface
The MCP9808 Serial Clock (SCL) input and the
bidirectional Serial Data (SDA) line form a 2-wire
bidirectional, Standard mode, I
communicati on po rt (re fer t o 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
TermDescription
MasterThe device that controls the serial bus,
typically a microcontroller.
SlaveThe device addressed by the master,
such as the MCP9808.
Transmitter Device sending data to the bus.
ReceiverDevice receiving data from the bus.
STARTA unique signal from the master to
initiate serial interface with a slave.
STOPA unique signal from the master to
terminate serial interface from a slave.
Read/Write A read or write to the MCP9808
registers.
ACKA receiver Acknowledges (ACK) the
reception of eac h byte by pol ling the bu s.
NAKA receive r Not-Acknowledges (NAK) or
releases the bus to show End-of-Data
(EOD).
BusyCommunication is not possible
because the bus is in use.
Not BusyThe bus is in the Idle state; both SDA
and SCL remain high.
Data ValidSDA must remain stable before SCL
becomes high in order for a data bit to
be considered valid. During normal
data transfers, SDA only cha nges st a te
while SCL is low.
2
C compatible
4.1.1DATA 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 receptio n of eac h byte . Each a ccess mus t
be terminated by a Stop condition (STOP).
Repeated communication is initiated after t
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 spec ified using the pointer for the initi al 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 spec ified re giste r (repeate d point er
specification is not necessary).
B-FREE
.
4.1.2MASTER/SLAVE
The bus is controlled by a master device (typically a
microcontroller) that controls the bus access and
generates the S tart and Stop co nditions. The M CP9808
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.3START/STOP CONDITION
A high-to- low trans ition of t he SDA line (while S CL 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.
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 V
‘1’ or GND
DD
‘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 ‘1’ commands a read
operation, while ‘0’ commands a write operation (see
Figure 4-1).
Address Byte
SCL
SDA
See Table 3-2.
123456789
011A2A1A0
0
Start
Address
Code
Slave
Address
R/W
MCP9808 Response
A
C
K
FIGURE 4-1:Device Addressing.
4.1.5DATA VALID
After the Start condition, each bit of data in the
transmission needs to be s ettled for a tim e specified b y
t
SU-DATA
before SCL t ogg les from low -to- hig h (s ee t he
Sensor Serial Interface T iming Specifications sect ion).
4.1.6ACKNOWLEDGE (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 d ev ice pulls down the SDA l in e f or
t
SU-DATA
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.
H-DATA
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.7TIME-OUT
If the SCL stays low or high for the time specified by
t
, the MCP9808 temperature sensor resets the
OUT
serial interface. T his di ct ates th e min imum clock spee d
as outlined in the specification.
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 reg ister and Device Ide ntification register .
The Te mperature register is read-only, used to access
the ambient temperature data. This register is doublebuffered and it is updated every t
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
REGISTER 5-1:REGISTER POINTER (WRITE-ONLY)
W-0W-0W-0W-0W-0W-0W-0W-0
————Pointer bits
bit 7bit 0
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
-n = Value at POR‘ 1’ = Bit is set‘0’ = Bit is clearedx = Bit is unknown
. The T em perature
CONV
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 po inter. However, the four Least
Significant bit s are used as pointers and all u nused bit s
(Register Pointer<7:4>) need to be cleared or set to ‘0’.
Register 5-1 describes the pointer or the address of
each register.
bit 7-4W: Writable bits
Write ‘0’.
Bits 7-4 must alway s be cleare d or wr itten to ‘ 0’. T his d evice ha s add itiona l regi ste rs tha t are re se rved
for test and calibration. If these registers are accessed, the device may not perform according to the
specification.
bit 3-0Pointer bits
0000 = RFU, Reserved for Future Use (Read-Only register)
0001 = Configuration register (CONFIG)
0010 = Alert Temperature Upper Boundary Trip register (T
0011 = Alert Temperature Lower Boundary Trip register (T
0100 = Critical Temperature Trip register (T
0101 = Temperature register (T
0110 = M anufacturer ID register
0111 = Device ID/Revision register
1000 = Resolution register
1xxx = Reserved
Note 1: Some registers contain calibration codes and should not be accessed.