
DS1631
11 of 14
NOTES:
1) If only one byte of temperature data is needed, the master can issue a NACK followed by a STOP
after reading the first data byte, and the DS1631 will quit transmitting data.
2) After issuing a write command, no further writes should be requested for at least 10ms due to the
EEPROM write cycle time.
3) Data direction depends upon R/ W bit in the 2-wire control byte.
DS1631 OPERATION EXAMPLE
In this example, the master configures the DS1631 (A
1
A
2
A
3
= 000) for continuous conversions and
thermostatic function.
MASTER
MODE
DS1631
MODE
DATA
(MSb first) COMMENTS
TX RX START Master issues a START condition.
TX RX 90h Master sends control byte with R/W¯¯ = 0.
RX TX ACK DS1631 generates acknowledge bit.
TX RX ACh Master sends Access Config command.
RX TX ACK DS1631 generates acknowledge bit.
TX RX 02h Master writes a data byte to the configuration register to
put the DS1631 in continuous conversion mode and set the
T
OUT
polarity to active high.
RX TX ACK DS1631 generates acknowledge bit.
TX RX START Master generates a repeated START condition.
TX RX 90h Master sends control byte with R/W¯¯ = 0.
RX TX ACK DS1631 generates acknowledge bit.
TX RX A1h Master sends Access TH command.
RX TX ACK DS1631 generates acknowledge bit.
TX RX 28h Master sends most significant data byte for T
H
= +40°C.
RX TX ACK DS1631 generates acknowledge bit.
TX RX 00h Master sends least significant data byte for T
H
= +40°C.
RX TX ACK DS1631 generates acknowledge bit.
TX RX START Master generates a repeated START condition.
TX RX 90h Master sends control byte with R/W¯¯ = 0.
RX TX ACK DS1631 generates acknowledge bit.
TX RX A2h Master sends Access TL command.
RX TX ACK DS1631 generates acknowledge bit.
TX RX 0Ah Master sends most significant data byte for T
L
= +10°C.
RX TX ACK DS1631 generates acknowledge bit.
TX RX 00h Master sends least significant data byte for T
L
= +10°C.
RX TX ACK DS1631 generates acknowledge bit.
TX RX START Master generates a repeated START condition.
TX RX 90h Master sends control byte with R/W¯¯ = 0.
RX TX ACK DS1631 generates acknowledge bit.
TX RX 51h Master sends Start Convert T command.
RX TX ACK DS1631 generates acknowledge bit.
TX RX STOP Master issues a STOP condition.
Comentários a estes Manuais