MICROCHIP 24AA00T-I/ST

Obsolete Device
24LCS61/24LCS62
1K/2K Software Addressable I2C™ Serial EEPROM
Device Selection Table
Package Types
Array
Size
Voltage
Range
Software Write
Protection
24LCS51
1K bits
2.5V-5.5V
Entire Array
24LCS62
2K bits
2.5V-5.5V
Lower Half
Features
NC
1
NC
2
EDS
3
Vss
4
SOIC
1
NC
NC
2
EDS
3
Vss
4
NC
NC
1
EDS
VSS
3
4
2
I2C is a trademark of Philips Corporation.
 2004 Microchip Technology Inc.
Vcc
7
NC
6
SCL
5
SDA
VCC
7
NC
6
SCL
5
SDA
8
7
Vcc
NC
6
5
SCL
SDA
Block Diagram
EDS
I/O
Control
Logic
HV Generator
Memory
Control
Logic
EEPROM
Array
XDEC
Description
The Microchip Technology Inc. 24LCS61/62 is a 1K/2K
bit Serial EEPROM developed for applications that
require many devices on the same bus but do not have
the I/O pins required to address each one individually.
These devices contain an 8 bit address register that is
set upon power-up and allows the connection of up to
255 devices on the same bus. When the process of
assigning ID values to each device is in progress, the
device will automatically handle bus arbitration if more
than one device is operating on the bus. In addition, an
external open drain output pin is available that can be
used to enable other circuitry associated with each
individual system. Low current design permits
operation with typical standby and active currents of
only 10 µA and 1 mA respectively. The device has a
page write capability for up to 16 bytes of data. The
device is available in the standard 8-pin PDIP, SOIC
(150 mil), and TSSOP packages.
8
8
24LCS61/62
TSSOP
24LCS61/62
• Low-power CMOS technology
- 1 mA active current typical
- 10 µA standby current typical at 5.5V
• Software addressability allows up to 255 devices
on the same bus
• 2-wire serial interface bus, I2C compatible
• Automatic bus arbitration
• Wakes up to control code 0110
• General purpose output pin can be used to enable
other circuitry
• 100 kHz and 400 kHz compatibility
• Page write buffer for up to 16 bytes
• 10 ms max write cycle time for byte or page write
• 1,000,000 erase/write cycles
• 8-pin PDIP, SOIC or TSSOP packages
• Temperature ranges supported:
- Industrial (I):
-40°C to +85°C
PDIP
24LCS61/62
Device
ID Register
Serial Number
SDA SCL
YDEC
VCC
VSS
Sense Amp.
R/W Control
Pin Function Table
Name
Function
VSS
Ground
SDA
Serial Data
SCL
Serial Clock
VCC
+2.5V to 5.5V Power Supply
NC
No Internal Connection
EDS
External Device Select Output
DS21226E-page 1
24LCS61/24LCS62
1.0
ELECTRICAL CHARACTERISTICS
Absolute Maximum Ratings(†)
VCC .............................................................................................................................................................................7.0V
All inputs and outputs w.r.t. VSS ......................................................................................................... -0.6V to VCC +1.0V
Storage temperature ...............................................................................................................................-65°C to +150°C
Ambient temperature with power applied ................................................................................................-65°C to +125°C
ESD protection on all pins ......................................................................................................................................................≥ 4 kV
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to
the device. This is a stress rating only and functional operation of the device at those or any other conditions
above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating
conditions for extended periods may affect device reliability.
TABLE 1-1:
DC CHARACTERISTICS
All parameters apply across the
specified operating ranges unless
otherwise noted.
Parameter
VCC = +2.5V to +5.5V
Industrial (I): TA = -40°C to +85°C
Symbol
Min.
Max.
Units
Conditions
SCL and SDA pins:
High-level input voltage
VIH
0.7 VCC
—
V
Low-level input voltage
VIL
—
.3 VCC
V
Hysteresis of Schmitt Trigger
inputs
VHYS
0.05 VCC
—
V
Low-level output voltage
(SDA and EDS pins)
VOL
—
.40
V
IOL = 12 mA, VCC = 4.5V
IOL = 8 mA, VCC = 2.5V
Input leakage current
ILI
—
±1
µA
VIN = Vss or Vcc
Output leakage current
ILO
—
±1
µA
VOUT = Vss or Vcc
Pin capacitance (all inputs/outputs)
CIN,
COUT
—
10
pF
VCC = 5.0V (Note)
TA = 25°C, f = 1 MHz
Operating current
ICC Write
—
4
mA
VCC = 5.5V
ICC Read
—
1
mA
VCC = 5.5V, SCL = 400 kHz
ICCS
—
50
µA
VCC = 5.5V, SDA = SCL = VCC
EDS = VCC
Standby current
Note:
This parameter is periodically sampled and not 100% tested.
DS21226E-page 2
 2004 Microchip Technology Inc.
