Datasheet
Operation Examples
Example 1
In Table 4 there are multiple devices on the bus using
parasite power. The bus master initiates a temperature
conversion in a specific MAX31820 and then reads its
scratchpad and recalculates the CRC to verify the data.
Example 2
In Table 5 there is only one device on the bus using
parasite power. The master writes to the T
H
, T
L
, and
configuration registers in the device’s scratchpad and
then reads the scratchpad and recalculates the CRC to
verify the data. The master then copies the scratchpad
contentstoEEPROM.
Table 4. Operation Example 1
Table 5. Operation Example 2
MASTER
MODE
DATA
(LSB FIRST)
COMMENTS
Tx Reset Master issues reset pulse.
Rx Presence
Devicesrespondwithpresencepulse.
Tx 55h Master issues Match ROM command for desired address.
Tx 64-bit ROM code Master sends device ROM code.
Tx 44h Master issues Convert T command.
Tx
DQlineheldhighby
strong pullup
MasterappliesstrongpulluptoDQforthedurationoftheconversion(t
CONV
).
Tx Reset Master issues reset pulse.
Rx Presence
Devicesrespondwithpresencepulse.
Tx 55h Master issues Match ROM command.
Tx 64-bit ROM code Master sends device ROM code.
Tx BEh
MasterissuesReadScratchpadcommand.
Rx 9 data bytes
Master reads entire scratchpad including CRC. The master then recalculates the CRC of the
rst8databytesfromthescratchpadandcomparesthecalculatedCRCwiththereadCRC
(byte9).Iftheymatch,themastercontinues;ifnot,thereadoperationisrepeated.
MASTER
MODE
DATA
(LSB FIRST)
COMMENTS
Tx Reset Master issues reset pulse.
Rx Presence
Devicerespondswithpresencepulse.
Tx CCh MasterissuesSkipROMcommand.
Tx 4Eh MasterissuesWriteScratchpadcommand.
Tx 3 data bytes Master sends 3 data bytes to the scratchpad (T
H
, T
L
,andcongurationregisters).
Tx Reset Master issues reset pulse.
Rx Presence
Devicerespondswithpresencepulse.
Tx CCh MasterissuesSkipROMcommand.
Tx BEh MasterissuesReadScratchpadcommand.
Rx 9 data bytes
Master reads entire scratchpad including CRC. The master then recalculates the CRC of the
rst8databytesfromthescratchpadandcomparesthecalculatedCRCwiththereadCRC
(byte9).Iftheymatch,themastercontinues;ifnot,thereadoperationisrepeated.
Tx Reset Master issues reset pulse.
Rx Presence
Devicerespondswithpresencepulse.
Tx CCh MasterissuesSkipROMcommand.
Tx 48h MasterissuesCopyScratchpadcommand.
Tx
DQlineheldhighby
strong pullup
MasterappliesstrongpulluptoDQforatleast10mswhilecopyoperationisinprogress.
MAX31820 1-Wire Ambient Temperature Sensor
www.maximintegrated.com
Maxim Integrated
│
19