beautypg.com

Rainbow Electronics DS1726 User Manual

Page 13

background image

DS1626/DS1726

13 of 13

DS1626/DS1726 COMMAND SET

The DS1626/DS1726 command set is detailed below:
Start Convert T

51h

0101 0001

Initiates temperature conversions. If the DS1626/DS1726 are in one-shot mode (1SHOT = 1), only one
conversion will be performed. If the devices are in continuous mode (1SHOT = 0), continuous
conversions will be performed until a Stop Convert T command is issued.
Stop Convert T

22h

0010 0010

Stops temperature conversions when the devices are in continuous conversion mode (1SHOT = 0).
Read Temperature

AAh 1010 1010

Reads the last converted temperature value from the temperature register.
Read TH

A1h

1010 0001

Reads the 12-bit T

H

register.

Read TL

A2h

1010 0010

Reads the 12-bit T

L

register.

Write TH*

01h

0000 0001

Writes the 12-bit T

H

register.

Write TL*

02h

0000 0010

Writes the 12-bit T

L

register.

Read Config

ACh 1010 1100

Reads the 1-byte configuration register.
Write Config*

0Ch 0000 1100

Writes the 1-byte configuration register.
Software POR

54h

0011 0110

Initiates a software power-on reset (POR), which stops temperature conversions and resets all registers
and logic to their power-up states. The software POR allows the user to simulate cycling the power
without actually powering down the device.

*After issuing a write command, no further writes should be requested for at least 10ms due to the
EEPROM write cycle time.