24LCS61/24LCS62
TABLE 1-2:
AC CHARACTERISTICS
All parameters apply across the specified
operating ranges unless otherwise noted.
Vcc = +2.5V to 5.5V
Industrial (I): TA = -40°C to +85°C
VCC = 2.5V - 5.5V Vcc = 4.5V - 5.5V
STD MODE
FAST MODE
Symbol
Parameter
Units
Remarks
Min.
Max.
Min.
Max.
Clock frequency
Clock high time
Clock low time
SDA and SCL rise time
SDA and SCL fall time
Start condition hold time
FCLK
THIGH
TLOW
TR
TF
THD:STA
—
4000
4700
—
—
4000
100
—
—
1000
300
—
—
600
1300
—
—
600
400
—
—
300
300
—
kHz
ns
ns
ns
ns
ns
Start condition setup time
TSU:STA
4700
—
600
—
ns
Data input hold time
Data input setup time
Stop condition setup time
Output valid from clock
Bus free time
THD:DAT
TSU:DAT
TSU:STO
TAA
TBUF
0
250
4000
—
4700
—
—
—
3500
—
0
100
600
—
1300
—
—
—
900
—
ns
ns
ns
ns
ns
—
250
250
ns
—
50
20 +0.1
CB
—
(Note 2)
Time the bus must be free
before a new transmission
can start
(Note 1), CB ≤ 100 pF
50
ns
(Notes 1, 3)
—
1M
10
—
—
1M
10
—
TOF
Output fall time
(from 0.7 VCC to 0.3 VCC)
Input filter spike suppression TSP
(SDA and SCL pins)
Write cycle time
TWC
Endurance
Note 1:
2:
3:
4:
BUS TIMING DATA
THIGH
TF
TR
Tsu:sta
TLOW
SDA
IN
ms Byte or Page mode
cycles 25°C, VCC = 5.0V, Block
mode (Note 4)
Not 100% tested. CB = total capacitance of one bus line in pF.
As a transmitter, the device must provide an internal minimum delay time to bridge the undefined region
(minimum 300 ns) of the falling edge of SCL to avoid unintended generation of Start or Stop conditions.
The combined TSP and VHYS specifications are due to Schmitt Trigger inputs which provide improved
noise spike suppression. This eliminates the need for a TI specification for standard operation.
This parameter is not tested but ensured by characterization. For endurance estimates in a specific
application, please consult the Total Endurance™ Model which can be obtained from our web site.
FIGURE 1-1:
SCL
From VIL to VIH (Note 1)
From VIL to VIH (Note 1)
After this period the first
clock pulse is generated
Only relevant for repeated
Start condition
(Note 2)
TSP
THD:DAT
TSU:DAT
TSU:STO
THD:STA
TAA
TBUF
SDA
OUT
 2004 Microchip Technology Inc.
DS21226E-page 3
24LCS61/24LCS62
2.0
PIN DESCRIPTIONS
2.1
SDA (Serial Data)
3.0
BUS CHARACTERISTICS
The following bus protocol has been defined:
This is a bidirectional pin used to transfer addresses
and data into and data out of the device. It is an open
drain terminal, therefore the SDA bus requires a pull-up
resistor to VCC (typical 10 kΩ for 100 kHz, 2 kΩ for
400 kHz).
• Data transfer may be initiated only when the bus
is not busy.
• During data transfer, the data line must remain
stable whenever the clock line is high. Changes in
the data line while the clock line is high will be
interpreted as a Start or Stop condition.
For normal data transfer SDA is allowed to change only
during SCL low. Changes during SCL high are
reserved for indicating the Start and Stop conditions.
The SDA pin has Schmitt Trigger and filter circuits
which suppress noise spikes to assure proper device
operation even on a noisy bus
Accordingly, the following bus conditions have been
defined (Figure 3-1).
2.2
3.2
SCL (Serial Clock)
This input is used to synchronize the data transfer from
and to the device. The SCL pin has Schmitt Trigger and
filter circuits which suppress noise spikes to assure
proper device operation even on a noisy bus.
2.3
EDS (External Device Select)
The External Device Select (EDS) pin is an open drain
output that is controlled by using the OE bit in the
control byte. It can be used to enable other circuitry
when the device is selected. A pull-up resistor must be
added to this pin for proper operation. This pin should
not be pulled up to a voltage higher than Vcc+1V. See
Section 9.0 “External Device Select (EDS) Pin and
Output Enable (OE) Bit” for more details.
3.1
Bus not Busy (A)
Both data and clock lines remain high.
Start Data Transfer (B)
A high-to-low transition of the SDA line while the clock
(SCL) is high determines a Start condition. All
commands must be preceded by a Start condition.
3.3
Stop Data Transfer (C)
A low-to-high transition of the SDA line while the clock
(SCL) is high determines a Stop condition. All
operations must be ended with a Stop condition.
3.4
Data Valid (D)
The state of the data line represents valid data when,
after a Start condition, the data line is stable for the
duration of the high period of the clock signal.
The data on the line must be changed during the low
period of the clock signal. There is one bit of data per
clock pulse.
Each data transfer is initiated with a Start condition and
terminated with a Stop condition. The number of data
bytes transferred between the Start and Stop
conditions is determined by the master device and is
theoretically unlimited, although only the last sixteen
will be stored when doing a write operation. When an
overwrite does occur it will replace data in a first in first
out fashion.
FIGURE 3-1:
SCL
(A)
DATA TRANSFER SEQUENCE ON THE SERIAL BUS
(B)
(D)
START
CONDITION
DATA OR
ACKNOWLEDGE
VALID
(D)
(C)
(A)
SDA
DS21226E-page 4
DATA
ALLOWED
TO CHANGE
STOP
CONDITION
 2004 Microchip Technology Inc.
