Ver 1.0
Dec 11, 2001
TEL: 886-3-5788833
http://www.gmt.com.tw
8
Global Mixed-mode Technology Inc.
G766
Write Byte Format
S
Slave Address:
equivalent to chip- select line of a 3-wire interface
Command Byte:
selects which register you are writing to
Data byte:
data goes into the register set by the command byte (to set thresholds, configuration masks, and sam
pling rate)
ADDRESS
7 bits
WR
ACK
COMMAND
8 bits
ACK
DATA
8 bits
ACK
P
1
Read Byte Format
S
ADDRESS WR
7 bits
Slave Address:
equivalent to chip- select line
Command Byte:
selects which register you are reading from
Slave Address:
repeated due to change in data-flow direction
Data byte:
reads from the register set by the command byte
ACK
COMMAND
8bits
ACK
S
ADDRESS RD
7bits
ACK
DATA
8 bits
///
P
Send Byte Format
S
Command Byte:
sends command with no data , usually used for one-shot command
ADDRESS
7 bits
WR
ACK
COMMAND
8 bits
ACK
P
Receive Byte Format
S
Data Byte:
reads data from the register commanded by the last Read Byte or Write Byte transmission; also used
for SMBus Alert Response return address
S = Start condition Shaded = Slave transmission P = Stop condition /// = Not acknowledged
ADDRESS
7 bits
RD
ACK
DATA
8 bits
///
P
Figure 3. SMBus Protocols
Table 2. Data Format (Twos-Complement)
DIGITAL OUTPUT
DATA BITS
SIGN
MSB
0
111
0
111
0
111
0
111
0
001
0
000
0
000
0
000
0
000
0
000
1
111
1
111
1
110
1
110
1
100
1
100
1
011
1
011
TEMP.
(°C)
ROUND
TEMP.
(°C)
+127
+127
+127
+126
+25
+1
+0
+0
+0
+0
-1
-1
-25
-25
-55
-55
-65
-65
LSB
1111
1111
1111
1110
1001
0001
0000
0000
0000
0000
1111
1111
0111
0110
1001
1001
1111
1111
+130.00
+127.00
+126.50
+126.00
+25.25
+0.50
+0.25
+0.00
-0.25
-0.50
-0.75
-1.00
-25.00
-25.50
-54.75
-55.00
-65.00
-70.00
Alarm Threshold Registers
Four registers store alarm threshold data, with
high-temperature (T
HIGH
) and low-temperature (T
LOW
)
registers for each A/D channel. If either measured
temperature equals or exceeds the corresponding alarm
threshold value, an ALERT interrupt is asserted.
The power-on-reset (POR) state of both T
HIGH
registers
is full scale (0111 1111, or +127
°
C). The POR state of
both T
LOW
registers is 1100 1001 or -55
°
C.
Thermostat Mode
Thermostat mode changes the function of the ALERT
output from a latched interrupt-type output to a self-
clearing thermostat for fan control. This output simply
responds to the current temperature. If the current tem-
perature is above T
HIGH
, ALERT activates and does not
go inactive until the temperature drops below T
LOW
.
Enable thermostat mode through the configuration
register, with one bit to enable the feature and another
bit to set the output polarity (active high or active low).
The ALERT thermostat comparison is made after
each conversion, or at the end of any SMBus transac-
tion. For example, if the limit is changed while the de-
vice is in standby mode, the ALERT output responds
correctly according to the last valid A/D result. Upon
entering thermostat mode, the ALERT output is re-
set so that if the temperature is in the hysteresis band
ALERT initially goes inactive. The power-on reset
(POR) state disables thermostat mode.