2015-2016 Microchip Technology Inc. DS20005382C-page 13
MCP9902/3/4
E2FAULT) will be set to ‘1’, the ALERT/THERM2 pin
will be asserted, the consecutive alert counter will be
cleared and measurements will continue.
When the ALERT
/THERM2 pin is configured as a
comparator, the consecutive alert counter will ignore
diode fault and low limit errors and only increment if the
measured temperature exceeds the High Limit.
Additionally, once the consecutive alert counter
reaches the programmed limit, the ALERT
/THERM2
pin will be asserted, but the counter will not be reset. It
will remain set until the temperature drops below the
High Limit minus the Therm Hysteresis value.
For example, if the CALRT<2:0> bits are set for four
consecutive alerts on an MCP9902/3/4 device, the high
limits are set at +70°C and none of the channels are
masked, then the ALERT
/THERM2 pin will be asserted
after the following five measurements:
The Internal Diode reads +71°C and both the
external diodes read +69°C. Consecutive alert
counter for INT is incremented to 1.
Both the Internal Diode and the External Diode 1
read +71°C and External Diode 2 reads +68°C.
The consecutive alert counter for INT is incre-
mented to 2 and the counter for EXT1 is set to 1.
The External Diode 1 reads +71°C and both Inter-
nal Diode and External Diode 2 read +69°C. The
consecutive alert counters for INT and EXT2 are
cleared, and EXT1 is incremented to 2.
The Internal Diode reads +71°C and both external
diodes read +71°C. The consecutive alert counter
for INT is set to 1, EXT2 is set to 1 and EXT1 is
incremented to 3.
The Internal Diode reads +71°C and both external
diodes read +71°C. The consecutive alert counter
for INT is incremented to 2, EXT2 is set to 2 and
EXT1 is incremented to 4. The appropriate status
bits are set for EXT1 and the ALERT
/THERM2 pin
is asserted. The EXT1 counter is reset to 0 and all
other counters hold the last value until the next
temperature measurement.
All temperature channels use this value to set the
respective counters. The consecutive Therm counter
is incremented whenever any measurement exceeds
the corresponding Therm Limit.
If the temperature drops below the Therm Limit, the
counter is reset. If a number of consecutive
measurements above the Therm Limit occurs, the
THERM
pin is asserted low.
Once the THERM
pin has been asserted, the
consecutive therm counter will not reset until the
corresponding temperature drops below the Therm
Limit minus the Therm Hysteresis value.
The default setting is one out-of-limit conversion and it is
set in Register 5-21.
4.13 Limit Register Interaction
The various limit registers in the device interact based
on both external conditions present on the diode pins
as well as changes in register bits in the SMBus inter-
face. The device contains both high and low limits for
all temperature channels. If the measured temperature
exceeds the high limit, then the corresponding status
bit is set and the ALERT
/THERM2 pin is asserted.
Likewise, if the measured temperature is less than or
equal to the low limit, the corresponding status bit is
set and the ALERT
/THERM2 pin is asserted.
The data format for the limits must match the selected
data format for the temperature so that if the extended
temperature range is used, the limits must be
programmed in the extended data format.
The limit registers with multiple addresses are fully
accessible at either address.
When the device is in Standby mode, updating the limit
registers will have no effect until the next conversion
cycle occurs. This can be initiated via a write to the
One Shot register (see Register 5-15) or by clearing
the RUN/STOP bit (see Register 5-6).
The THERM
Limit Status register contains the status
bits that are set when a temperature channel Therm
Limit is exceeded. If any of these bits are set, the
THERM
status bit in the Status register is set. Reading
from the THERM
Limit Status register will not clear the
status bits. Once the temperature drops below the
THERM Limit minus the THERM Hysteresis, the corre-
sponding status bits will be automatically cleared. The
THERM
bit in the Status register will be cleared when
all individual channel THERM
bits are cleared.
TABLE 4-5: CONSECUTIVE ALERT/
THERM SETTINGS
210
Number of consecutive out of
limit measurements
000
1
(default for CALRT<2:0>)
001 2
011 3
111
4
(default for CTHRM<2:0>)
MCP9902/3/4
DS20005382C-page 14 2015-2016 Microchip Technology Inc.
4.13.1 HIGH LIMIT REGISTER
The High Limit Status register contains the status bits
that are set when a temperature channel high limit is
exceeded. If any of these bits are set, then the HIGH
status bit in the Status register is set. Reading from the
High Limit Status register will clear all bits. Reading
from the register will also clear the HIGH status bit in
the Status register.
The ALERT
/THERM2 pin will be set if the pro-
grammed number of consecutive alert counts have
been met and any of these status bits are set.
The status bits will remain set until read unless the
ALERT
/THERM2 pin is configured as a comparator
output (see Section 4.6.2 “ALERT/THERM2 Pin In
THERM Mode”).
4.13.2 LOW LIMIT REGISTER
The Low Limit Status register contains the status bits
that are set when a temperature channel drops below
the low limit. If any of these bits are set, then the LOW
status bit in the Status register is set. Reading from the
Low Limit Status register will clear all bits.
The ALERT
/THERM2 pin will be set if the pro-
grammed number of consecutive alert counts have
been met and any of these status bits are set.
The status bits will remain set until read unless the
ALERT
/THERM2 pin is configured as a comparator
output (see Section 4.6.2 “ALERT/THERM2 Pin In
THERM Mode”).
4.13.3 THERM LIMIT REGISTER
The Therm Limit registers are used to determine
whether a critical thermal event has occurred. If the
measured temperature exceeds the Therm Limit, the
THERM
pin is asserted. The limit setting must match
the chosen data format of the temperature reading
registers.
Unlike the ALERT
/THERM2 pin, the THERM pin
cannot be masked. Additionally, the THERM
pin will be
released once the temperature drops below the
corresponding threshold minus the Therm Hysteresis.
4.13.4 CHANNEL MASKING
The Channel Mask register (Register 5-20) controls
individual channel masking. When a channel is
masked, the ALERT/THERM2 pin will not be asserted
when the masked channel reads a diode fault or out of
limit error. The channel mask does not mask the
THERM
pin.
4.14 Digital Filter
To reduce the effect of noise and temperature spikes on
the reported temperature, the External Diode channel
uses a programmable digital filter. This filter can be con-
figured as Level 1, Level 2, or Disabled (default). The
typical filter performance is shown in Figure 4-2 and
Figure 4-3. The Filter Configuration register controls the
digital filter on the External Diode 1 channel.
Note 1: Filtering Level 1 corresponds to 4x
attenuation of a temperature spike.
2: Filtering Level 2 corresponds to 8x
attenuation of a temperature spike.
FIGURE 4-2: Temperature Filter Step
Response.
FIGURE 4-3: Temperature Filter Impulse
Response.
TABLE 4-6: FILTER SETTINGS
FILTER<1:0>
Averaging
10
0 0 Disabled (default)
0 1 Level 1
1 0 Level 1
1 1 Level 2
0
10
20
30
40
50
60
70
80
90
024681012
14
Temperature (°C)
Samples
Disabled
Level 2
Level 1
0
10
20
30
40
50
60
70
80
90
02468101214
Temperature (°C)
Samples
Disabled
Level 1
Level 2
2015-2016 Microchip Technology Inc. DS20005382C-page 15
MCP9902/3/4
4.15 Temperature Measurement
Results and Data
The temperature measurement results are stored in
the internal and external temperature registers. These
are then compared with the values stored in the high
and low limit registers. Both external and internal tem-
perature measurements are stored in 11-bit format
with the eight (8) most significant bits stored in a high
byte register and the three (3) least significant bits
stored in the three (3) MSB positions of the low byte
register. All other bits of the low byte register are set to
zero.
The MCP9902/3/4 has two selectable temperature
ranges. The default range is from 0°C to +127°C and
the temperature is represented as binary number able
to report a temperature from 0°C to +127.875°C in
0.125°C steps.
The extended range is an extended temperature
range from -64°C to +191°C. The data format is a
binary number offset by +64°C. The extended range is
used to measure temperature diodes with a large
known offset (such as AMD processor diodes) where
the diode temperature plus the offset would be equiva-
lent to a temperature higher than +127°C.
Table 4-7 shows the default and extended range
formats.
TABLE 4-7: TEMPERATURE DATA
FORMAT
Temperature
(°C)
Default Range
0°C to +127°C
Extended Range
-64°C to +191°C
Diode Fault 000 0000 0000 000 0000 0000
-64 000 0000 0000 000 0000 0000
(Note 2)
-1 000 0000 0000 001 1111 1000
0 000 0000 0000
(Note 1)
010 0000 0000
0.125 000 0000 0001 010 0000 0001
1 000 0000 1000 010 0000 1000
64 010 0000 0000 100 0000 0000
65 010 0000 1000 100 0000 1000
127 011 1111 1000 101 1111 1000
127.875 011 1111 1111 101 1111 1111
128 011 1111 1111
(Note 3)
110 0000 0000
190 011 1111 1111 111 1111 0000
191 011 1111 1111 111 1111 1000
191.875 011 1111 1111 111 1111 1111
(Note 4)
Note 1: In default mode, all temperatures < 0°C
will be reported as 0°C
2: In the extended range, all temperatures
less than -64°C will be reported as -64°C.
3: For the default range, all temperatures
greater than +127.875°C will be reported
as +127.875°C.
4: For the extended range, all temperatures
greater than +191.875°C will be reported
as +191.875°C.

MCP9902T-AE/RW

Mfr. #:
Manufacturer:
Description:
SENSOR DIGITAL -40C-125C 8WDFN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union