24LCS61/24LCS62
3.5
Acknowledge
The device that acknowledges has to pull down the
SDA line during the Acknowledge clock pulse in such a
way that the SDA line is stable low during the high
period of the acknowledge related clock pulse. Of
course, setup and hold times must be taken into
account. A master must signal an end of data to the
slave by not generating an Acknowledge bit on the last
byte that has been clocked out of the slave. In this
case, the slave must leave the data line high to enable
the master to generate the Stop condition (Figure 3-2).
Each receiving device, when addressed, is required to
generate an acknowledge after the reception of each
byte. The master device must generate an extra clock
pulse which is associated with this Acknowledge bit.
Note:
The 24LCS61/62 does not generate any
Acknowledge bits if an internal programming cycle is in progress.
FIGURE 3-2:
ACKNOWLEDGE TIMING
Acknowledge
Bit
SCL
1
2
SDA
3
4
5
6
7
Data from transmitter
Transmitter must release the SDA line at this point
allowing the Receiver to pull the SDA line low to
acknowledge the previous eight bits of data.
 2004 Microchip Technology Inc.
8
9
1
2
3
Data from transmitter
Receiver must release the SDA line at this point
so the Transmitter can continue sending data.
DS21226E-page 5
24LCS61/24LCS62
4.0
FUNCTIONAL DESCRIPTION
The 24LCS61/62 supports a bidirectional 2-wire bus
and data transmission protocol compatible with the I2C
protocol. The device is configured to reside on a
common I2C bus with up to 255 total 24LCS61/62
devices on the bus. Each device has a unique serial
number assigned to it when delivered from the factory.
In an actual system, this serial number will be used to
assign a separate 8-bit ID byte to each device in the
system. After an ID byte is assigned to each device in
the system, standard Read and Write commands can
be sent to each device individually.
4.1
Device Serial Number
The device serial number is stored in a 48-bit (6 byte)
register that is separate from the data array. The serial
number register is nonvolatile and cannot be changed
by the user. Before shipment from the factory, this
register is programmed with a unique value for every
device. The 48 bit register allows for 2.8•1014 different
combinations. The serial number is used at power-up
to assign the device an ID byte which is then used for
all standard Read and Write commands sent to that
specific device.
4.2
FIGURE 4-1:
CONTROL BYTE FORMAT
Output Enable
Bit
Command Select
Bits
Control Code
S
0
1
1
0
Start Bit
TABLE 4-1:
OE
C2
C1
C0 ACK
Acknowledge Bit
COMMAND CODES
Command
Command Select Bits
(C2 C1 C0)
Set Write Protection Fuse
000
Read
001
Write (Byte or Page)
010
Assign Address
100
Clear Address
110
Device ID Byte
The Device ID byte is an 8-bit value that provides the
means for every device on the bus to be accessed
individually. The ID byte is stored in a RAM register
separate from the data array. The ID byte register will
always default to address 00 upon power-up.
4.3
Device Addressing
Each command to the device must begin with a Start
bit. A control byte is the first byte received following the
Start condition from the master device (Figure 4-1).
The control byte consists of a four-bit control code, the
OE bit, and three command select bits. For the
24LCS61/62, the control code is set to ‘0110’ binary for
all operations. The device will not acknowledge any
commands sent with any other control code. The next
bit is the Output Enable (OE) bit. This bit controls the
operation of the EDS pin. See Section 9.0 “External
Device Select (EDS) Pin and Output Enable (OE)
Bit” for more details. The last three bits of the control
byte are the command select bits (C0-C2). The
command select bits determine which command will be
executed. See Table 4-1. Following a valid control byte,
the 24LCS61/62 will acknowledge the command.
DS21226E-page 6
 2004 Microchip Technology Inc.
24LCS61/24LCS62
5.0
ASSIGNING THE ID BYTE
The 24LCS61/62 device contains a special register
which holds an 8-bit ID byte that is used as an address
to communicate with a specific device on the bus. All
Read and Write commands to the device must include
this ID address byte. Upon power-up, the ID byte will
default to 00h. Communicating with the device using
the default address is typically done only at testing or
programming time and not when it is connected to a
bus with more than one device. Before the device can
be used on a common bus with other devices, a unique
ID byte address must be assigned to every device.
5.1
Assign Address Command
The ID byte is assigned by sending the Assign Address
command. This command queries any device
connected to the bus and utilizing the automatic bus
arbitration feature, assigns an ID byte to the device that
remains on the bus after arbitration is complete. Once
a device has been assigned an ID byte, it will no longer
respond to Assign Address commands until power is
cycled or the Clear Address command is sent. The
Assign Address command must be repeated for each
device on the bus until all devices have been assigned
an ID byte.
The format for the Assign Address command is shown
in Figure 5-1. The command consists of the control
byte, the ID byte to be assigned to the device remaining
when the arbitration is complete, and 48 bits of data
being transmitted by devices on the bus. If the OE bit is
set to a 1, then any device who has not been assigned
an address will assert their respective EDS pin after the
Acknowledge bit following the Device ID byte. After the
control byte and ID byte are sent, each device will
begin to transmit its unique 48-bit serial number.
FIGURE 5-1:
The 24LCS61/62 must acknowledge the control byte
and the device ID byte, and the master must acknowledge each byte of the serial number transmitted by the
device. As each bit is clocked out, each device will
monitor the bus to detect if another device is also
transmitting. If any device is outputting a logic ‘1’ on the
bus and it detects that the bus is at a logic ‘0’, then it
assumes that another device is controlling the bus. As
soon as any device detects that it is not controlling the
bus it will immediately stop transmitting data and return
to Standby mode. The master must end the command
by sending a no ACK after all 6 bytes of the serial
number have been transmitted, followed by a Stop bit.
Sending the Stop bit in any other position of the
command will result in the command aborting and all
devices releasing the bus with no address assigned. If
a device transmits its entire 48 bit serial number without
releasing the bus to another device, then the ID byte
transmitted within the command is transferred to the
internal ID byte register upon receipt of the Stop bit and
it will now respond only to commands that contain this
ID byte (or the Clear Address command). Once a
device has been assigned an ID byte, it will no longer
respond to Assign Address commands until power is
cycled or the Clear Address command is sent.
This process of assigning ID bytes is repeated by the
controller until no more devices respond to the Assign
Address command. At this point, all devices on the bus
have been assigned an ID byte and standard Read and
Write commands can be executed to each individual
device.
The ID byte is stored in a volatile SRAM register, and if
power is removed from the device or the Clear Address
command is sent, then the ID byte will default to
address 00 and the process of assigning an ID value
must be repeated.
ASSIGN ADDRESS COMMAND
Stop bit must occur here
or command will abort
A unique address must be assigned to each
device on the bus
S
T
A
R
T
6 Bytes (48 Bits) of Device Serial Number
with each byte separated by an ACK bit
CONTROL
BYTE
S
T
O
P
Device ID Byte
O
S0 1 1 0E 100
P
A
C
K
 2004 Microchip Technology Inc.
