DS1820
MEMORY FUNCTION EXAMPLE Table 3
Example: Bus Master initiates temperature conversion, then reads temperature (parasite power assumed).
MASTER MODE
TX
RX
TX
TX
TX
TX
TX
RX
TX
TX
TX
RX
TX
RX
DATA (LSB FIRST)
Reset
Presence
55h
<64–bit ROM code>
44h
<I/O LINE HIGH>
Reset
Presence
55h
<64–bit ROM code>
BEh
<9 data bytes>
Reset
Presence
COMMENTS
Reset pulse (480–960 µs).
Presence pulse.
Issue “Match ROM” command.
Issue address for DS1820.
Issue “Convert T” command.
I/O line is held high for at least 500 ms by bus master to
allow conversion to complete.
Reset pulse.
Presence pulse.
Issue “Match ROM” command.
Issue address for DS1820.
Issue “Read Scratchpad” command.
Read entire scratchpad plus CRC; the master now recal-
culates the CRC of the eight data bytes received from the
scratchpad, compares the CRC calculated and the CRC
read. If they match, the master continues; if not, this read
operation is repeated.
Reset Pulse.
Presence pulse, done.
030598 21/27