19-6134; Rev 12/11
DS28E04-100
4096-Bit Addressable 1-Wire EEPROM with PIO
GENERAL DESCRIPTION
The DS28E04-100 is a 4096-bit, 1-Wire EEPROM
chip with seven address inputs. The address inputs
are directly mapped into the 1-Wire 64-bit Device ID
Number to easily enable the host system to identify
the physical location or functional association of the
DS28E04-100 in a multidevice 1-Wire network en-
vironment. The 4096-bit EEPROM array is configured
as 16 pages of 32 bytes with a 32 byte scratchpad to
perform write operations. EEPROM memory pages
can be individually write protected or put in EPROM-
emulation mode, where bits can only be changed
from a 1 to a 0 state. In addition to the memory, the
DS28E04-100 has two general-purpose I/O ports that
can be used for input or to generate level and/or
pulse outputs. Activity registers also capture port
activity for state change monitoring. The DS28E04-
100 communicates over the single-contact 1-Wire
bus. The communication follows the standard Maxim
1-Wire protocol.
Autoconfiguration of Modular Systems such as
Central-Office Switches, Cellular Base Stations,
Access Products, Optical Network Units, and
PBXs
Accessory/PCB Identification
®
FEATURES
•
•
•
APPLICATIONS
4096 bits of EEPROM Memory Partitioned into
16 Pages of 256 Bits
Seven Address Inputs for Physical Location
Configuration
Two General-Purpose PIO Pins with Pulse-
Generation Capability
Individual Memory Pages can be Permanently
Write-Protected or put in OTP EPROM-
Emulation Mode (“Write to 0”)
Communicates to Host with a Single Digital
Signal at 15.3kbps or 111kbps Using 1-Wire
Protocol
Parasitic or V
CC
Powered
Conditional Search Based on PIO Status or PIO
Activity
Switchpoint Hysteresis and Filtering to Optimize
Performance in the Presence of Noise
Reads and Writes Over a Wide 2.8V to 5.25V
Voltage Range from -40°C to +85°C
16-Pin, 150-mil SO Package
ORDERING INFORMATION
PART
DS28E04S-100+
TYPICAL OPERATING CIRCUIT
V
CC
R
PUP
TEMP RANGE PIN-PACKAGE
-40°C to +85°C 16 SO
16 SO
DS28E04S-100+T
-40°C to +85°C
(2.5k pieces)
+ Indicates lead(Pb)-free/RoHS-compliant package.
T = Tape and reel.
PIN CONFIGURATION
IO V
CC
POL
LED
P1
P0
A6
IO V
CC
POL
P1
P0
A0
RST1 RST0
A6
PX.Y
µC
GND
GND
A0
DS28E04 #1
DS28E04 #7
SO (150 mils)
Commands, Registers, and Modes are capitalized for
clarity.
1-Wire is a registered trademark of Maxim Integrated Products, Inc.
1 of 37
DS28E04-100: 4096-Bit 1-Wire Addressable EEPROM with PIO
ABSOLUTE MAXIMUM RATINGS
All Pins: Voltage to GND
All Pins: Sink Current
Operating Temperature Range
Junction Temperature
Storage Temperature Range
Lead Temperature (soldering, 10s)
Soldering Temperature (reflow)
-0.5V, +6V
20mA
-40°C to +85°C
+150°C
-55°C to +125°C
+300°C
+260°C
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only,
and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is
not implied. Exposure to the absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
PARAMETER
Ground Current
Supply Current
Standby Supply Current
PINS A0 TO A6
Input Low Voltage
Input High Voltage
Input Load Current
POL PIN
Input Low Voltage
Input High Voltage
Leakage Current
PIO PINS
Input Low Voltage
Input High Voltage
Output Low Voltage at
4mA
Leakage Current
Minimum Sensed PIO
Pulse
Output Pulse Duration
IO PIN GENERAL DATA
1-Wire Pullup Resistance
Input Capacitance
Input Load Current
High-to-Low Switching
Threshold
Input Low Voltage
Input High Voltage
Low-to-High Switching
Threshold
Switching Hysteresis
Output Low Voltage
Recovery Time
(Notes 1, 15)
Rising-Edge Hold-Off Time
(Note 3)
SYMBOL
I
GND
(V
PUP
= 2.8V to 5.25V, V
CC
= V
PUP
, not connected or grounded, T
A
= -40°C to +85°C.)
I
CC
I
CCS
V
ILA
V
IHA
I
LA
V
ILPOL
V
IHPOL
I
LKPOL
V
ILP
V
IHP
V
OLP
I
LKP
t
PWMIN
t
PULSE
R
PUP
C
IO
I
L
V
TL
V
IL
V
IH
V
TH
V
HY
V
OL
t
REC
t
REH
CONDITIONS
(Notes 1, 2, 3)
V
CC
= V
PUP
(Note 3)
Device idle; A0 to A6 not connected
(Note 1)
V
X
= max(V
PUP
, V
CC
) (Note 1)
Pin at GND (Note 4)
(Note 1)
V
X
= max(V
PUP
, V
CC
) (Note 1)
Pin at 5.25V
(Note 1)
V
X
= max(V
PUP
, V
CC
) (Note 1)
(Note 5)
Pin at 5.25V
(Note 6)
(Note 7)
(Notes 1, 8)
(Notes 3, 9)
IO pin at V
PUP
, A0 to A6 not connected,
V
CC
at GND
IO pin at V
PUP
, A0 to A6 not connected,
V
CC
at V
PUP
(Notes 3, 10, 11)
(Notes 1, 12)
V
X
= max(V
PUP
, V
CC
) (Note 1)
(Notes 3, 10, 13)
(Notes 3, 10, 14)
At 4mA Current Load (Note 5)
Standard speed, R
PUP
= 2.2kΩ
Overdrive speed, R
PUP
= 2.2kΩ
Overdrive speed, directly prior to reset
pulse; R
PUP
= 2.2kΩ
Standard speed (Note 16)
Overdrive speed
1
250
0.3
0.05
0.05
0.46
V
X
-
0.3V
1.0
0.21
5
2
5
0.5
MIN
TYP
MAX
20
1
11
0.30
UNITS
mA
mA
µA
V
V
µA
V
X
-
0.3V
-1.1
V
X
-
0.3V
0.30
1
0.30
V
V
µA
V
V
V
X
-
0.3V
0.4
1
10
1000
100
2.2
800
11.00
8.25
4.40
0.3
V
µA
µs
ms
kΩ
pF
µA
V
V
V
4.9
1.70
0.4
V
V
V
µs
Not applicable (0)
5.0
µs
2 of 37
DS28E04-100: 4096-Bit 1-Wire Addressable EEPROM with PIO
PARAMETER
SYMBOL
CONDITIONS
Standard speed
Time Slot Duration
t
SLOT
(Note 1)
Overdrive speed
IO PIN, 1-Wire RESET, PRESENCE DETECT CYCLE
Standard speed, V
PUP
> 4.5V
Standard speed (Note 17)
Reset Low Time (Note 1)
t
RSTL
Overdrive speed, V
PUP
> 4.5V
Overdrive speed (Note 17)
Standard speed
Presence-Detect High
t
PDH
Time
Overdrive speed (Note 17)
Standard speed, V
PUP
> 4.5V
Presence-Detect Fall Time
Standard speed
t
FPD
(Notes 3, 18)
Overdrive speed
Standard speed
Presence-Detect Low
Overdrive speed, V
PUP
> 4.5V
t
PDL
Time
Overdrive speed (Note 17)
Standard speed, V
PUP
> 4.5V
Presence-Detect Sample
Standard speed
t
MSP
Time (Note 1)
Overdrive speed
IO PIN, 1-Wire WRITE
Standard speed
Write-0 Low Time
t
W0L
(Notes 1, 19)
Overdrive speed (Note 17)
Standard speed
Write-1 Low Time
t
W1L
(Notes 1, 19)
Overdrive speed
IO PIN, 1-Wire READ
Standard speed
Read Low Time
t
RL
(Notes 1, 20)
Overdrive speed
Standard speed
Read Sample Time
t
MSR
(Notes 1, 20)
Overdrive speed
EEPROM
Programming Current
I
PROG
(Note 21)
Programming Time
t
PROG
(Note 22)
At +25°C
Write/Erase Cycles
N
CY
(Endurance) (Note 23)
At +85°C (worst case)
Data Retention
t
DR
At +85°C (worst case)
(Notes 23, 24)
Note 1:
Note 2:
Note 3:
Note 4:
Note 5:
Note 6:
Note 7:
Note 8:
Note 9:
Note 10:
Note 11:
Note 12:
Note 13:
Note 14:
Note 15:
Note 16:
Note 17:
Note 18:
MIN
65
9
480
504
48
53
15
2
1.10
1.1
0
60
8
8
64
67
8.1
60
7
5
1
5
1
t
RL
+
δ
t
RL
+
δ
TYP
MAX
UNITS
µs
640
640
80
80
60
7
3.75
7.0
1.1
240
24
26
75
75
10
120
16
15
2
15 -
δ
2-
δ
15
2
1
10
µs
µs
µs
µs
µs
µs
µs
µs
µs
mA
ms
years
200k
50k
40
System requirement.
Maximum instantaneous pulldown current through all pins combined.
Guaranteed by design, simulation only. Not production tested.
This load current is caused by the internal weak pullup, which asserts a logical 1 to address pins that are not connected. The
logical state of the address pins must not change during the execution of ROM function commands during those time slots in
which these bits are relevant.
The I-V characteristic is linear for voltages less than 1V.
Width of the narrowest pulse that trips the activity latch. Back to back pulses that are active for < t
PWMIN
(max) and that have an
intermediate inactive time < t
PWMIN
(max) are not guaranteed to be filtered.
The Pulse function requires that V
CC
power is available; otherwise the command will not be executed.
Maximum allowable pullup resistance is a function of the number of 1-Wire devices in the system and 1-Wire recovery times. The
specified value here applies to systems with only one device and with the minimum 1-Wire recovery times. For more heavily
loaded systems, an active pullup such as that found in the DS2482-x00, DS2480B, or DS2490 may be required.
Capacitance on the data pin could be 800pF when V
PUP
is first applied. If a 2.2kΩ resistor is used to pull up the data line, 2.5µs
after V
PUP
has been applied the parasite capacitance will not affect normal communications.
V
TL
, V
TH
, and V
HY
are a function of the internal supply voltage, which in parasite power mode, is a function of V
PUP
and the 1-Wire
recovery times. The V
TH
and V
TL
maximum specifications are valid at V
CC
= V
PUP
= 5.25V. In any case, V
TL
< V
TH
< V
PUP
.
Voltage below which, during a falling edge on IO, a logic 0 is detected.
The voltage on IO needs to be less than or equal to V
ILMAX
whenever the master drives the line low.
Voltage above which, during a rising edge on IO, a logic 1 is detected.
After V
TH
is crossed during a rising edge on IO, the voltage on IO has to drop by at least V
HY
to be detected as logic '0'.
Applies to a single DS28E04-100 without V
CC
supply, attached to a 1-Wire line.
The earliest recognition of a negative edge is possible at t
REH
after V
TH
has been previously reached.
Highlighted numbers are NOT in compliance with legacy 1-Wire product standards. See comparison table.
Interval during the negative edge on IO at the beginning of a Presence Detect pulse between the time at which the voltage is
80% of V
PUP
and the time at which the voltage is 20% of V
PUP
.
3 of 37
DS28E04-100: 4096-Bit 1-Wire Addressable EEPROM with PIO
Note 19:
Note 20:
Note 21:
Note 22:
Note 23:
Note 24:
ε
in Figure 16 represents the time required for the pullup circuitry to pull the voltage on IO up from V
IL
to V
TH
. The actual maximum
duration for the master to pull the line low is t
W1LMAX
+ t
F
-
ε and t
W0LMAX
+ t
F
-
ε respectively.
δ
in Figure 16 represents the time required for the pullup circuitry to pull the voltage on IO up from V
IL
to the input high threshold
of the bus master. The actual maximum duration for the master to pull the line low is t
RLMAX
+ t
F
.
Current drawn during the EEPROM programming interval. If the device does not get V
CC
power, the pullup circuit on IO during the
programming interval should be such that the voltage at IO is greater than or equal to V
PUP
(min). If V
PUP
in the system is close to
Vpup(min) then a low-impedance bypass of R
PUP
that can be activated during programming may need to be added.
The t
PROG
interval begins t
REHmax
after the trailing rising edge on IO for the last time slot of the E/S byte for a valid Copy Scratchpad
sequence. Interval ends once the device's self-timed EEPROM programming cycle is complete and the current drawn by the
device has returned from I
PROG
to I
L
or I
CCS
, respectively.
Not production tested. Guaranteed by design or characterization.
EEPROM writes can become nonfunctional after the data-retention time is exceeded. Long-time storage at elevated temperatures
is not recommended; the device can lose its write capability after 10 years at +125°C or 40 years at +85°C.
PARAMETER
t
SLOT
(incl. t
REC
)
t
RSTL
t
PDH
t
PDL
t
W0L
1)
LEGACY VALUES
STANDARD SPEED
OVERDRIVE SPEED
MIN
MAX
MIN
MAX
61µs
(undef)
7µs
(undef)
480µs
(undef)
48µs
80µs
15µs
60µs
2µs
6µs
60µs
240µs
8µs
24µs
60µs
120µs
6µs
16µs
DS28E04-100 VALUES
STANDARD SPEED
OVERDRIVE SPEED
MIN
MAX
MIN
MAX
65µs
1)
(undef)
9µs
(undef)
504µs
640µs
53µs
80µs
15µs
60µs
2µs
7µs
60µs
240µs
8µs
26µs
60µs
120µs
7µs
16µs
Intentional change, longer recovery time requirement due to modified 1-Wire front end.
PIN DESCRIPTION
PIN
1
2
3
4
5, 12
6, 11
7
8
9
10
13
14
15
16
NAME
A3
A2
A1
A0
GND
N.C.
V
CC
POL
P0
P1
A6
A5
A4
IO
FUNCTION
Address bit input (place value = 8), with weak pullup.
Address bit input (place value = 4), with weak pullup.
Address bit input (place value = 2), with weak pullup.
Least significant address bit input (place value = 1), with weak pullup.
Ground Reference
Not Connected
Optional power supply for the chip; leave unconnected or ground if V
CC
power
is not available.
Power-up polarity (logical state) for P0 and P1; pin has a weak pulldown.
Remote-controlled I/O pin, open drain with weak pulldown.
Remote-controlled I/O pin, open drain with weak pulldown.
Address bit input (place value = 64), with weak pullup.
Address bit input (place value = 32), with weak pullup.
Address bit input (place value = 16), with weak pullup.
1-Wire Bus Interface. Open drain, requires external pullup resistor.
The DS28E04-100 combines 4096 bits of EEPROM, a 16-byte control page, two general-purpose PIO pins, seven
external address pins, and a fully featured 1-Wire interface in a single chip. PIO outputs are configured as open-
drain and provide an on-resistance of 100Ω max. A robust PIO channel-access communication protocol ensures
that PIO output-setting changes occur error-free. The DS28E04-100 has an additional memory area called the
scratchpad that acts as a buffer when writing to the main memory or the control page. Data is first written to the
scratchpad from which it can be read back. The copy scratchpad command transfers the data to its final memory
location. Each DS28E04-100 has a device ID number that is 64 bits long. The user can define seven bits of this
number through address pins. The remaining 57 bits are factory-lasered into the chip. The device ID number
guarantees unique identification and is used to address the device in a multidrop 1-Wire network environment,
where multiple devices reside on a common 1-Wire bus and operate independently of each other. The DS28E04-
100 also supports 1-Wire conditional search capability based on PIO conditions or power-on-reset activity. The
DS28E04-100 has an optional V
CC
supply connection. When an external supply is absent, device power is supplied
parasitically from the 1-Wire bus. When an external supply is present, PIO states are maintained in the absence of
the 1-Wire bus power source. Applications of the DS28E04-100 include autoconfiguration and state monitoring of
modular systems such as central-office switches, cellular base stations, access products, optical network units, and
PBXs, and accessory/PC board identification.
DETAILED DESCRIPTION
4 of 37
DS28E04-100: 4096-Bit 1-Wire Addressable EEPROM with PIO
OVERVIEW
The block diagram in Figure 1 shows the relationships between the major control and memory sections of the
DS28E04-100. The DS28E04-100 has five main data components: 1) 64-bit device ID number, 2) 32-byte
scratchpad, 3) sixteen 32-byte pages of EEPROM, 4) Special Function Register, and 5) PIO Control Registers. The
hierarchical structure of the 1-Wire protocol is shown in Figure 2. The bus master must first provide one of the eight
ROM Function Commands, 1) Read ROM, 2) Match ROM, 3) Search ROM, 4) Conditional Search ROM, 5) Skip
ROM, 6) Resume, 7) Overdrive-Skip ROM or 8) Overdrive-Match ROM. Upon completion of an Overdrive ROM
command byte executed at standard speed, the device enters Overdrive mode where all subsequent
communication occurs at a higher speed. The protocol required for these ROM function commands is described in
Figure 14. After a ROM function command is successfully executed, the memory/control functions become
accessible and the master may provide any one of the nine Memory/Control Function commands. The protocol for
these commands is described in Figure 9.
All data is read and written least significant bit first.
Figure 1. Block Diagram
Internal V
DD
V
CC
1-Wire Network
IO
1-Wire
Function Control
Device ID
Number Register
A0
Memory
Function
Control Unit
P0
P1
POL
PIO
Control Registers
CRC16
Generator
Data Memory
16 Pages of
32 Bytes Each
Special Function
Registers
A6
32-Byte
Scratchpad
Internal V
DD
5 of 37