A
C
K
A
C
K
A
C
K
N
O
A
C
K
DS21226E-page 7
24LCS61/24LCS62
5.2
Clear Address Command
The Clear Address command will clear the device ID
byte from all devices on the bus and will enable all
devices to respond to the Assign Address command.
The master must end the command by sending an ACK
after 8 don’t care bits have been transmitted, followed
by a Stop bit. Sending the Stop bit in any other position
of the command will result in the command aborting
and the device releasing the bus.
FIGURE 5-2:
CLEAR ADDRESS COMMAND
S
T
A
R
T
CONTROL
BYTE
Device ID Byte
O
S 0 1 1 0E 1 1 0
P
XXXXXXXX
A
C
K
A
C
K
5.3
S
T
O
P
Operation State Diagram
The diagram below shows the state diagram for basic
operation of the 24LCS61/62. This diagram shows
possible states and operational flow once power is
applied to the device. Table 5-1 summarizes operation
of each command for the assigned and unassigned
states.
FIGURE 5-3:
OPERATIONAL STATE DIAGRAM
Power Off
Clear Address
Command
Power Off
Power On
Power
Off
Unassigned
State
(ID byte not assigned yet)
Assigned
State
(ID byte has been assigned)
Assign Address Command:
Device wins Arbitration
Assign Address Command:
Device loses Arbitration
DS21226E-page 8
 2004 Microchip Technology Inc.
24LCS61/24LCS62
TABLE 5-1:
COMMAND SUMMARY TABLE
Command
Result if Device Has Not Yet
Been Assigned an ID Byte
Result if Device Has Already Been
Assigned an ID Byte
Assign Address
command
If device wins arbitration, then ID
byte will become xxh. If device
loses arbitration, then ID byte will
revert back to 00h.
Device will not acknowledge command.
Clear Address
command
Device will remain with ID byte set
to 00h.
Device ID byte will revert back to 00h and will then
acknowledge Assign Address commands.
Read or Write
command with
ID byte set to 00h
Since the default ID byte for the
device is 00h, the device will
execute the command.
Device will acknowledge the control byte, but it will not
acknowledge any further bytes and will not respond to
the command.
Read or Write
command with
ID byte set to xxh
(other than 00h)
Device will acknowledge the
control byte, but it will not acknowledge any further bytes and will not
respond to the command.
If the device ID byte matches the ID byte in the command
(xxh), the device will execute the command. If the device
ID byte does not match the ID byte in the command, then
the device will acknowledge the control byte, but it will
not acknowledge any further bytes and will not respond
to the command.
Set Write-Protect
command with
ID byte set to 00h
Since the default ID address for the Device will acknowledge the control byte, but it will not
device is 00h, the device will
acknowledge any further bytes and will not respond to
execute the command.
the command.
Set Write Protection
command with
ID byte set to xxh
(other than 00h)
Device will acknowledge the
control byte, but it will not acknowledge any further bytes and will not
respond to the command.
 2004 Microchip Technology Inc.
