Datasheet 10
Datasheet 10
24xx128
A1 2 7 WP
24LC128 2.5-5.5V 400 kHz‡ I, E
†100 A2 3 6 SCL
kHz for VCC < 2.5V.
‡100 kHz for E temperature range.
Vss 4 5 SDA
FEATURES
• Low power CMOS technology SOIC
- Maximum write current 3 mA at 5.5V 1 8
A0 VCC
24xx128
- Maximum read current 400 µA at 5.5V 2 7
A1 WP
- Standby current 100 nA typical at 5.5V
• 2-wire serial interface bus, I2C compatible A2 3 6 SCL
• Cascadable for up to eight devices VSS 4 5 SDA
• Self-timed ERASE/WRITE cycle
• 64-byte page-write mode available
• 5 ms max write-cycle time TSSOP
A0 1 14 Vcc
• Hardware write protect for entire array
A1 2 13 WP
• Output slope control to eliminate ground bounce
24xx128
NC 3 12 NC
• Schmitt trigger inputs for noise suppression
NC 4 11 NC
• 1,000,000 erase/write cycles guaranteed
NC 5 10 NC
• Electrostatic discharge protection > 4000V
A2 6 9 SCL
• Data retention > 200 years
Vss 7 8 SDA
• 8-pin PDIP and SOIC (150 and 208 mil) packages
• 14-pin TSSOP package
• Temperature ranges:
- Industrial (I): -40°C to +85°C BLOCK DIAGRAM
- Automotive (E): -40°C to +125°C
A0…A2 WP
HV GENERATOR
DESCRIPTION
The Microchip Technology Inc. 24AA128/24LC128
(24xx128*) is a 16K x 8 (128K bit) Serial Electrically I/O MEMORY
EEPROM
Erasable PROM, capable of operation across a broad CONTROL CONTROL XDEC ARRAY
LOGIC LOGIC
voltage range (1.8V to 5.5V). It has been developed for
advanced, low power applications such as personal PAGE LATCHES
TF THIGH VHYS TR
SCL
TSU:STA
TLOW THD:DAT TSU:DAT TSU:STO
SDA
THD:STA
IN TSP
TBUF
TAA
SDA
OUT
WP (protected) THD:WP
TSU:WP
(unprotected)
2.4 WP The state of the data line represents valid data when,
after a START condition, the data line is stable for the
This pin can be connected to either VSS, VCC or left duration of the HIGH period of the clock signal.
floating. An internal pull-down resistor on this pin will
The data on the line must be changed during the LOW
keep the device in the unprotected state if left floating.
period of the clock signal. There is one bit of data per
If tied to VSS or left floating, normal memory operation
clock pulse.
is enabled (read/write the entire memory 0000-3FFF).
Each data transfer is initiated with a START condition
If tied to VCC, WRITE operations are inhibited. Read
and terminated with a STOP condition. The number of
operations are not affected.
the data bytes transferred between the START and
STOP conditions is determined by the master device.
3.0 FUNCTIONAL DESCRIPTION
4.5 Acknowledge
The 24xx128 supports a bi-directional 2-wire bus and
data transmission protocol. A device that sends data Each receiving device, when addressed, is obliged to
onto the bus is defined as a transmitter, and a device generate an acknowledge signal after the reception of
receiving data as a receiver. The bus must be con- each byte. The master device must generate an extra
trolled by a master device which generates the serial clock pulse which is associated with this acknowledge
clock (SCL), controls the bus access, and generates bit.
the START and STOP conditions while the 24xx128 Note: The 24xx128 does not generate any
works as a slave. Both master and slave can operate as acknowledge bits if an internal program-
a transmitter or receiver, but the master device deter- ming cycle is in progress.
mines which mode is activated.
A device that acknowledges must 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. Dur-
ing reads, 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 (24xx128) will leave the data line HIGH
to enable the master to generate the STOP condition.
SDA
SCL 1 2 3 4 5 6 7 8 9 1 2 3
Transmitter must release the SDA line at this point Receiver must release the SDA line at this point
allowing the Receiver to pull the SDA line low to so the Transmitter can continue sending data.
acknowledge the previous eight bits of data.
A A A A A A A A A A A
1 0 1 0 1 0 R/W X X • • • • • •
2 13 12 11 10 9 8 7 0
CONTROL CHIP
CODE SELECT X = Don’t Care Bit
BITS
6.1 Byte Write The write control byte, word address, and the first data
byte are transmitted to the 24xx128 in the same way as
Following the start condition from the master, the in a byte write. But instead of generating a stop condi-
control code (four bits), the chip select (three bits), and tion, the master transmits up to 63 additional bytes,
the R/W bit (which is a logic low) are clocked onto the which are temporarily stored in the on-chip page buffer
bus by the master transmitter. This indicates to the and will be written into memory after the master has
addressed slave receiver that the address high byte will transmitted a stop condition. After receipt of each word,
follow after it has generated an acknowledge bit during the six lower address pointer bits are internally
the ninth clock cycle. Therefore, the next byte incremented by one. If the master should transmit more
transmitted by the master is the high-order byte of the than 64 bytes prior to generating the stop condition, the
word address and will be written into the address address counter will roll over and the previously
pointer of the 24xx128. The next byte is the least signif- received data will be overwritten. As with the byte write
icant address byte. After receiving another acknowl- operation, once the stop condition is received, an inter-
edge signal from the 24xx128, the master device will nal write cycle will begin (Figure 6-2). If an attempt is
transmit the data word to be written into the addressed made to write to the array with the WP pin held high, the
memory location. The 24xx128 acknowledges again device will acknowledge the command but no write
and the master generates a stop condition. This ini- cycle will occur, no data will be written, and the device
tiates the internal write cycle, and, during this time, the will immediately accept a new command.
24xx128 will not generate acknowledge signals
(Figure 6-1). If an attempt is made to write to the array 6.3 Write Protection
with the WP pin held high, the device will acknowledge
The WP pin allows the user to write-protect the entire
the command but no write cycle will occur, no data will
array (0000-3FFF) when the pin is tied to VCC. If tied to
be written, and the device will immediately accept a
VSS or left floating, the write protection is disabled. The
new command. After a byte write command, the inter-
WP pin is sampled at the STOP bit for every write
nal address counter will point to the address location
command (Figure 1-1) Toggling the WP pin after the
following the one that was just written.
STOP bit will have no effect on the execution of the
write cycle.
A A A A
BUS ACTIVITY C C C C
K K K K
X = don’t care bit
S
T S
BUS ACTIVITY A CONTROL ADDRESS ADDRESS T
MASTER R BYTE HIGH BYTE LOW BYTE DATA BYTE 0 DATA BYTE 63 O
T P
SDA LINE A A A XX P
S10 1 0 2 1 0 0
A A A A A
BUS ACTIVITY C C C C C
K K K K K
X = don’t care bit
Did Device NO
Acknowledge
(ACK = 0)?
YES
Next
Operation
FIGURE 8-1: CURRENT ADDRESS READ Sequential reads are initiated in the same way as a ran-
dom read except that after the 24xx128 transmits the
S
T S first data byte, the master issues an acknowledge as
BUS ACTIVITY A CONTROL DATA T
MASTER opposed to the stop condition used in a random read.
R BYTE BYTE O
T P This acknowledge directs the 24xx128 to transmit the
SDA LINE S 1 0 1 0 A AA 1 P
next sequentially addressed 8-bit word (Figure 8-3).
2 1 0 Following the final byte transmitted to the master, the
A N
BUS ACTIVITY C O
master will NOT generate an acknowledge but will gen-
K
A
erate a stop condition. To provide sequential reads, the
C 24xx128 contains an internal address pointer which is
K incremented by one at the completion of each opera-
tion. 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 3FFF to address 0000 if the master acknowl-
edges the byte received from the array address 3FFF.
SDA LINE P
A A A A N
C C C C O
BUS ACTIVITY K K K K A
C
K
24xx128 — /P
P = Plastic DIP (300 mil Body), 8-lead
SM = Plastic SOIC (208 mil Body, EIAJ standard), 8-lead
Package: SN = Plastic SOIC (150 mil Body), 8-lead
ST = TSSOP, 14-lead
Temperature I = -40°C to +85°C
Range: E = -40°C to +125°C
All rights reserved. © 1998, Microchip Technology Incorporated, USA. 1/98 Printed on recycled paper.
Information contained in this publication regarding device applications and the like is intended for suggestion only and may be superseded by updates. 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. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights reserved. All other
trademarks mentioned herein are the property of their respective companies.