* Includes Exposed Thermal Pad (EP); see Tab le 3 -1 .
SCL
Event
SDA
A1
A2
1
2
3
4
8
7
6
5
GND
A0V
DD
EP
9
±1°C Accurate, 1.8V Digital Temperature Sensor
Features
•1MHz, 2-wire I2C™ Interface
• 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
• Specified V
Range: 1.7V to 3.6V
DD
• Operating Current: 100 µA (typical)
• Available Package: 8-Pin TDFN
Temperature Sensor Features
• Temperature-to-Digital Converter (°C)
• Sensor Accuracy (Grade B):
- ±0.2°C/±1°C (typ./max.)
+75°C to +95°C
- ±0.5°C/±2°C (typ./max.) +40°C to +125°C
- ±1°C/±3°C (typ./max.)
-40°C to +125°C
Typical Applications
• Temperature sensing for Solid State Drive (SSD)
• General Purpose Temperature Datalog
• General Purpose
• Industrial Applications
• Industrial Freezers and Refrigerators
• Food Processing
• Personal Computers and Servers
• PC Peripherals
• Consumer Electronics
• Handheld/Portable Devices
Description
Microchip Technology Inc.’s MCP9844 digital
temperature sensor converts temperature from -40°C
to +125°C to a digital word. It provides an accuracy of
±0.2°C/±1°C (typical/maximum) from +75°C to +95°C
with an operating voltage of 1.7V to 3.6V.
The MCP9844 digital temperature sensor comes with
user programmable registers that provide flexibility for
temperature sensing applications. The registers allow
user selectable settings such as Shutdown or LowPower modes, and the specification of temperature
event boundaries. When the temperature changes
beyond the specified event boundary limits, the
MCP9844 outputs an Alert signal at the Event pin. The
user has the option of setting the temperature event
output signal polarity as either an active-low or activehigh comparator output for the thermostat operation, or
as a temperature event interrupt output for
microprocessor-based systems.
†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
Electrical Specifications: Unless otherwise indicated, V
= -40°C to +125°C.
and T
A
ParametersSymMinTypMaxUnitConditions
Temperature Sensor Accuracy
+75°C < T
+95°C T
A
ACY
-1.0±0.2+1.0°CVDD=1.8V
+40°C < TA +125°C -2.0±0.5+2.0°C
-40°C < T
+125°C -3.0±1+3.0°C
A
Temperature Conversion Time
0.5°C/bitt
CONV
—30 — ms
0.25°C/bit—65125ms 15 s/sec (typical) (See Section 5.2.4)
Electrical Specifications: Unless otherwise indicated, GND = Ground, T
Note 1.
V
= 1.7V to 3.6VVDD= 2.2V to 3.6V
DD
100 kHz400 kHz1000 kHz
ParametersSymMinMax
2-Wire I
Serial port frequency (Note 2, 4)f
Low Clock (Note 2)t
High Clockt
Rise time
Fall time (Note 5)t
Data in Setup time (Note 3)t
Data in Hold time (Note 6)t
Data out Hold time (Note 4)t
Start Condition Setup timet
Start Condition Hold timet
Stop Condition Setup timet
Bus Idle/Freet
Time outt
Bus Capacitive loadC
Note 1:All values referred to V
2
C™ Interface
SCL
LOW
SU:DAT
HD:DO
SU:STA
HD:STA
SU:STO
B-FREE
IL MAX
HIGH
R
F
HD:DI
OUT
b
and V
(Note 5)t
> t
2:If t
LOW
, the temperature sensor I2C™ interface will time out. A Repeat Start command is required
OUT
1010010400101000kHz
4700—1300—500—ns
4000—600—260—ns
—100020300—120ns
2030020300—120ns
250—100—50—ns
0— 0—0—ns
2009002009000350ns
4700—600—260—ns
4000—600—260—ns
4000—600—260—ns
4700—1300—500—ns
253525352535ms
—— —400—100pf
levels.
IH MIN
for communication.
3:This device can be used in a Standard mode I
2
C-bus system, but the requirement t
be met. This device does not stretch SCL Low period. It outputs the next data bit to the SDA line within t
MAX
+ t
SU:DAT MIN
= 1000 ns + 250 ns = 1250 ns (according to the Standard-mode I2C-bus specification)
before the SCL line is released.
4:As a transmitter, the device provides internal minimum delay time t
region (min. 200 ns) of the falling edge of SCL t
to avoid unintended generation of Start or Stop
F MAX
conditions.
5:Characterized but not production tested.
6:As a receiver, SDA should not be sampled at the falling edge of SCL. SDA can transition t
SCL toggles Low.
= -40°C to +125°C, and CL = 80 pF
A
MinMaxMinMaxUnits
HD:DAT MIN
250 ns must
SU:DAT
to bridge the undefined
0 ns after
HD:DI
R
TIMING DIAGRAM
DS20005192A-page 4 2013 Microchip Technology Inc.
Page 5
MCP9844
-1.0
0.0
1.0
2.0
3.0
rature Accuracy (°C)
VDD= 1.7 V to 3.6 V
16 units
Spec. Limits
+Std. Dev.
verage
-3.0
-2.0
-40 -20020406080 100 120
Tem p
e
TA(°C)
g
-Std. Dev.
25%
50%
75%
100%
Occurrences
TA= +85 °C
V
DD
= 1.7 V - 3.6 V
16 units
0%
-1.00
-0.75
-0.50
-0.25
0.00
0.25
0.50
0.75
1.00
Temperature Accuracy (°C)
25%
50%
75%
100%
Occurrences
TA= +25 °C
V
DD
= 1.7 V - 3.6 V
16 units
0%
-1.00
-0.75
-0.50
-0.25
0.00
0.25
0.50
0.75
1.00
Temperature Accuracy (°C)
100
125
150
I
DD
(μA)
50
75
-40 -20020406080 100 120
T
A
(°C)
0.50
0.75
1.00
I
SHDN
(μA)
0.00
0.25
-40 -20020406080 100 120
T
A
(°C )
1
1.2
1.4
1.6
1.8
V
POR
(V)
Falling V
DD
Rising V
DD
0.6
0.8
-40 -20020406080100 120
T
A
(°C)
2.0TYPICAL 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, V
= -40°C to +125°C.
T
A
A
= 1.7V to 3.6V, GND = Ground, SDA/SCL pulled-up to VDD, and
FIGURE 2-6:Power-on Reset Threshold
Voltage Vs. Temperature.
Page 6
MCP9844
0.2
0.3
0.4
nt & SDA V
OL
(V)
SDA, IOL= 20 mA
V
DD
= 2.2 V to 3.6 V
0
0.1
-40 -20020406080 100 120
Ev
e
TA(°C)
Event, IOL= 3 mA
75
100
125
150
175
200
t
CONV
(ms)
0.0625 °C/LSb
0.125 °C/LSb
0
25
50
-40 -20020406080 100 120
T
A
(°C)
0.25 °C/LSb
0.5 °C/LSb
-
0.0
0.5
1.0
lized Temp. Error (°C)
°C/VDD, VDD= 2.5V + 100 mV
PP (AC)
TA= 25 °C, 0.0625 °C/LSb
-1.0
0.5
1,00010,000100,0001,000,000
Norm
a
Frequency (Hz)
1M1M1M1M
No decoupling capacitor
1k10k100k
1M
30
40
50
SDA I
OL
(mA)
VOL= 0.6V
10
20
-40 -20020406080100 120
T
A
(°C)
-1.0
0.0
1.0
2.0
3.0
ized Temp. Error (°C)
VDD= 1.7 V
V
DD
= 3.6 V
-3.0
-2.0
-40 -20020406080100 120
Norma
l
TA(°C)
30
35
Bus t
OUT
(ms)
25
-40 -20020406080100 120
I
2
C
TA(°C)
Note: Unless otherwise indicated, V
= -40°C to +125°C.
T
A
= 1.7V to 3.6V, GND = Ground, SDA/SCL pulled-up to VDD, and
DD
FIGURE 2-7:Event Output and SDA VOL
Vs. Temperature.
FIGURE 2-10:SDA IOL Vs. Temperature.
FIGURE 2-8:Temperature Conversion
Rate Vs. Temperature.
FIGURE 2-9:Power Supply Noise
Rejection: Normalized Temperature Vs. Power
Supply Frequency.
DS20005192A-page 6 2013 Microchip Technology Inc.
FIGURE 2-11:Line Regulation: Change in
Temperature Accuracy Vs. Change in V
DD
.
FIGURE 2-12:I2C™ Protocol Time-out Vs.
Temperature.
Page 7
3.0PIN DESCRIPT ION
The descriptions of the pins are listed in Tab le 3 -1 .
TABLE 3-1:PIN FUNCTION TABLES
MCP9844
MCP9844
TDFN
1A0Slave Address
2A1Slave Address
3A2Slave Address
4GNDGround
5SDASerial Data Line
6SCLSerial Clock Line
7EventTemperature Alert Output
8V
9EPExposed Thermal Pad (EP); can be connected to GND.
3.1Address Pins (A0, A1, A2)
These pins are device address input pins.
The address pins correspond to the Least Significant
bits (LSb) of the address bits. The Most Significant bits
(MSb) are A6, A5, A4, A3. Refer to Ta bl e 3 -2 .
TABLE 3-2:MCP9844 ADDRESS BYTE
DeviceAddress CodeSlave
Sensor0011X1X1X
Note 1:User selectable address is shown by X,
where X is ‘1’ or ‘0’ for V
respectively
SymbolDescription
DD
Power Pin
3.4Serial 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.5Temperature Alert, Open-Drain
Output (Event)
Address
A6 A5 A4A3 A2 A1A0
and GND,
DD
1
The MCP9844 temperature Event output pin is an
open-drain output. The device outputs a signal when
the ambient temperature goes beyond the user pro-
grammed temperature limit. (See Section 5.2.3
“Event Output Configuration”.)
3.6Power Pin (VDD)
All address pins have an internal pull-down resistor.
3.2Ground Pin (GND)
The GND pin is the system ground pin.
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)
3.3Serial Data Line (SDA)
The 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”.)
There is an internal electrical connection between the
Exposed Thermal Pad (EP) and the GND pin; they can
be connected to the same potential on the Printed Circuit Board (PCB). This provides better thermal conduction from the PCB to the die.
DS20005192A-page 8 2013 Microchip Technology Inc.
Page 9
MCP9844
123456789
SCL
SDA
0 0 1 1 A2 A1 A0
Start
Address Byte
Slave
Address
R/W
MCP9844 Response
Code
Address
A
C
K
4.0SERIAL COMMUNICATION
4.12-Wire Standard Mode I2C™
Protocol-Compatible Interface
The MCP9844 serial clock input (SCL) and the
bidirectional serial data line (SDA) form a 2-wire
bidirectional Standard mode I
communication port (refer to the Input/Output Pin DC
Characteristics table and the Serial Interface Timi ng
Specifications table).
The following MCP9844 bus protocol is defined in
Table 4-1.
TABLE 4-1:MCP9844 SERIAL BUS
PROTOCOL DESCRIPTIONS
TermDescription
MasterThe device that controls the serial bus,
typically a microcontroller.
SlaveThe device addressed by the master,
such as the MCP9844.
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 MCP9844
registers.
ACKA receiver Acknowledges (ACK) the
reception of each byte by polling the
bus.
NAKA receiver 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 changes state
while SCL is low.
2
C compatible
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 MCP9844 retain the
previously selected register. Therefore, they output
data from the previously specified register (repeated
pointer specification is not necessary).
4.1.2MASTER/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 MCP9844
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 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 lowto-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 MCP9844 releases the bus. All data
transfers are ended by a Stop condition from the
master.
4.1.4ADDRESS BYTE
Following the Start condition, the host must transmit an
8-bit address byte to the MCP9844. The address for
the MCP9844 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
transmitted in the serial bit stream must match the
selected address for the MCP9844 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).
‘1’ or GND ‘0’. The 7-bit address
DD
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 reception of each byte. Each access must
be terminated by a Stop condition (STOP).
After the Start condition, each bit of data in the
transmission needs to be settled for a time specified by
t
SU-DATA
Serial Interface Timing Specifications table).
before SCL toggles from low-to-high (see
4.1.6ACKNOWLEDGE (ACK/NAK)
Each receiving device, when addressed, is obliged to
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
SU-DATA
the master. SDA also needs to remain pulled down for
t
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.
before the low-to-high transition of SCL from
after a high-to-low transition of SCL.
4.1.7TIME OUT (T
If the SCL stays low or high for time specified by t
the MCP9844 resets the serial interface. This dictates
the minimum clock speed as specified in the specification.
OUT
)
OUT
,
DS20005192A-page 10 2013 Microchip Technology Inc.
Page 11
MCP9844
Clear Event
0.5°C/bit
0.25°C/bit
0.125°C/bit
0.0625°C/bit
Temperature
T
UPPER
T
LOWER
Configuration
ADC
Band-Gap
Temperature
Sensor
Event Status
Output Control
Critical Event only
Event Polarity
Event Comp/Int
T
CRIT
Capability
Temp. Range
Accuracy
Output Feature
Register
Pointer
Critical Trip Lock
Alarm Win. Lock Bit
Shutdown
Hysteresis
Manufacturer ID
Resolution
Device ID/Rev
Selected Resolution
Standard I2C
Interface
A0
A1
A2
Event
SDA
SCL
V
DD
GND
I2C™ Bus Time-out
Shutdown Status
MCP9844 Temperature Sensor
5.0FUNCTIONAL DESCRIPTION
The MCP9844 temperature sensors consist of a bandgap type temperature sensor, a Delta-Sigma Analog-toDigital Converter ( ADC), user programmable
registers and a 2-wire I
2
C protocol compatible serial
interface. Figure 5-1 shows a block diagram of the
register structure.
The MCP9844 device has several registers that are
user accessible. These registers include the Capability
register, Configuration register, Event Temperature
Upper-Boundary and Lower-Boundary Trip registers,
Critical Temperature Trip register, Temperature
register, Manufacturer Identification register and
Device Identification register.
The Temperature register is read-only and is used to
access the ambient temperature data. The data is
loaded in parallel to this register after t
Temperature Upper-Boundary and Lower-Boundary
Trip registers are read/writes. If the ambient
temperature drifts beyond the user-specified limits, the
MCP9844 device outputs a signal using the Event pin
(refer to Section 5.2.3 “Event Output
Configuration”). In addition, the Critical Temperature
Trip register is used to provide an additional critical
temperature limit.
CONV
. The Event
The Capability register is used to provide bits
describing the MCP9844’s capability in measurement
resolution, measurement range and device accuracy.
The device Configuration register provides access to
configure the MCP9844’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 MCP9844 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
(bits 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)
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
bit 7-4Writable Bits: Write ‘0’
bit 3-0Pointer Bits:
0000 =Capability register
0001 =Configuration register (CONFIG)
0010 =Event Temperature Upper-Boundary Trip register (T
0011 =Event Temperature Lower-Boundary Trip register (T
0100 =Critical Temperature Trip register (T
0101 =Temperature register (T
0110 =Manufacturer ID register
0111 =Device ID/Revision register
1000 =Reserved
1001 =Resolution register
1XXX =Reserved (This device has additional registers that are reserved for test and calibration. If
these registers are accessed, the device may not perform according to the specification.)
)
A
CRIT
)
UPPER
LOWER
)
)
DS20005192A-page 12 2013 Microchip Technology Inc.
Page 13
MCP9844
TABLE 5-1:BIT ASSIGNMENT SUMMARY FOR ALL TEMPERATURE SENSOR REGISTERS
(SEE SECTION 5.3)
Register
Pointer
(Hex)
MSB/
LSB
76543210
0x00MSB00000000
LSBSHDN Statust
Range1ResolutionRangeAccuracyEvent
OUT
0x01MSB00000HysteresisSHDN
LSBCrt LocWin LocInt ClrEvt Stat Evt Cnt Evt SelEvt PolEvt Mod
This is a read-only register used to identify the
temperature sensor capability. For example, the
MCP9844 device is capable of providing temperature
at 0.25°C resolution, measuring temperature below
and above 0°C, providing ±1°C and ±2°C accuracy
over the active and monitor temperature ranges
(respectively) and providing user programmable
temperature event boundary trip limits. Register 5-2
describes the Capability register. These functions are
described in further detail in the following sections.
The MCP9844 device 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 event output boundary hysteresis, device Shutdown or Low-Power mode,
temperature boundary and critical temperature lock,
and temperature event output enable/disable. In addition, the user can select the event output condition (output set for T
or T
only), read event output status and set event
CRIT
UPPER
and T
temperature boundary
LOWER
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 (TA) holds the previous
successfully converted temperature data (see
Section 5.2.1 “Shutdown Mode”). Bits 7 and 6 are
used to lock the user-specified boundaries T
T
LOWER
and T
to prevent an accidental rewrite.
CRIT
UPPER
Bits 5 through 0 are used to configure the temperature
Event output pin. All functions are described in
Register 5-3 (see Section 5.2.3 “Event Output
Configuration”).
output polarity and mode (Comparator Output or
Interrupt Output mode).
The temperature hysteresis bits 10 and 9 can be used
to prevent output chatter when the ambient
temperature gradually changes beyond the user
In shutdown, all power-consuming activities are disabled, though all registers can be written to or read.
Event output will de-assert.
This bit cannot be set ‘1’ when either of the lock bits is set (bit 6 and bit 7). However, it can be cleared
‘0’ for Continuous Conversion while locked (Refer to Section 5.2.1 “Shutdown Mode”).
DS20005192A-page 16 2013 Microchip Technology Inc.
When enabled, this bit remains set ‘1’ or locked until cleared by internal reset (Section 5.3 “Summary
of Power-on Default”). This bit does not require a double-write.
This bit can be programmed in Shutdown mode.
bit 6T
and T
UPPER
0 =Unlocked. T
1 =Locked. T
Window Lock Bit (Win. Lock):
LOWER
UPPER
UPPER
and T
and T
LOWER
registers can be written. (power-up default)
LOWER
registers can not be written
When enabled, this bit remains set ‘1’ or locked until cleared by power-on Respell (Section 5.3 “Sum-
mary of Power-on Default”). This bit does not require a double-write.
This bit can be programmed in Shutdown mode.
bit 5Interrupt Clear (Int. Clear) Bit:
0 =No effect (power-up default)
1 =Clear interrupt output. When read this bit returns ‘0’
This bit clears the Interrupt flag which de-asserts event output. In Shutdown mode, the event output is
always de-asserted. Therefore, setting this bit in Shutdown mode clears the interrupt after the device
returns to normal operation.
bit 4Event Output Status (Event Stat.) Bit:
0 =Event output is not asserted by the device (power-up default)
1 =Event output is asserted as a comparator/Interrupt or critical temperature output
In Shutdown mode this bit will clear because event output is always de-asserted in shutdown mode.
The MCP9844 device 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 converter resolution is set to 0.25°C + sign (11-bit data).
The digital word is loaded to a 16-bit read-only Ambient
Temperature register
)
A
(TA) that contains 11-bit
In addition, the TA register uses three bits (bits 15, 14
and 13) to reflect the Event pin state. This allows the
user to identify the cause of the event output trigger
(see Section 5.2.3 “Event Output Configuration”);
bit 15 is set to ‘1’ if T
bit 14 is set to ‘1’ if T
is set to ‘1’ if T
The T
register bit assignment and boundary
A
is greater than or equal to T
A
is greater than T
A
is less than T
A
LOWER
UPPER
.
CRIT
and bit 13
conditions are described in Register 5-5.
temperature data in two’s complement format.
register bits (bits 12 through 0) are double-buff-
The T
A
ered. Therefore, the user can access the register while,
in the background, the MCP9844 performs an analogto-digital conversion. The temperature data from the
ADC is loaded in parallel to the T
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
CRIT
UPPER
T
A
LOWER
(1)
Bit:
CRIT
CRIT
(1)
UPPER
UPPER
(1)
LOWER
LOWER
Bit:
Bit:
bit 15T
vs. T
A
0=TA T
1=TA T
bit 14TA vs. T
0 =T
1 =TA T
bit 13TA vs. T
0 =TA T
1 =TA T
bit 12SIGN Bit:
0 =T
1 =T
bit 11-0Ambient Temperature (T
0°C
A
0°C
A
) Bits: (Note 2)
A
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 event output configuration (bits 5 to 0 of CONFIG)
(Register 5-3).
2: Bits 2, 1, and 0 may remain clear ‘0’ depending on the status of the resolution register. The power-up
default is 0.25°C/bit, bits 1 and 0 remain clear ‘0’.
DS20005192A-page 22 2013 Microchip Technology Inc.
Page 23
MCP9844
Where:
T
A
= Ambient Temperature (°C)
UpperByte = T
A
bit 15 to bit 8
LowerByte = TA bit 7 to bit 0
Temperature 0°C
Temperature 0°C
T
A
UpperByte 24LowerByte2
4–
+
=
T
A
256UpperByte 24LowerByte2
4–
+
–=
i2c_start();// send START command
i2c_write(AddressByte & 0xFE);//WRITE Command
//also, make sure bit 0 is cleared ‘0’
i2c_write(0x05);// Write T
A
Register Address
i2c_start();//Repeat START
i2c_write(AddressByte | 0x01);// READ Command
//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){//T
A
T
CRIT
}
if ((UpperByte & 0x40) == 0x40){//T
A
T
UPPER
}
if ((UpperByte & 0x20) == 0x20){//T
A
T
LOWER
}
UpperByte = UpperByte & 0x1F; //Clear flag bits
if ((UpperByte & 0x10) == 0x10){//T
A
0°C
UpperByte = UpperByte & 0x0F; //Clear SIGN
Temperature = 256 - (UpperByte x 16 + LowerByte / 16);
}else //T
A
0°C
Temperature = (UpperByte x 16 + LowerByte / 16);
//Temperature = Ambient Temperature (°C)
This example routine assumes the variables and I
2
C communication subroutines are predefined:
5.1.4.1TA bits to Temperature Conversion
To convert the TA bits to decimal temperature, the
upper three boundary bits 15, 14 and 13) 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 32°C while the lower byte
contains data for temperature less than 32°C, including
fractional data. When combining the upper and lower
bytes, the upper byte must be right-shifted by 4 bits (or
multiply by 2
by 4 bits (or multiply by 2
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 Figure 5-6 shows the
communication flow. Additionally, refer to Figure 5-7 for
the timing diagram.
select the register
pointer if it was set from
the previous read/write.
FIGURE 5-7:Timing Diagram for Reading +25.25°C Temperature from the TA Register (See
Section 4.0 “Serial Communication”).
DS20005192A-page 24 2013 Microchip Technology Inc.
Page 25
MCP9844
SDA
A
C
K
0011
A
Manuf. ID Pointer
0000
A
C
K
S
2A1A0
1234567812345678
SCL
0
Address Byte
A
C
K
0011
A
MSB Data
A
C
K
N
A
K
SP
2A1A0
123456781234567812345678
Address Byte
LSB Data
R
MCP9844
MCP9844
MCP9844
Master
Master
W
SDA
SCL
110
00000
00001010
100
Note:It is not necessary to
select the register
pointer if it was set from
the previous read/write.
5.1.5MANUFACTURER ID REGISTER
This register is used to identify the manufacturer of the
device in order to perform manufacturer specific
operations. The Manufacturer ID for the MCP9844 is
0x0054 (hexadecimal).
REGISTER 5-6:MANUFACTURER ID REGISTER (READ-ONLY) ADDRESS
R-0R-0R-0R-0R-0R-0R-0R-0
Manufacturer ID
bit 15bit 8
R-0R-1R-0R-1R-0R-1R-0R-0
Manufacturer ID
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
‘0000 0110’b
bit 15-0Device Manufacturer Identification Number
.
FIGURE 5-8:Timing Diagram for Reading the Manufacturer ID Register (See Section 4.0 “Serial
The Device ID and Revision register located at address
pointer 0x08 is used to identify Microchip devices. The
upper byte of these registers is used to specify the
device identification and the lower byte is used to
specify device silicon revision. The device ID for the
MCP9844 is 0x06 (hex) and the silicon revision is 0x00.
The revision (Lower Byte) begins with 0x00 (hex) for
the first release, with the number being incremented as
revised versions are released.
REGISTER 5-7:TSE2004AV DEVICE ID AND DEVICE REVISION (READ-ONLY)
ADDRESS
R-0R-0R-0R-0R-0R-1R-1R-0
bit 15bit 8
R-0R-0R-0R-0R-0R-0R-0R-1
bit 7bit 0
‘0000 0111’b AND ‘0000 1000’b
Device ID
Device Revision
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
-n = Value at POR‘1’ = Bit is set‘0’ = Bit is clearedx = Bit is unknown
bit 15-8Device ID: Bit 15 to bit 8 are used for device ID
bit 7-0Device Revision: Bit 7 to bit 0 are used for device revision
DS20005192A-page 26 2013 Microchip Technology Inc.
Page 27
MCP9844
5.1.7RESOLUTION REGISTER
This register allows the user to change the sensor
resolution (see Section 5.2.4 “Temperature
Resolution”). The POR default resolution is 0.25°C.
The selected resolution is also reflected in the
Capability register (see Register 5-2).
Note:In order to prevent accidentally writing the
resolution register to a higher resolution
and exceeding the maximum temperature
conversion time of t
down command (using the CONFIG register) is required to change the resolution
register. The device must be in Shutdown
mode to change the resolution.
= 125 ms, a Shut-
CONV
REGISTER 5-8:RESOLUTION REGISTER ‘0000 1001’b
R/W-0U-0U-0U-0U-0U-0U-0U-0
—
bit 15bit 8
U-0U-0U-0U-0U-0U-0R/W-0R/W-1
Resolution
bit 7bit 0
Legend:
R = Readable bitW = Writable bitU = Unimplemented bit, read as ‘0’
-n = Value at POR‘1’ = Bit is set‘0’ = Bit is clearedx = Bit is unknown
bit 15Unimplemented: Read as ‘0’
bit 14-2Unimplemented: Read as ‘0’
bit 1-0Resolution:
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
until bit 8 is cleared ‘0’ to enable Continuous
Conversion mode, or until power is recycled.
The Shutdown bit (bit 8) cannot be set to ‘1’ while bits
6 and 7 of CONFIG (Lock bits) are set to ‘1’. However,
it can be cleared ‘0’ or returned to Continuous
Conversion while locked.
In Shutdown mode, all registers can be read or written.
However, the serial bus activity increases the shutdown
current.
If the device is shutdown while the Event pin is
asserted, then the event output will be de-asserted
during shutdown. It will remain de-asserted until the
device is enabled for normal operation. Once the
device is enabled, it takes t
reasserts the event output.
5.2.2TEMPERATURE HYSTERESIS
(T
A hysteresis of 0°C, 1.5°C, 3°C or 6°C can be selected
for the T
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, bits 6 and 7 of CONFIG, are set to ‘1’.
The T
are described graphically in Figure 5-9.
UPPER
UPPER
HYST
, T
)
, T
LOWER
. It remains in this mode
SHDN
before the device
CONV
and T
LOWER
and T
CRIT
CRIT
boundary conditions
temperate
When the ambient temperature increases above the
critical temperature limit, the event output is forced to a
comparator output (regardless of bit 0 of CONFIG).
When the temperature drifts below the critical
temperature limit minus hysteresis, the event output
automatically returns to the state specified by bit 0 of
CONFIG.
The status of the event output can be read using bit 4
of CONFIG (Event status). This bit can not be set to ‘1’
in Shutdown mode.
Bit 7 and 6 of the CONFIG register can be used to lock
the T
UPPER
, T
LOWER
and T
registers. The bits
CRIT
prevent false triggers at the event output due to an
accidental rewrite to these registers.
The event output can also be used as a critical
temperature output using bit 2 of CONFIG (critical
output only). When this feature is selected, the event
output becomes a comparator output. In this mode, the
interrupt output configuration (bit 0 of CONFIG) is
ignored.
5.2.3EVENT OUTPUT CONFIGURATION
The event output can be enabled using bit 3 of
CONFIG (Event Output Control bit) and can be
configured as either a comparator output or as Interrupt
Output mode using bit 0 of CONFIG (Event mode). The
polarity can also be specified as an active-high or
active-low using bit 1 of CONFIG (event polarity). The
event output requires a pull-up resistor to function.
These configurations are designed to serve processors
with Low-to-High or High-to-Low edge triggered inputs.
With active-high configuration, when the event output
de-asserts, power will be dissipated across the pull-up
resistor.
DS20005192A-page 28 2013 Microchip Technology Inc.
Page 29
MCP9844
5.2.3.1Comparator Mode
Comparator mode is selected using bit 0 of CONFIG. In
this mode, the event output is asserted as active-high
or active-low using bit 1 of CONFIG. Figure 5-9 shows
the conditions that toggle the event output.
If the device enters Shutdown mode with asserted
event output, the output will de-assert. It will remain deasserted until the device enters Continuous Conversion mode and after the first temperature conversion is
completed, t
sion, T
must satisfy the T
A
. After the initial temperature conver-
CONV
UPPER
or T
LOWER
boundary
conditions in order for event output to be asserted.
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.2Interrupt Mode
In Interrupt mode, the event output is asserted as activehigh or active-low (depending on the polarity
configuration) when T
and T
limits. The output is de-asserted by setting
LOWER
bit 5 (Interrupt Clear) of CONFIG. If the device enters
Shutdown mode with asserted event output, the output
will de-assert. It will remain de-asserted until the device
enters Continuous Conversion mode and after the first
temperature conversion is completed, t
rupt clear bit (Bit 5) is never set, then the event output will
re-assert after the first temperature conversion.
In addition, if T
A
Comparator mode and asserts until T
While the event output is asserted, the user must send a
Clear Interrupt command (bit 5 of CONFIG) for the event
output to de-assert when the temperature drops below
the critical limit, TA < T
output remains asserted (see Figure 5-9 for a graphical
description). Switching from Interrupt mode to Comparator mode also de-asserts event output.
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 MCP9844.
drifts above or below T
A
>= T
, the event output is forced as
CRIT
- T
CRIT
HYST
UPPER
. If the inter-
CONV
< T
A
CRIT
- T
HYST
. Otherwise, the event
5.2.4TEMPERATURE RESOLUTION
The MCP9844 device is capable of providing temperature data with 0.5°C to 0.0625°C resolution. The
Resolution can selected using the Resolution register
(Register 5-8) which is located in address
‘00001001’b. This address location is not specified in
JEDEC Standard JC42.4. However, it provides
additional flexibility while being functionally compatible
with JC42.4 and provides a 0.25°C resolution at
125 ms (max.). In order to prevent accidentally changing the resolution and exceeding the 125 ms conversion time, the device must be in Shutdown mode to
change this register. The selected resolution can be
read by the user using bit 4 and bit 3 of the Capability
register (Register 5-2). A 0.25°C resolution is set as
POR default by the factory.
DS20005192A-page 32 2013 Microchip Technology Inc.
Page 33
MCP9844
T
JAVDDIDDVOL_EventIOL_EventVOL_SDAIOL_SDA
+
+
=
Where:
T=T
J - TA
TJ= Junction Temperature
TA= Ambient Temperature
JA
= Package Thermal Resistance
V
OL_Event, SDA
= Event and SDA Output V
OL
(0.4 V
max
)
I
OL_Event, SDA
= Event and SDA Output I
OL
(3 mA
max
and 20 mA
max,
respectively)
A0
A1
A2
GND
V
DD
Event
SCL
SDA
EP9
6.0APPLICATIONS INFORMATION
6.1Layout Considerations
The MCP9844 device 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 V
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.
and GND pins. A high-frequency
DD
6.2Thermal Considerations
A potential for self-heating errors can exist if the
MCP9844 SDA, SCLK and event lines are heavily
loaded with pull-ups (high current). Typically, the selfheating error is negligible because of the relatively
small current consumption of the MCP9844. A
temperature accuracy error of approximately 0.5°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
, Equation 6-1 can be used to determine the effect
DS20005192A-page 34 2013 Microchip Technology Inc.
Page 35
7.0PACKAGING INFORMATION
Legend: XX...XCustomer-specific information
YYear code (last digit of calendar year)
YYYear code (last 2 digits of calendar year)
WWWeek code (week of January 1 is week ‘01’)
NNNAlphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
*This package is Pb-free. The Pb-free JEDEC designator ()
can be found on the outer packaging for this package.
Note:In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line, thus limiting the number of available
characters for customer-specific information.
DS20005192A-page 42 2013 Microchip Technology Inc.
Page 43
Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949==
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
FlashFlex, K
PICSTART, PIC
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,
MTP, SEEVAL and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Silicon Storage Technology is a registered trademark of
Microchip Technology Inc. in other countries.
Analog-for-the-Digital Age, Application Maestro, BodyCom,
chipKIT, chipKIT logo, CodeGuard, dsPICDEM,
dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB
Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O,
Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA
and Z-Scale 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.
GestIC and ULPP are registered trademarks of Microchip
Technology Germany II GmbH & Co. & KG, a subsidiary of
Microchip Technology Inc., in other countries.
All other trademarks mentioned herein are property of their
respective companies.
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
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.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
Page 44
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