If the device ID byte matches the ID byte in the command
(xxh), the device will execute the command. If the device
ID byte does not match the ID byte in the command, then
the device will acknowledge the control byte, but it will
not acknowledge any further bytes and will not respond
to the command. Note: Once this command has been
executed successfully for a device, the device will no
longer acknowledge any part of this command again.
DS21226E-page 9
24LCS61/24LCS62
6.0
WRITE OPERATIONS
6.1
Byte Write
Note:
Following the Start signal from the master, the control
byte for a Write command is sent by the master
transmitter. The device will acknowledge this control
byte during the ninth clock pulse. The next byte
transmitted by the master is the ID byte for the device.
After receiving another Acknowledge signal from the
24LCS61/62, the master device will transmit the
address and then the data word to be written into the
addressed memory location. The 24LCS61/62
acknowledges between each byte, and the master then
generates a Stop condition. This initiates the internal
write cycle, and during this time the 24LCS61/62 will
not generate Acknowledge signals (Figure 6-1).
6.2
Page Write
The control byte, ID byte, word address, and the first
data byte are transmitted to the 24LCS61/62 in the
same way as in a byte write. But, instead of generating
a Stop condition, the master transmits up to 15
additional data bytes to the 24LCS61/62, which are
temporarily stored in the on-chip page buffer and will be
written into the memory after the master has transmitted a Stop condition. If the master should transmit more
than 16 bytes prior to generating the Stop condition, the
address counter will roll over and the previously
received data will be overwritten. As with the byte write
operation, once the Stop condition is received an
internal write cycle will begin (Figure 6-2) and the
24LCS61/62 will not generate acknowledge.
FIGURE 6-1:
BUS ACTIVITY
Low Voltage Write Protection
The 24LCS61/62 employs a VCC threshold detector
circuit which disables the internal erase/write logic, if
the VCC is below 1.5 volts at nominal conditions.
6.4
Set Write Protection Command
The Set Write Protection command allows the user to
write-protect a portion of the array. For the 24LCS51
this command will write-protect the entire array. For the
24LCS62 this command will protect the lower half of
the array. This command is illustrated in Figure 6-3.
This is a one time only command and cannot be
reversed once the protection fuse has been set.
Once the write-protect feature has been set, the device
will no longer acknowledge the control byte (or any of
the other bytes) of this command. The Stop bit of this
command initiates an internal write cycle, and during
this time the 24LCS61/62 will not generate
Acknowledge signals.
BYTE WRITE
BUS ACTIVITY
MASTER
SDA LINE
6.3
Page write operations are limited to writing
bytes within a single physical page,
regardless of the number of bytes actually
being written. Physical page boundaries
start at addresses that are integer
multiples of the page buffer size (or ‘page
size’) and end at addresses that are
integer multiples of [page size - 1]. If a
Page Write command attempts to write
across a physical page boundary, the
result is that the data wraps around to the
beginning of the current page (overwriting
data previously stored there), instead of
being written to the next page as might be
expected. It is therefore necessary for the
application software to prevent page write
operations that would attempt to cross a
page boundary.
S
T
A
R
T
CONTROL
BYTE
ADDRESS
BYTE
DEVICE
ID BYTE
S
T
O
P
DATA
010
S0 1 1 0O
E
P
A
C
K
A
C
K
A
C
K
A
C
K
OE Bit = EDS Pin Output Enable; see Section 9.0 “External Device Select (EDS) Pin and Output Enable (OE) Bit”
DS21226E-page 10
 2004 Microchip Technology Inc.
24LCS61/24LCS62
FIGURE 6-2:
BUS ACTIVITY
MASTER
SDA LINE
PAGE WRITE
S
T
A
R
T
CONTROL
BYTE
DEVICE
ID BYTE
ADDRESS
BYTE
S
T
O
P
DATA BYTE 15
DATA BYTE 0
010
S0 1 1 0O
E
BUS ACTIVITY
P
A
C
K
FIGURE 6-3:
A
C
K
A
C
K
A
C
K
A
C
K
SET WRITE PROTECTION COMMAND
S
T
A
R
T
ADDRESS
BYTE
DEVICE
ID BYTE
CONTROL
BYTE
O
S 01 1 0E00 0
XXXXXXXX
A
C
K
 2004 Microchip Technology Inc.
A
C
K
S
T
O
P
DATA BYTE
XXXXXXXX
A
C
K
P
A
C
K
DS21226E-page 11
24LCS61/24LCS62
7.0
ACKNOWLEDGE POLLING
Since the device will not acknowledge during a write
cycle, this can be used to determine when the cycle is
complete (this feature can be used to maximize bus
throughput). Once the Stop condition for a Write
command has been issued from the master, the device
initiates the internally timed write cycle. ACK polling
can be initiated immediately. This involves the master
sending a Start condition followed by the control byte
for a Write command and then sending the Device ID
byte for that particular device. If the device is still busy
with the write cycle, then no ACK will be returned after
the Device ID byte. If no ACK is returned, then the Start
bit, control byte and ID byte must be re-sent. If the cycle
is complete, then the device will return the ACK and the
master can then proceed with the next command. See
Figure 7-1 for flow diagram.
FIGURE 7-1:
ACKNOWLEDGE
POLLING FLOW
Send
Write Command
Send Stop
Condition to
Initiate Write Cycle
Send Start
Send Control byte and
Device ID byte
Did Device
Acknowledge
Device ID
(ACK = 0)?
NO
YES
Next
Operation
DS21226E-page 12
 2004 Microchip Technology Inc.
