Datasheet 24c16
Datasheet 24c16
Datasheet 24c16
ST24W16, ST25W16
16 Kbit Serial I2C Bus EEPROM
with User-Defined Block Write Protection
DESCRIPTION
This specification covers a range of 16 Kbit I2C bus
EEPROM products, the ST24/25C16 and the VCC
ST24/25W16. In the text, products are referred to
as ST24/25x16 where "x" is: "C" for Standard ver-
sion and "W" for hardware Write Control version.
2
The ST24/25x16 are 16 Kbit electrically erasable
programmable memories (EEPROM), organized PB0-PB1 SDA
as 8 blocks of 256 x8 bits. These are manufactured
in STMicroelectronics’s Hi-Endurance Advanced PRE ST24x16
CMOS technology which guarantees an endur- ST25x16
SCL
Figure 2A. DIP Pin Connections Figure 2B. SO8 Pin Connections
ST24x16 ST24x16
ST25x16 ST25x16
2/17
ST24/25C16, ST24/25W16
memory it responds to the 8 bits received by as- Power On Reset: VCC lock out write protect. In
serting an acknowledge bit during the 9th bit time. order to prevent data corruption and inadvertent
When data is read by the bus master, it acknow- write operations during power up, a Power On
ledges the receipt of the data bytes in the same Reset (POR) circuit is implemented. Untill the VCC
way. Data transfers are terminated with a STOP voltage has reached the POR threshold value, the
condition. internal reset is active: all operations are disabled
Data in the 4 upper blocks of the memory may be and the device will not respond to any command.
write protected. The protected area is programma- In the same way, when VCC drops down from the
ble to start on any 16 byte boundary. The block in operating voltage to below the POR threshold
which the protection starts is selected by the input value, all operations are disabled and the device
pins PB0, PB1. Protection is enabled by setting a will not respond to any command. A stable VCC
Protect Flag bit when the PRE input pin is driven must be applied before applying any logic signal.
High.
3/17
ST24/25C16, ST24/25W16
Figure 3. Maximum RL Value versus Bus Capacitance (CBUS) for an I2C Bus
20
VCC
16
RL RL
12
RL max (kΩ)
SDA
MASTER CBUS
SCL
8
CBUS
4
VCC = 5V
0
100 200 300 400
4/17
ST24/25C16, ST24/25W16
Table 6. DC Characteristics
(TA = 0 to 70 °C or –40 to 85 °C; VCC = 4.5V to 5.5V or 2.5V to 5.5V)
Symbol Parameter Test Condition Min Max Unit
0V ≤ VOUT ≤ VCC
ILO Output Leakage Current ±2 µA
SDA in Hi-Z
5/17
ST24/25C16, ST24/25W16
Table 7. AC Characteristics
(TA = 0 to 70 °C or –40 to 85 °C; VCC = 4.5V to 5.5V or 2.5V to 5.5V)
Symbol Alt Parameter Min Max Unit
tCHDX (1)
tSU:STA Clock High to Input Transition 4.7 µs
6/17
ST24/25C16, ST24/25W16
Figure 5. AC Waveforms
tCHCL tCLCH
SCL
SDA IN
SCL
tCLQV tCLQX
DATA OUTPUT
SCL
tW
SDA IN
tCHDH tCHDX
AI00795B
7/17
ST24/25C16, ST24/25W16
SCL
SDA
SCL 1 2 3 7 8 9
START
CONDITION
SCL 1 2 3 7 8 9
STOP
CONDITION
AI00792
Stop Condition. STOP is identified by a low to high Data Input. During data input the ST24/25x16
transition of the SDA line while the clock SCL is samples the SDA bus signal on the rising edge of
stable in the high state. A STOP condition termi- the clock SCL. Note that for correct device opera-
nates communication between the ST24/25x16 tion the SDA signal must be stable during the clock
and the bus master. A STOP condition at the end low to high transition and the data must change
of a Read command forces the standby state. A ONLY when the SCL line is low.
STOP condition at the end of a Write command
Memory Addressing. To start communication be-
triggers the internal EEPROM write cycle.
tween the bus master and the slave ST24/25x16,
Acknowledge Bit (ACK). An acknowledge signal the master must initiate a START condition. The 8
is used to indicate a successful data transfer. The bits sent after a START condition are made up of a
bus transmitter, either master or slave, will release device select of 4 bits that identifie the device type
the SDA bus after sending 8 bits of data. During the (1010), 3 Block select bits and one bit for a READ
9th clock pulse period the receiver pulls the SDA (RW = 1) or WRITE (RW = 0) operation.
bus low to acknowledge the receipt of the 8 bits of
data. There are three modes both for read and write.
They are summarised in Table 4 and described
hereafter. A communication between the master
and the slave is ended with a STOP condition.
8/17
ST24/25C16, ST24/25W16
PB1 PB0
Block
Select 1
Protect Location
Block 6 1 0
600h
Block 5 0 1
500h
Block 4 0 0
400h
AI00870B
9/17
ST24/25C16, ST24/25W16
Page Write. For the Page Write mode, the MODE Minimizing System Delay by Polling On ACK.
pin must be at VIL. The Page Write mode allows up During the internal Write cycle, the memory discon-
to 16 bytes to be written in a single write cycle, nects itself from the bus in order to copy the data
provided that they are all located in the same ’row’ from the internal latches to the memory cells. The
in the memory: that is the same Block Address bits maximum value of the Write time (tW) is given in the
(b3, b2, b1 of Device Select code in Table 3) and AC Characteristics table, this timing value may be
the same 4 MSBs in the Byte Address. The master reduced by an ACK polling sequence issued by the
sends one up to 16 bytes of data, which are each master.
acknowledged by the memory. After each byte is The sequence is:
transfered, the internal byte address counter (4
– Initial condition: a Write is in progress (see Fig-
Least Significant Bits only) is incremented. The
ure 8).
transfer is terminated by the master generating a
STOP condition. Care must be taken to avoid ad- – Step 1: the Master issues a START condition
dress counter ’roll-over’ which could result in data followed by a Device Select byte (1st byte of
being overwritten. Note that for any write mode, the the new instruction).
generation by the master of the STOP condition – Step 2: if the memory is internally writing, no
starts the internal memory program cycle. All inputs ACK will be returned. The Master goes back
are disabled until the completion of this cycle and to Step1. If the memory has terminated the in-
the memory will not respond to any request. ternal writing, it will issue an ACK indicating
that the memory is ready to receive the sec-
ond part of the instruction (the first byte of this
instruction was already sent during Step 1).
Figure 8. Write Cycle Polling using ACK
WRITE Cycle
in Progress
START Condition
DEVICE SELECT
with RW = 0
NO ACK
Returned
Next
NO Operation is YES
Addressing the
Memory
Send
Byte Address
ReSTART
STOP
Proceed Proceed
WRITE Operation Random Address
READ Operation
AI01099B
10/17
ST24/25C16, ST24/25W16
Write Protection. Data in the upper four blocks of – select the block by hardwiring the signals PB0
256 bytes of the memory may be write protected. & PB1;
The memory is write protected between a boundary – set the protection by writing the correct bottom
address and the top of memory (address boundary address in the Address Pointer (4
7FFh).The boundary address is user defined by MSBs of location 7FFh) with bit b2 (Protect
writing it in the Block Address Pointer (location Flag) set to ’0’.
7FFh).
Note that for a correct fonctionality of the memory,
The Block Address Pointer is an 8 bit EEPROM all the 4 LSBs of the Block Address Pointer must
register located at the address 7FFh. It is com- also be programmed at ’0’. The area will be pro-
posed by 4 MSBs Address Pointer, which defines tected when the PRE input is taken High.
the bottom boundary address, and 4 LSBs which
must be programmed at ’0’. This Address Pointer Remark: The Write Protection is active if and only
can therefore address a boundary by page of 16 if the PRE input pin is driven High and the bit 2 of
bytes. location 7FFh is set to ’0’. In all the other cases, the
memory Block will not be protected. While the PRE
The block in which the Block Address Pointer de- input pin is read at ’0’ by the memory, the location
fines the boundary of the write protected memory 7FFh can be used as a normal EEPROM byte.
is defined by the logic level applied on the PB1 and
PB0 input pins: Caution: Special attention must be used when
using the protect mode together with the Multibyte
– PB1 =’0’and PB0 =’0’ select block 4 Write mode (MODE input pin High). If the Multibyte
– PB1 =’0’and PB0 =’1’ select block 5 Write starts at the location right below the first byte
– PB1 =’1’and PB0 =’0’ select block 6 of the Write Protected area, then the instruction will
write over the first 7 bytes of the Write Protected
– PB1 =’1’and PB0 =’1’ select block 7 area. The area protected is therefore smaller than
The following sequence should be used to set the the content defined in the location 7FFh, by 7 bytes.
Write Protection: This does not apply to the Page Write mode as the
– write the data to be protected into the top of address counter ’roll-over’ and thus cannot go
the memory, up to, but not including, location above the 16 bytes lower boundary of the protected
7FFh; area.
STOP
R/W
R/W
ACK ACK
DATA IN N
STOP
AI00793
11/17
ST24/25C16, ST24/25W16
WC
START
STOP
R/W
WC
R/W
WC (cont'd)
NO ACK NO ACK
AI01161B
12/17
ST24/25C16, ST24/25W16
ACK NO ACK
CURRENT
ADDRESS DEV SEL DATA OUT
READ
START
STOP
R/W
START
STOP
R/W R/W
STOP
R/W
START
R/W R/W
ACK NO ACK
DATA OUT N
STOP
AI00794C
Note: * The 7 Most Significant bits of DEV SEL bytes of a Random Read (1st byte and 3rd byte) must be identical.
put, but MUST generate a STOP condition. The Acknowledge in Read Mode. In all read modes
output data is from consecutive byte addresses, the ST24/25x16 wait for an acknowledge during the
with the internal byte address counter automat- 9th bit time. If the master does not pull the SDA line
ically incremented after each byte output. After a low during this time, the ST24/25x16 terminate the
count of the last memory address, the address data transfer and switches to a standby state.
counter will ’roll- over’ and the memory will continue
to output data.
13/17
ST24/25C16, ST24/25W16
Example: ST24C16 M 1 TR
Devices are shipped from the factory with the memory content set at all "1’s" (FFh).
For a list of available options (Operating Voltage, Package, etc...) or for further information on any aspect
of this device, please contact the STMicroelectronics Sales Office nearest to you.
14/17
ST24/25C16, ST24/25W16
mm inches
Symb
Typ Min Max Typ Min Max
A 3.90 5.90 0.154 0.232
A1 0.49 – 0.019 –
A2 3.30 5.30 0.130 0.209
B 0.36 0.56 0.014 0.022
B1 1.15 1.65 0.045 0.065
C 0.20 0.36 0.008 0.014
D 9.20 9.90 0.362 0.390
E 7.62 – – 0.300 – –
E1 6.00 6.70 0.236 0.264
e1 2.54 – – 0.100 – –
eA 7.80 – 0.307 –
eB – 10.00 – 0.394
L 3.00 3.80 0.118 0.150
N 8 8
A2 A
A1 L
B e1 C
B1 eA
D eB
E1 E
1
PSDIP-a
15/17
ST24/25C16, ST24/25W16
mm inches
Symb
Typ Min Max Typ Min Max
A 1.35 1.75 0.053 0.069
A1 0.10 0.25 0.004 0.010
B 0.33 0.51 0.013 0.020
C 0.19 0.25 0.007 0.010
D 4.80 5.00 0.189 0.197
E 3.80 4.00 0.150 0.157
e 1.27 – – 0.050 – –
H 5.80 6.20 0.228 0.244
h 0.25 0.50 0.010 0.020
L 0.40 0.90 0.016 0.035
α 0° 8° 0° 8°
N 8 8
CP 0.10 0.004
h x 45˚
A
C
B
e CP
E H
1
A1 α L
SO-a
16/17
ST24/25C16, ST24/25W16
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to
change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
17/17