Ds28e07 3122240
Ds28e07 3122240
Ds28e07 3122240
Available Resources
Click here to ask an associate for production status of specific part numbers.
100kΩ
*BSS84
VCC 1kΩ
PIOX RPUP
µC DS28E07
BIDIRECTIONAL
PIOY IO
GND OPEN DRAIN PORT GND
© 2022 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners.
One Analog Way, Wilmington, MA 01887 U.S.A. | Tel: 781.329.4700 | © 2022 Analog Devices, Inc. All rights reserved.
DS28E07 1024-Bit, 1-Wire EEPROM
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 absolute maximum rating conditions for extended periods may affect
device reliability.
Note 1: Package thermal resistances were obtained using the method described in JEDEC specification JESD51-7, using a four-layer
board. For detailed information on package thermal considerations, refer to www.maximintegrated.com/thermal-tutorial.
Electrical Characteristics
(TA = -40°C to +85°C, unless otherwise noted.) (Note 2)
Note 2: Limits are 100% production tested at TA = +25°C and TA = +85°C. Limits over the operating temperature range and
relevant supply voltage range are guaranteed by design and characterization. Typical values are at TA = +25°C.
Note 3: System requirement.
Note 4: 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.
Note 5: Maximum value represents the internal parasite capacitance when VPUP is first applied. Once the parasite capacitance is
charged, it does not affect normal communication.
Note 6: Guaranteed by design and/or characterization only. Not production tested.
Note 7: VTL, VTH, and VHY are a function of the internal supply voltage, which is a function of VPUP, RPUP, 1-Wire timing, and
capacitive loading on IO. Lower VPUP, higher RPUP, shorter tREC, and heavier capacitive loading all lead to lower values of
VTL, VTH, and VHY.
Note 8: Voltage below which, during a falling edge on IO, a logic-zero is detected.
Note 9: The voltage on IO must be less than or equal to VILMAX at all times the master is driving IO to a logic-zero level.
Note 10:Voltage above which, during a rising edge on IO, a logic-one is detected.
Note 11: After VTH is crossed during a rising edge on IO, the voltage on IO must drop by at least VHY to be detected as logic-zero.
Pin Configurations
GND 1 1
IO 2 2
N.C. 3 3
TOP VIEW
TOP VIEW
+
+ N.C. 1 6 N.C.
GND 1 6 N.C.
ymrrF
2807
IO 2 5 N.C.
IO 2 DS28E07 5 N.C.
TSOC
TDFN
(3mm x 3mm)
*EXPOSED PAD
GND 2
IO GND
2 GND IO 1
DS28E07G
SFN
IO 1
(6mm x 6mm x 0.9mm)
DS28E07GB
SFN
(3.5mm x 5mm x 0.35mm) DS28E07GA
SFN
(3.5mm x 6.5mm x 0.75mm)
NOTE:THE S FN PACKAGE IS QUALIFIED FOR ELECTRO-MECHANICAL CONTACT APPLICATIONS ONLY, NOT FOR SOLDE RING. FOR MORE
INFORMATION, REFER TO APPLICATION NOTE 4132: ATTA CHMENT METHODS FOR THE ELE CTRO-MECHANICAL 1-WIRE CONTACT PACK AGE.
Pin Description
PIN
NAME FUNCTION
TSOC TO-92 TDFN-EP SFN
3, 4, 5, 6 3 1, 4, 5, 6 — N.C. Not Connected
2 2 2 1 IO 1-Wire Bus Interface. Open-drain signal requires an external pullup resistor.
1 1 3 2 GND Ground
Exposed Pad (TDFN Only). Solder evenly to the board’s ground plane for
— — — — EP proper operation. Refer to Application Note 3273: Exposed Pads: A Brief
Introduction for additional information.
Detailed Description
PARASITE POWER
The DS28E07 combines 1024 bits of user EEPROM, 64
bits of administrative data memory, and a 64-bit ROM
ID in a single chip. Data is transferred serially through
the 1-Wire protocol that requires only a single data lead
and a ground return. The DS28E07 has an additional
memory area called the scratchpad that acts as a buf- 1-Wire 64-BIT
IO
fer when writing to the main memory or the administra- FUNCTION CONTROL LASERED ROM
tive data memory. Data is first written to the scratchpad
from which it can be read back. After the data has been DS28E07
verified, a Copy Scratchpad command transfers the MEMORY
data to its final memory location. The user memory can FUNCTION
CONTROL UNIT
have unrestricted write access (factory default), or can
be write protected or put in EPROM emulation mode. CRC-16
Write protection prevents changes to the memory data. GENERATOR
EPROM emulation mode logically ANDs memory data 64-BIT
DATA MEMORY SCRATCHPAD
with incoming new data, which allows changing bits from
4 PAGES OF
1 to 0, but not vice versa. By changing one bit at a time 256 BITS EACH
this mode could be used to create nonvolatile nonreset-
table counters. For more details, refer to Application Note REGISTER PAGE
64 BITS
5042: Implementing Nonvolatile, Nonresettable Counters
for Embedded Systems. The device’s 64-bit ROM ID elec-
Figure 1. Block Diagram
tronically identifies the equipment in which the DS28E07
is used. The ROM ID guarantees unique identification and Figure 2 shows the hierarchical structure of the 1-Wire
is also used to address the device in a multidrop 1-Wire protocol. The bus master must first provide one of the
network environment, where multiple devices reside on a seven ROM function commands: Read ROM, Match
common 1-Wire bus and operate independently of each ROM, Search ROM, Skip ROM, Resume, Overdrive-Skip
other. DS28E07 applications include accessory/PCB ROM, or Overdrive-Match ROM. Upon completion of an
identification, medical sensor calibration data storage, Overdrive-Skip ROM or Overdrive-Match ROM command
analog sensor calibration including IEEE P1451.4 smart byte executed at standard speed, the device enters over-
sensors, ink and toner print cartridge identification, and drive mode where all subsequent communication occurs
after-market management of consumables. at a higher speed. The protocol required for these ROM
function commands is described in Figure 9. After a ROM
Overview function command is successfully executed, the memory
The block diagram in Figure 1 shows the relationships functions become accessible and the master can provide
between the major control and memory sections of the any one of the four memory function commands. The pro-
DS28E07. The DS28E07 has four main data components: tocol for these memory function commands is described
four 32-byte pages of user EEPROM, a 64-bit scratchpad, in Figure 7. All data is read and written least signifi-
64 bit of administrative data memory, and a 64-bit ROM ID. cant bit first.
MSB LSB
POLYNOMIAL = X8 + X5 + X4 + 1
X0 X1 X2 X3 X4 X5 X6 X7 X8
INPUT DATA
In addition to the main EEPROM array, an 8-byte volatile The copy-protection byte is used for a higher level of
scratchpad is included. Writes to the EEPROM array are security and should only be used after all other protec-
a two-step process. First, data is written to the scratch- tion control bytes, user bytes, and write-protected pages
pad and then copied into the main array. This allows the are set to their final value. If the copy-protection byte is
user to first verify the data written to the scratchpad prior set to 55h or AAh, all copy attempts to the administrative
to copying into the main array. The device supports only data are blocked. In addition, all copy attempts to write-
8-byte copy operations. For data in the scratchpad to protected user memory pages (i.e., refresh) are blocked.
be valid for a copy operation, the address supplied with
a Write Scratchpad command must start on an 8-byte Address Registers and Transfer Status
boundary, i.e., the three LS-bits of the address must be The DS28E07 employs three address registers: TA1, TA2,
000b, and 8 full bytes must be written into the scratchpad. and E/S (Figure 6). These registers are common to many
other 1-Wire devices, but operate slightly differently with
The protection control bytes determine how incoming
the DS28E07. Registers TA1 and TA2 must be loaded
data on a Write Scratchpad command is loaded into the
with the target address to which the data is written or from
scratchpad. A protection setting of 55h (write protect)
which data is read. Register E/S is a read only transfer-
causes the incoming data to be ignored and the target
status register used to verify data integrity with write com-
address main memory data to be loaded into the scratch-
mands. E/S bits E[2:0] are loaded with the incoming T[2:0]
pad. A protection setting of AAh (EPROM mode) causes
on a Write Scratchpad command and increment on each
the logical AND of incoming data and target address
subsequent data byte. This is, in effect, a byte-ending off-
user memory data to be loaded into the scratchpad. Any
set counter within the 8-byte scratchpad. Bit 5 of the E/S
other protection control byte setting leaves the associated
register, called PF, is a logic 1 if the data in the scratchpad
user memory page open for unrestricted write access.
is not valid due to a loss of power or if the master sends
Note: For the EPROM mode to function, the entire
fewer bytes than needed to reach the end of the scratch-
affected memory page must first be programmed to FFh.
pad. For a valid write to the scratchpad, T[2:0] must be 0
Protection-control byte settings of 55h or AAh also write
and the master must have sent 8 data bytes. Bits 3, 4, and
protect the protection-control byte. The protection-control
6 have no function; they always read 0. The highest val-
byte setting of 55h does not block the copy. This allows
ued bit of the E/S register, called authorization accepted
write-protected data to be refreshed (i.e., reprogrammed
(AA), acts as a flag to indicate that the data stored in the
with the current data) in the device.
scratchpad has already been copied to the target memory
address. Writing data to the scratchpad clears this flag.
BIT # 7 6 5 4 3 2 1 0
Y Y
DS28E07
SETS PF = 1 DS28E07 SETS
CLEARS AA = 0 SCRATCHPAD
SETS E[2:0] = T[2:0] BYTE COUNTER = T[2:0]
PF = 0
BUS MASTER N
MASTER Tx RESET?
Rx "1"s
DS28E07 Tx CRC-16 OF
COMMAND, ADDRESS,
Y
AND DATA BYTES AS THEY
WERE SENT BY THE BUS
MASTER
BUS MASTER N
MASTER Tx RESET?
Rx "1"s
Y
FROM FIGURE 7b
TO ROM FUNCTIONS
FLOWCHART (FIGURE 9)
Y Y
APPLICABLE TO ALL R/W
MEMORY LOCATIONS.
BUS MASTER Tx BUS MASTER Tx
TA1 (T[7:0]), TA2 (T[15:8]) TA1 (T[7:0]), TA2 (T[15:8])
AND E/S BYTE
Y
Y Y ADDRESS < 90h?
AUTH. CODE
T[15:0] < 0090h?
MATCH?
N DS28E07 SETS MEMORY
N N ADDRESS = (T[15:0])
N
PF = 0?
DS28E07 BUS MASTER Rx
INCREMENTS DATA BYTE FROM
Y
ADDRESS MEMORY ADDRESS
COUNTER
Y
COPY PROTECTED?
Y BUS MASTER
MASTER Tx RESET?
Rx "1"s
N
N
AA = 1
N
Y MASTER Tx RESET?
DS28E07 COPIES ADDRESS < 8Fh?
DURATION: tPROG SCRATCHPAD * Y
DATA TO ADDRESS
N
BUS MASTER
Rx "1"s DS28E07 Tx "0" BUS MASTER N
MASTER Tx RESET?
Rx "1"s
Y
N Y
MASTER Tx RESET? MASTER Tx RESET?
Y N
DS28E07 Tx "1"
N
MASTER Tx RESET?
Y
TO FIGURE 7a
Read Scratchpad [AAh] alternating 0s and 1s are transmitted after the data has
The Read Scratchpad command allows verifying the tar- been copied until the master issues a reset pulse. If the
get address and the integrity of the scratchpad data. After PF flag is set or the target memory is copy protected, the
issuing the command code, the master begins reading. copy does not begin and the AA flag is not set.
The first two bytes are the target address. The next byte Read Memory [F0h]
is the ending offset/data status byte (E/S) followed by the
The Read Memory command is the general function to
scratchpad data, which may be different from what the
read data from the DS28E07. After issuing the command,
master originally sent. This is of particular importance if
the master must provide the 2-byte target address. After
the target address is within the administrative data sec-
these 2 bytes, the master reads data beginning from the
tion or a page in either write-protection mode or EPROM
target address and can continue until address 00FFh. If
mode. See the Write Scratchpad [0Fh] section for details.
the master continues reading, the result is logic 1s. The
The master should read through the scratchpad (E[2:0] -
device’s internal TA1, TA2, E/S, and scratchpad contents
T[2:0] + 1 bytes), after which it receives the inverted CRC
are not affected by a Read Memory command.
based on data as it was sent by the DS28E07. If the mas-
ter continues reading after the CRC, all data is logic 1.
1-Wire Bus System
Copy Scratchpad [55h] The 1-Wire bus is a system that has a single bus master
The Copy Scratchpad command is used to copy data and one or more slaves. In all instances, the DS28E07 is
from the scratchpad to writable memory sections. After a slave device. The bus master is typically a microcon-
issuing the Copy Scratchpad command, the master must troller. The discussion of this bus system is broken down
provide a 3-byte authorization pattern, which should into three topics: hardware configuration, transaction
have been obtained by an immediately preceding Read sequence, and 1-Wire signaling (signal types and timing).
Scratchpad command. This 3-byte pattern must exactly The 1-Wire protocol defines bus transactions in terms of
match the data contained in the three address registers the bus state during specific time slots, which are initiated
(TA1, TA2, E/S, in that order). If the pattern matches, the on the falling edge of sync pulses from the bus master.
target address is valid, the PF flag is not set, and the tar-
Hardware Configuration
get memory is not copy protected, then the AA flag is set
and the copy begins. All 8 bytes of scratchpad contents The 1-Wire bus has only a single line by definition; it is
are copied to the target memory location. The duration of important that each device on the bus be able to drive
the device’s internal data transfer is tPROG during which it at the appropriate time. To facilitate this, each device
the voltage on the 1-Wire bus must not fall below VPUP attached to the 1-Wire bus must have open-drain or three-
minimum. Best practice is to generate a strong pullup state outputs. The 1-Wire port of the DS28E07 is open
that turns on after the Copy Scratchpad sequence for the drain with an internal circuit equivalent to that shown in
duration of tPROG to enhance power delivery. A pattern of Figure 8.
VPUP
Tx IL Tx
Rx = RECEIVE
Tx = TRANSMIT
OPEN-DRAIN
100Ω MOSFET
PORT PIN
A multidrop bus consists of a 1-Wire bus with multiple produces a wired-AND result). The resultant family code
slaves attached. The DS28E07 supports both a standard and 48-bit serial number result in a mismatch of the CRC.
and overdrive communication speed of 15.4kbps (max)
and 125kbps (max), respectively. The value of the pullup Match ROM [55h]
resistor primarily depends on the network size and load The Match ROM command, followed by a 64-bit ROM
conditions. The DS28E07 requires a pullup resistor of sequence, allows the bus master to address a specific
2.2kΩ (max) at any speed. DS28E07 on a multidrop bus. Only the DS28E07 that
exactly matches the 64-bit ROM sequence responds to
The idle state for the 1-Wire bus is high. If for any reason
the subsequent memory function command. All other
a transaction needs to be suspended, the bus must be left
slaves wait for a reset pulse. This command can be used
in the idle state if the transaction is to resume. If this does
with a single device or multiple devices on the bus.
not occur and the bus is left low for more than 15.5μs
(overdrive speed) or more than 120μs (standard speed), Search ROM [F0h]
one or more devices on the bus could be reset. When a system is initially brought up, the bus master
Transaction Sequence might not know the number of devices on the 1-Wire bus
or their ROM ID numbers. By taking advantage of the
The protocol for accessing the DS28E07 through the
wired-AND property of the bus, the master can use a pro-
1-Wire port is as follows:
cess of elimination to identify the ID of all slave devices.
● Initialization For each bit in the ID number, starting with the least sig-
● ROM function command nificant bit, the bus master issues a triplet of time slots.
On the first slot, each slave device participating in the
● Memory function command
search outputs the true value of its ID number bit. On the
● Transaction/data second slot, each slave device participating in the search
Initialization outputs the complemented value of its ID number bit. On
the third slot, the master writes the true value of the bit
All transactions on the 1-Wire bus begin with an initializa-
to be selected. All slave devices that do not match the
tion sequence. The initialization sequence consists of a
bit written by the master stop participating in the search.
reset pulse transmitted by the bus master followed by
If both of the read bits are zero, the master knows that
presence pulse(s) transmitted by the slave(s). The pres-
slave devices exist with both states of the bit. By choos-
ence pulse lets the bus master know that the DS28E07 is
ing which state to write, the bus master branches in the
on the bus and is ready to operate. For more details, see
search tree. After one complete pass, the bus master
the 1-Wire Signaling section.
knows the ROM ID number of a single device. Additional
1-Wire ROM Function Commands passes identify the ID numbers of the remaining devices.
Once the bus master has detected a presence, it can Refer to Application Note 187: 1-Wire Search Algorithm
issue one of the seven ROM function commands that the for a detailed discussion, including an example.
DS28E07 supports. All ROM function commands are 8 Skip ROM [CCh]
bits long. A list of these commands follows. See Figure 9.
This command can save time in a single-drop bus sys-
Read ROM [33h] tem by allowing the bus master to access the memory
The Read ROM command allows the bus master to read functions without providing the 64-bit ROM ID. If more
the DS28E07’s 8-bit family code, unique 48-bit serial than one slave is present on the bus and, for example,
number, and 8-bit CRC. This command can only be used a read command is issued following the Skip ROM com-
if there is a single slave on the bus. If more than one mand, data collision occurs on the bus as multiple slaves
slave is present on the bus, a data collision occurs when transmit simultaneously (open-drain pulldowns produce a
all slaves try to transmit at the same time (open drain wired-AND result).
BUS MASTER Tx
RESET PULSE
FROM FIGURE 9b
FROM MEMORY FUNCTIONS
FLOWCHART (FIGURE 7)
OD N
RESET PULSE? OD = 0
Y Y Y Y
RC = 0 RC = 0 RC = 0 RC = 0
DS28E07 Tx BIT 0
DS28E07 Tx
FAMILY CODE MASTER Tx BIT 0 DS28E07 Tx BIT 0
(1 BYTE) MASTER Tx BIT 0
N N
BIT 0 MATCH? BIT 0 MATCH?
Y
Y
DS28E07 Tx BIT 1
DS28E07 Tx
SERIAL NUMBER MASTER Tx BIT 1 DS28E07 Tx BIT 1
(6 BYTES) MASTER Tx BIT 1
N N
BIT 1 MATCH? BIT 1 MATCH?
Y Y
DS28E07 Tx BIT 63
DS28E07 Tx
MASTER Tx BIT 63 DS28E07 Tx BIT 63
CRC BYTE
MASTER Tx BIT 63
N N
BIT 63 MATCH? BIT 63 MATCH?
Y Y
RC = 1 RC = 1
TO FIGURE 9b
FROM FIGURE 9b
TO MEMORY FUNCTIONS
FLOWCHART (FIGURE 7)
TO FIGURE 9a
Y Y Y
RC = 0; OD = 1 RC = 0; OD = 1
N
RC = 1?
Y
MASTER Tx BIT 0
MASTER Tx Y N
BIT 0 MATCH? OD = 0
RESET?
N Y
MASTER Tx BIT 1
MASTER Tx Y
RESET?
N
N BIT 1 MATCH? OD = 0
MASTER Tx BIT 63
N
BIT 63 MATCH? OD = 0
RC = 1
FROM FIGURE 9a
TO FIGURE 9a
VTL
VILMAX
0V
tPDH
tRSTL tPDL tREC
tF
tRSTH
tW1L
VPUP
VIHMASTER
VTH
VTL
VILMAX
0V
ε
tF
tSLOT
RESISTOR MASTER
tW0L
VPUP
VIHMASTER
VTH
VTL
VILMAX
0V
ε
tF tREC
tSLOT
RESISTOR MASTER
tREH tREH
VPUP
VTH
VHY
X0 X1 X2 X3 X4 X5 X6 X7
INPUT DATA
Revision History
REVISION REVISION PAGES
DESCRIPTION
NUMBER DATE CHANGED
0 9/15 Initial release —
1 5/16 Removed future product references 22
Added row to Output Low Voltage parameter and removed Note 12 (remaining
2 1/17 2, 4
Notes were not renumbered per request)
3 7/21 Updated Electrical Characteristics table 3
Updated Pin Configurations, Pin Description table, Ordering Information table,
4 9/21 5, 6, 22
and Package Information table
5 12/21 Updated Ordering Information table 22
6 1/22 Updated Electrical Characteristics table 3
7 4/22 Updated Ordering Information table 22
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is
assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that
may result from its use. Specifications subject to change without notice. No license is granted by implication
or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are
the property of their respective owners.
w w w . a n a l o g . c o m Analog Devices │ 23
Mouser Electronics
Authorized Distributor
Other:
DS28E07P+ DS28E07+ DS28E07P+T DS28E07Q+U DS28E07G+T DS28E07GA+T DS28E07GB+T