24LCS61/24LCS62
8.0
READ OPERATIONS
After the ID byte and word address are sent, the master
generates a Start condition following the acknowledge.
This terminates the write operation, but not before the
internal address pointer is set. Then the master sends
the control byte and ID byte for a Read command. The
24LCS61/62 will then issue an acknowledge and
transmits the eight bit data word. The master will not
acknowledge the transfer but does generate a Stop
condition and the 24LCS61/62 discontinues
transmission (Figure 8-2).
Read operations are initiated in a similar way as the
write operations. There are three basic types of read
operations: current address read, random read, and
sequential read.
8.1
Current Address Read
The 24LCS61/62 contains an address counter that
maintains the address of the last word accessed,
internally incremented by one. Therefore, if the
previous read access was to address n, the next
current address read operation would access data from
address n + 1. Upon receipt of the correct control byte
and ID byte, the 24LCS61/62 issues an acknowledge
and transmits the eight bit data word. The master will
not acknowledge the transfer but does generate a Stop
condition and the 24LCS61/62 discontinues
transmission (Figure 8-1).
8.2
8.3
Sequential reads are initiated in the same way as a
random read except that after the 24LCS61/62 transmits the first data byte, the master issues an acknowledge as opposed to a Stop condition in a random
read. This directs the 24LCS61/62 to transmit the next
sequentially addressed 8-bit word (Figure 8-3).
To provide sequential reads the 24LCS61/62 contains
an internal address pointer which is incremented by
one at the completion of each operation. This address
pointer allows the entire memory contents to be serially
read during one operation. The internal address pointer
will automatically roll over from address 7Fh
(24LCS51) or FFh (24LCS62) to address 00h.
Random Read
Random read operations allow the master to access
any memory location in a random manner. To perform
this type of read operation, first the word address must
be set. This is done by sending the word address to the
24LCS61/62 as part of a write operation.
FIGURE 8-1:
Sequential Read
CURRENT ADDRESS READ
BUS ACTIVITY
MASTER
S
T
A
R
T
SDA LINE
O0 0 1
S 011 0E
BUS ACTIVITY
DEVICE
ID BYTE
CONTROL
BYTE
S
T
O
P
DATA
P
A
C
K
A
C
K
N
O
A
C
K
OE Bit = EDS Pin Output Enable; see Section 9.0 “External Device Select (EDS) Pin and Output Enable (OE) Bit”
 2004 Microchip Technology Inc.
DS21226E-page 13
24LCS61/24LCS62
FIGURE 8-2:
S
T
A
R
T
RANDOM READ
S
T
A
R
T
ADDRESS
BYTE
DEVICE
ID BYTE
CONTROL
BYTE
O
S 01 1 0E 0 1 0
BUS ACTIVITY
MASTER
DATA
BYTE
DEVICE
ID BYTE
S
T
O
P
S 0 1 1 0 O0 0 1
E
A
C
K
FIGURE 8-3:
CONTROL
BYTE
A
C
K
A
C
K
A
C
K
N
O
A
C
K
A
C
K
SEQUENTIAL READ
ID
BYTE
DATA n
DATA n + 1
DATA n + 2
S
T
O
P
DATA n + X
P
SDA LINE
BUS ACTIVITY
DS21226E-page 14
A
C
K
A
C
K
A
C
K
A
C
K
N
O
A
C
K
 2004 Microchip Technology Inc.
24LCS61/24LCS62
9.0
EXTERNAL DEVICE SELECT
(EDS) PIN AND OUTPUT
ENABLE (OE) BIT
standard Read or Write commands, the EDS pin will
pull low (providing that the OE bit is set high) on the rising clock edge after the ack bit following the ID byte.
See Figure 9-1. For commands such as the Clear
Address command, the EDS pin will change states at
the rising clock edge just before the Stop bit. It is also
possible to control the EDS pin by sending a partial
command such as the control byte and ID byte for a
Write command followed by the Stop bit. The EDS pin
would change states just before the Stop bit as shown
in the lower portion of Figure 9-1. When the EDS pin
has changed states, it is latched and will remain in a
given state until another command is sent to the device
with the OE bit set to change the state of the pin, or
power to the device is removed.
The External Device Select (EDS) pin is an open drain,
low active output and may be used by the system
designer for functions such as enabling other circuitry
when the 24LCS61/62 is being accessed. Because the
pin is an open drain output, a pull-up resistor is required
for proper operation of this pin. When the device is
powered up, the EDS pin will always be in the highimpedance state (off). The EDS pin function is
controlled by using the output enable (OE) bit in the
control byte of each command. If the OE bit is high, the
EDS pin is enabled and if the OE bit is low the pin is
disabled. For the Assign Address command and
FIGURE 9-1:
EDS PIN OPERATION
ACK
BIT
Control
Byte
Start
Bit
SCL
1
2
3
4
SDA
0
1
1
0
5
6
7
8
9
ACK
BIT
ID Byte
1
2
3
4
5
6
7
8
9
1
2
3
EDS
For commands such as the Assign Address command or standard read and
writes, the EDS pin will be asserted on this rising clock edge if the OE bit was set
to a one in the control byte. If the OE bit is a zero and the previous command
asserted it, then the EDS pin will be released by the device on this clock edge.
ACK
BIT
Control
Byte
Start
Bit
SCL
1
2
3
4
SDA
0
1
1
0
5
6
7
8
9
ACK Stop
BIT
BIT
ID Byte
1
2
3
4
5
6
7
8
9
EDS
For commands such as the Clear Address command, the command is terminated at this point with a Stop bit. The EDS pin will be asserted on this
rising clock edge if the OE bit was set to a one in the control byte. If the OE
bit is a zero and the previous command asserted it, then the EDS pin will be
released by the device at this point.
 2004 Microchip Technology Inc.
DS21226E-page 15
24LCS61/24LCS62
APPENDIX A:
REVISION HISTORY
Revision D
Corrections to Section 1.0, Electrical Characteristics.
Revision E
Add “Obsolete Device” to document header.
DS21226E-page 16
 2004 Microchip Technology Inc.
