DS1922T-F5 MAXIM [Maxim Integrated Products], DS1922T-F5 Datasheet - Page 34

no-image

DS1922T-F5

Manufacturer Part Number
DS1922T-F5
Description
Temperature Logger iButton With 8kB Datalog Memory
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
waiting for a temperature alarm to occur, the WFTA flag in the general status register will read 1. During a mission
there is only read access to the Register Pages.
STOP MISSION WITH PASSWORD [33H]
The DS1922L/T uses a control function command to stop a mission. Only a mission that is in progress can be
stopped. After the command code, the master must transmit the 64-bit full-access password followed by a FFh
dummy byte. If passwords are enabled and the transmitted password is different from the stored full-access
password or a mission is not in progress, the Stop Mission with Password command will fail. The device will stop
communicating and will wait for a reset pulse. If the password was correct or if passwords were not enabled, the
device will clear the MIP bit in the General Status Register and restore write access to the Register Pages. The
WFTA bit is not cleared. See the description of the General Status Register for a method to clear the WFTA bit.
MEMORY ACCESS CONFLICTS
While a mission is in progress or while the device is waiting for a temperature alarm to start a mission, periodically
a temperature sample is taken and logged. This "internal activity" has priority over 1-Wire communication. As a
consequence, device-specific commands (excluding ROM function commands and 1-Wire reset) will not perform
properly when internal and "external" activities interfere with each other. Not affected are the commands Start
Mission, Forced Conversion and Clear Memory, because they are not applicable while a mission is in progress or
while the device is waiting for a temperature alarm. The table below explains how the remaining five commands are
affected by internal activity, how to detect this interference and how to work around it.
The interference is more likely to be seen with a high sample rate (1 sample every second) and with high-resolution
logging, which can last up to 600ms. With lower sample rates interference may hardly be visible at all. In any case,
when writing driver software, it is important to know about the possibility of interference and to take measures to
work around it.
1-Wire BUS SYSTEM
The 1-Wire bus is a system, which has a single bus master and one or more slaves. In all instances the DS1922L/T
is a slave device. The bus master is typically a microcontroller. The discussion of this bus system is broken down
into three topics: hardware configuration, transaction sequence, and 1-Wire signaling (signal types and timing). The
Write Scratchpad
Read Scratchpad
Copy Scratchpad
Read Memory with
CRC
Stop Mission
COMMAND
The CRC16 at the end of the
command flow reads FFFFh.
The data read changes to FFh
bytes or all bytes received are
FFh, including the CRC at the
end of the command flow.
The device behaves as if
Authorization Code or pass-
word was not valid or as if the
copy function would not end.
The data read changes to all
FFh bytes or all bytes received
are FFh, including the CRC at
the end of the command flow,
despite a valid password.
The general Status register at
address 215h reads FFh or the
MIP bit is 1 while bits 0, 2, and
5 are 0.
INTERFERENCE
INDICATION OF
34 of 50
Wait 0.5 s, 1-Wire reset, address the device, repeat
Write Scratchpad with the same data and check the
validity of the CRC16 at the end of the command flow.
Alternatively, use Read Scratchpad to verify data
integrity.
Wait 0.5s, 1-Wire reset, address the device, repeat
Read Scratchpad and check the validity of the CRC16
at the end of the command flow.
Wait 0.5s, 1-Wire reset, address the device, issue
Read Scratchpad and check the AA-bit of the E/S byte.
If the AA-bit is set, Copy Scratchpad was successful.
Wait 0.5s, 1-Wire reset, address the device, repeat
Read Memory with CRC and check the validity of the
CRC16 at the end of the memory page.
Wait 0.5s, 1-Wire reset, address the device, and
repeat Stop Mission. Perform a 1-Wire reset, address
the device, read the general Status register at address
215h and check the MIP-bit. If the MIP-bit is 0, Stop
Mission was successful.
REMEDY
DS1922L/DS1922T

Related parts for DS1922T-F5