Datasheet

DS1921G
Mission Example: Prepare and
Start a New Mission
Assumption: The previous mission has ended. To end
an ongoing mission write the MIP bit in the Status regis-
ter to 0.
The preparation of a DS1921G for a mission including
the start of the mission requires up to four steps:
Step 1: Set the RTC (if it needs to be adjusted).
Step 2: Clear the data of the previous mission.
Step 3: Set the search condition and Mission Start
Delay and clear the alarm flags.
Step 4: Set the temperature alarms and write the
Sample Rate to start the mission.
Thermochron iButton
36 ______________________________________________________________________________________
1-Wire Communication Examples (continued)
FF loop
FF loop
CMRST
Clear Memory
PD Select
To verify success, read the Status register at address 0214h. If MEMCLR is 1, the command was executed
successfully.
To read the result and to verify success, read the addresses 0211h (result) and the Device Samples Counter
at address 021Dh to 021Fh. If the count has incremented, the command was executed successfully.
CTRST
Convert Temperature
PD Select
<32 bytes><data to EOP> CRC-16 CRC-16
Loop
RMC TARST
Read Memory with CRC (Success)
PD Select
The “32 bytes” are either valid page data or 00h bytes when reading reserved pages 20 through 63 or 68
through 127 or pages 192 and higher (beyond data-log memory).
<32 bytes><00 to EOP> CRC-16 CRC-16
Loop
RMC TARST
Read Memory with CRC (Invalid Address)
PD Select
The “32 bytes” are all 00h.