24LCS61/24LCS62
ON-LINE SUPPORT
Microchip provides on-line support on the Microchip
World Wide Web site.
The web site is used by Microchip as a means to make
files and information easily available to customers. To
view the site, the user must have access to the Internet
and a web browser, such as Netscape® or Microsoft®
Internet Explorer. Files are also available for FTP
download from our FTP site.
Connecting to the Microchip Internet
Web Site
SYSTEMS INFORMATION AND
UPGRADE HOT LINE
The Systems Information and Upgrade Line provides
system users a listing of the latest versions of all of
Microchip's development systems software products.
Plus, this line provides information on how customers
can receive the most current upgrade kits. The Hot Line
Numbers are:
1-800-755-2345 for U.S. and most of Canada, and
1-480-792-7302 for the rest of the world.
042003
The Microchip web site is available at the following
URL:
www.microchip.com
The file transfer site is available by using an FTP
service to connect to:
ftp://ftp.microchip.com
The web site and file transfer site provide a variety of
services. Users may download files for the latest
Development Tools, Data Sheets, Application Notes,
User's Guides, Articles and Sample Programs. A variety of Microchip specific business information is also
available, including listings of Microchip sales offices,
distributors and factory representatives. Other data
available for consideration is:
• Latest Microchip Press Releases
• Technical Support Section with Frequently Asked
Questions
• Design Tips
• Device Errata
• Job Postings
• Microchip Consultant Program Member Listing
• Links to other useful web sites related to
Microchip Products
• Conferences for products, Development Systems,
technical information and more
• Listing of seminars and events
 2004 Microchip Technology Inc.
DS21226E-page 17
24LCS61/24LCS62
READER RESPONSE
It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip product. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation
can better serve you, please FAX your comments to the Technical Publications Manager at (480) 792-4150.
Please list the following information, and use this outline to provide us with your comments about this document.
To:
Technical Publications Manager
RE:
Reader Response
Total Pages Sent ________
From: Name
Company
Address
City / State / ZIP / Country
Telephone: (_______) _________ - _________
FAX: (______) _________ - _________
Application (optional):
Would you like a reply?
Y
Device: 24LCS61/24LCS62
N
Literature Number: DS21226E
Questions:
1. What are the best features of this document?
2. How does this document meet your hardware and software development needs?
3. Do you find the organization of this document easy to follow? If not, why?
4. What additions to the document do you think would enhance the structure and subject?
5. What deletions from the document could be made without affecting the overall usefulness?
6. Is there any incorrect or misleading information (what and where)?
7. How would you improve this document?
DS21226E-page 18
 2004 Microchip Technology Inc.
24LCS61/24LCS62
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
PART NO.
X
/XX
XXX
Device
Temperature
Range
Package
Pattern
Device
24AA00 128 bit 1.8V I2C Serial EEPROM
24AA00T128 bit 1.8V K I2C Serial EEPROM (Tape and Reel)
24LC00 128 bit 2.5V I2C Serial EEPROM
24LC00T 128 bit 2.5V K I2C Serial EEPROM (Tape and Reel)
24C00 128 bit 5.0V I2C Serial EEPROM
24C00T 128 bit 5.0V K I2C Serial EEPROM (Tape and Reel)
Temperature Range
Blank
I
E
=
0°C to +70°C
= -40°C to +85°C
= -40°C to +125°C
Package
P
SN
ST
OT
=
=
=
=
Plastic DIP (300 mil Body), 8-lead
Plastic SOIC (150 mil Body)
TSSOP, 8-lead
SOT-23, 5-lead
Sales and Support
Data Sheets
Products supported by a preliminary Data Sheet may have an errata sheet describing minor operational differences and
recommended workarounds. To determine if an errata sheet exists for a particular device, please contact one of the following:
1.
2.
3.
Your local Microchip sales office
The Microchip Corporate Literature Center U.S. FAX: (480) 792-7277
The Microchip Worldwide Site (www.microchip.com)
Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using.
New Customer Notification System
Register on our web site (www.microchip.com/cn) to receive the most current information on our products.
 2004 Microchip Technology Inc.
DS21226E-page 19
24LCS61/24LCS62
NOTES:
DS21226E-page 20
 2004 Microchip Technology Inc.
Note the following details of the code protection feature on Microchip devices:
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
•
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•
Microchip is willing to work with the customer who is concerned about the integrity of their code.
•
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is intended through suggestion only
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
No representation or warranty is given and no liability is
assumed by Microchip Technology Incorporated with respect
to the accuracy or use of such information, or infringement of
patents or other intellectual property rights arising from such
use or otherwise. Use of Microchip’s products as critical
components in life support systems is not authorized except
with express written approval by Microchip. No licenses are
conveyed, implicitly or otherwise, under any intellectual
property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART,
PRO MATE, PowerSmart, rfPIC, and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, MXDEV, MXLAB, PICMASTER, SEEVAL,
SmartSensor and The Embedded Control Solutions Company
are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, dsPICDEM,
dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR,
FanSense, FlexROM, fuzzyLAB, In-Circuit Serial
Programming, ICSP, ICEPIC, Migratable Memory, MPASM,
MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net,
PICLAB, PICtail, PowerCal, PowerInfo, PowerMate,
PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial,
SmartTel and Total Endurance are trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2004, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 quality system certification for
its worldwide headquarters, design and wafer fabrication facilities in
Chandler and Tempe, Arizona and Mountain View, California in
October 2003. The Company’s quality system processes and
procedures are for its PICmicro® 8-bit MCUs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
 2004 Microchip Technology Inc.
