DS1921H_11 MAXIM [Maxim Integrated Products], DS1921H_11 Datasheet
DS1921H_11
Related parts for DS1921H_11
DS1921H_11 Summary of contents
Page 1
Range H: +15°C to +46°C, Z: -5°C to +26°C SPECIAL FEATURES Digital thermometer measures temperature in 1/8°C increments with ±1°C accuracy Built-in real-time clock (RTC) and timer has accuracy of ±2 minutes per month from 0°C to +45°C ...
Page 2
DESCRIPTION The DS1921H/Z Thermochron iButtons are rugged, self-sufficient systems that measure temperature and record the result in a protected memory section. The recording is done at a user-defined rate, both as a direct storage of temperature values as well ...
Page 3
The protocol for these memory function commands is described in Figure 10. All data is read and written least significant bit first. DS1921H/Z BLOCK DIAGRAM Figure 1 1-Wire IO Port 32.768kHz Oscillator Temperature Sensor 3V Lithium ...
Page 4
The shift register bits are initialized to 0. Then starting with the least significant bit of the family code, one bit at a time is shifted in. After the eighth bit of the family code has been entered, then the ...
Page 5
CRC GENERATOR Figure STAGE STAGE STAGE MEMORY The memory map of the DS1921H/Z is shown in Figure 5. The 4096-bit general-purpose SRAM make up pages 0 ...
Page 6
DS1921H/Z REGISTER PAGE MAP Figure 6 ADDR b7 b6 0200h 0 10 Seconds 0201h 0 10 Minutes 0202h 0 12/24 0203h 0 0 0204h 0 0 0205h CENT 0 0206h 10 Years 0207h MS 10 Seconds Alarm 0208h MM 10 ...
Page 7
RTC and RTC Alarm Register Bitmap ADDR b7 b6 0200h 0 10 Seconds 0201h 0 10 Minutes 0202h 0 12/24 0203h 0 0 0204h 0 0 0205h CENT 0 0206h 10 Years 0207h MS 10 Seconds Alarm 0208h MM 10 ...
Page 8
RTC Alarm Control ALARM REGISTER MASK BITS (Bit 7 of 207h to 20Ah TEMPERATURE CONVERSION The DS1921H and DS1921Z measure temperatures ...
Page 9
SAMPLE RATE The content of the Sample Rate Register (address 020Dh) determines how many minutes the temperature conversions are apart from each other during a mission. The sample rate may be any value from 1 to 255, coded as an ...
Page 10
BIT DESCRIPTION TLS: Temperature Low Alarm Search THS: Temperature High Alarm Search TAS: Timer Alarm Search Mission Start Delay Counter The content of the Mission Start Delay Counter determines how many minutes the device will wait before starting the logging ...
Page 11
BIT DESCRIPTION BIT(S) MIP: Mission in Progress SIP: Sample in Progress TLF: Temperature Low Flag THF: Temperature High Flag TAF: Timer Alarm Flag MISSION TIME STAMP The Mission Time Stamp indicates the time and date of the first temperature conversion ...
Page 12
Mission Samples Counter Register Map ADDR b7 b6 021Ah 021Bh 021Ch DEVICE SAMPLES COUNTER The Device Samples Counter indicates how many temperature measurements have taken place since the device was assembled at the factory. The value is stored as an ...
Page 13
HISTOGRAM BIN AND TEMPERATURE CROSS-REFERENCE Figure 7 TEMPERATURE DS1921H TEMP. READING EQUIV. IN °C 14.500 00h 14.625 01h 14.750 02h 03h 14.875 04h 15.000 05h 15.125 06h 15.250 07h 15.375 08h 15.500 F7h 45.375 F8h 45.500 F9h 45.625 FAh 45.750 ...
Page 14
The date and time of each of these periods can be determined from the Mission Time Stamp and the time distance between each temperature reading. ALARM TIME STAMPS ...
Page 15
The state of the Search Condition bits in the Control Register does not affect the mission. If multiple devices are connected to form a 1-Wire net, the setting of the search condition will enable devices to participate in the conditional ...
Page 16
If the target address for a Write command is 13Ch, for example, then the scratchpad will store incoming data beginning at the byte offset 1Ch and will be full after only 4 bytes. The corresponding ending offset in ...
Page 17
This CRC is generated using the CRC16 polynomial by first clearing the CRC generator and then shifting in the command code (0Fh) of the Write Scratchpad command, the Target Addresses TA1 and TA2 as supplied ...
Page 18
MEMORY/CONTROL FUNCTION FLOW CHART Figure 10-1 Master TX Memory or Control Fkt. Command Scratchpad DS1921 sets EMCLR = 0 Master TX TA1 (T7:T0), TA2 (T15:T8) DS1921 sets Scratch- pad Offset = (T4:T0) and Clears (PF, AA) Master TX Data Byte ...
Page 19
MEMORY/CONTROL FUNCTION FLOW CHART Figure 10-2 From Figure Part Scratchpad DS1921 sets EMCLR = 0 Master TX TA1 (T7:T0), TA2 (T15:T8) Master TX E/S Byte Authorization Code Match DS1921 Copies Scratchpad Data to Memory ...
Page 20
MEMORY/CONTROL FUNCTION FLOW CHART Figure 10-3 From Figure Part Decision made by DS1921 Decision made by Master To Figure Part A5H Read Mem. w/CRC Y DS1921 sets EMCLR = 0 Master TX TA1 (T7:T0), ...
Page 21
MEMORY/CONTROL FUNCTION FLOW CHART Figure 10-4 From Figure 10 3CH rd 3 Part Clear Memory Y EMCLR = 1? Y DS1921 clears Mission Time Stamp, Mission Samples Counter, Mission Start Delay, Sample Rate Register DS1921 clears Alarm Time Stamps and ...
Page 22
Read Memory with CRC [A5h] The Read Memory with CRC command is used to read memory data that cannot be packetized, such as the register page and the data recorded by the device during a mission. The command works essentially ...
Page 23
Mission Start and Logging Process The DS1921H/Z does not use a special command to start a mission. Instead, a mission is started by writing a non-zero value to the Sample Rate Register using the Copy Scratchpad command. As shown in ...
Page 24
Stop Mission The DS1921H/Z does not have a special command to stop a mission. A mission can be stopped at any time by writing to any address in the range of 0200h to 0213h or by writing the MIP bit ...
Page 25
HARDWARE CONFIGURATION Figure 12 BUS MASTER RX TX Open Drain Port Pin TRANSACTION SEQUENCE The protocol for accessing the DS1921H/Z via the 1-Wire port is as follows: Initialization ROM Function Command Memory/Control Function Command Transaction/Data INITIALIZATION ...
Page 26
Search ROM [F0h] When a system is initially brought up, the bus master might not know the number of devices on the 1- Wire bus or their registration numbers. By taking advantage of the wired-AND property of the bus, the ...
Page 27
ROM FUNCTIONS FLOW CHART Figure 13-1 From Memory Functions Flow Chart (Figure 10) 33H N Read ROM? Y DS1921 TX 1) Family Code Master TX Bit 0 1 Byte DS1921 TX 1) Temp. Range Master TX Bit 1 Code and ...
Page 28
ROM FUNCTIONS FLOW CHART Figure 13-2 To Figure Part From Figure Part From Figure Part To Figure Part N CCH 3CH Skip Overdrive ROM? Skip ROM? Y ...
Page 29
Overdrive Skip ROM [3Ch single-drop bus this command can save time by allowing the bus master to access the memory/control functions without providing the 64-bit ROM code. Unlike the normal Skip ROM command, the Overdrive Skip ROM sets ...
Page 30
INITIALIZATION PROCEDURE (RESET AND PRESENCE PULSES) Figure 14 After the bus master has released the line it goes into receive mode (RX). Now, the 1-Wire bus is pulled to V via the pull-up resistor or, in case of a DS2480B ...
Page 31
READ/WRITE TIMING DIAGRAM Figure 15 Write-One Time Slot t V PUP V IHMASTER ILMAX RESISTOR Write-Zero Time Slot V PUP V IHMASTER ILMAX RESISTOR ...
Page 32
CRC GENERATION With the DS1921H/Z there are two different types of Cyclic Redundancy Checks (CRCs). One CRC is an 8-bit type and is stored in the most significant byte of the 64-bit ROM. The bus master can compute a CRC ...
Page 33
CRC-16 HARDWARE DESCRIPTION AND POLYNOMIAL Figure STAGE STAGE STAGE STAGE STAGE Command-Specific 1-Wire Communication Protocol — Legend Symbol Description ...
Page 34
Command-Specific 1-Wire Communication Protocol — Color Codes Master to slave Slave to master Write Scratchpad, reaching the end of the Scratchpad RST PD Select WS Write Scratchpad, not reaching the end of the Scratchpad RST PD Select WS Read Scratchpad ...
Page 35
Read Memory with CRC (invalid address) RST PD Select RMC The "32 bytes" are all 00h. Clear Memory RST PD Select CM To verify success, read the Status Register at address 0214h. If MEMCLR is 1, the command was executed ...
Page 36
MISSION EXAMPLE: PREPARE AND START A NEW MISSION Assumption: The previous mission has come to an end. To end an ongoing mission write the MIP bit in the Status Register to 0. The preparation of a DS1921H/Z for a mission ...
Page 37
STEP 2 Set the EMCLR bit to 1, enable the RTC and then execute the Clear Memory command. The RTC oscillator must be stable before the Clear Memory command is issued. Wait 500 µs after issuing the Clear Memory command ...
Page 38
STEP 3 In this example, the rollover is disabled and the search condition is set for a high temperature only. The mission is to start with a delay of 90 (005Ah) minutes and the alarm flags TLF, THF, and TAF ...
Page 39
STEP 4 In this example, the temperature alarms are set to 0°C for the low temperature threshold and 10°C for the high temperature threshold, assuming DS1921Z device. The sample rate is once every 10 minutes, allowing the ...
Page 40
PHYSICAL SPECIFICATION Size Weight ABSOLUTE MAXIMUM RATINGS* IO Voltage to GND IO Sink Current Temperature Range DS1921H, DS1921Z Storage Temperature Range * This is a stress rating only and functional operation of the device at these or any other conditions ...
Page 41
PARAMETER SYMBOL Presence Detect High t PDH Time Presence Detect Low t PDL Time Presence Detect t MSP Sample Time IO pin, 1-Wire Write Write-0 Low Time t W0L Write-1 Low Time t W1L IO pin, 1-Wire Read Read Low ...
Page 42
Figure 15 represents the time required for the pull-up circuitry to pull the voltage from The actual maximum duration for the master to pull the line low ...
Page 43
RTC Frequency Deviation vs Temperature -25 -50 -75 -100 -125 -150 -175 -200 -40 -30 -20 -10 Minimum Product Lifetime vs Temperature at Different Sample Rates Every Minute No Samples 11.00 10.00 9.00 8.00 7.00 6.00 5.00 ...
Page 44
Minimum Product Lifetime vs Sample Rate at Different Temperatures -5°C 12.00 11.00 10.00 9.00 8.00 7.00 6.00 5.00 4.00 3.00 2.00 1.00 1 PACKAGE INFORMATION For the latest package outline information and land patterns (footprints www.maxim-ic.com/packages. Note that ...
Page 45
REVISION HISTORY REVISION DATE 020402 Initial release Various updates to the Electrical Characteristics table, note 16 added. 091202 Branding change from Dallas to iButton, style updates, more detailed register page map, various text updates regarding mission start and 1-Wire communication, ...