The EMC2103 is an SMBus compliant fan controller with
up to up to 3 external and 1 internal temperature
channels. The fan driver can be operated using two
methods each with two modes. The methods include an
RPM based Fan Speed Control Algorithm and a direct
PWM drive setting. The modes include manually
programming the desired settings or using the internal
programmable temperature look-up table to select the
desired setting based on measured temperature.
The temperature monitors offer 1°C accuracy (for
external diodes) with sophisticated features to reduce
errors introduced by series resistance and beta variation
of substrate thermal diode transistors commonly found
in processors.
The EMC2103 also includes a hardware programmable
temperature limit and dedicated system shutdown
output for thermal protection of critical circuitry.
Applications
No tebook Computers
Projectors
Graphics Cards
Indu strial and Networking Equipment
Datasheet
Features
Programmable Fan Control circuit
— 4-wire fan compatible
— High and low frequency PWM
R PM based fan control algorithm
— 2.5% accuracy from 500RPM to 16k RPM
— Detects fan aging and variation
Temperature Look-Up Table
— Allows programmed fan response to temperature
— Controls fan speed or PWM drive setting
— Allows externally set temperature data to drive fan
— Supports DTS data from CPU
Up to Three External Temperature Channels
(EMC2103-2 only)
— Supports 45nm, 60nm, and 90nm CPU diodes
— Automatically detects and supports CPUs requiring BJT
or Transistor models
— Resistance error correction
— Supports discrete transistors (i.e. 2N3904)
— 1°C accurate (60°C to 125°C)
— 0.125°C resolution
H ardware Programmable Thermal Shutdown
Temperature
— Cannot be altered by software
— 65°C to 127°C Range
Prog rammable High and Low Limits for all channels
Interna l Temperature Monitor
— 2°C accuracy
— 0.125°C resolution
3 .3V Supply Voltage
SMBus 2.0 Compliant
— SMBus Alert compatible
Two dedicated GPIOs (EMC2103-2 and EMC2103-4
only)
Available in 12-pin, QFN Lead-Free RoHS Complia nt
Package (EMC2103-1 and EMC2103-3) or 16-pin,
QFN Lead-Free RoHS Compliant Package
(EMC2103-2 and EMC2103-4)
SMSC EMC2103DATASHEETRevision 0.85 (01-29-08)
Page 2
RPM-Based Fan Controller with HW Thermal Shutdown
ORDER NUMBERS:
ORDERING NUMBERPACKAGEFEATURES
Datasheet
EMC2103-1-KP12 pin, QFN Lead-Free, ROHS
Compliant
EMC2103-2-AP16 pin, QFN Lead-Free, ROHS
Compliant
EMC2103-3-KP12 pin, QFN Lead-Free, ROHS
Compliant
EMC2103-4-AP16 pin, QFN Lead-Free, ROHS
Compliant
One external diode, RPM based
Fan Speed Control Algorithm, High
Frequency PWM driver, HW
Thermal / Critical shutdown,
EEPROM Load disabled
Up to three external diodes, RPM
based Fan Speed Control algorithm,
High Frequency PWM driver, HW
Thermal / Critical shutdown, 2
GPIOs, EEPROM Load disabled
One external diode, RPM based
Fan Speed Control Algorithm, High
Frequency PWM driver, HW
Thermal / Critical shutdown,
EEPROM Load enabled
Up to three external diodes, RPM
based Fan Speed Control algorithm,
High Frequency PWM driver, HW
Thermal / Critical shutdown, 2
GPIOs, EEPROM Load enabled
construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no responsibility is assumed for inaccuracies. SMSC
reserves the right to make changes to specifications and product descriptions at any time without notice. Contact your local SMSC sales office to obtain the latest specifications
before placing your product order. The provision of this information does not convey to the purchaser of the described semiconductor devices any licenses under any patent
rights or other intellectual property rights of SMSC or others. All sales are expressly conditional on your agreement to the terms and conditions of the most recently da ted
version of SMSC's standard Terms of Sale Agreement dated before the date of your order (the "Terms of Sale Agreement"). The product may contain design defects or errors
known as anomalies which may cause the product's functions to deviate from published specifications. Anomaly sheets are available upon request. SMSC products are not
designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property
damage. Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of
this document or other SMSC literature, as well as the Terms of Sale Agreement, may be obtained by visiting SMSC’s website at http://www.smsc.com. SMSC is a registered
trademark of Standard Microsystems Corporation (“SMSC”). Product names and company names are the trademarks of their respective holders.
SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL WARRANTIES ARISING FROM ANY COURSE
OF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL
DAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT;
TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELD
TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
The pin type are described in detail below. All pins labelled with (5V) are 5V tolerant.
SMSC EMC210311Revision 0.85 (01-29-08)
DATASHEET
Page 12
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 2.2 Pin Types
PIN TYPEDESCRIPTION
PowerThis pin is used to supply power or ground to the device.
DI
AIO
DO
DIOD
OD
Digital Input - this pin is used as a digital input. This pin is
5V tolerant.
Analog Input / Output - this pin is used as an I/O for analog
signals.
Push / Pull Digital Output - this pin is used as a digital
output. It can both source and sink current.
Digital Input / Open Drain Output this pin is used as an
digital I/O. When it is used as an output, It is open drain
and requires a pull-up resistor. This pin is 5V tolerant.
Open Drain Digital Output - this pin is used as a digital
output. It is open drain and requires a pull-up resistor. This
pin is 5V tolerant.
Revision 0.85 (01-29-08)12SMSC EMC2103
DATASHEET
Page 13
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Chapter 3 Electrical Characteristics
Table 3.1 Absolute Maximum Ratings
Voltage on 5V tolerant pins-0.3 to 5.5V
Voltage on VDD pin -0.3 to 4V
Voltage on any other pin to GND -0.3 to V
Package Power Dissipation0.8W up to T
Junction to Ambient (θ
) 50°C/W
JA
+ 0.3V
DD
= 85°C W
A
Operating Ambient Temperature Range-40 to 125°C
Storage Temperature Range-55 to 150°C
ESD Rating, All Pins, HBM2000V
Note: Stresses above those listed could cause permanent damage to the device. This is a stress
rating only and functional operation of the device at any other conditio n above those indicated
in the operation sections of this specification is not implied. When powering this device from
laboratory or system power supplies, it is important that the Absolute Maximum Ratings not be
exceeded or device failure can result. Some power supplies exhibit voltage spikes on their
outputs when the AC power is switched on or off. In addition, voltage transients on the AC
power line may appear on the DC output. If this possibility exi sts, it is suggested that a clamp
circuit be used.
Note: All voltages are relative to ground.
Note: θ
numbers are based on a recommended four 12 mil via s conn ecting the the rma l pad to PCB
JA
ground.
SMSC EMC210313Revision 0.85 (01-29-08)
DATASHEET
Page 14
3.1 Electrical Specifications
Table 3.2 Electrical Specifications
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
VDD = 3V to 3.6V, T
= -40°C to 125°C, all Typical values at TA = 27°C unless otherwise noted.
A
CHARACTERISTICSYMBOLMINTYPMAXUNITCONDITIONS
DC Power
Supply Voltage V
DD
33.33.6V
4 Conversions / second, Fan
1.31.8mA
Driver active at maximum PWM
frequency, Dynamic Averaging
Enabled (EMC2103-2)
4 Conversions / second, Fan
Supply Current I
DD
11.5mA
Driver active at maximum PWM
frequency, Dynamic Averaging
Enabled (EMC2103-1)
1 Conversions / second, Fan
450750uA
Driver not active, Dynamic
Averaging Disabled
First Conversion
Ready
t
CONV_T
300ms
Time after power up before all
channels updated
Time before SMBus
SMBus Delayt
SMB_D
10ms
communications should be sent
by host
External Temperature Monitors
Temperature
±0.5±1°C
Accuracy
±1±2°C-40°C < T
Temperature
Resolution
Diode decoupling
capacitor
Resistance Error
Corrected
C
FILTER
R
SERIES
0.125°C
22002700pF
100Ohm
Internal Temperature Monitor
Temperature
Accuracy
Temperature
Resolution
T
DIE
±1±2°C
0.125°C
PWM Fan Driver
PWM ResolutionPWM256Steps
PWM Duty CycleDUTY0100%
TRIP_SET Measurement
Voltage AccuracyV
TRIP
0.51%
60°C < T
30°C < TA < 100°C
DIODE
DIODE
< 125°C
< 125°C
Connected across external
diode, CPU, GPU, or AMD diode
Sum of series resistance in both
DP and DN lines
Revision 0.85 (01-29-08)14SMSC EMC2103
DATASHEET
Page 15
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 3.2 Electrical Specifications (continued)
VDD = 3V to 3.6V, T
= -40°C to 125°C, all Typical values at TA = 27°C unless otherwise noted.
A
CHARACTERISTICSYMBOLMINTYPMAXUNITCONDITIONS
T emperature Decode
Accuracy
T
TRIP
12°C5% external resistor
0.5°C1% external resistor
RPM Based Fan Controller
Tachometer RangeTACH48016000RPM
Tachometer Setting
Accuracy
Δ
TACH
±2.5±5%
Digital I/O pins
Input High VoltageV
Input Low Voltage V
Output High VoltageV
Output Low VoltageV
IH
IL
OH
OL
2.0V
0.8V
VDD -
0.4
0.4V8 mA current sink
8 mA current drive
V
ALERT and SYS_SHDN pins
Leakage CurrentI
LEAK
±5uA
Device powered or unpowered
TA < 85°C
3.2 SMBus Electrical Specifications (Client Mode)
Table 3.3 SMBus Electrical Specifications
VDD= 3V to 3.6V, T
CHARACTERISTICSYMBOLMINTYPMAXUNITSCONDITIONS
Input High/Low CurrentI
Input CapacitanceC
Clock Frequencyf
Spike Suppressiont
Bus free time Start to
Stop
Setup Time: Startt
Setup Time: Stopt
Data Hold Timet
Data Setup Timet
= -40°C to 125°C Typical values are at TA = 27°C unless otherwise noted.
A
SMBus Interface
IH / IIL
IN
410 pF
±5uADevice powered or unpowered
TA < 85°C
SMBus Timing
SMB
SP
t
BUF
SU:STA
SU:STP
HD:DAT
SU:DAT
10400kHz
50ns
1.3us
0.6us
0.6us
0.66us
0.672us
SMSC EMC210315Revision 0.85 (01-29-08)
DATASHEET
Page 16
RPM-Based Fan Controller with HW Thermal Shutdown
T able 3.3 SMBus Electrical Specifications (continu ed)
VDD= 3V to 3.6V, TA = -40°C to 125°C Typical values are at TA = 27°C unless otherwise noted.
CHARACTERISTICSYMBOLMINTYPMAXUNITSCONDITIONS
Datasheet
Clock Low Periodt
Clock High Periodt
Clock/Data Fall timet
Clock/Data Rise timet
Capacitive LoadC
LOW
HIGH
FALL
RISE
LOAD
1.3us
0.6us
300nsMin = 20+0.1C
300nsMin = 20+0.1C
400pFTotal per bus line
LOAD
LOAD
ns
ns
Revision 0.85 (01-29-08)16SMSC EMC2103
DATASHEET
Page 17
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Chapter 4 Communications
4.1 System Management Bus Interface Protocol
The EMC2103 communicates with a host controller, such as an SMSC SIO, through the SMBus. The
SMBus is a two-wire serial communication protocol between a computer host and its peripheral
devices. A detailed timing diagram is shown in Figure 4.1. Stretching of the SMCLK signal is supported,
however the EMC2103 will not stretch the clock signal.
SMCLK
SMDATA
T
LOW
T
T
HD:STA
T
HD:DAT
T
BUF
P
S
S - Start Condition
RISE
T
HIGH
T
FALL
T
SU:DAT
T
HD:STA
T
SU:STA
S
P - Stop Condition
T
SU:STO
P
Figure 4.1 SMBus Timing Diagram
The EMC2103 contains a single SMBus interface. The EMC2103 client interfaces are SMBus 2.0
compatible and support Send Byte, Read Byte, Receive Byte and the Alert Response Address as valid
protocols. These protocols are used as shown below.
All of the below protocols use the convention in Table 4.1.
Table 4.1 Protocol Format
DATA SENT
TO DEVICE
DATA SENT TO
THE HOST
# of bits sent# of bits sent
4.2 Write Byte
The Write Byte is used to write one byte of data to the registers as shown below Table 4.2:
Table 4.2 Write Byte Protocol
START
SLAVE
ADDRESSWR
ACK
REGISTER
ADDRESSACK
0 -> 10101_110000 -> 10XXh01 -> 0
SMSC EMC210317Revision 0.85 (01-29-08)
DATASHEET
REGISTER
DATAACKSTOP
Page 18
4.3 Read Byte
The Read Byte protocol is used to read one byte of data from the registers as show n in Table 4.3.
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 4.3 Read Byte Protocol
SLAVE
START
0 -> 10101_11000XXh00 -> 10101_11010XXh11 -> 0
ADDRESSWR
ACK
REGISTER
ADDRESSACKSTART
SLAVE
ADDRESSRDACK
REGISTER
DATANACKSTOP
4.4 Send Byte
The Send Byte protocol is used to set the internal address register pointer to the correct address
location. No data is transferred during the Send Byte protocol as shown in Table 4.4.
Table 4.4 Send Byte Protocol
SLA VE
START
0 -> 10101_11000XXh11 -> 0
ADDRESSWR
ACK
REGISTER
ADDRESSACKSTOP
4.5 Receive Byte
The Receive Byte protocol is used to read data from a register when the internal register address
pointer is known to be at the right location (e.g. set via Send Byte). This is used for consecutive reads
of the same register as shown in Table 4.5.
Table 4.5 Receive Byte Protocol
START
0 -> 10101_11010XXh11 -> 0
SLA VE
ADDRESSRD
ACKREGISTER DATANACKSTOP
4.6 Alert Response Address
The ALERT output can be used as a processor interrupt or as an SMBus Alert when configured to
operate as an interrupt.
When it detects that the ALERT
to the general address of 0001_100b. All devices with active i nterrupts will respond with their client
address as shown in Table 4.6.
Table 4.6 Alert Response Address Protocol
ALERT
START
0 -> 10001_100100101_110011 -> 0
Revision 0.85 (01-29-08)18SMSC EMC2103
RESPONSE
ADDRESSRD
pin is asserted, the host will send the Alert Response Address (ARA)
ACK
DEVICE
ADDRESSNACKSTOP
DATASHEET
Page 19
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
The EMC2103 will respond to the ARA in the following way i f the ALERT pin is asserted.
1. Send Slave Address and verify that full slav e address was sent (i.e. the SMBus communication
from the device was not prematurely stopped due to a bus contention event).
2. Set the MASK bit to clear the ALERT pin.
4.7 SMBus Address
The EMC2103 SMBus Address is fixed at 0101_110xb.
Other addresses are available. Contact SMSC for details.
Attempting to communicate with the EMC2103 SMBus interface with an invalid slave address or invalid
protocol will result in no response from the devi ce and will not affect its register contents.
4.8 SMBus Time-out
The EMC2103 includes an SMBus time-out feature. Following a 30ms period of inactivity on the
SMBus, the device will time-out and reset the SMBus interface.
SMSC EMC210319Revision 0.85 (01-29-08)
DATASHEET
Page 20
Chapter 5 General Description
The EMC2103 is an SMBus compliant fan controller with one external (EMC2103-2 offers up to three
external diode channels) and one internal temperature channels. The fan driver can be operated using
two methods each with two modes. The methods include an RPM based Fan Speed Control Algorithm
and a direct PWM drive setting. The modes include manually programming the desired settings or
using the internal programmable temperature look-up table to select the desired setting based on
measured temperature.
The temperature monitors offer 1°C accuracy (for external diodes) with sophisticated features to
reduce errors introduced by series resistance and beta variation of substrate the rmal diode transistors
commonly found in processors (including support of the BJT o r transistor model for a CPU diode).
The EMC2103 allows the user to program temperatures generated from external sources to control
the fan speed. This functionality also supports DTS data from the CPU. By pushing DTS or standard
temperature values into dedicated registers, the external temperature readings can be used in
conjunction with the external diode(s) and interna l diode to control the fan speed.
The EMC2103 also includes a hardware programmable temperature limit and dedicated system
shutdown output for thermal protection of critical circuitry.
Figure 5.1 shows a system diagram of the EMC2103.
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Thermal
diode
Optional antiparallel diode
CPU
* denotes EMC2103-2 only
EMC2103
DP1
DN1
DP2 / DN3*
DN2 / DP3*
1.5V
1.2k
TRIP_SET
SYS_SHDN
SMCLK
SMDATA
ALERT
GPIO1*
GPIO2*
PWM
TACH
VDD VDD
Figure 5.1 System Diagram for EMC2103
VDD
VDD
HOST
SMBus
Interface
Fan Drive
Circuitry
Revision 0.85 (01-29-08)20SMSC EMC2103
DATASHEET
Page 21
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
5.1 Critical/Thermal Shutdown
The EMC2103 provides a hardware Critical/Thermal Shutdown function for systems. Figure 5.2 is a
block diagram of this Critical/Thermal Shutdown function. The Critical/Thermal Shutdown function
accepts configuration information from the fixed states of the SHDN_SEL pin as described in
Section 5.1.1.
Each of the software programmed temperature limits can be optionally co nfigured to act as inputs to
the Critical / Thermal Shutdown independent of the hardware shutdown operation. When configured to
operate this way, the SYS_SHDN# pin will be asserted when the temperature meets or exceeds the
limit. The pin will be released when the temperature drops below the limit however the individual status
bits will not be cleared if set (see Section 6.13).
The analog portion of the Critical/Thermal Shutdown function monitors the hardware determined
shutdown channel (see Section 5.1.1). This measured temperature is then compared with TRIP_SET
point. This TRIP_SET point is set by the system designer with a single external resistor divider as
described in Section 5.1.2.
The SYS_SHDN is asserted when the indicated temperature meets or exceeds the temperature
threshold (TP) established by the TRIP_SET input pin for a number of consecutive measurements
defined by the fault queue. If the HW_SHDN output is asserted an d the temperature drops below the
threshold, then it will be set to a logic ‘0’ state.
H/W Thermal
Shutdown Sensor
TRIP_SET
Critical / Thermal Shutdown
Temperature
Conversion
Temperature
Conversion
Figure 5.2 Block Diagram of Critical / Thermal Shutdown
Software
Shutdown Enable
SW_SHDN
HW_SHDN
Resistor
Decode
SMBus
Traffic
VDD
SHDN_SEL
SYS_SHDN
SMSC EMC210321Revision 0.85 (01-29-08)
DATASHEET
Page 22
5.1.1S HDN_SEL Pin
The EMC2103 has a ‘strappable’ input (SHDN_SEL) allowing for configuration of the hardware
Critical/Thermal Shutdown input channel. The pull-up resistor used on this pin identifies which
configuration setting is used as shown in Table 5.1.
.
PULL UP RESISTORMODE OF OPERATIONCONFIGURATION MECHANISM
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 5.1 SHDN_SEL Pin Decode
4.7k Ohm
<
6.8k Ohm
10k Ohm
15k OhmInternal Diode Host control via SMBus
22k Ohm
>
33k Ohm
Note 5.1For the EMC2103-1, the decode for a 22k Ohm resistor on the SHDN_SEL pin will be to
use the External Diode 1 channel in Diode Mode (the same as the decode for a 6.8k Ohm
resistor) as the hardware shutdown device.
5.1.2TRIP_SET Pin
External Diode 1 Simple Mode Beta compensation disabled, REC
disabled - recommended for AMD
CPU diodes
The EMC2103’s TRIP_SET pin is an analog input to the Critical/Thermal Shutdown block which sets
the Thermal Shutdown temperature. The system designer creates a voltage level at the input through
a simple resistor connected to GND as shown in Figure 5.2. The value of this resistor is used to create
an input voltage on the TRIP_SET pin which is translated into a temperature ranging from 65°C to
127°C as shown in Table 5.2
APPLICATION NOTE: Current only flows when the TRIP_SET pin is being mon itored. At all othe r ti mes, the intern al
reference voltage is removed and the TRIP_SET pin will be pul led down to ground.
APPLICATION NOTE: The TRIP_SET pin circuitry is designed to use a 1% resistor externally. Using a 1% resistor
will result in the Thermal / Critical Shutdown temperature being decoded correctly. If a 5%
resistor is used, then the Thermal / Critical Shutdown temperature may be decoded with as
much as ±1°C error.
The EMC2103 has four modes of operation for the fa n driver. Each mode uses Ramp Rate control and
the Spin Up Routine
1. PWM Setting Mode - in this mode of operation, the user directly controls the PWM duty cycle
setting. Updating the Fan Driver Setting Register (see Section 6.20) will instantly update the fan
drive.
This is the default mode. The PWM Setti ng Mode is enabled by clearing both the EN_ALGO
bit in the Fan Configuration Register (see Section 6.22) and the LUT_LOCK bit in the Look
Up Table Config uration Register (see Section 6.32).
Whenever the PWM Setting Mode is enabled the current drive will be changed to what was
last written into the Fan Driver Setting Register.
2. Fan Speed Control Mode (FSC) - in this mode of operation, th e user determines a fan speed and
the drive setting is automatically updated to achieve this target speed.
This mode is enabled by clearing the L UT_LOCK bit in the Look Up Table (LUT)
Configuration Register and setting the EN_ALGO bit in the Fan Configuration Register.
3. Using the Look Up Table with Fan Drive Settings (PWM Setting w/ LUT Mode) - In this mode of
operation, the user programs the Look Up Table with PWM duty cycle settings and corresponding
temperature thresholds. The fan drive is set based on the measured temperatures and the
corresponding drive settings.
This mode is enabled by programming the L ook Up Table then setting the LUT_LOCK bit
while the RPM / PWM bit is set to a ‘1’ (see Section 6.32)
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
4. Using the Look Up Table with Fan Speed Control algorithm (FSC w/ LUT Mode)- In this mode of
operation, the user programs the Look Up Table with fan speed target values and corresponding
temperature thresholds. The TACH Target Register will be set based on the measured
temperatures and the corresponding target settings. The PWM drive settings will be determined
automatically based on the RPM based Fan Speed Control Algorithm
This mode is enabled by programming the L ook Up Table then setting the LUT_LOCK bit
while the RPM / PWM bit is set to ‘0’ (see Section 6.32).
Table 5.3 Fan Controls Active for Operating Mode
DIRECT PWM
SETTING MODEFSC MODE
Fan Driver Setting (read
/ write)
Fan Driver Setting (read
only)
EDGES[1:0]EDGES[1:0]
(Fan Configuration)
-RANGE[1:0]
(Fan Configuration)
UPDATE[2:0]
(Fan Configuration)
LEVEL
(Spin Up Configuration)
UPDATE[2:0]
(Fan Configuration)
LEVEL
(Spin Up Configuration)
DIRECT PWM SETTING W/
LUT MODEFSC W/ LUT MODE
Fan Driver Setting (read only)Fan Driver Setting (read
only)
EDGES[1:0] EDGES[1:0]
-RANGE[1:0]
(Fan Configuration)
UPDATE[2:0]
(Fan Configuration)
LEVEL
(Spin Up Configuration)
UPDATE[2:0]
(Fan Configuration)
LEVEL
(Spin Up Configuration)
SPINUP_TIME[1:0]
(Spin Up Configuration)
SPINUP_TIME[1:0]
(Spin Up Configuration)
SPINUP_TIME[1:0]
(Spin Up Configuration)
SPINUP_TIME[1:0]
(Spin Up Configuration)
Fan StepFan St epFan StepFan Step
-Fan Minimum DriveFan Minimum Drive
Revision 0.85 (01-29-08)24SMSC EMC2103
DATASHEET
Page 25
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 5.3 Fan Controls Active for Operating Mode (continued)
DIRECT PWM
SETTING MODEFSC MODE
Valid TACH CountValid TACH CountValid TACH Co untValid TACH Count
-TACH Target (read /
write)
TACH ReadingTACH ReadingTACH ReadingTACH Reading
--Look Up Table Drive /
-DRIVE_FAIL_CNT [1:0]
(Spin Up Configuration) +
Fan Drive Fail Band
DIRECT PWM SETTING W/
LUT MODEFSC W/ LUT MODE
-TACH Target (read only)
Tempe rature Settings (read
only)
-DRIVE_FAIL_CNT [1:0]
Look up Table Drive /
Temperature Settings
(read only)
(Spin Up Configuration)
+ Fan Drive Fail Band
5.3 PWM Fan Driver
The EMC2103 supports a high or low frequency PWM driver. The output can be configured as either
push-pull or open drain and the frequency ranges from 9.5Hz to 26kHz in four programmable
frequency bands.
5.4 Fan Control Look-Up Table
The EMC2103 uses a look-up table to apply a user-programmable fan control profile based on
measured temperature to the fan driver. In this look-up table, each temperature channel is allowed to
control the fan drive output independently (or jointly) by programming up to eight pairs of temperature
and drive setting entries.
The user programs the look-up table based on the desired operation. If the RPM based Fan Speed
Control Algorithm is to be used (see Section5.5), then the user must program a fan spee d target for
each temperature setting of interest. Alternately, if the RPM based Fan Speed Control Algorithm is not
to be used, then the user must program a PWM setting for each temperature setting of interest.
If the measured temperature on the External Diode channel meets or exceeds any of the temperature
thresholds for any of the channels, the fan output will be automatically set to the desired setting
corresponding to the exceeded temperature. In cases where multiple te mperature channel thresholds
are exceeded, the highest fan drive setting will take precedence. Figure 5.3 shows an example of this
behavior using a single channel.
When the measured temperature drops to a point below a lower threshold minus the hysteresis value,
the fan output will be set to the corresponding lower set point.
SMSC EMC210325Revision 0.85 (01-29-08)
DATASHEET
Page 26
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Fan
Temp
Setting
T6
T6 - Hyst
T5
T5 - Hyst
T4
T4 - Hyst
T3
T3 - Hyst
T2
T2 - Hyst
T1
Averaged
Temperature
Fan
Setting
Measurement taken
Time
Figure 5.3 Fan Control Look-Up Table Example
S6
S5
S4
S3
S2
S1
5.4.1P rogramming the Look Up Table
When the Look Up Table is used, it must be loaded and configured correctly based on the system
requirements. The following steps outline the procedure.
1. Determine whether the Look Up Table will drive a PWM duty cycle or a tachometer target value
and set the RPM / PWM bit in the Fan LUT Configuration Register (see Section 6.32).
2. Determine which mea surement channels (up to four) are to be used with the Look Up Table a nd
set the TEMP3_CFG and TEMP4_CFG bits accordingly in the Fan LUT Co nfiguration Register.
3. Fo r each step to be used in the LUT, set the Fan Setting (either PWM or TACH Target as set by
the RPM / PWM bit). If a setting is not used, then set it to FFh (if a PWM) or 00h (if a TACH Target).
Load the lowest settings first in ascending order (i.e. Fan Se tting 1 is the lowest setting greater
than “off”. Fan Setting 2 is the next highest setting, etc.). See Section 6.33.
4. For each step to be used in the LUT, set each of the measurement channel thresholds. These
values must be set in the same data format that the data is presented. If DTS is to be used, then
the format should be in temperature with a maximum threshol d of 100°C (64h). If a measurement
channel is not used, then set the threshold at FFh.
5. Update the thresh old hysteresis to be smaller than the smallest table step.
6. Con figure the RPM based Fan Speed Control Algorithm if it is to be used. See Section 5.5.1 for
more details.
Revision 0.85 (01-29-08)26SMSC EMC2103
DATASHEET
Page 27
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
7. Set the LUT_LOCK bit to enable the Look Up Table and begin fan control in the Fan LUT
Configuration Register.
5.4.2D TS Support
The EMC2103 supports DTS (Intel’s Digital Temperature Sensor) data in the Fan Control Look Up
Tabl e. Intel’s DTS data is a positive number that represents the processor’s relative temperature below
a fixed value called T
CONTROL
example, a DTS value of 10°C means that the actual processor temperature is 10°C below T
or equal to 90°C.
Either or both of the Pushed Temperature Registers can be written with DTS data and used to control
the fan driver. When DTS data is entered, then the USE_DTS_Fx bit must be set in the Fan LUT
Configuration register. Once this bit is set, the DTS data entered is automatically subtracted from a
value of 100°C. This delta value is then used in the Look Up Table as standard temperature data.
which is generally equal to 100°C for Intel Mobile processors. For
CONTROL
APPLICATION NOTE: The device is designed with the assumption that T
CONTROL
is 100°C. As such, all DTS
related conversions are done based on this value including Look Up Table comparisons. If
T
CONTROL
is adjusted (i.e. T
CONTROL
thresholds should be adjusted by a value equal to T
is shifted to 105°C), then all of the Look Up Table
CONTROL
- 100°C.
5.5 RPM based Fan Speed Control Algorithm (FSC)
The EMC2103 includes an RPM based Fan Speed Control Algorithm.
This fan control algorithm uses Proportional, In tegral, and Derivative terms to automatically approach
and maintain the system’s desired fan speed to an accuracy directly proportional to the accuracy of
the clock source. Figure 5.4 shows a simple flow diagram of the RPM based Fan Speed Control
Algorithm operation.
The desired tachometer count is set by the user inputting the desired number of 32.768KHz cycles
that occur per fan revolution. This is done by either manually setting the TACH Target Register or by
programming the Temperature Look-Up Table. The user may change the target count at any time. The
user may also set the target count to FFh in order to disable the fan driver for lower cu rrent operation.
For example, if a desired RPM rate for a 2-pole fan is 3000 RPM then the user would input the
hexidecimal equivalent of 1296 (51h in the TACH Target Register). This number represents the number
of 32.768KHz cycles that would occur during the time it takes the fan to complete a single revolution
when it is spinning at 3000RPMs. See Section 6.30 for RPM -> TACH calculations or Appendix B for
a complied table showing this information (for default conditions).
The EMC2103’s RPM based Fan Speed Control Algorithm has programmable configuration settings
for parameters such as ramp-rate control and spin up conditions. The fan driver automatically detects
and attempts to alleviate a stalled/stuck fan condition while also asserting the ALERT
EMC2103 works with fans that operate up to 16,000 RPMs and provi des a valid tachometer signal.
pin. The
SMSC EMC210327Revision 0.85 (01-29-08)
DATASHEET
Page 28
Set TACH Target
Count
Measure Fan Speed
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Ma in tain F an Driv e
Spin Up
Required
?
No
Yes
Yes
Reduce Fan DriveIn c re a se F a n D riv e
TACH
Reading =
TACH
Target?
TACH
Reading <
TACH
Target?
Yes
No
No
Perform Spin Up
Routine
Ra mp Ra te Co ntr ol
Figure 5.4 RPM based Fan Speed Control Algorithm
5.5.1P rogramming the RPM Based Fan Speed Control Algorithm
The RPM based Fan Speed Control Algorithm powers-up disabled. The following registers control the
algorithm. The EMC2103 fan control registers are pre-loaded with defaults that will work for a wide
variety of fans so only the TACH Target Register is required to set a fan speed. The other fan control
registers can be used to fine-tune the algorithm behavior based on application requirements.
Note that steps 1 - 7 are optional and need only be performed if the default settings do not provide
the desired fan response.
1. Set the Valid TACH Count Register to maximum number of tach counts to indicate the fan is
spinning.
2. Set th e Spin Up Configuration Register to the Spin Up Level and Spin Time desired.
Revision 0.85 (01-29-08)28SMSC EMC2103
DATASHEET
Page 29
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
3. Set the F an Step Register to the desired step size.
4. Set the F an Minimum Drive Register to the minimum drive value that will maintain fan operation.
5. Set th e Update Time, and Edges options in the Fan Configuration Register.
6. Set th e valid TACH count setting at the highest count that indicates that the fan is spinning.
7. Set the TACH Targe t Register to the desired tachometer count.
8. Enable the RPM based Fan Speed Control Algorithm by setting the EN_ALGO bit.
5.6 Tachometer Measurement
The tachometer measurement circuitry is used in conjunction with the RPM based Fan Speed Control
Algorithm to update the fan driver output. Additionally, it can be used in Direct Setting mode as a
diagnostic for host based fan control.
This method monitors the TACH signal in real time. It constantly updates the tachometer measurement
by reporting the number of clocks between a user progra mmed number of edges on the TACH signal
(see Table 8.5)
Using the Tach Period Measurement method provides fast response times for the RPM based Fan
Speed Control Algorithm and the data is presented as a count value that represents the fan RPM
period. When this method is used, all fan target values must be input as a count value for proper
operation.
APPLICATION NOTE: The Tach Period Measurement method works independently of the drive settings. If the
device is put into Direct Setting and the fan drive is set at a level that i s lower than the fan
can operate (including zero drive), then the tachometer measurement may signal a Stalled
Fan condition and assert an interrupt.
5.6.1Stalled Fan
A Stalled fan is detected differently based on which tach method is enabled. If the Tach Period
Measurement measurement method is implemented, and if the tach counter exceeds the userprogrammable Valid TACH Count setting then it will flag the fan as stalled and trigger an interrupt.
If the RPM based Fan Speed Control Algorithm is enabled, the algorithm will automatically attempt to
restart the fan until it detects a valid tachometer level or is disabled.
The FAN_STALL Status bit indicates that a stalled fan was detected. This bit is checked conditionally
depending on the mode of operation.
When the Direct Setting Mode or Direct Setting with LUT Mode are enabled or the Spin Up Routine
is initiated, the FAN_STALL interrupt will be masked for the duration of the programmed Spin Up
Time (see Table 8.16). This is to allow the fan opportunity to reach a valid speed without generating
unnecessary interrupts.
When the Direct Setting Mode or Direct Setting w/ LUT Mode are activa ted then whenever the
TACH Reading Register value exceeds the Va lid TACH Count Register setting, the FAN_STALL
status bit will be set.
When using the RPM based Fan Speed Control Algorithm (either FSC Mode or LUT with FSC
Mode), the stalled fan condition is checked whenever the Update Time is met and the fan drive
setting is updated. It is not a continuous check.
5.6.2A ging Fan or Invalid Drive Detection
The EMC2103 contains circuitry that detects that the programmed fan speed can be reached b y the
fan. If the target fan speed cannot be reached within a user defined band o f tach counts at maximum
drive then the DRIVE_FAIL status bit is and the ALERT
fan conditions (where the fan’s natural maximum speed degrades over time) or incorrect fan speed
settings.
SMSC EMC210329Revision 0.85 (01-29-08)
pin is asserted. This is useful to detect aging
DATASHEET
Page 30
5.7 Spin Up Routine
The EMC2103 also contains programmable circuitry to control the spin up behavior of the fan driver
to ensure proper fan operation. The Spin Up Routine is initiated under the following conditions when
the Tach Period Measurement method of tach measurement is used. This applies to either the RPM
based Fan Speed Control Algorithm mode or the Direct Setting mode (with or without the Look Up
Table).
1. The TACH Target Register value changes from a value of FFh to a value that is less than the Valid
TACH Count (see Section 8.10 and Section 8.12).
2. Th e RPM based Fan Speed Control Algorithm’s measured TACH Reading Register value is greater
than the Valid TACH Count setting.
When the Spin Up Routine is operating, the fan driver is set to full scale (optional) for one quarter of
the total user defined spin up time. For the remaining spin up time, the fa n driver output is set a a user
defined level (30% through 65% drive).
After the Spin Up Routine has finished, the EMC2103 measures the TACH signal. If the measured
TACH Reading Register value is higher than the Valid TACH Count Register setting, the FAN_SPIN
status bit is set and the Spin Up Routine will automatically attempt to restart the fan.
Figure 5.5 shows an example of the Spin Up Routine in response to a programmed fan speed change
based on the first condition above.
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Prev Target
Count = FFh
Target Count
Changed
100%
(optional)
30% through 65%
¼ of Spin U p T im e
Spin Up Time
New Target Count
Update Time
Check TACH
Figure 5.5 Spin Up Routine
Fan Step
Algorithm controlled drive
Target Count
Reached
Revision 0.85 (01-29-08)30SMSC EMC2103
DATASHEET
Page 31
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
5.8 Ramp Rate Control
The PWM output drive can be configured with automatic ramp rate control. If the RPM based Fan
Speed Control Algorithm is used, then this ramp rate control is automatically used based on the fan
control derivative option settings. See Section 6.23, "Fan Configuration 2 Register". The user programs
a maximum step size for the PWM setting and an update time. The update time varies from 100ms to
1.6s while the PWM maximum step can vary from 1 PWM count to 31 PWM counts.
When a new PWM is entered, the delta from the next PWM and the previous PWM is determined. If
this delta is greater than the Max Step settings, then the PWM is incrementally adjusted every 100ms
to 1.6s as determined by the Update Time until the target PWM setting is reached. See Figure 5.6.
Next Desired
Setting
Previous
Setting
Max
Step
Max
Step
Setting Changed
5.9 Watchdog Timer
The EMC2103 contains an internal Watchdog Timer. Once the device has powered up the watchdog
timer monitors the bus traffic for signs of activity. The Watchdog Timer starts when the internal supply
has reached its operating point. The Watchdog Timer only starts immediately after power-up and once
it has been triggered or deactivated will not restart.
If four (4) seconds elapse without the system host programming the device, then the watchdog will be
triggered and the following will occur:
1. The WATCH status bit will be set.
2. The fan driver will be set to full scale drive. It will remain at full scale drive until one of the three
conditions listed below are met.
If the Watchdog Timer is triggered, the following three operations will disable the timer and return the
device to normal operation. Alternately, if the Watchdog Timer has not yet been triggered performing
any one of the following will disable it.
1. Writing the Fan Setting Register will disable the Watchdog Timer.
2. Enabling the RPM based Fan Speed Control Algorithm by setting the EN_ALGO bit will disable the
Watchdog Timer. The fan d river will be set based on the RPM based Fan Speed Control Algorithm.
Update
Time
Figure 5.6 Ramp Rate Control
Update
Time
SMSC EMC210331Revision 0.85 (01-29-08)
DATASHEET
Page 32
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
3. Setti ng the LUT_LOCK bit will disable th e Watchdog Timer. The fan driver will be set based on the
Look Up Table settings.
Writing any other configuration registers will not disable the Watchdog Timer.
APPLICATION NOTE: Disabling the Watchdog will not automatically set the fa n drive. This must be done manually
(or via the Look Up Table).
5.10 Fault Queue
The EMC2103 contains a programmable fault queue on all fault cond itions. The fault queue defines
how many consecutive out-of-limit conditions must be reported before the correspond ing status bit is
set (and the ALERT pin asserted).
5.11 Temperature Monitoring
The EMC2103 can monitor the temperature of up to three (3) externally connected diodes as well as
the internal or ambient temperature. Each channel is configure d with the following features enable d or
disabled based on user settings and system requirements.
5.11.1Dynamic Averaging
The EMC2103 supports dynamic averaging. When enable d, this feature changes the conversion time
for all channels based on the selected conversion rate. This essentially increases the averaging factor
as shown in Table 5.4. The benefits of Dynamic Averaging are improved noise rejection due to the
longer integration time as well as less random variati on on the temperature measurement.
Table 5.4 Dynamic Averaging Behavior
AVERAGING FACTOR (RELATIVE TO 11-BIT CONVERSI0N)
CONVERSION RATE
1 / sec8x1x
2 / sec4x1x
4 / sec2x 1x
Continuous1x 1x
5.11.2Resistance Error Correction
The EMC2103 includes active Resistance Error Correction to remove the effect of up to 100 ohms of
series resistance. Without this automatic feature, voltage developed across the parasitic resistance in
the remote diode path causes the temperature to read higher than the true temperature is. The error
induced by parasitic resistance is approximately +0.7°C per ohm. Sources of parasitic resistance
include bulk resistance in the remote temperature transistor junctio ns, series resistance in the CPU,
and resistance in the printed circuit board traces and package leads. Resistance error correction in the
EMC2103 eliminates the need to characterize and compensate for parasitic resistance in the remote
diode path.
DYNAMIC AVERAGING
ENABLED
DYNAMIC AVERAGING
DISABLED
Revision 0.85 (01-29-08)32SMSC EMC2103
DATASHEET
Page 33
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
5.11.3Beta Compensation
The forward current gain, or beta, of a transistor is not constant as emitter currents change. As well,
it is not constant over changes in temperature. The variation in beta causes an error in temperature
reading that is proportional to absolute temperature. This correction is done by implementin g the BJT
or transistor model for temperature measurement.
For discrete transistors configured with the collector and base shorted together, the beta is generally
sufficiently high such that the percent change in beta variation is very small. For example, a 10%
variation in beta for two forced emitter currents with a transistor whose ideal beta is 50 would contri bute
approximately 0.25°C error at 100°C. However for substrate transistors where the base-emitter junction
is used for temperature measurement and the collector is tied to the substrate, the proportional beta
variation will cause large error. For example, a 10% variation in beta for two forced emitter currents
with a transistor whose ideal beta is 0.5 would contribute approximately 8.25°C error at 100°C.
The Beta Compensation circuitry in the EMC2103 corrects for this beta variation to eliminate any error
which would normally be induced. It automatically detects the appropriate beta setting to use.
5.11.4Digital Averaging
The external diode channels support a 4x digital averaging filter. Every cycle, this filter updates the
temperature data based an a running average of the last 4 measured temperature values. The digital
averaging reduces temperature flickering and increases temp erature measurement stability.
The digital averaging can be disabled by setting the DIS_AVG bit in the Configuration 2 Register (see
Section 6.11).
5.12 Diode Connections
The External Diode 1 channel can support a diode-connected transistor (such as a 2N3904) or a
substrate transistor requiring the BJT or transistor model (such as those found in a CPU or GPU) as
shown in Figure 5.7.
The External Diode 2 channel supports any diode connection shown or it can be configured to operate
in anti-parallel diode (APD) mode. When configured in APD mode, a third temperature channel is
available that shares the DP2 and DN2 pins. When in this mode, both the external diode 2 channel
and external diode 3 channel thermal diodes must be conn ected as diodes.
to
DP
to
DN
Local Ground
to
DP
to
DN
to
DP
to
DN
Typical remote
substrate transistor
i.e. CPU substrate PNP
SMSC EMC210333Revision 0.85 (01-29-08)
Typical remote
discrete PNP transistor
i.e. 2N3906
Figure 5.7 Diode Connections
Typical remote
discrete NPN transistor
i.e. 2N3904
DATASHEET
Page 34
5.12.1Diode Faults
The EMC2103 actively detects an open and short conditio n on each measurement channel. When a
diode fault is detected, the temperature data MSByte is forced to a value of 80h and the FAULT bit is
set in the Status Register. When the External Diode 2 channel is configured to operate in APD mode,
the circuitry will detect independent open fault conditions, however a short condition will be shared
between the External Diode 2 and External Diode 3 channels.
If a diode fault occurs on the hardware defined sh utdown channel, then no temperature comparison is
performed. The SYS_SHDN
5.13 GPIOs
The EMC2103-2 contains two dedicated GPIO pins. The GPIO pins can be in dividually configured as
an input or an output and as a push-pull or open-drain output. Additionally, each GPIO pin, when
configured as an input, can be individually enabled to trigge r an interrupt when they change states.
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
pin will not be asserted.
Revision 0.85 (01-29-08)34SMSC EMC2103
DATASHEET
Page 35
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Chapter 6 Register Set
6.1 Register Map
The following registers are accessible through the SMBus Interface. All register bits marked as ‘-’ will
always read ‘0’. A write to these bits will have no effect.
APPLICATION NOTE: All registers denoted with a ** are specific to the EMC2103-2 only. Writing to these registers
by the EMC2103-1 will have no affect and reading from them will return ‘00h’.
Table 6.1 EMC2103 Register Set
ADDRR/W
00hRInternal Temp
01hRInternal Temp
02hRExternal Diode 1
03hRExternal Diode 1
04h ** RExternal Diode 2
05h ** RExternal Diode 2
06h **RExternal Diode 3
REGISTER
NAMEFUNCTION
Reading High
Byte
Reading Low Byte
Temp Re ading
High Byte
Temp Re ading
Low Byte
Temp Re ading
High Byte **
Temp Re ading
Low Byte **
Temp Re ading
High Byte **
Temper ature Registers
Stores the integer data of the Internal
Diode
Stores the fractional data of the
Internal Diode
Stores the integer data of External
Diode 1
Stores the fractional data of External
Diode 1
Stores the integer data of External
Diode 2
Stores the fractional data of External
Diode 2
Stores the integer data of External
Diode 3
DEFAULT
VALUELOCKPAGE
00hNo Page 42
00hNo Page 42
00hNo Page 42
00hNo Page 42
00hNo Page 42
00hNo Page 42
00hNo Page 42
07h **RExternal Diode 3
Temp Re ading
Low Byte **
0AhRCritical/Thermal
Shutdown
Temperature
0ChR/WPushed
Tempera ture 1
0DhR/WPushed
Temperature 2
10hRTRIP_SET
Voltage
SMSC EMC210335Revision 0.85 (01-29-08)
Stores the fractional data of External
Diode 3
Stores the calculated Critical/Thermal
Shutdown temperature high limit
derived from TRIP_SET pin voltage
Stores the integer data for Pushed
Tempera ture 1 to drive the LUT
Stores the integer data for Pushed
Tempera ture 2 to drive the LUT
Stores the measured voltage on the
TRIP_SET pin
00hNo Page 42
N/ANo Page 43
00hNo Page 43
00hNo Page 43
FFhNo Page 44
DATASHEET
Page 36
RPM-Based Fan Controller with HW Thermal Shutdown
Table 6.1 EMC2103 Register Set (continued)
Datasheet
REGISTER
ADDRR/W
NAMEFUNCTION
11hR/WExternal Diode 1
Ideality Register
12h **R/WExternal Diode 2
Ideality Register **
14hR/WExtern al Diode 1
Beta Configuration
15h ** R/WExternal Diode 2
Beta Configuration
**
17hR/WExternal Di ode
REC
Configuration
19hR/W
once
1Ah **R/W
once
1Bh ** R/W
once
External Diode 1
Tcrit Limit
External Diode 2
Tcrit Limit **
External Diode 3
Tcrit Limit **
Diode Configuration
Stores the Ideality Factor used for
External Diode 1
Stores the Ideality factor used for
External Diode 2 and External Diode
3
Configures the beta compensation
settings for External Diode 1
Configures the beta compensation
settings for External Diode 2
Configures the Resistance Error
Correction functionality for all
external diodes
Stores the critical temperature limit
for External Diode 1
Stores the critical temperature limit
for External Diode 2
Stores the critical temperature limit
for External Diode 3
DEFAULT
VALUELOCKPAGE
12hSWL Page 44
12hSWL Page 44
10hSWL Page 45
10hSWL Page 45
07hSWL Page 46
64h
(100°C)
64h
(100°C)
64h
(100°C)
Write
Once
Write
Once
Write
Once
Page 47
Page 47
Page 47
1DhR/W
once
Internal Diode
Tcrit Limit
Stores the critical temperature limit
for the Internal Diode
Configuration and control
1FhRTcrit StatusStores the status bits for all
temperature channel tcrit limits
20hR/WConfigurationConfigures the The rmal / Critical
Shutdown masking options
21hR/WConfiguration 2Controls the conversion rate fo r
monitoring of all channels
23hR-C Interrupt Status Stores the status bits for temperature
channels
24hR-CHigh Limit Status Stores the status bits for all
temperature channel high limits
25hR-CLow Limit StatusStores the status bits for all
temperature channel low limits
26hR-CDiode FaultStores the status bits for all
temperature channel diode faults
27hR-CFan StatusStores the status bits for the RPM
based Fan Speed Control Algorithm
28hR/WInterrupt Enable
Register
Controls the masking of interrupts on
all temperature channels
64h
(100°C)
Write
Once
Page 47
00hNo Page 50
00hSWL Page 47
0EhSWL Page 48
00hNo Page 49
00hNo Page 50
00hNo Page 50
00hNo Page 50
00hNo Page 51
00hNo Page 51
29hR/WFan Interrupt
Enable Register
Revision 0.85 (01-29-08)36SMSC EMC2103
Controls the masking of interrupts for
the Fan Driver
00hNo Page 52
DATASHEET
Page 37
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 6.1 EMC2103 Register Set (continued)
ADDRR/W
REGISTER
NAMEFUNCTION
DEFAULT
VALUELOCKPAGE
2AhR/WPW M ConfigConfigures the PWM driver00hNo Page 52
2BhR/WPWM Base
Frequency
Controls the base frequency of the
PWM driver
03hNo Page 53
Tempe rature Limit Registers
30hR/WExtern al Diode 1
Temp Hig h Limit
31h **R/WExternal Diode 2
T emp High Limit **
32h ** R/WExternal Diode 3
T emp High Limit **
34hR/WInternal Diode
High Limit
38hR/WExtern al Diode 1
Temp Low Limit
39h **R/WExternal Diode 2
Temp Low Limit **
3Ah **R/WExternal D iode 3
Te m p L o w Li m it * *
High limit for External Diode 1 55h
(+85°C)
High limit for External Diode 2 55h
(+85°C)
High limit for External Diode 3 55h
(+85°C)
High Limit for Internal Diode55h
(85°C)
Low Limit for External Diode 1 00h
(0°C)
Low Limit for External Diode 2 00h
(0°C)
Low Limit for External Diode 300h
(0°C)
SWL Page 53
SWL Page 53
SWL Page 53
SWL Page 53
SWL Page 53
SWL Page 53
SWL Page 53
3ChR/WInternal Diode
Low Limit for Internal Diode00h
Low Limit
Fan Control Registers
40hR/WFan Setting Always displays the most recent fan
driver input setting for Fan. If the
RPM based Fan Speed Control
Algorithm is disabled, allows direct
user control of the fan driver.
41hR/WPWM DivideStores the divide ratio to set the
frequency for the Fan
42hR/WFan Configuration 1Sets configuration values for the
During Power-On-Reset (POR), the default values are stored in the registers. A POR is initiated when
power is first applied to the part and the voltage on the VDD supply surpasses the POR level as
specified in the electrical characteristics. Any reads to undefined registers will return 00h. Writes to
undefined registers will not have an effect.
are enabled
Stores the unique Product ID2 4h No Page 69
00hNo Page 68
26h No
6.1.1Lo ck Entries
The Lock Column describes the locking mechanism, if any, used for individual registers. All SWL
registers are Software Locked and therefore made read-only when the LOCK bit is set.
SMSC EMC210341Revision 0.85 (01-29-08)
DATASHEET
Page 42
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
6.2 Temperature Data Registers
T able 6.2 Temperature Data Registers
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
00hR
01hR
02hR
03hR
04h ** R
05h ** R
06h ** R
07h ** R
Internal Diode
High Byte
Internal Diode
Low Byte
External
Diode 1 High
Byte
External
Diode 1 Low
Byte
External
Diode 2 High
Byte **
External
Diode 2 Low
Byte **
External
Diode 3 High
Byte **
External
Diode 3 Low
Byte **
The temperature measurement range is from -64°C to +127.875°C. The da ta format is a signed two’s
complement number as shown in Table6.3.
Sign643216842100h
0.50.250.125-----00h
Sign643216842100h
0.50.250.125-----00h
Sign643216842100h
0.50.250.125-----00h
Sign643216842100h
0.50.250.125-----00h
Table 6.3 Temperature Data Format
TEMPERATURE (°C)BINARY
Diode Fault1000_0000_000b80_0 0h
-63.8751100_0000_001bC0_20h
-631100_0001_000bC1_00h
-11111_1111_000bFF_00h
-0.1251 111_1111_111bFF_E0h
00000_0000_000b00_00h
0.1250000_0000_001b00_20h
10000_0001_000b01_00h
630011_1111_000b3F_00h
640100_0000_000b40_00h
Revision 0.85 (01-29-08)42SMSC EMC2103
HEX (AS READ BY
REGISTERS)
DATASHEET
Page 43
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
T able 6.3 Temperature Data Format (continued)
HEX (AS READ BY
TEMPERATURE (°C)BINARY
650100_0001_000b41_00h
1270111_1111_000b7F_00h
127.8750111_1111_111b7F_E0h
REGISTERS)
6.3 Critical/Thermal Shutdown Temperature Register
Table 6.4 Critical/Thermal Shutdown Temperature Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
0AhR
TEMPERATURE (°C)BINARY HEX
Critical/Thermal
Shutdown
Temperature
The Critical/Thermal Shutdown Temperature Register is a read-only register that stores the Voltage
Programmable Threshold temperature used in the Thermal / Critical Shutdown circuitry. The contents
of the register reflect the calculated temperature determined by the voltage on th e TRIP_SET pin (see
Section 5.1.2).
The data format is shown in Table 6.5.
00000_0000b00h
10000_0001b01h
630011_1111b3Fh
640100_0000b40h
650100_0001b41h
1270111_111 1b7Fh
12864321684217Fh
(+127°C)
Table 6.5 Critical / Thermal Shutdown Data Format
6.4 Pushed Temperature Registers
Table 6.6 Pushed Temperature Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
0ChR/WPushed
Temperature 1
0DhR/WPushed
Temperature 2
SMSC EMC210343Revision 0.85 (01-29-08)
Sign643216842100h
Sign643216842100h
DATASHEET
Page 44
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
The Pushed Temperature Registers store user programmed temperature values that can be used by
the look-up table to update the fan control algorithm . Data written in these registers is not compared
against any limits and must match the data format shown in T able6.3.
6.5 TRIP_SET Voltage Register
Table 6.7 TRIP_SET Voltage Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
TRIP_SET
10hR/W
Voltage
Register
The TRIP_SET Voltage Register stores data that is measured on the TRIP_SET Voltage input. Each
bit weight represents mV of resolution so that the final voltage can be determined by adding the
weighting of the set bits together.
750.0375.0187.593.7546.8823.4311.725.89FFh
6.6 Ideality Factor Registers
Table 6.8 Ideality Factor Registers
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
External
11hR/W
12h **R/W
Diode 1
Ideality
External
Diode 2
Ideality **
These registers store the ideality factors that are applied to the e xternal diodes.
The External Diode 3 channel will use the settings for the Exte rnal Diode 2 channel.
Beta Compensation and Resistance Error Correction automatically correct for most diode ideality
errors, therefore it is not recommended that these settings be updated without con sulting SMSC.
Only the lower three bits can be written. Writing to any other bit will be ignored.
The Ideality Factor Registers are software locked.
The Beta Configuration Register controls advanced temperature measurement features o f the External
Diode channels.
If External Diode 1 is selected as the hardware shutdown measurement channel (see Section 5.1.1)
then the External Diode 1 Beta register will be read only. If the internal diode is selected, then this
register can be written normally. Likewise, if the External Diode 2 channel is selected (EMC2103-2
only) then this register can be written normally. Finally, if External Diode 2 is selected as the hardware
shutdown measurement channel (EMC2103-2 only), then the External Diode 2 Beta Configuration
Register will be read only.
Writing to a read only register will have no affect. The data will be ignored.
Bit 4 - AUTOx - Enables the Automatic Beta detection algorithm for the External Diode X channel.
‘0’ - The Automatic Beta detection algorithm is disabled. The BETAx[3:0] bit settings will be used
‘1’ (default) - The Automatic Beta detection algorithm is enabl ed. The circuitry will automatically
External Diode 1
Beta
Configuration
External Diode 2
Beta
Configuration **
---
---
AUT
O1
AUT
O2
-BETA1[2:0]10h
-BETA2[2:0]10h
to control the beta compensation circuitry.
detect the transistor type and beta values and configure the BETAx[3:0] bits for optimal
performance.
Bits 2 - 0 - BETAx[2:0] - hold a value that corresponds to a range of betas that the Beta Compensation
circuitry can compensate for. These three bits will always show the current beta setting used by the
circuitry. If the AUTO bit is set (default), then these bits may be overwritten with every temperature
conversion. If the AUTO bit is not set, then the value of these bits is used to drive the beta
compensation circuitry. In this case, these bits should be set with a value corresponding to the lowest
expected value of beta for the PNP transistor being used as a temperature sensing d evice.
See Table 6.11 for supported beta ranges. A value of 111b indicates that the beta compensation
circuitry is disabled. In this condition, the diode channels will function with default current levels and
will not automatically adjust for beta variation. Th is mode is used when measuring a discrete 2N3904
transistor or AMD thermal diode.
If the External Diode 3 channel is enabled, it will always use a beta setting of 111b.
The Beta Configuration Registers are Software Locked.
SMSC EMC210345Revision 0.85 (01-29-08)
DATASHEET
Page 46
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 6.11 Beta Compensation Look Up Table
BETAX[2:0]
MINIMUM BETA210
000<
001<
010<
011<
100<
101<
110<
0.08
0. 111
0.176
0.29
0.48
0.9
2.33
111Disabled
6.8 REC Configuration Register
Table 6.12 REC Configuration Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
17hR/W
The REC Configuration Register determines whether Resistance Error Correction is used for each
external diode channel.
REC
Configuration
-----REC3REC2REC1 07h
Bit 2 - REC3 (EMC2102-2 only)- Controls the Resistance Error Correction functionality of External
Diode 3 (if enabled)
‘0’ - the REC functionality for External Diode 3 is disabled
‘1’ (default) - the REC functionality for External Diode 3 is enabled.
Bit 1 - REC2 (EMC2103-2 only)- Controls the Resistance Error Correction functionality of External
Diode 2. If External Diode 2 is selected as the hardware shutdown channel then this b it is read only
and determined by the SHDN_SEL pin (see Section 5.1.1).
‘0’ - the REC functionality for External Diode 2 is disabled
‘1’ (default) - the REC functionality for External Diode 2 is enabled.
Bit 0 - REC1 - Indicates the Resistance Error Correction functionality of External Diode 1. If External
Diode 1 is selected as the hardware shutdown channel then this bit is read only and determined by
the SHDN_SEL pin (see Section 5.1.1).
‘0’ - the REC functionality for External Diode 1 is disabled
‘1’ (default) - the REC functionality for External Diode 1 is enabled.
The REC Configuration Register is software locked.
Revision 0.85 (01-29-08)46SMSC EMC2103
DATASHEET
Page 47
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
6.9 Critical Temperature Limit Registers
Table 6.13 Limit Registers
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
19h
1Ah
1Bh
1Dh
R/W
once
R/W
once
R/W
once
R/W
once
External Diode
1 Tcrit Limit
External Diode
2 Tcrit Limit
External Diode
3 Tcrit Limit
Internal Diode
Tcrit Limit
Sign6432168421
Sign6432168421
Sign6432168421
Sign6432168421
The Critical Temperature Limit Registers store the Critical Temperature Limit. At power up, none of the
respective channels are linked to the SYS_SHDN pin or the Hardware set Thermal/Critical Shutdown
circuitry.
Whenever one of the registers is updated, two things occur. First, the register is locked so that it cannot
be updated again without a power on reset. Second, the respective temperature channel is linked to
the SYS_SHDN pin and the Hardware set Thermal/Critical Shutdown Circuitry. At this point, if the
measured temperature channel exceeds the Critical limit, the SYS_SHDN
appropriate bit set in the Tcrit Status Register, and the TCRIT bit in the Interrupt Status Register will
be set.
6.10 Configuration Register
Ta b le 6.14 Configuration Register
64h
(+100°C)
64h
(+100°C)
64h
(+100°C)
64h
(+100°C)
pin will be asserted, the
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
20hR/WConfigurationMASK---SYS3SYS2SYS1APD00h
The Configuration Register controls the basic functionality of the EMC2103. The bits are described
below.
Bit 7 - MASK - Blocks the ALERT
‘0’ (default) - The ALERT pin is unmasked. If any bit in either status register is set, the ALERT pin
pin from being asserted.
will be asserted (unless individually masked via the Mask Register)
‘1’ - The ALERT pin is masked and will not be asserted.
Bit 3 - SYS3 (EMC2103-2 only) - Enables the high temperature limit for the External Diode 3 channel
to trigger the Critical / Thermal Shutdown circuitry (see Section 5.1).
‘0’ (default) - the External Diode 3 channel high limit will not be linked to the SYS_SHDN pin. If the
temperature meets or exceeds the limit, the ALERT
‘1’ - the External Diode 3 channel high limit will be linked to the SYS_SHDN pin. If the temperature
meets or exceeds the limit then the SYS_SHDN
released when the temperature drops below the high limit. The ALERT
pin will be asserted normally.
pin will be asserted. The SYS_SHDN# pin will be
pin will be asserted
normally.
Bit 2 - SYS2 (EMC2103-2 only) - Enables the high temperature limit for the External Diode 2 channel
to trigger the Critical / Thermal Shutdown circuitry (see Section 5.1).
SMSC EMC210347Revision 0.85 (01-29-08)
DATASHEET
Page 48
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
‘0’ (default) - the External Diode 2 channel high limit will not be linked to the SYS_SHDN pin. If the
temperature meets or exceeds the limit, the ALERT pin will be asserted normally.
‘1’ - the External Diode 2 channel high limit will be linked to the SYS_SHDN pin. If the temperature
meets or exceeds the limit then the SYS_SHDN pin will be asserted. The ALERT pin will be
asserted normally.
Bit 1 - SYS1 - Enables the high temperature limit for the External Diode 1 channel to trigger the Critical
/ Thermal Shutdown circuitry (see Section 5.1).
‘0’ (default) - The External Diode 1 channel high limit will not be l inked to the SYS_SHDN pin. If
the temperature meets or exceeds the limit, the ALERT pin will be asserted normally.
‘1’ - The External Diode 1 channel high limit wi ll be linked to the SYS_SHDN pin. If the temperature
meets or exceeds the limit then the SYS_SHDN pin will be asserted. The ALERT pin will be
asserted normally.
Bit 0 - APD (EMC2103-2 only) - This bit enables the Anti-parallel diode functionality on the External
Diode 3 pins (DP3 and DN3).
‘0’ (default) - The Anti-parallel diode functionality is disabled. The External Diode 2 cha nnel can be
configured for any type of diode
‘1’ - The Anti-parallel diode functionality is enabled. Both the External Diode 2 and 3 channels are
configured to support a diode or diode connected transistor (such as a 2N 3904).
APPLICATION NOTE: When the APD diode is enabled, there will be a delay of a full temperature update before
any comparisons and functionality associated with the External Diode 3 channel will be
implemented. This includes the SYS3 bit operation, limit comparisons, and look up table
comparisons.
The Configuration Register is software locked.
6.11 Configuration 2 Register
Table 6.15 Configuration 2 Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
21hR/WConfig 2 -
The Configuration 2 Register controls conversion rate of the temperature monitoring as well as the
fault queue.
Bit 6 - DIS_DYN - Disables the Dynamic Averaging Feature.
‘0’ (default) - The Dynamic Averaging function is enabled. The conversion time for all temperature
channels is scaled based on the chosen conversion rate to maximize accura cy and immunity to
random temperature measurement variation.
‘1’ - The Dynamic Averaging function is disabled. The conversion time for all temperature channels
is fixed regardless of the chosen conversion rate.
DIS_DYNDIS_TODIS_
AVG
QUEUE[1:0]CONV[1:0]0Eh
Bit 5 - DIS_TO - Disables the SMBus time out function.
‘0’ (default) - The SMBus time out function is enabled.
‘1’ - The SMBus time out function is disabled allowing the device to be fu lly I
2
C compliant.
Bit 4 - DIS_AVG - Disables digital averaging of the External Diode channels.
‘0’ (default) - The External Diode channels have digital averaging enabled. The temperature data
is the average of the previous four measurements.
Revision 0.85 (01-29-08)48SMSC EMC2103
DATASHEET
Page 49
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
‘1’ - The External Diode channels have d igital averaging disabled. The temperature data is the last
measured data.
Bits 3-2 - QUEUE[1:0] - Determines the number of consecutive out of limit conditions that are
necessary to trigger an interrupt. Each measurement channel has a separate fault queue associated
with the high limit, low limit, and diode fault condition.
APPLICATION NOTE: If the fault queue for any channel is currently active (i.e. an out of limit condition has been
detected and caused the fault queue to increment) then changing the settings will not take
effect until the fault queue is zeroed. This occurs by the ALERT
pin asserting or the out of
limit condition being removed.
Table 6.16 Fault Queue
QUEUE[1:0]
NUMBER OF CONSECUTIVE OUT OF LIMIT CONDITIONS 10
001 (disabled)
012
103
114 (default)
Bit 1 - 0 - CONV[1:0] - determines the conversion rate of the temperature mon itoring. This conversion
rate does not affect the fan driver. The supply current from VDD_3V is nominally dependent upon the
conversion rate and the average current will increase as the conversion rate increases.
The Interrupt Status Register reports the operating condition of the EMC2103. If any of the bits are set
to a logic ‘1’ (other than HWS) then the ALERT pin will be asserte d low if the corresponding channel
is enabled. Reading from the status register clears all status bits if the error conditions is removed. If
there are no set status bits, then the ALERT
pin will be released.
The bits that cause the ALERT
associated with unless stated otherwise.
Bit 5 - TCRIT - This bit is set to ‘1’ if any bit in the Tcrit Status Register is set. This bit is automatically
cleared when the Tcrit Status Register is read and the bits are cleared.
Bit 4 - GPIO (EMC2103-2 only) - This bit is set to ‘1’ if any bit in the GPIO Status Register is set. This
bit is automatically cleared when the GPIO Status Register is read.
Bit 3 - FAN - This bit is set to ‘1’ if any bit in the Fan Status Register is set. This bit is automatically
cleared when the Fan Status Register is read and the bits are cleared.
Bit 2 - HIGH - This bit is set to ‘1’ if any bit in the High Status Register is set. This bit is automati cally
cleared when the High Status Register is read and the bits are cleared.
Bit 1- LOW - This bit is set to ‘1’ if any bit in the Lo w Status Register is set. This bit is automatically
cleared when the Low Status Register is read and the bits are cleared.
Bit 0 - FAULT - This bit is set to ‘1’ if any bit in the Diode Fault Register is set. T his bit is automatically
cleared when the Diode Fault Register is read and the bits are cleared.
pin to be asserted can be masked based on the channel they are
6.13 Error Status Registers
Table 6.19 Error Status Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
1FhR-CTcrit StatusHWS
24hR-CHigh Status----
25hR-CLow Status-----
26hR-CDiode Fault----
The Error Status Registers report the specific error condition for all measurement channels with limits.
If any bit is set in the High, Low, or Diode Fault Status register, the corresponding High, Low, or Fault
bit is set in the Interrupt Status Register.
Reading the Interrupt Status Register does not clear the Error Status bit. Reading from any Error Status
Register that has bits set will clear the register and the corresponding bit in the Interrupt Status
Register if the error condition has been removed. If the error cond ition is persistent, reading the Error
Status Registers will have no affect.
6.13.1Tcrit Status Register
The Tcrit Status Register stores the event that caused the SYS_SHDN pin to be asserted. Each of the
temperature channels must be associated with the SYS_SHDN
Section 6.9). Once the SYS_SHDN# pin is asserted, it will be released when the temperature drops
below the threshold level however the individual status bit will not be cleared until read.
EXT3
_TCR
IT
EXT3
_HI
EXT3
_LO
EXT3
_FLT
EXT2
_TCR
IT
EXT2
_HI
EXT2
_LO
EXT2
_FLT
EXT1
_TCR
EXT1
_HI
EXT1
_LO
EXT1
_FLT
pin before they can be set (see
IT
INT_T
CRIT
INT_
HI
INT_L
O
-00h
00h
00h
00h
Revision 0.85 (01-29-08)50SMSC EMC2103
DATASHEET
Page 51
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
6.14 Fan Status Register
Table 6.20 Fan Status Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
27hR-C
Fan Status
Register
WATCH-
DRIVE
The Fan Status Register contains the status bits associated with each fan driver.
Bit 7 - WATCH - This bi t is asserted ‘1’ if the host has not programmed the fan driver within four (4)
seconds after power up (i.e. the Watchdog Timer has timed out. See Section 5.9.
Bit 5 - DRIVE_FAIL - Indicates that the RPM based Fan Speed Control Algorithm cannot drive the Fan
to the desired target setting at maximum drive. This bit can be masked from asserting the ALERT
‘0’ - The RPM based Fan Speed Control Algorithm can drive Fan to the desired target setting.
‘1’ - The RPM based Fan Speed Control Algorithm cannot drive Fan to the desired target setting
at maximum drive.
Bit 1- FAN_SPIN - This bit is asserted ‘1’ if the Spin up Routine for the Fan cannot detect a valid
tachometer reading within its maximum time window. This bit can be masked from asserting the ALERT
pin.
Bit 0 - FAN_STALL - This bit is asserted ‘1’ if th e tachometer me asuremen t on the Fan detects a stalled
fan. This bit can be masked from asserting the ALERT
6.15 Interrupt Enable Register
Table 6.21 Interrupt Enable Register
_FAIL
---
pin.
FAN_
SPIN
FAN_
STALL
00h
pin.
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
28R/W
Interrupt
Enable
----
EXT3_I
NT_EN
EXT2_I
NT_EN
EXT1_I
NT_EN
INT_IN
T_EN
00h
The Interrupt Enable Register controls the masking for each temperature cha nnel. When a channel is
masked, it will not cause the ALERT pin to be asserted when an error condition is detected.
Bit 3 - EXT3_INT_EN (EMC2103-2 only) - Allows the External Diode 3 to assert the ALERT
‘0’ (default) - The ALERT pin will not be asserted for any error condition associated with External
pin.
Diode 3 channel.
‘1’ - The ALERT pin will be asserted for an error condition associated with Exte rnal Diode 3
channel.
Bit 2 - EXT2_INT_EN (EMC2103-2 only) - Allows the External Diode 2 to assert the ALERT
‘0’ (default) - The ALERT pin will not be asserted for any error condition associated with External
pin.
Diode 2 channel.
‘1’ - The ALERT pin will be asserted for an error condition associated with Exte rnal Diode 2
channel.
Bit 1 - EXT1_INT_EN - Allows the External Diode 1 to assert the ALERT
‘0’ (default) - The ALERT pin will not be asserted for any error condition associated with External
pin.
Diode 1 channel.
SMSC EMC210351Revision 0.85 (01-29-08)
DATASHEET
Page 52
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
‘1’ - The ALERT pin will be asserted for an error condition associated with Exte rnal Diode 1
channel.
Bit 0 - INT_INT_EN - Allows the Internal Diode to assert the ALERT
‘0’ (default) - The ALERT pin will not be asserted for any error condition associated with the Internal
pin.
Diode.
‘1’ - The ALERT pin will be asserted for an error condition associated with th e Internal Diode.
6.16 Fan Interrupt Enable Register
Table 6.22 Fan Interrupt Enable Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
29R/W
Fan
Interrupt
------
Enable
The Fan Interrupt Enable Register controls the maski ng for errors generated by the Fan Driver. When
a channel is masked, it will not cause the ALERT pin to be asserted when an error condition is
detected.
Bit 1 - SPIN_INT_EN - Allows the FAN_SPIN bit to assert the ALERT
‘0’ (default) - the FAN_SPIN bit will not assert the ALERT pin though it will still update the Status
Register normally.
‘1’ - the FAN_SPIN bit will assert the ALERT pin.
SPIN_
INT_EN
pin.
STALL_
INT_EN
00h
Bit 0 - STALL_INT_EN - Allows the FAN_STALL bit or DRIVE_FAIL bit to assert the ALERT
‘0’ (default) - the FAN_STALL bit or DRIVE_FAIL bit will not assert the ALERT pin though will still
pin.
update the Status Register normally.
‘1’ - the FAN_STALL bit wil l assert the ALERT pin.
6.17 PWM Configuration Register
Table 6.23 PWM Configuration Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
2AhR/W
PWM
Config
---
The PWM Config Register controls the output type and polarity of the PWM output.
Bit 4 - PWM_OT - Determines the output type for the PWM pin.
‘0’ (default) - The PWM pin is configured as an open drain ou tput.
‘1’ - The PWM pin is configured as a push-pull output.
PWM_
OT
---
POLA
RITY
00h
Revision 0.85 (01-29-08)52SMSC EMC2103
DATASHEET
Page 53
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Bit 0 - POLARITY1 - Determines the polarity of PWM1 (if enabled).
‘0’ (default) - the Polarity of the PWM driver is normal. A drive setting of 00h will cause the output
to be set at 0% duty cycle and a drive setting of FFh will cause the output to be set at 100% duty
cycle.
‘1’ - The Polarity of the PWM driver is inverted. A drive setting of 00h will cause the output to be
set at 100% duty cycle and a drive setting of FFh will cause the output to be set at 0% duty cycle.
6.18 PWM Base Frequency Register
Table 6.24 PWM Base Frequency Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
2BhR/W
PWM Base
Frequency
The PWM Base Frequency Register controls base fre quency of the PWM output.
Bits 1-0 - PWM_BASE[1:0] - Determines the base frequency of the PWM driver (PWM).
The EMC2103 contains high limits for all temperature channels. If any measurement meets or exce eds
the high limit then the appropriate status bit is set and the ALERT pin is asserted (if enabl ed).
Additionally, the EMC2103 contains low limits for all temperature channels. If the temperature channel
drops below the low limit, then the appropriate status bit is set and the ALERT
enabled).
All Limit Registers are Software Locked.
External Diode
2 Low Limit **
External Diode
3 Low Limit **
Internal Diode
Low Limit
Sign6432168421
Sign6432168421
Sign6432168421
pin is asserted (if
00h
(0°C)
00h
(0°C)
00h
(0°C)
6.20 Fan Setting Registers
Table 6.27 Fan Driver Setting Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
40hR/WFan Setting 128643216842100h
The Fan Setting Register always displays the current setting of the Fan Driver. Reading from the
register will report the current fan speed setting of the fan driver regardless of the opera ting mode.
Therefore it is possible that reading from th is register will not report data that was previously written
into this register.
While the RPM based Fan Speed Control Algorithm or the Look Up Table are active (or both), then
the register is read only. Writing to the register will have no affect and the data will not be stored.
If both the RPM based Fan Control Algorithm and the Look Up Table are disabled, then the register
will be set with the previous value that was used. The register is read / write and writing to this register
will affect the fan speed.
The contents of the register represent the weighting of each bit in determining the final duty cycle. The
output drive for a PWM output is given by Equation [1].
Drive
VALUE
⎛⎞
-------------------- -
⎝⎠
255
100%×=
[1]
6.21 PWM Divide Register
Table 6.28 PWM Divide Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
41hR/W PWM Divide 128643216842101h
Revision 0.85 (01-29-08)54SMSC EMC2103
DATASHEET
Page 55
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
The PWM Divide Register determines the final frequency of the PWM driver. The driver base frequency
is divided by the value of the PWM Divide Register to determine the final frequency. The duty cycle
settings are not affected by these settings, only the final frequency of the PWM driver. A value of 00h
will be decoded as 01h.
The final PWM frequency is derived as the base frequency divided by the value of this register as
shown in Equation [2].
The Fan Configuration 1 Register controls the general operation of the RPM b ased Fan Speed Control
Algorithm used on the PWM pin.
Bit 7 - EN_ALGO - enables the RPM based Fan Speed Control Algorithm. Based on the setting of the
RPM / PWM bit, this bit is automatically set or cleared when the LUT_LOCK bit is set (see
Section 6.32).
‘0’ - (default) the control circuitry is disabled and the fan driver outpu t is determined by the Fan
Driver Setting Register.
‘1’ - the control circuitry is enabled and the Fan Driver output will be automatically updated to
maintain the programmed fan speed as indicated by the TACH Target Register.
Bits 6- 5 - RANGE[1:0] - Adjusts the range of reported and programmed tachometer reading values.
The RANGE bits determine the weighting of all TACH values (including the Valid TACH Count, TACH
Target, and TACH reading) as shown in Table 6.30.
Ta ble 6.30 Range Decode
RANGE[1:0]
REPORTED MINIMUM
RPM
TACH COUNT
MULTIPLIER10
005001
011000 (default)2
1020004
1140008
Bits 4-3 - EDGES[1:0] - determines the minimum number of edges that must be detected on the TACH
signal to determine a single rotation. A typical fan measured 5 edges (for a 2-pole fan). For more
accurate tachometer measurement, the minimum number of edges measured may be increased.
Increasing the number of edges measured with respect to th e number of poles of the fan will cause
the TACH Reading registers to indicate a fan speed that is higher or lower than the actual speed. In
order for the FSC Algorithm to operate correctly, the TACH Target must be updated by the user to
accommodate this shift. The Effective Tach Mu ltiplier shown in Table 6.31 is used as a direct multiplier
SMSC EMC210355Revision 0.85 (01-29-08)
DATASHEET
Page 56
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
term that is applied to the Actual RPM to achieve the Reported RPM. It should only be applied if the
number of edges measured does not match the number of edges expected based on the number of
poles of the fan (which is fixed for any given fan).
Contact SMSC for recommended settings when using fans with more or less than 2 poles.
Table 6.31 Minimum Edges for Fan Rotation
EDGES[1:0]
MINIMUM TACH
EDGESNUMBER OF FAN POLES
0031 pole 0.5
0152 poles (default)1
1073 poles 1.5
1194 poles2
Bit 2-0 - UPDATE - determines the base time between fan driver updates. The Update Time, along
with the Fan Step Register, is used to control the ramp rate of the drive response to provide a cleaner
transition of the actual fan operation as the desired fan speed changes. The Update Time is set as
shown in Table 6.32.
The Fan Configuration 2 Register controls the tachometer measurement and advan ced features of the
RPM based Fan Speed Control Algorithm.
Bit 6 - EN_RRC - Enables ramp rate control when the fan driver is operated in the Direct Setting mode
or the Direct Setting with LUT mode.
‘0’ (default) - Ramp rate control is disabled. When the fa n drive r is ope rati ng i n Direct Setting mode
or Direct Setting with LUT mode, the PWM setting will instantly transition to the next programmed
setting.
‘1’ - Ramp rate control is enabled. When the fan dri ver is operating in Direct Setting mode or Direct
Setting with LUT mode, the PWM setting will follow the ramp rate controls as determined by the
Fan Step and Update Time settings. The maximum PWM step is capped at the Fan Step setting
and is updated based on the Update Time as given by T able6.32.
Bit 5 - GLITCH_EN - Disables the low pass glitch filter that removes high frequency noise injected on
the TACH pin.
‘0’ - The glitch filter is disabled.
‘1’ (default) - The glitch filter is enabled.
Bits 4 - 3 - DER_OPT[1:0] - Control some of the advanced options that affect the derivative portion of
the RPM based Fan Speed Control Algorithm as shown in Table 6.34. Note that the default derivative
options disable the ramp rate control maximum step settings. To take advantage of the full ramp rate
control, limit derivative options to the disabled or basic derivative settings.
Table 6.34 Derivative Options
DER_OPT[1:0]
OPERATION10
00No derivative terms used
Basic derivative. The derivative of the error from
01
the current drive setting and the target is added
to the iterative Fan Drive setting (in addition to
proportional and integral terms)
Step derivative. The derivative of the error from
the current drive setting and the target is added
10
to the iterative Fan Drive setting and is not
capped by the maximum Fan Step Register
setting.
Both the basic derivative and the step derivative
11
are used effectively causing the derivative term to
have double the effect of the derivative term
(default).
Bit 2 - 1 - ERR_RNG[1:0] - Control some of the advanced options that affect the error window. When
the measured fan speed is within the programmed error windo w around the target speed, th en the fan
drive setting is not updated. The algorithm will continue to monitor the fan speed and calculate
necessary drive setting changes based on the error, however these changes are ignored.
SMSC EMC210357Revision 0.85 (01-29-08)
DATASHEET
Page 58
ERR_RNG[1:0]
000 RPM (default)
0150 RPM
10100 RPM
11200 RPM
The Fan Configuration 2 Register is Software Locked.
6.24 Gain Register
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 6.35 Error Range Options
OPERATION10
Table 6.36 Gain Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
45hR/W Gain Register--GAIND[1:0]GAINI[1:0]GAINP[1:0]2Ah
The Gain Register stores the gain terms used by the proportio nal and integral portions of the RPM
based Fan Speed Control Algorithm. These terms will affect the FSC closed loop acquisition,
overshoot, and settling as would be expected in a classic PID system.
Table 6.37 Gain Decode
GAIND OR GAINP OR GAINI [1:0]
RESPECTIVE GAIN FACTOR10
001x
012x
104x (default)
118x
6.25 Fan Spin Up Configuration Register
Table 6.38 Fan Sp in Up Configu r ation Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
46hR/W
The Fan Spin Up Configuration Register controls the settings of Spin Up Routine.
Revision 0.85 (01-29-08)58SMSC EMC2103
Fan Spin Up
Configuration
DRIVE_FAIL
_CNT [1:0]
NOK
ICK
SPIN_LVL[2:0]
SPINUP_TIME
[1:0]
19h
DATASHEET
Page 59
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Bit 7 - 6 - DRIVE_FAIL_CNT[1:0] - Determines how many update cycles are used for the Drive Fail
detection function as shown in Table 6.39. This ci rcuitry determines whether the fan can be driven to
the desired tach target.
Table 6.39 DRIVE_FAIL_CNT[1:0] Bit Decode
DRIVE_FAIL_CNT[1:0]
NUMBER OF UPDATE PERIODS10
00
01
10
11
Disabled - the Drive Fail detection circuitry is
disabled
16 - the Drive Fail detection circuitry will count for 16
update periods
32 - the Drive Fail detection circuitry will count for 32
update periods
64 - the Drive Fail detection circuitry will count for 64
update periods
Bit 5 - NOKICK - Determines if the Spin Up Routine will drive the fan to 100% duty cycle for 1/4 of the
programmed spin up time before driving it at the programmed level.
‘0’ (default) - The Spin Up Routine will drive the PWM to 100% for 1/4 of the programmed spin up
time before reverting to the programmed spin level.
‘1’ - The Spin Up Routine will not drive the PWM to 100%. It will set the drive at the programmed
spin level for the entire duration of the programmed spin up time.
Bits 4 - 2 - SPIN_LVL[2:0] - Determines the final drive level that is used by the Spin Up Routine as
shown in Table 6.40.
Bit 1 -0 - SPINUP_TIME[1:0] - determines the maximum Spin Time that the Spin Up Routine will run
for (see Section 5.7). If a valid tachometer measurement is not detected before the Spin Time has
elapsed, then an interrupt will be generated. When the RPM based Fan Speed Control Algorithm is
active, the fan driver will attempt to re-start the fan immediately after th e end of the l ast spin up at tempt.
The Spin Time is set as shown in Table 6.41.
SMSC EMC210359Revision 0.85 (01-29-08)
DATASHEET
Page 60
SPINUP_TIME[1:0]
00250 ms
01500 ms (default)
101 sec
112 sec
The Fan Spin Up Configuration Register is software locked.
6.26 Fan Step Register
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table 6.41 Spin Time
TOT A L SP I N U P TI M E10
Table 6.42 Fan Step Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
47hR/WFan Max Step --3216842110h
The Fan Step Register, along with the Update Time, control the ramp rate of the fan driver response.
The value of the registers represents the maximum step size each fan driver will take between update
times (see Section 6.22).
All modes of operation have the options to use the Fan Step Register (and update times) for ramp rate
control based on the Fan Configuration 2 Register settings. The Fan Speed Control Algorithm will
always use the Fan Step Register settings (but see application note below).
APPLICATION NOTE: If the Fan Speed Control Algorithm is used, the default settings in the Fan Configuration 2
Register will cause the maximum fan step settings to be ignored.
The Fan Step Register is software locked.
6.27 Fan Minimum Drive Register
Table 6.43 Minimum Fan Drive Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
48hR/W
Fan Minimum
Drive
1286432168421
66h
(40%)
The Fan Minimum Drive Register stores the minimum drive setting for the RPM based Fan Speed
Control Algorithm. This register is not used if the FSC is not active. The RPM b ased Fan Speed Control
Algorithm will not drive the fan at a level lowe r than the minimum drive unless the target TACH Target
is set at FFh (see Section 6.30)
During normal operation, if the fan stops for any reason (including low drive), the RPM based Fan
Speed Control Algorithm will attempt to restart the fan. Setting the Fan Minimum Drive Registers to a
Revision 0.85 (01-29-08)60SMSC EMC2103
DATASHEET
Page 61
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
setting that will maintain fan operation is a useful way to avoid potential fan oscillations as the control
circuitry attempts to drive it at a level that cannot support fan operation.
The Fan Minimum Drive Register is software locked.
6.28 Valid TACH Count Register
Table 6.44 Valid TACH Count Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
49hR/W
APPLICATION NOTE: The automatic invoking of the Spin Up Routine only applies if the Fan Speed Control
Valid TACH
Count
The Valid TACH Count Register store the maximu m TACH Reading Register value to indicate that the
the fan is spinning properly. The value is referenced at the end of the Spin Up Routine to determine
if the fan has started operating and decide if the device needs to retry.
See Equation [4] for translating the count to an RPM.
If the TACH Reading Register value exceeds the Valid TACH Count Register (indicating that the Fan
RPM is below the threshold set by this count), then a stalled fan is detected. In this condition, the
algorithm will automatically begin its Spin Up Routine.
Algorithm is used. If the FSC is disabled, then the device will only invoke the Spin Up Routine
when the PWM setting changes from 00h.
If a TACH Target setting is set above the Valid TACH Count setting, then that setting will be ignored
and the algorithm will use the current fan drive setting.
The Valid TACH Count Register is software locked.
4096204810245122561286432F5h
6.29 Fan Drive Fail Band Registers
Table 6.45 Fan Drive Fail Band Registers
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
Fan Drive
4AhR/W
4BhR/W
The Fan Drive Fail Band Registers store the number of tach counts used by the Fan Drive Fail
detection circuitry. This circuitry is activated when the fan drive setting high byte is at FFh. When it is
enabled, the actual measured fan speed is compared against the target fan speed .
This circuitry is used to indicate that the target fan speed at full dri ve is higher than the fan is actually
capable of reaching. If the measured fan speed does not exceed the target fan speed minus the Fan
Drive Fail Band Register settings for a period of time longer than set by the DRIVE_FAIL_CNTx[1:0]
bits then the DRIVE_FAIL status bit will be set and an interrupt generated.
SMSC EMC210361Revision 0.85 (01-29-08)
Fail Band
Low Byte
Fan Drive
Fail Band
High Byte
168421---00h
409620481024512256128643200h
DATASHEET
Page 62
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
6.30 TACH Target Register
Table 6.46 TACH Target Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
4ChR/W
4DhR/W TACH Target 4096204810245122561286432FFh
The TACH Target Register holds the target tachometer value that is maintained by the RPM based
Fan Speed Control Algorithm.
The value in the TACH Target Register will always reflect the current TACH Target value. If the Look
Up Tabl e is active and configured to operate in RPM Mode, then this register will be read only. Writing
to this register will have no affect and the data will not be stored.
If the algorithm is enabled then setting the TACH Target Register to FFh will disable the fan driver (set
the PWM duty cycle to 0%). Setting the TACH Target to any other value (from a setting of FFh) will
cause the algorithm to invoke the Spin Up Routine after which it will function normally.
Fan TACH
Target Lo w
Byte
168421- -- F8h
6.31 TACH Reading Register
Table 6.47 TACH Reading Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
4EhRFan TACH40962048102 45122561286432FFh
4FhR
Fan TACH
Low Byte
168421- -- F8h
The TACH Reading Register contents describe the current tachometer reading for the fan. By default,
the data represents the fan speed as the number of 32kHz clock periods that occur for a single
revolution of the fan.
Equation [3] shows the detailed conversion from TACH measurement (COUNT) to RPM while Equation
[4] shows the simplified translation of TACH Reading Register count to RPM assuming a 2-pole fan,
measuring 5 edges, with a frequency of 32.768kHz.
See Appendix B for a table enumerating the RPM to TACH conversion for the default settings.
Revision 0.85 (01-29-08)62SMSC EMC2103
DATASHEET
Page 63
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
where:
poles = number of poles of the fan
(typically 2)
n = number of edges measured
[3]
RPM
1
--------------------
poles()
--------------------------------- -
COUNT
n 1–()
1
---- -
×
m
1,966,080××=
(typically 5)
m = the multiplier defined by the
RANGE bits
[4]
RPM
3,932,160 m×
--------------------------------------
=
COUNT
COUNT = TACH Reading Register
value (in decimal)
6.32 Look Up Table Configuration Register
Table 6.48 Look Up Table Configuration Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
50hR/W
LUT
Configuration
The Look Up Table Configuration Register controls the setup information for the temperature to fan
drive look up table.
Bit 7 - USE_DTS_F1 - This bit determines whether the Pushed Temperature 1 Register is using DTS
data.
‘0’ (default) - The Pushed Temperature 1 Register is not using DTS data. The contents of the
Pushed Temperature 1 registers is standard temperature data.
‘1’ - The Pushed Temperature 1 Register is loaded with DTS data. The contents of this register i s
automatically subtracted from a fixed value of 100°C before being compared to the Look Up Table
threshold levels.
USE_D
TS_F1
USE_D
TS_F2
LUT_L
OCK
RPM /
PWM
-
TEMP3
_CFG
-
TEMP4
_CFG
00h
Bit 6 - USE_DTS_F2 - This bit determines whether the Pushed Temperature 2 Register is using DTS
data.
‘0’ (default) - The Pushed Temperature 2 Register is not using DTS data. The contents of this
register is standard 2’s complement temperature data.
‘1’ - The Pushed Temperature 2 Register is loaded with DTS data. The contents of this register i s
automatically subtracted from a fixed value of 100°C before being compared to the Look Up Table
threshold levels.
Bit 5 - LUT_LOCK - This bit locks updating the Look Up Table entries and determines whether the look
up table is being used.
‘0’ (default) - The Look Up Table entries can be updated normally. The Look Up Table will not be
used while the Look Up Table entries are unlocked. During this condition, the PWM output will not
change states regardless of temperature or tachometer variation.
‘1’ - The Look Up Table entries are locked and cannot be updated. The Look Up Table is fully active
and will be used based on the loaded values. The PWM output will be updated de pending on the
temperature and / or TACH variations.
APPLICATION NOTE: When the LUT_LOCK bit is set at a logic ‘0’, the PWM drive setting will be set at w hatever
value was last used by the RPM based Fan Speed Control Algorithm or the Look Up Table.
SMSC EMC210363Revision 0.85 (01-29-08)
DATASHEET
Page 64
Bit 4 - RPM / PWM - This bit selects the data format for the LUT drive settings.
‘0’ (default) - The Look Up Table drive settings are RPM TACH count values for use by the RPM
based Fan Speed Control Algorithm. The Look Up Table drive settings should be loaded highest
value to lowest value (to coincide with the inversion between TACH counts and actual RPM).
‘1’ - The Look Up Table drive settings are PWM duty cycle values and are used directly. The drive
settings should be loaded lowest value to highest value.
Bit 2 - TEMP3_CFG - Determine the temperature channel that is used for the Temperature 3 inputs to
the Look Up Table. If the External Diode 3 channel is no t enabled, then the Temperature 3 inputs are
not used by the Look Up Table.
‘0’ (default) - The External Diode 3 channel is used by the Fan Look Up Table (if enabled).
‘1’ - The data written into the Pushed Temperature 1 Register is used by the Fan Look Up Table.
Bit 0 - TEMP4_CFG - Determine the temperature channel that is used for the Temperature 4 inputs to
the Look Up Table.
‘0’ (default) - The Internal channel is used by the Fan Look Up Table.
‘1’ - The data written into the Pushed Temperature 2 Register is used by the Fan Look Up Table.
The Look Up Table Registers hold the 40 entries of the Look Up Table that controls the drive of the
PWM. As the temperature channels are updated, the measured value for each channel is compared
against the respective entries in the Look Up Table and the associated drive setting is loaded into an
internal shadow register and stored.
The bit weighting for temperature inputs represents °C and is compared against the measured data.
Note that the LUT entry does not include a sign bit. The Look Up Table does not support negative
temperature values and the MSBit should not be set for a tempe rature input.
Each temperature channel threshold shares the same hysteresis value. When the measured
temperature for any of the channels meets or exceeds the programmed threshold, the drive setti ng
associated with that threshold is used. The temperature must drop below the threshold minus the
hysteresis value before the drive setting will be set to the previous value.
If the RPM based Fan Speed Control Algorithm is used, the TACH Target is updated after every
conversion. It is always set to the minimum TACH Target that is stored by th e Look Up Table. The
PWM duty cycle is updated based on the RPM based Fan Speed Control Algorithm configuration
settings.
If the RPM based Fan Speed Control Algorithm is not used, then the PWM duty cycle is updated after
every conversion. It is set to the maximum duty cycle that is stored by the Look Up Table.
6.34 GPIO Direction Register (EMC2103-2 Only)
Ta bl e 6.50 GPIO Direction Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
E1hR/W
The GPIO Direction Register controls the direction of GPIOs 1 and 2.
Bit 1 - GPIO2_DIR - Determines the direction of GPIO2.
‘0’ (default) - GPIO2 is configured as an input.
‘1’ - GPIO1 is configured as an output.
Bit 0 - GPIO2_DIR - Determines the direction of GPIO1.
‘0’ (default) - GPIO1 is configured as an input.
‘1’ - GPIO1 is configured as an output.
The GPIO Output Configuration Register controls the output pin typ e of each GPIO pin.
Bit 1 - GPIO2_OT - Determines the output type for GPIO2.
‘0’ (default) - GPIO2 is configured as an open drain output (if enabled as an o utput).
‘1’ - GPIO2 is configured as a push-pull output (if enabled as an output).
Bit 0 - GPIO1_OT - Determines the output type for GPIO1.
‘0’ (default) - GPIO1 is configured as an open drain output (if enabled as an o utput).
‘1’ - GPIO1 is configured as a push-pull output (if enabled as an output).
6.36 GPIO Input Register (EMC2103-2 Only)
Table 6.52 GPIO Input Register
ADDRR/WREGISTERB7B6B5B4B3B2 B1 B0DEFAULT
E3hRGPIO Input --
GPIO
2_IN
GPIO
1_IN
00h
The GPIO Input Register indicates the state of the corresponding GPIO pin. When a GPIO is
configured as an input, any change of state will assert the ALERT# pin (unless GPIO interrupts are
masked, see Section 6.15).
Bit 1 - GPIO2_IN - Indicates the pin state of the GPIO2 pin regardless of the pin functionality.
Bit 0 - GPIO1_IN - Indicates the pin state of the GPIO1 pin regardless of the pin functionality.
6.37 GPIO Output Register (EMC2103-2 Only)
Table 6.53 GPIO Output Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
E4hR/W
GPIO
Output 1
--
The GPIO Output Register controls the state of the corresponding pins when the y are configured as
outputs.
If the output is configured as an open-drain output, then it requires a pull-up resistor to VDD. Setting
the corresponding bit to a ‘1’ will act to disab le the output allowing the pu ll-up resistor to pull the output
high. Setting the corresponding bit to a ‘0’ will enable the output and drive the pin to a logical ‘0’ state.
Revision 0.85 (01-29-08)66SMSC EMC2103
DATASHEET
GPIO2
_OUT
GPIO1
_OUT
00h
Page 67
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
If the output is configured as a push-pull output, th en output pin will immediately be driven to match
the corresponding bit setting.
Bit 1 - GPIO2_OUT - Controls the pin state of the GPIO2 pin when it is configured as a GPIO output.
Bit 0 - GPIO1_OUT - Controls the pin state of the GPIO1 pin when it is configured as a GPIO output.
The GPIO Interrupt Enable Register enables the GPIOs to assert the ALERT pin when they change
state. When the GPIO pins are configured as outputs, then these bits are ignored.
Bit 1 - GPIO2_INT_EN - Allows the ALERT
pin to be asserted when the GPIO2 pin changes state
(when configured as an input).
‘0’ (default) - The ALERT pin will not be asserted when the GPIO2 pin changes state (when
configured as an input).
‘1’ - The ALERT pin will be asserted when the GPIO2 pin changes state (when configured as an
input)
Bit 0 - GPIO1_INT_EN - Allows the ALERT
pin to be asserted when the GPIO1 pin changes state
(when configured as an input).
‘0’ (default) - The ALERT pin will not be asserted when the GPIO1 pin changes state (when
configured as an input).
‘1’ - The ALERT pin will be asserted when the GPIO1 pin changes state (when configured as an
input)
6.39 GPIO Status Register (EMC2103-2 Only)
GPIO2_
INT_EN
GPIO1_
INT_EN
00h
Table 6.55 GPIO Status Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
E6hR-C
GPIO
Status
--
GPIO2_
STS
GPIO1_
STS
00h
The GPIO Status Register indicates which GPIO has changed states to cause the ALERT pin to be
asserted. This register is cleared when it is read. The bits in this register are set whenever the
corresponding GPIO changes states regardless if the ALERT pins are asserted. Once a bit is set, it
will remain set until read.
If any bit in this register is set, then the GPIO status bit will be set.
Bit 1 - GPIO2_STS - Indicates that the GPIO2 pin has changed states from a ‘0’ to a ‘1’ or a ‘1’ to a
‘0’ (when configured as a GPIO input).
Bit 0 - GPIO1_STS - Indicates that the GPIO1 pin has changed states from a ‘0’ to a ‘1’ or a ‘1’ to a
‘0’ (when configured as a GPIO input).
SMSC EMC210367Revision 0.85 (01-29-08)
DATASHEET
Page 68
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
6.40 Software Lock Register
T able 6.56 Software Lock
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
EFhR/W
Software
Lock
-------LOCK00h
The Software Lock Register controls the software locking of critical registers. This register is software
locked.
Bit 0 - LOCK - this bit acts on all registers that are designated SWL. When this bi t is set, the locked
registers become read only and cannot be updated.
‘0’ (default) - all SWL registers can be updated normally.
‘1’ - all SWL registers cannot be updated and a hard-reset is required to unlock them.
6.41 Product Features Register
Table 6.57 Product Features Register
ADDRR/WREGISTERB7B6B5B4B3B2B1B0DEFAULT
FChR
The Product Features Register indicates which pin selected functionality is enabled.
Product
Features
-----SHDN_SEL[2:0]00h
Table 6.58 SHDN_SEL[2:0] Encoding
SHDN_SEL[2:0]
DIODE MODEOTHER FEATURES210
000External Diode 1 Simple Mode - Beta
compensation disabled, REC disabled recommended for AMD CPU diodes
001External Diode 1 Diode Mode - Beta
compensation disabled, REC enabled
010External Diode 1 Transistor Mode - Beta
compensation enabled, REC enabled - recommended for Intel 45nm and 65mn CPU
diodes
Figure 7.6 Recommended PCB Footprint 16-pin QFN 4mm x 4mm
SMSC EMC210375Revision 0.85 (01-29-08)
DATASHEET
Page 76
RPM-Based Fan Controller with HW Thermal Shutdown
Appendix A Look Up Table Operation
The EMC2103 uses a look-up table to apply a user-programmable fan control profile based on
measured temperature to the fan driver. In this look-up table, each temperature channel is allowed to
control the fan drive output independently (or jointly) by programming up to eight pairs of temperature
and drive setting entries.
The user programs the look-up table based on the desired operation. If the RPM based Fan Speed
Control Algorithm is to be used (see Section 5.5), then the user must program an RPM target for e ach
temperature setting of interest. Alternately, if the RPM based Fan Speed Control Algorithm is not to be
used, then the user must program a drive setting for each temperature setting of interest.
If the measured temperature on the External Diode channel meets or exceeds any of the temperature
thresholds for any of the channels, the fan output will be automatically set to the desired setting
corresponding to the exceeded temperature. In cases where multiple te mperature channel thresholds
are exceeded, the highest fan drive setting will take precedence.
When the measured temperature drops to a point below a lower threshold minus the hysteresis value,
the fan output will be set to the corresponding lower set point.
The following sections show examples of how th e Look Up Table is used and configured. Each Look
Up Ta ble Example uses the Fan 1 Look Up Table Registers configured as shown in Table A.1.
Datasheet
Table A.1 Look Up Table Format
STEP TEMP 1TEMP 2TEMP 3TEMP 4LUT DRIVE
1
2
3
4
5
6
7
8
LUT Temp 1
Setting 1 (52h)
LUT Temp 1
Setting 2 (57h)
LUT Temp 1
Setting 3 (5Ch)
LUT Temp 1
Setting 4 (61h)
LUT Temp 1
Setting 5 (66h)
LUT Temp 1
Setting 6 (6Bh)
LUT Temp 1
Setting 7 (70h)
LUT Temp 1
Setting 8 (75h)
LUT Temp 2
Setting 1 (53h)
LUT Temp 2
Setting 2 (58h)
LUT Temp 2
Setting 3 (5Dh)
LUT Temp 2
Setting 4 (62h)
LUT Temp 2
Setting 5 (67h)
LUT Temp 2
Setting 6 (6Ch)
LUT Temp 2
Setting 7 (71h)
LUT Temp 2
Setting 8 (76h)
LUT Temp 3
Setting 1 (54h)
LUT Temp 3
Setting 2 (59h)
LUT Temp 3
Setting 3 (5Eh)
LUT Temp 3
Setting 4 (63h)
LUT Temp 3
Setting 5 (68h)
LUT Temp 3
Setting 6 (6Dh)
LUT Temp 3
Setting 7 (72h)
LUT Temp 3
Setting 8 (77h)
LUT Temp 4
Setting 1 (55h)
LUT Temp 4
Setting 2 (5Ah)
LUT Temp 4
Setting 3 (5Fh)
LUT Temp 4
Setting 4 (64h)
LUT Temp 4
Setting 5 (69h)
LUT Temp 4
Setting 6 (6Eh)
LUT Temp 4
Setting 7 (73h)
LUT Temp 4
Setting 8 (78h)
LUT Drive
Setting 1 (51h)
LUT Drive
Setting 2 (56h)
LUT Drive
Setting 3 (5Bh)
LUT Drive
Setting 4 (60h)
LUT Drive
Setting 5 (65h)
LUT Drive
Setting 6 (6Ah)
LUT Drive
Setting 7 (6Fh)
LUT Drive
Setting 8 (74h)
A.1Example #1
This example does not use the RPM based Fan Speed Control Algorithm. Instead, the Look Up Table
is configured to directly set a PWM setting based on the temperature of four o f its measured inputs.
The configuration is set as shown in Table A.2.
Once configured, the Look Up Table is loaded as shown in Table A.3. Table A.3 shows three
temperature configurations using the settings in Table A.3 and the final PWM output drive setting that
the Look Up Table will select.
Revision 0.85 (01-29-08)76SMSC EMC2103
DATASHEET
Page 77
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table A.2 Look Up Table Example #1 Configuration
ADDRREGISTERB7B6B5B4B3B2B1B0SETTING
50h
FAN
SPEED
STEP #
135
240
350
460
570
680
790
8100
LUT 1
Configuration
EXTERNAL DIODE
1 TEMPERATURE
(CPU)
o
C60
o
C70
o
C75
o
C80
o
C85
o
C90
o
C95
o
C100
USE_D
TS_F1
USE_D
TS_F2
LUT_L
OCK
RPM /
PWM
TEMP3
-
_CFG
TEMP4
-
_CFG
00110000
Table A.3 Fan Speed Control Table Example #1
EXTERNAL
DIODE 2
TEMPERATURE
(GPU)
o
C30
o
C35
o
C40
o
C45
o
C50
o
C55
o
C60
o
C65
EXTERNAL DIODE
3 TEMPERATURE
(SKIN)
o
C40
o
C45
o
C50
o
C55
o
C60
o
C65
o
C70
o
C75
INTERNAL DIODE
TEMPERATURE
(AMBIENT)
o
C0%
o
C30%
o
C40%
o
C50%
o
C60%
o
C70%
o
C80%
o
C100%
C0h
PWM
SETTINGS
Note: The values shown in Table A.3 are example settings. All the cells in the look-up table are
programmable via SMBus.
Table A.4 Fan Speed Determination for Example #1 (using settings in Table A.3)
EXTERNAL
DIODE 1
TEMPERATURE
(CPU)
Example 1:
82°C
Example 2:82C°
EXTERNAL
DIODE 2
TEMPERATURE
(GPU)
EXTERNAL
DIODE 3
TEMPERATURE
(SKIN)
82°C48°C58°C
97°C62°C
Example 3:82°C97°C62°C
INTERNAL DIODE
TEMPERATURE
(AMBIENT)PWM RESULT
70% (CPU temp
requires highest drive)
58°C
75°C
80% (GPU and Skin
require highest drive)
100% (Internal temp
requires highest drive)
SMSC EMC210377Revision 0.85 (01-29-08)
DATASHEET
Page 78
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
A.2Example #2
This example uses the RPM based Fan Speed Control Algorithm. The Spin Level (used by the Spin
Up Routine) should be changed to 50% drive for a total Spin Time of 1 second. For all other RPM
configuration settings, the default conditions are used.
For control inputs, it uses the External Diode 1 channel normally, the External Diode 2 channel
normally, and both Pushed Temperature registers in DTS format. The configuration is set as shown in
Table A.5 while Table A.6 shows how the table is loaded.
Note that when using DTS data, the USE_DTS_F1 and / or USE_DTS_F2 bits should be set. The
Pushed Temperature Registers are loaded with the normal DTS values as received by the processor.
When the DTS value is used by the Look Up Table, the value that is stored in the Pushed Temperature
Register is subtracted from a fixed temperature of 100°C. This resultant value is then compared
against the Look Up Table th resholds normally. When programming the Look Up Table, it is necessary
to take this translation into account or else incorrect settings may be selected.
Table A.5 Look Up Table Example #2 Configuration
ADDRREGISTERB7B6B5B4B3B2B1B0SETTING
42h
46h
50h
Fan 1
Configuration
1
Fan 1 Spin
Up
Configuration
LUT 1
Configuration
EXTERNAL
FAN
SPEED
STEP #
135
240
DIODE 1
TEMPERATURE
(CPU)
o
o
EN_
ALGO
RANGE[1:0]EDGES[1:0]UPDATE[2:0]
1 1 001011
DRIVE_FAIL_CNT1
[1:0]
NOKICK
1
SPIN_LVL[2:0]
SPINUP_TIME
[1:0]
0 0 001010
USE_DT
S_F1
USE_D
TS_F2
LUT_LOCKRPM /
PWM
TEMP3
-
_CFG
TEMP
3_CFG
1 1 100101
Table A.6 Fan Speed Control Table Example #2
EXTERNAL
DIODE 2
TEMPERATURE
(GPU)
C65
C75
o
C50
o
C55
PUSHED
TEMPERATURE
SETTING (DTS1)
o
C40
o
C45
PUSHED
TEMPERATURE
SETTING (DTS2)
o
C
o
C
TARGET
(1007 RPM)
(2048 RPM)
CBh
0Ah
E5h
TACH
3Dh
1Eh
o
350
460
570
680
Revision 0.85 (01-29-08)78SMSC EMC2103
C85
o
C90
o
C95
o
C100oC75
o
C60
o
C65
o
C70
o
C50
o
C55
o
C60
o
C65
o
C
o
C
o
C
o
C
14h
(3072 RPM)
0Fh
(4096 RPM)
0Ch
(5120 RPM)
0Ah
(6144 RPM)
DATASHEET
Page 79
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Table A.6 Fan Speed Control Table Example #2 (continued)
EXTERNAL
FAN
SPEED
STEP #
790
8100
DIODE 1
TEMPERATURE
(CPU)
o
C105oC80
o
C110
EXTERNAL
DIODE 2
TEMPERATURE
(GPU)
Note: The values shown in Table A.6 are example settings. All the cells in the look-up table are
programmable via SMBus.
Table A.7 Fan Speed Determination for Example #2 (using settings in Table A.6)
Example 1:
EXTERNAL
DIODE 1
TEMPERATURE
(CPU)
75°C
EXTERNAL
DIODE 2
TEMPERATURE
(GPU)
75°C
Example 2:75°C90°C
PUSHED
TEMPERATURE
SETTING (DTS1)
o
C80
o
C85
o
C100
PUSHED
TEMPERATURE
(DTS1)
35°C
(translated as 65°C)
(translated as 50°C)
15°C
(translated as
85°C)
(translated as 80°C)
PUSHED
TEMPERATURE
SETTING (DTS2)
o
C
o
C
TACH
TARGET
(6826 RPM)
(7680 RPM)
PUSHED
TEMPERATURE
(DTS2)PWM RESULT
50°C
20°C
0Ch (5120 RPM) -
CPU requires highest
08h (7680 RPM) -
DTS1 requires
highest target
09h
08h
target
Example 3:75°C97.25°C
30°C
(translated as 70°C)
5°C
(translated as
95°C)
09h (6826 RPM) -
DTS2 requires
highest target
SMSC EMC210379Revision 0.85 (01-29-08)
DATASHEET
Page 80
RPM-Based Fan Controller with HW Thermal Shutdown
Datasheet
Appendix B RPM to Tachometer Count Look Up Tables
B.11k RPM Range
The Look Up Table is an example based on the assumption that the fan bein g measured has 2-poles
and is measuring 5 edges using the 1k RPM range se ttings. The data present ed in the reading is only
the high byte data and the decimal count value only represents high byte data.
Table B.1 Tachometer Count to RPM Look Up Table (Range = 1000 RPM)