DS21226E-page 21
WORLDWIDE SALES AND SERVICE
AMERICAS
China - Beijing
Singapore
Corporate Office
Unit 706B
Wan Tai Bei Hai Bldg.
No. 6 Chaoyangmen Bei Str.
Beijing, 100027, China
Tel: 86-10-85282100
Fax: 86-10-85282104
200 Middle Road
#07-02 Prime Centre
Singapore, 188980
Tel: 65-6334-8870 Fax: 65-6334-8850
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support: 480-792-7627
Web Address: www.microchip.com
China - Chengdu
3780 Mansell Road, Suite 130
Alpharetta, GA 30022
Tel: 770-640-0034
Fax: 770-640-0307
Rm. 2401-2402, 24th Floor,
Ming Xing Financial Tower
No. 88 TIDU Street
Chengdu 610016, China
Tel: 86-28-86766200
Fax: 86-28-86766599
Boston
China - Fuzhou
2 Lan Drive, Suite 120
Westford, MA 01886
Tel: 978-692-3848
Fax: 978-692-3821
Unit 28F, World Trade Plaza
No. 71 Wusi Road
Fuzhou 350001, China
Tel: 86-591-7503506
Fax: 86-591-7503521
Atlanta
Chicago
333 Pierce Road, Suite 180
Itasca, IL 60143
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
16200 Addison Road, Suite 255
Addison Plaza
Addison, TX 75001
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Tri-Atria Office Building
32255 Northwestern Highway, Suite 190
Farmington Hills, MI 48334
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
2767 S. Albright Road
Kokomo, IN 46902
Tel: 765-864-8360
Fax: 765-864-8387
Los Angeles
25950 Acero St., Suite 200
Mission Viejo, CA 92691
Tel: 949-462-9523
Fax: 949-462-9608
San Jose
1300 Terra Bella Avenue
Mountain View, CA 94043
Tel: 650-215-1444
Fax: 650-961-0286
Toronto
6285 Northam Drive, Suite 108
Mississauga, Ontario L4V 1X5, Canada
Tel: 905-673-0699
Fax: 905-673-6509
China - Hong Kong SAR
Unit 901-6, Tower 2, Metroplaza
223 Hing Fong Road
Kwai Fong, N.T., Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
Taiwan
Kaohsiung Branch
30F - 1 No. 8
Min Chuan 2nd Road
Kaohsiung 806, Taiwan
Tel: 886-7-536-4816
Fax: 886-7-536-4817
Taiwan
Taiwan Branch
11F-3, No. 207
Tung Hua North Road
Taipei, 105, Taiwan
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139
Taiwan
Taiwan Branch
13F-3, No. 295, Sec. 2, Kung Fu Road
Hsinchu City 300, Taiwan
Tel: 886-3-572-9526
Fax: 886-3-572-6459
EUROPE
China - Shanghai
Austria
Room 701, Bldg. B
Far East International Plaza
No. 317 Xian Xia Road
Shanghai, 200051
Tel: 86-21-6275-5700
Fax: 86-21-6275-5060
Durisolstrasse 2
A-4600 Wels
Austria
Tel: 43-7242-2244-399
Fax: 43-7242-2244-393
China - Shenzhen
Regus Business Centre
Lautrup hoj 1-3
Ballerup DK-2750 Denmark
Tel: 45-4420-9895 Fax: 45-4420-9910
Rm. 1812, 18/F, Building A, United Plaza
No. 5022 Binhe Road, Futian District
Shenzhen 518033, China
Tel: 86-755-82901380
Fax: 86-755-8295-1393
China - Shunde
Room 401, Hongjian Building, No. 2
Fengxiangnan Road, Ronggui Town, Shunde
District, Foshan City, Guangdong 528303, China
Tel: 86-757-28395507 Fax: 86-757-28395571
China - Qingdao
Rm. B505A, Fullhope Plaza,
No. 12 Hong Kong Central Rd.
Qingdao 266071, China
Tel: 86-532-5027355 Fax: 86-532-5027205
India
Divyasree Chambers
1 Floor, Wing A (A3/A4)
No. 11, O’Shaugnessey Road
Bangalore, 560 025, India
Tel: 91-80-22290061 Fax: 91-80-22290062
Japan
ASIA/PACIFIC
Yusen Shin Yokohama Building 10F
3-17-2, Shin Yokohama, Kohoku-ku,
Yokohama, Kanagawa, 222-0033, Japan
Tel: 81-45-471- 6166 Fax: 81-45-471-6122
Australia
Korea
Microchip Technology Australia Pty Ltd
Unit 32 41 Rawson Street
Epping 2121, NSW
Sydney, Australia
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
168-1, Youngbo Bldg. 3 Floor
Samsung-Dong, Kangnam-Ku
Seoul, Korea 135-882
Tel: 82-2-554-7200 Fax: 82-2-558-5932 or
82-2-558-5934
Denmark
France
Parc d’Activite du Moulin de Massy
43 Rue du Saule Trapu
Batiment A - ler Etage
91300 Massy, France
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany
Steinheilstrasse 10
D-85737 Ismaning, Germany
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Italy
Via Salvatore Quasimodo, 12
20025 Legnano (MI)
Milan, Italy
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands
Waegenburghtplein 4
NL-5152 JR, Drunen, Netherlands
Tel: 31-416-690399
Fax: 31-416-690340
United Kingdom
505 Eskdale Road
Winnersh Triangle
Wokingham
Berkshire, England RG41 5TU
Tel: 44-118-921-5869
Fax: 44-118-921-5820
07/12/04
DS21226E-page 22
 2004 Microchip Technology Inc.