DS25LV02
Low-Voltage 1024-Bit EPROM
www.maxim-ic.com
GENERAL DESCRIPTION
The DS25LV02 provides data storage and serial
number identification for battery packs. The low-
voltage Dallas 1-WireÒ interface enables serial
communication on a single battery contact and the
64-bit unique serial number allows multidrop
networking and identification of individual devices.
The 1024-bit EPROM memory is organized as 4
pages of 32 bytes each and supports storage of
battery cell characteristics, charging voltage, current
and temperature parameters, as well as battery pack
manufacturing data. CRC verification provides data
integrity during communication. The EPROM pages
are in-circuit writable and can be individually locked
to protect data. The DS25LV02 is designed to be
completely backward-compatible with the DS2502 for
existing designs.
FEATURES
§
§
§
§
§
§
§
128 Bytes of EPROM Storage Organized into
Four Separately Lockable Pages
Backward-Compatible with DS2502
Dallas 1-Wire Interface
Input Logic Thresholds Compatible with 1.8V
I/O Supply Rail
Unique 64-Bit Serial Number
Operates with V
DD
as Low as 2.2V
Tiny, Thin SOT-23 Package
PIN CONFIGURATION
TOP VIEW
APPLICATIONS
Cell Phones/Smartphones
Digital Cameras
MP3 Players
TYPICAL APPLICATION CIRCUIT
5-Pin Thin-SOT (TSOT)
ORDERING INFORMATION
PART
DS25LV02R+U
DS25LV02R+T&
R
TEMP RANGE
PIN-PACKAGE
5 Thin SOT
5 Thin SOT in
Tape-and-Reel
-30°C to +85°C
-30°C to +85°C
+Denotes lead-free package.
1-Wire is a registered trademark of Dallas Semiconductor.
Certain commands, modes, and registers are capitalized for
clarity.
1 of 17
051106
DS25LV02: Low-Voltage 1024-Bit EPROM
ABSOLUTE MAXIMUM RATINGS
Voltage Range on DQ, Relative to V
SS
Voltage Range on V
DD
, Relative to V
SS
Operating Temperature Range
Storage Temperature Range
Soldering Temperature
-0.3V to +12V
-0.3V to +6V
-30°C to +85°C
-55°C to +125°C
See IPC/JEDEC J-STD-020A Specification
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.
RECOMMENDED DC OPERATING CONDITIONS
(2.2V
£
V
DD
£
5.5V, T
A
= -30°C to +85°C.)
PARAMETER
Supply Voltage
Data Pin Communication Voltage
Data Pin Programming Voltage
SYMBOL
V
DD
V
DQ
V
PP
CONDITIONS
(Notes 1, 2)
(Note 1)
(Notes 1, 2, 5)
MIN
2.2
-0.3
11.5
TYP
MAX
5.5
+5.5
12.0
UNITS
V
V
V
DC ELECTRICAL CHARACTERISTICS
(2.2V
£
V
DD
£
5.5V, T
A
= -30°C to +85°C.)
PARAMETER
Supply Current
I
DD1
Input-Logic High: DQ
V
IH
V
IL
0.4
Output-Logic Low: DQ
Pulldown Current: DQ
V
OL
I
PD
I
OL
= 4mA (Note 1)
0.5
0.4
V
mA
Communication mode, DQ active
(Note 1)
V
DD
≥
2.5V
Input-Logic Low: DQ (Note 1)
1.5
0.6
V
300
SYMBOL
I
DD0
CONDITIONS
DQ Idle (Note 4)
MIN
TYP
0.8
MAX
2
mA
V
UNITS
EPROM RELIABILITY SPECIFICATION
(2.2V
£
V
DD
£
5.5V, T
A
= -30°C to +85°C.)
PARAMETER
Storage
SYMBOL
t
EES
CONDITIONS
(Notes 2, 3)
MIN
10
TYP
MAX
UNITS
Years
2 of 17
DS25LV02: Low-Voltage 1024-Bit EPROM
AC ELECTRICAL CHARACTERISTICS: EPROM PROGRAMMING
(3.0V
£
V
DD
£
5.5V, T
A
= -30°C to +50°C.)
PARAMETER
Programming Pulse Width
Program Voltage Rise Time
Program Voltage Fall Time
Programming Current: DQ Pin
SYMBOL
t
PP
t
RP
t
FP
I
PP
CONDITIONS
(Notes 1, 2, 5, 6)
(Notes 1, 2, 5)
(Notes 1, 2, 5)
(Notes 2, 5, 7)
MIN
480
0.5
0.5
6
TYP
MAX
5000
5.0
5.0
10
UNITS
ms
ms
ms
mA
AC ELECTRICAL CHARACTERISTICS: 1-Wire INTERFACE
(2.2V
£
V
DD
£
5.5V, T
A
= -30°C to +85°C.)
PARAMETER
Time Slot
Recovery Time
Write-0 Low Time
Write-1 Low Time
Read-Data Valid
Reset-Time High
Reset-Time Low
Presence-Detect High
Presence-Detect Low
Delay to Program Pulse
Delay to Verify
DQ Capacitance
SYMBOL
t
SLOT
t
REC
t
LOW0
t
LOW1
t
RDV
t
RSTH
t
RSTL
t
PDH
t
PDL
t
DP
t
DV
C
DQ
480
480
15
60
5
5
50
960
60
240
CONDITIONS
MIN
60
1
60
1
120
15
15
TYP
MAX
120
UNITS
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
pF
Note 1:
Note 2:
Note 3:
Note 4:
Note 5:
Note 6:
Note 7:
All voltages are referenced to V
SS
.
Programming of the EPROM Data and EPROM Status fields require a limited temperature range of 0°C to 50°C and limited V
DD
voltage range of 3.0V to 5.5V.
Storage for t
EES
at +50°C.
DQ < V
IL
for t > 1.5ms or DQ > V
IH
for t > 1.5ms [1-Wire oscillator shut down].
Programming pulse on DQ pin must be shaped to conform with rise, fall, and width timing specifications. See Figure 7. EPROM
Programming Diagram).
The accumulative duration of all programming pulses for each address must not exceed 5ms.
Specification is guaranteed by design.
3 of 17
DS25LV02: Low-Voltage 1024-Bit EPROM
PIN DESCRIPTION
PIN
1, 3
2
4
5
NAME
N.C.
No Connection
Supply GND and Reference for Serial Communication. Attach
V
SS
to battery-pack negative
terminal.
Supply Input. Bypass to
V
SS
with 0.01mF (typ).
Serial Interface Data I/O Pin. Bidirectional data transmit and receive at 16kbps. Input for
programming voltage pulse during EPROM programming. Internal 0.5mA pulldown ensures
idle mode is entered when no DQ pullup is present.
FUNCTION
V
SS
V
DD
DQ
Figure 1. Block Diagram
Reg.
Vdd_int
VDD
DQ
DIN
HV
1-Wire I/F
and
Control
DOUT
HV Detect
0.5mA
EPROM Array
HV Shaper
Vpp
VSS
DETAILED DESCRIPTION
The DS25LV02 provides battery-pack identification and data storage. A 128-byte EPROM memory array and an 8
byte status field accessed by a low-voltage 1-Wire interface. Each DS25LV02 has a unique 64-bit Net Address
(ROM ID) for identification.
The EPROM is divided into four 32-byte pages. An additional 8-byte status field provides lock bit and page
redirection information to the user. EPROM writing occurs one byte at a time by supplying a 12V pulse on the DQ
line in-between each byte written. Each page can be individually locked by clearing the appropriate bit in the Status
field. Data is read sequentially from a starting address through the end of the array. CRC verification provides
integrity of all read and written data.
Functional compatibility has been maintained between the DS2502 and DS25LV02 at the Net Address/ROM
Command and Function Command levels for reading and writing the Memory data and Status data fields.
4 of 17
DS25LV02: Low-Voltage 1024-Bit EPROM
EPROM MEMORY DATA FIELD
The DS25LV02 has a linear address space for access to the EPROM data field. The EPROM data field is
organized as 4 pages of 32 bytes each as shown in Table 1. The Read Memory and Read Data/Generate CRC
Memory function commands provide read access to the 1024 bits of the EPROM data field. The Write Memory
function command provides write access to the EPROM data field. When received from the factory, the entire
1024-bit EPROM data field is erased and returns logical 1’s when read. Bits within the data field are one time
programmable. Programming changes the bit value to logical zero from the factory default erased value of a logical
1. Once a bit is programmed, it cannot be set back to a logical 1.
Table 1. EPROM Data Field
ADDRESS (HEX)
0000–001F
0020–003F
0040–005F
0060–007F
0080–FFFF
DESCRIPTION
PAGE 0 (32 bytes)
PAGE 1 (32 bytes)
PAGE 2 (32 bytes)
PAGE 3 (32 bytes)
Reserved
READ/WRITE
R/W*
R/W*
R/W*
R/W*
* One-time write to “0” for each bit.
READ MEMORY [F0h]
The Read Memory command is used to read data from PAGE 0 to PAGE 3 of the 1024-bit EPROM data field. The
bus master follows the command byte with a 2-byte address (TA1 = (T7:T0), TA2 = (T15:T8)) that indicates a
starting byte location within the data field. An 8-bit CRC of the command byte and address bytes is computed by
the DS25LV02 and read back by the bus master to confirm that the correct command word and starting address
were received. If the CRC is deemed to be incorrect by the bus master, the bus master should issue a reset pulse
and repeat the entire sequence. If the CRC is deemed to be correct by the bus master, read time slots can be
issued to receive data from the EPROM data field starting at the initial address. The bus master can issue a reset
pulse at any point or continue to issue read time slots until the end of PAGE 3 of the data field is reached.
If reading continues through the end of PAGE 3, the bus master can issue eight additional read time slots and the
DS25LV02 will respond with a 8-bit CRC of all data bytes read from the initial starting byte through the last byte of
PAGE 3. Terminating the command transaction with a reset pulse prior to reaching the end of PAGE 3 results in a
loss of availability of the 8-bit CRC.
READ DATA/GENERATE 8-BIT CRC [C3h]
The Read Data/Generate 8-bit CRC command is used to read data from PAGE 0 to PAGE 3 of the 1024-bit
EPROM data field. The bus master follows the command byte with a 2-byte address
(TA1 = (T7:T0), TA2 = (T15:T8)) that indicates a starting byte location within the data field. An 8-bit CRC of the
command byte and address bytes is computed by the DS25LV02 and read back by the bus master to confirm that
the correct command word and starting address were received. If the CRC is deemed to be incorrect by the bus
master, the bus master should issue a reset pulse and repeat the entire sequence. If the CRC is deemed to be
correct by the bus master, read time slots can be issued to receive data from the EPROM data field starting at the
initial address. The bus master can issue a reset pulse at any point or continue to issue read time slots until the
end of the 32-byte page is reached. If reading occurs through the end of the 32-byte page, the bus master can
issue eight additional read time slots and the DS25LV02 will respond with an 8-bit CRC of all data bytes read from
the initial starting byte through the last byte of the current page. After the CRC is received, additional read time
slots return data starting with the first byte of the next page. This sequence will continue until the bus master reads
PAGE 3 and its accompanying CRC. Thus each page of data can be considered to be 33 bytes long: the 32 bytes
of user-programmed EPROM data and an 8-bit CRC that gets generated automatically at the end of each page.
The Read Data/Generate 8-Bit CRC command sequence can be exited at any point by issuing a reset pulse.
5 of 17