Access Memory [17h]
This command instructs the DS1624 to access its E
2
memory. After issuing this command, the next data byte
is the value of the word address to be accessed. See the
Memory section for detailed explanations of the use of
this protocol and data format following it.
Access Cong [ACh]
If R/W is “0”, this command writes to the configuration
register. After issuing this command, the next data byte
is the value to be written into the configuration register. If
R/W is “1,” the next data byte read is the value stored in
the configuration register.
Read Temperature [AAh]
This command reads the last temperature conversion
result. The DS1624 sends 2 bytes in the format described
earlier, which are the contents of this register.
Start Convert T [EEh]
This command begins a temperature conversion. No fur-
ther data is required. In one-shot mode, the temperature
conversion is performed and then the DS1624 remain
sidle. In continuous mode, this command initiates continu-
ous conversions.
Stop Convert T [22h]
This command stops temperature conversion. No further
data is required. This command can be used to halt a
DS1624 in continuous conversion mode. After issuing this
command, the current temperature measurement is com-
pleted, then the DS1624 remains idle until a Start Convert
T is issued to resume continuous operation.
During the programming cycle, the DS1624 does not
acknowledge any further accesses to the device until the
programming cycle is complete (no longer than 50ms).
Note 1: In continuous conversion mode, a Stop Convert T command halta continuous conversion. To restart, the Start Convert T
command must be issued. In one-shot mode, a Start Convert T command must be issued for every temperature reading
desired.
Note 2: Writing to the E
2
typically requires 10ms at room temperature. After issuing a write command, no further reads or writes
should be requested for at least 10ms.
Table 2. DS1624 Command Set
INSTRUCTION DESCRIPTION PROTOCOL
2-WIRE BUS DATA AFTER
ISSUING PROTOCOL
TEMPERATURE CONVERSION COMMANDS
Read Temperature
Reads last converted temperature value from
temperature register
AAh <read 2 bytes data>
Start Convert T Initiates temperature conversion (Note 1) EEh idle
Stop Convert T Halts temperature conversion (Note 1) 22h idle
THERMOSTAT COMMANDS
Access Memory
Reads or writes to 256-byte EEPROM memory
(Note 2)
17h <write data>
Access Cong
Reads or writes conguration data to
conguration register (Note 2)
ACh <write data>
DS1624 Digital Thermometer and Memory
www.maximintegrated.com
Maxim Integrated
10
Memory Function Example
BUS MASTER
MODE
DS1624
MODE
DATA
(MSB FIRST)
COMMENTS
{Command protocol for conguration register}
{Start here}
Tx Rx START Bus master initiates a START condition.
Tx Rx <cadr,0> Bus master sends DS1624 address; R/W = 0.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx ACh Bus master sends Access Cong command protocol.
Rx Tx ACK DS1624 generates acknowledge bit (Note 1).
Tx Rx 00h Bus master sets up DS1624 for continuous conversion.
Rx Tx ACK DS1624 generates acknowledge bit (Notes 2, 4).
Tx Rx STOP Bus master initiates the STOP condition.
{Command protocol for Start Convert T}
{Start here}
Tx Rx START Bus master initiates a START condition.
Tx Rx <cadr,0> Bus master sends DS1624 address; R/W = 0.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx EEh Bus master sends Start Convert T command protocol.
Rx Tx ACK DS1624 generates acknowledge bit (Note 1).
Tx Rx STOP Bus master initiates the STOP condition.
{Command protocol for reading the Temperature}
{Start here}
Tx Rx START Bus master initiates a START condition.
Tx Rx <cadr,0> Bus master sends DS1624 address; R/W = 0.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx AAh Bus master sends Read Temp command protocol.
Rx Tx ACK DS1624 generates acknowledge bit (Note 1).
Tx Rx START Bus master initiates a repeated START condition.
Tx Rx <cadr,1> Bus Master sends DS1624 address; R/W = 1.
Rx Tx ACK DS1624 generates acknowledge bit.
Rx Tx <data> DS1624 sends the MSB byte of Temperature.
Tx Rx ACK Bus master generates acknowledge bit.
Rx Tx <data> DS1624 sends the LSB byte of Temperature.
Tx Rx NACK Bus master sends not-acknowledge bit.
Tx Rx STOP Bus master initiates the STOP condition.
{Command protocol for writing to EEPROM}
{Start here}
Tx Rx START Bus master initiates a START condition.
Tx Rx <cadr,0> Bus master sends DS1624 address; R/W = 0.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx 17h Bus master sends Access Memory command protocol.
Rx Tx ACK DS1624 generates acknowledge bit (Note 1).
DS1624 Digital Thermometer and Memory
www.maximintegrated.com
Maxim Integrated
11
Note 1: If this protocol follows a write and the DS1624 does not acknowledge here, restart the protocol at the START here. If it
does acknowledge, continue on.
Note 2: Wait for write to complete (50ms max). If DS1624 does not acknowledge the command protocol immediately following a
configure register or write memory protocol, the DS1624 has not finished writing. Restart the new command protocol until
the DS1624 acknowledges.
Note 3: If n is greater than eight, the last 8 bytes are the only bytes saved in memory. If the starting address is 00 and the incom-
ing data is 00 11 22 33 44 55 66 77 88 99, the result is mem00=88 mem01=99 mem02=22 mem03=33 mem04=44
mem05=55 mem06=66 mem07=77. The data wraps around and overwrites itself.
Note 4: The STOP condition causes the DS1624 to initiate the write to EEPROM sequence. If a START condition comes instead
of the STOP condition, the write is aborted. The data is not saved.
Note 5: For reading, the address is incremented. If the starting address is 04h and 30 bytes of data are read out, 21h is the final
address read.
Memory Function Example (continued)
BUS MASTER
MODE
DS1624
MODE
DATA
(MSB FIRST)
COMMENTS
Tx Rx <madr> Bus master sets the starting memory address.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx <data> Bus master sends the rst byte of data.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx <data> Bus master sends the second byte of data.
Rx Tx ACK DS1624 generates acknowledge bit.
. . . . . . . . . . . .
Tx Rx <data> Bus master sends the nth byte of data (Note 3).
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx STOP Bus master initiates the STOP condition (Notes 2, 4)
{Command protocol for reading from EEPROM}
{Start here}
Tx Rx START Bus master initiates a START condition.
Tx Rx <cadr,0> Bus master sends DS1624 address; R/W = 0.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx 17h Bus master sends Access Memory command protocol.
Rx Tx ACK DS1624 generates acknowledge bit (Note 1).
Tx Rx <madr> Bus master sends the starting memory address.
Rx Tx ACK DS1624 generates acknowledge bit.
Tx Rx START Bus master initiates a repeated START condition.
Tx Rx <cadr,1> Bus master sends DS1624 address; R/W = 1.
Rx Tx ACK DS1624 generates acknowledge bit.
Rx Tx <data> DS1624 sends the rst byte of data.
Tx Rx ACK Bus master generates acknowledge bit.
Rx Tx <data> DS1624 sends the second byte of data.
Tx Rx ACK Bus master generates acknowledge bit.
. . . . . . . . . . . .
Rx Tx <data> DS1624 sends the nth byte of data (Note 5).
Tx Rx NACK Bus master sends not-acknowledge bit.
Tx Rx STOP Bus master initiates the STOP condition.
DS1624 Digital Thermometer and Memory
www.maximintegrated.com
Maxim Integrated
12

DS1624

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

Products related to this Datasheet