19-4865; Rev 4/11
DS1992/DS1993
1Kb/4Kb Memory iButton
SPECIAL FEATURES
4096 bits of Read/Write Nonvolatile
Memory (DS1993)
1024 bits of Read/Write Nonvolatile
Memory (DS1992)
256-bit Scratchpad Ensures Integrity of Data
Transfer
Memory Partitioned into 256-bit Pages for
Packetizing Data
Data Integrity Assured with Strict
Read/Write Protocols
Operating Temperature Range from -40°C to
+70°C
Over 10 years of data retention
F5 MicroCan
F5 MicroCan
COMMON iButton FEATURES
Unique, Factory-Lasered and Tested 64-bit
Registration Number (8-bit Family Code +
48-bit Serial Number + 8-bit CRC Tester)
Assures Absolute Traceability Because No
Two Parts are Alike
Multidrop Controller for MicroLAN
Digital Identification and Information by
Momentary Contact
Chip-Based Data Carrier Compactly Stores
Information
Data Can be Accessed While Affixed to
Object
Economically Communicates to Bus Master
with a Single Digital Signal at 16.3kbps
Standard 16mm Diameter and 1-Wire
®
Protocol Ensure Compatibility with iButton
®
Family
Button Shape is Self-Aligning with Cup-
Shaped Probes
Durable Stainless Steel Case Engraved with
Registration Number Withstands Harsh
Environments
Easily Affixed with Self-Stick Adhesive
Backing, Latched by its Flange, or Locked
with a Ring Pressed onto its Rim
Presence Detector Acknowledges When
Reader First Applies Voltage
Meets UL 913, 5th Ed., Rev. 1997-02-24;
Intrinsically Safe Apparatus, Approved under
Entity Concept for use in Class I, Division 1,
Group A, B, C, and D Locations
ORDERING INFORMATION
DS1992L-F5+
DS1993L-F5+
+Denotes a lead(Pb)-free/RoHS-compliant product.
EXAMPLES OF ACCESSORIES
DS9096P Self-Stick Adhesive Pad
DS9101 Multipurpose Clip
DS9093RA Mounting Lock Ring
DS9093F Snap-In Fob
DS9092 iButton Probe
F5 MicroCan
1-Wire and iButton are registered trademarks of Maxim Integrated Products, Inc.
1 of 17
DS1992/DS1993
iButton DESCRIPTION
The DS1992/DS1993 memory iButtons (hereafter referred to as DS199x) are rugged read/write data
carriers that act as a localized database, easily accessible with minimal hardware. The nonvolatile
memory and optional timekeeping capability offer a simple solution to storing and retrieving vital
information pertaining to the object to which the iButton is attached. Data is transferred serially through
the 1-Wire protocol that requires only a single data lead and a ground return.
The scratchpad is an additional page that acts as a buffer when writing to memory. Data is first written to
the scratchpad where it can be read back. After the data has been verified, a copy scratchpad command
transfers the data to memory. This process ensures data integrity when modifying the memory. A 48-bit
serial number is factory lasered into each DS199x to provide a guaranteed unique identity that allows for
absolute traceability. The durable MicroCan package is highly resistant to environmental hazards such as
dirt, moisture, and shock. Its compact coin-shaped profile is self-aligning with mating receptacles,
allowing the DS199x to be easily used by human operators. Accessories permit the DS199x to be
mounted on almost any surface including plastic key fobs, photo-ID badges, and PC boards.
Applications include access control, work-in-progress tracking, electronic travelers, storage of calibration
constants, and debit tokens.
OPERATION
The DS199x have three main data components: 1) 64-bit lasered ROM, 2) 256-bit scratchpad, and 3)
1024-bit (DS1992) or 4096-bit (DS1993) SRAM. All data is read and written least significant bit first.
The memory functions are not available until the ROM function protocol has been established. This
protocol is described in the ROM functions flow chart (Figure 9). The master must first provide one of
four ROM function commands: 1) read ROM, 2) match ROM, 3) search ROM, or 4) skip ROM. After a
ROM function sequence has been successfully executed, the memory functions are accessible and the
master can then provide any one of the four memory function commands (Figure 6).
PARASITE POWER
The block diagram (Figure 1) shows the parasite-powered circuitry. This circuitry steals power whenever
the data input is high. The data line provides sufficient power as long as the specified timing and voltage
requirements are met. The advantages of parasite power are two-fold: 1) by parasiting off this input,
battery power is not consumed for 1-Wire ROM function commands, and 2) if the battery is exhausted for
any reason, the ROM may still be read normally. The remaining circuitry of the DS1992 and DS1993 is
solely operated by battery energy.
64-BIT LASERED ROM
Each DS199x contain a unique ROM code that is 64 bits long. The first 8 bits are a 1-Wire family code.
The next 48 bits are a unique serial number. The last 8 bits are a CRC of the first 56 bits (see Figure 2).
The 1-Wire CRC is generated using a polynomial generator consisting of a shift register and XOR gates
as shown in Figure 3. The polynomial is X
8
+ X
5
+ X
4
+ 1. Additional information about the Maxim
1-Wire Cyclic Redundancy Check is available in the Book of DS19xx iButton Standards. The shift
register bits are initialized to zero. Then starting with the least significant bit of the family code, 1 bit at a
time is shifted in. After the 8th bit of the family code has been entered, then the serial number is entered.
After the 48th bit of the serial number has been entered, the shift register contains the CRC value.
Shifting in the 8 bits of CRC should return the shift register to all zeros.
2 of 17
DS1992/DS1993
Figure 1. DS1992/DS1993 BLOCK DIAGRAM
PARASITE-
POWERED
CIRCUITRY
1-WIRE
PORT
1-W
ROM
FUNCTION
CONTROL
64-BIT
LASERED
ROM
MEMORY
FUNCTION
CONTROL
256-BIT
SCRATCHPAD
SRAM
16 PAGES of 256-
BITs (1993)
4 PAGES of 256-
BITs (1992)
3V LITHIUM
Figure 2. 64-BIT LASERED ROM
MSB
LSB
8-Bit Family Code
(06h)1993
(08h)1992
LSB
MSB
LSB
8-Bit CRC Code
48-Bit Serial Number
MSB
LSB
MSB
Figure 3. 1-Wire CRC CODE
Polynomial = X + X + X + 1
8
5
4
1
STAGE
st
2
STAGE
nd
3
STAGE
rd
4
STAGE
th
5
STAGE
th
6
STAGE
th
7
STAGE
th
8
STAGE
th
X
0
X
1
X
2
X
3
X
4
X
5
X
6
X
7
X
8
INPUT DATA
3 of 17
DS1992/DS1993
Figure 4a. DS1993 MEMORY MAP
SCRATCHPAD
PAGE
PAGE 0
PAGE 1
PAGE 2
PAGE 3
PAGE 4
PAGE 5
PAGE 6
PAGE 7
MEMORY
PAGE 8
PAGE 9
PAGE 10
PAGE 11
PAGE 12
PAGE 13
PAGE 14
PAGE 15
0000h
0020h
0040h
0060h
0080h
00A0h
00C0h
00E0h
0100h
0120h
0140h
0160h
0180h
01A0h
01C0h
01E0h
NOTE: Each page is 32 bytes (256 bits). The hex values
represent the starting address for each page or register.
Figure 4b. DS1992 MEMORY MAP
SCRATCHPAD
PAGE
PAGE 0
PAGE 1
MEMORY
PAGE 2
PAGE 3
0040h
0060h
0000h
0020h
NOTE: Each page is 32 bytes (256 bits). The hex values
represent the starting address for each page or register.
4 of 17
DS1992/DS1993
MEMORY
The memory map in Figure 4 shows a 32-Byte page called the scratchpad, and additional 32-Byte pages
called memory. The DS1992 contains pages 0 though 3 that make up the 1024-bit SRAM. The DS1993
contain pages 0 through 15 that make up the 4096-bit SRAM.
The scratchpad is an additional page that acts as a buffer when writing to memory. Data is first written to
the scratchpad where it can be read back. After the data has been verified, a copy scratchpad command
transfers the data to memory. This process ensures data integrity when modifying the memory.
MEMORY FUNCTION COMMANDS
The Memory Function Flow Chart (Figure 6) describes the protocols necessary for accessing the memory.
An example follows the flow chart. Three address registers are provided as shown in Figure 5. The first
two registers represent a 16-bit target address (TA1, TA2). The third register is the ending offset/data
status byte (E/S).
The target address points to a unique Byte location in memory. The first 5 bits of the target address
(T4:T0) represent the Byte offset within a page. This Byte offset points to one of 32 possible Byte
locations within a given page. For instance, 00000b points to the first Byte of a page where as 11111b
would point to the last Byte of a page.
The third register (E/S) is a read only register. The first 5 bits (E4: E0) of this register are called the
ending offset. The ending offset is a Byte offset within a page (1 of 32 Bytes). Bit 5 (PF) is the partial
Byte flag. Bit 6 (OF) is the overflow flag. Bit 7 (AA) is the authorization accepted flag.
Figure 5. ADDRESS REGISTERS
7
TARGET ADDRESS (TA1)
TARGET ADDRESS (TA2)
ENDING ADDRESS WITH
DATA STATUS (E/S)
(READ ONLY)
T7
T15
AA
6
T6
T14
OF
5
T5
T13
PF
4
T4
T12
E4
3
T3
T11
E3
2
T2
T10
E2
1
T1
T9
E1
0
T0
T8
E0
Write Scratchpad Command [0Fh]
After issuing the write scratchpad command, the user must first provide the 2-Byte target address,
followed by the data to be written to the scratchpad. The data is written to the scratchpad starting at the
byte offset (T4:T0). The ending offset (E4:E0) is the Byte offset at which the host stops writing data. The
maximum ending offset is 11111b (31d). If the host attempts to write data past this maximum offset, the
overflow flag (OF) is set and the remaining data is ignored. If the user writes an incomplete Byte and an
overflow has not occurred, the partial Byte flag (PF) is set.
Read Scratchpad Command [AAh]
This command can be used to verify scratchpad data and target address. After issuing the read scratchpad
command, the user can begin reading. The first two Bytes are the target address. The next Byte is the
ending offset/data status Byte (E/S) followed by the scratchpad data beginning at the Byte offset (T4: T0).
The user can read data until the end of the scratchpad, after which the data read is all logic 1’s.
5 of 17