
Ver: 1.0 
Oct 02, 2002 
TEL: 886-3-5788833 
http://www.gmt.com.tw 
10 
Global Mixed-mode Technology Inc. 
G781 
Command Byte Functions 
The 8-bit command byte register (Table 5) is the mas-
ter index that points to the various other registers 
within the G781. The register’s POR state is 0000 
0000, so that a Receive Byte transmission (a protocol 
that lacks the command byte) that occurs immediately 
after POR returns the current local temperature data. 
The one-shot command immediately forces a new 
conversion cycle to begin.  In software standby mode 
(
RUN
/STOP bit = high), a new conversion is begun, 
after which the device returns to standby mode. If a 
conversion is in progress when a one-shot command 
is received in auto-convert mode (
RUN
/STOP bit = 
low) between conversions, a new conversion begins, 
the conversion rate timer is reset, and the next auto-
matic conversion takes place after a full delay elapses. 
Configuration Byte Functions 
The configuration byte register (Table 6) is used to 
mask interrupts and to put the device in software 
standby mode. The other bits are empty. 
Status Byte Functions 
The status byte register (Table 7) indicates which (if 
any) temperature thresholds have been exceeded.  
This byte also indicates whether or not the ADC is 
converting and whether there is an open circuit in the 
remote diode DXP-DXN path. After POR, the normal 
state of all the flag bits is zero, assuming none of the 
alarm conditions are present. The status byte is 
cleared by any successful read of the status, unless 
the fault persists. Note that the 
ALERT
  interrupt latch 
is not automatically cleared when the status flag bit is 
cleared. 
When reading the status byte, you must check for in-
ternal bus collisions caused by asynchronous ADC 
timing, or else disable the ADC prior to reading the 
status byte (via the 
RUN
/STOP bit in the configura-
tion byte). In one-shot mode, read the status byte only 
after the conversion is complete, which is approxi-
mately 125ms max after the one-shot conversion is 
commanded.
Table 5. Command-Byte Bit Assignments 
REGISTER 
RLTS 
RRTE 
RSL 
RCL 
RCRA 
RLHN 
RLLI 
RRHI 
RRLS 
WCA 
WCRW 
WLHO 
WLLM 
WRHA 
WRLN 
OSHT 
RTEXT 
RTOFS 
RTOFSEXT 
RLEXT 
RHEXT 
RTTHERM 
COMMAND 
00h 
01h 
02h 
03h 
04h 
05h 
06h 
07h 
08h 
09h 
0Ah 
0Bh 
0Ch 
0Dh 
0Eh 
0Fh 
10h 
11h 
12h 
13h 
14h 
19h 
POR STATE 
0000 0000* 
0000 0000* 
N/A 
0000 0000 
0000 1000 
    0101 0101 (85) Read local T
HIGH
 limit 
0000 0000 
Read local T
LOW
 limit 
    0101 0101 (85) Read remote T
HIGH
 limit 
0000 0000 
Read remote T
LOW
 limit 
N/A 
Write configuration byte 
N/A 
Write conversion rate byte 
N/A 
Write local T
HIGH
 limit 
N/A 
Write local T
LOW
 limit 
N/A 
Write remote T
HIGH
 limit 
N/A 
Write remote T
LOW
 limit 
N/A 
One-shot command (use send-byte format) 
0 
Remote temperature extended byte 
0 
Remote temperature offset high byte 
0 
Remote temperature offset extended byte 
0 
Remote T
HIGH
 limit extended byte 
0 
Remote T
LOW
 limit extended byte 
0101 0101 (85) 
Remote temperature THERM limit 
0101 0101 (85) 
Local temperature THERM limit 
0000 1010 (10) 
THERM hysteresis 
0 
ALERT
 fault queue code 
0100 0111 
Manufacturer ID 
0000 0001 
Device ID 
FUNCTINON 
Read local temperature. It returns latest temperature 
Read remote temperature. It returns latest temperature 
Read status byte (flags, busy signal) 
Read configuration byte 
Read conversion rate byte 
LTTHERM 
THERMHYST 
20h 
21h 
ALERTFQ 
MFGIO 
DEVID 
*If the device is in standby mode at POR, both temperature registers read 0
°
C.
22h 
FEh 
FFh