7) DATA security
Write protect feature (WP pin).
Inhibit to WRITE at low V
8) Small package - - - DIP8 / SOP8 / SSOP-B8 pin
9) High reliability EEPROM with Double-Cell structure.
10) High reliability fine pattern CMOS technology.
11) Endurance : 1,000,000 erase / write cycles
12) Data retent ion : 40 y ears
13) Filtered inputs in SCL,SDA for noise suppression.
14) Initial data FFh in all address.
(5V) : 1.5 mA (Typ.)
CC
.
Absolute maximum ratings
z
ParameterSymbolLimitsUnit
Supply voltage−0.3 to +6.5V
Power dissipationmW
Storage temperature
Operating temperature
Terminal voltage
∗1 Degradation is done at 8.0mW/°C for operation above 25°C.
∗2,3 Degradation is done at 4.5mW/°C for operation above 25°C.
∗4 Degradation is done at 3.0mW/°C for operation above 25°C.
Clock frequency
Data clock "HIGH" period
Data clock "LOW" periodtLOW
SDA and SCL rise time
SDA and SCL fall timetF
Start condition hold time
Start condition setup time
Input data hold time
Input data setup time
Output data delay time
Output data hold time
Stop condition setup time
Bus free time
Write cycle time
Noise spike width (SDA and SCL)
WP hold time
WP setup time
WP high period
•For the WRITE operation, WP must be “LOW” during the period of time from the rising edge of the clock which takes in
D0 of first byte until the end of t
WR
. ( See Fig. 6 (a) )
During this period, WRITE operation is canceled by setting WP “HIGH”. ( See Fig.6 (b) )
•In the case of setting WP “HIGH” during t
WR
, WRITE operation is stopped in the middle and the data of accessing
address is not guaranteed. Please write correct data again in the case.
• All commands are proceeded by the start condition, which is a HIGH to LOW transition of SDA when SCL is HIGH.
• The device continuously monitors the SDA and SCL lines for the start condition and will not respond to any command
until this condition has been met. (See Fig.4 SYNCHRONOUS DATA TIMING)
2) Stop condition (Recognition of stop bit)
• All communications must be terminated by a stop condition, which is a LOW to HIGH transition of SDA when SCL is
HIGH. (Se e Fig.4 SY NCHRONOUS D AT A TIM ING)
3) Notice about write command
• In the case that stop condition is not executed in WRITE mode, transferred data will not be written in a memory.
4) Device addressing
• Following a START condition, the master output the slave address to be accessed.
• The most sig nifica nt four bi ts of th e slave ad dress ar e the “de vice ty pe ident ifier”, f or thi s devic e it is fixe d as “1010” .
• The next three bit (device address) identify the specified device on the bus.
The device address is defined by the state of A0, A1 and A2 input pins. This IC works only when the device address
inputted from SDA pin correspond to the state of A0, A1 and A2 input pins. Using this address scheme, up to eight
devices may be connected to the bus. The last bit of the stream (R/W - - - READ / WRITE) determines the operation
to the performed.
• The last bit of the stream (R/W - - - READ / WRITE) determines the operation to be performed. When set to “1”, a read
operation is selected ; when set to “0”, a write operation is selected.
R / W set to “0” - - - - - - WRITE (including word address input of Random Read)
R / W set to “1” - - - - - - READ
5) Write protect (WP)
When WP pin set to V
When WP pin set to GND (L level), enable to write 4,096 words (all address).
Either control this pin or connect to GND (or V
A2A1A01010R / W
CC
(H level), write protect is set for 4,096 words (all address).
• Acknowledge is a software convention used to indicate successful data transfers.
The transmitter device will release the bus after transmitting eight bits.
(When inputting the slave address in the write or read operation, transmitter is µ-COM. When outputting the data in
the r ead oper atio n, it is t his devi ce.)
• During the ninth clock cycle, the receiver will pull the SDA line LOW to Acknowledge that the eight bits of data has
been received.
(When inputting the slave address in the write or read operation, receiver is this device. When outputting the data in
the read operation, it is µ-COM.)
• The device will respond with an Acknowledge after recognition of a START condition and its slave address (8bit).
• In the WRITE mode, the device will respond with an Acknowledge, after the receipt of each subsequent 8-bit word
(word address and write data).
• In the READ mode, the device will transmit eight bit of data, release the SDA line, and monitor the line for an
Acknowledge.
• If an Acknowledge is detected, and no STOP condition is generated by the master, the device will continue to transmit
the data. If an Acknowledge is not detected, the device will terminate further data transmissions and await a STOP
condition before returning to the standby mode. (See Fig.7 ACKNOWLEDGE RESPONSE FROM RECEIVER)
• By using this command, the data is programmed into the indicated word address.
• When the master generates a STOP condition, the device begins the internal write cycle to the nonvolatile memory
array.
Page write
z
S
T
O
P
W
R
I
T
E
A0A1A2
R
/
W
1st WORD
ADDRESS (n)
∗∗∗∗
A
C
K
2nd WORD
ADDRESS (n)
WA
11
A
C
K
Fig.9 PAGE WRITE CYCLE TIMING
WA
0
DATA (n)
D7
A
C
K
D0
A
C
K
DATA (n+31)
D0
∗Don't care
SDA
LINE
WP
S
T
A
R
T
SLAVE
ADDRESS
10 01
• This device is capable of thirty-two byte Page Write operation.
• When two or more byte data are inputted, the five low order address bits are internally incremented by one after the
receipt of each word. The seven higher order bits of the address (WA11 to WA5) remain constant.
• If the master transmits more than thirty-two words, prior to generating the STOP condition, the address counter will
“roll over”, and the previous transmitted data will be overwritten.
• In case that the p revi ous o perat ion is Ra ndom or C urren t Rea d (w hich incl udes S eque ntia l Rea d r espect ively ), t he
internal address counter is increased by one from the last accessed address (n).
Thus Current Read outputs the data of the next word address (n+1).
If the last command is Byte or Page Write, the internal address counter stays at the last address (n).
Thus Current Read outputs the data of the word address (n).
• If an Acknowledge is detected, and no STOP condition is generated by the master (µ-COM), the device will continue
to transmit the data. [ It can transmit all data (32kbit 4096word)
]
• If an Acknowledge is not detected, the device will terminate further data transmissions and await a STOP condition
before returning to the standby mode.
Note) If an Acknowledge is detected with “Low” level, not “High” level, command will become Sequential Read.
So the device transmits the next data, Read is not terminated. In the case of terminating Read, input
Acknowledge with “High” always, then input stop condition.
Random read
z
S
T
A
R
T
SLAVE
ADDRESS
W
R
I
T
E
1st WORD
ADDRESS(n)
2nd WORD
ADDRESS(n)
S
T
A
R
T
SLAVE
ADDRESS
R
E
A
D
DATA(n)
S
T
O
P
SDA
LINE
1100 A2A1A0A2A1A0
R
A
/
C
W
K
WA
∗∗∗∗
11
A
C
K
Fig.11 RANDOM READ CYCLE TIMING
WA
0
A
C
K
1100D7D0
A
R
C
/
K
W
∗Don't care
A
C
K
• Random read operation allows the master to access any memory location indicated word address.
• If an Acknowledge is detected, and no STOP condition is generated by the master (µ-COM), the device will continue
to transmit the data. [ It can transmit all data (32kbit 4096word)
]
• If an Acknowledge is not detected, the device will terminate further data transmissions and await a STOP condition
before returning to the standby mode.
Note) If an Acknowledge is detected with “Low” level, not “High” level, command will become Sequential Read.
So the device transmits the next data, Read is not terminated. In the case of terminating Read, input
Acknowledge with “High” always, then input stop condition.
• If an Acknowledge is detected, and no STOP condition is generated by the master (µ-COM), the device will continue
to transmit the data. [ It can transmit all data (32kbit 4096word)
]
• If an Acknowledge is not detected, the device will terminate further data transmissions and await a STOP condition
before returning to the standby mode.
• The Sequential Read operation can be performed with both Current Read and Random Read.
Note) If an Acknowledge is detected with “Low” level, not “High” level, command will become Sequential Read.
So the device transmits the next data, Read is not terminated. In the case of terminating Read, input
Acknowledge with “High” always, then input stop condition.
1) WP effe ctive ti ming
WP is fixed to “H” or “L” usually. But in case of controlling WP to cancel the write command, please pay attention to
[ WP effective timing ] as follows.
During write command input, write command is canceled by controlling WP “H” within the WP cancellation effective
period.
The period from the start condition to the rising edge of the clock which take in D0 of the data (the first byte of the data
for Page Write) is the cancellation invalid period. WP input is don’t care during the period. Setup time for rising edge of
the SCL which takes in D0 must be more than 100ns.
The period from the rising edge of SCL which takes in D0 to the end of internal write cycle (t
effective period. In case of setting WP to “H” during t
WR
, WRITE operation is stopped in the middle and the data of
accessing address is not guaranteed, so that write correct data again please.
It is not necessary waiting t
WR
(5msmax.) after stopping command by WP, because the device is stand by state.
· The rising edge of the clock
which take in D0
WR
) is the cancellation
SDA
WP
S
T
A
ADDRESS
R
T
SCL
SDAD1D0ACK
AN ENLARGEMENT
A
SLAVE
WORD
C
ADDRESS
K
L
WP cancellation invalid periodWP cancellation effective period
2) Software reset
Please execute software reset in case that the device is an unexpected state after power up and / or the command
input need to be reset.
There are som e kinds of softwar e reset. Here we show thr ee types o f examp le as fol lows.
During dummy clock, please release SDA bus (tied to V
During that time, the device may pull the SDA line LOW for Acknowledge or outputting or read data.
If the master controls the SDA line HIGH, it will conflict with the device output LOW then it makes a current overload.
It may cause instantaneous power down and may damage the device.
3) Acknowledge polling
Since the device ignore all input commands during the internal write cycle, no ACK will be returned.
When the master send the next command after the write command, if the device returns the ACK, it means that the
program is completed. If no ACK id returned, it means that the device is still busy.
By using Acknowledge polling, the waiting time is minimized less than t
In case of operating Write or Current Read right after Write, first, send the slave address (R / W is “HIGH” or “LOW”
respectively). After the device returns the ACK, continue word address input or data output respectively.
THE FIRST WRITE COMMAND
WR
5ms.
=
During the internal write cycle,
no ACK will be returned.
(ACK=HIGH)
• • •
S
T
A
R
T
WRITE COMMAND
S
T
A
ADDRESS
R
T
SLAVE
t
WR
S
T
O
P
A
C
K
H
S
T
SLAVE
A
ADDRESS
R
T
S
T
SLAVE
A
ADDRESS
R
T
A
C
K
H
THE SECOND WRITE COMMAND
A
C
WORD
K
ADDRESS
L
S
T
SLAVE
A
ADDRESS
R
T
t
WR
A
C
K
L
DATA
A
C
• • •
K
H
A
S
C
T
K
O
L
P
After the internal write cycle
is completed ACK will be returned
(ACK=LOW). Then input next
Word Address and data.
Fig.15 SUCCESSIVE WRITE OPERATION BY ACKNOWLEDGE POLLING
4) Command ca ncell ation by start a nd stop c onditi on
During a command input, it is canceled by the successive inputs of start condition and stop condition. (Fig.4)
But during ACK or data output, the device may output the SDA line LOW. In such cases, operation of start and stop
condition is impossible, so that the reset can’t work. Execute the software reset in the cases. (See Page14)
Operating the command cancel by start and stop condition during the command of Random Read or Sequential Read
or Current Read, internal address counter is not confirmed.
Therefore operation of Current Read after this in not valid. Operate a Random Read in this case.
SCL
SDA
Fig.16 COMMAND CANCELLATION BY START AND STOP CONDITION
rises through the low voltage region in which internal circuit of IC and the controller are unstable, so that device
may not work pr operly due to an in compl ete rese t of int ernal circ uit.
T o pr event th is, the d evice h as the fea ture of P.O.R. and L V
In the case of power up, keep the following conditions to ensure functions of P.O.R and L V
(1) It is necessary to be “SDA=‘H’ ” and “SCL=’L’ or ‘H’ ”.
(2) Follow the recommended conditions of tR, t
CC
V
0
VCC rising wave from
OFF
, Vbot for the function of P.O.R. durning power up.
t
R
t
OFF
(3) Prevent SDA and SCL from being “Hi-Z”.
In case that condition 1. and / or 2. cannot be met, take following actions.
A) Unable to keep co ndition 1. (SDA is “LO W” duri ng power u p.)
Control SDA, SC L to be “HIGH” a s figur e below .
→
CC
Vbot
.
Recommended conditions of t
t
R
Below 10ms
Below 100ms
t
OFF
Above 10ms
Above 10ms
CC
R
, t
OFF
Below 0.3V
Below 0.2V
.
, Vbot
Vbot
V
CC
SCL
SDA
After VCC becomes stable
a) SCL="H" and SDA="L"
B) Unable to keep condition 2.
After power becomes stable, execute software reset. (See Page14 )
→
C) Unable to keep condition 1 and 2.
Follow the instruction A first, then the instruction B.
→
CC
circuit
• LV
CC
LV
circuit inhibit write operation at low voltage, and prevent an inadvertent write. Below the LVCC voltage
• Pull up resister of SDA pin
The pull up resister is needed because SDA is NMOS open drain. Decide the value of this resister (R
by considering V
If large R
IL
, IL characteristics of a controller which control the device and VOH, IOL charact erist ics of t he dev ice.
PU
is chosen, clock frequency need to be slow. In case of small RPU, the operating current increases.
PU
) properly,
• Maximum of R
PU
Maximum of RPU is determined by following factor.
c SDA rise time determined by R
PU
and the capacitance of bus line (C
BUS
) must be less than TR.
And the other timing must keep the conditions of AC spec.
d When SDA bus is HIGH, the voltage A of SDA bus determined by a total input leak (I
connected to the bus and RPU must be enough higher than input HIGH level of a controller and the device,
including noise margin 0.2VCC.
The minimum value of RPU is determined by following factors.
c Meet the condition that V
VCC − V
OL
<
I
OL
=
R
PU
VCC − V
<
RPU
OLMAX
d V
recommended noise margin (0.1VCC).
Examples : V
=
(=0.4V) must be l ower tha n the inp ut LO W level of th e contro ller and the EEPROM includi ng
V
OL
I
OL
<
OLMAX
VIL − 0.1V
=
CC
=3V, VOL=0.4V, IOL=3mA, the VIL of the controller and the EEPROM is VIL=0.3V
According to
and
OLMAX
CC
1
0.4V , I
=
RPU
OL
V
V
IL
OLMAX
3mA when the device output low on SDA line.
=
3−0.4
<
−3
=
3×10
<
867 [Ω]
=
=0.4[V]
=0.3×3
=0.9[V]
CC
so that condition is met
2
• Pull up r esis ter o f SC L pin
In the case that SCL is controlled by CMOS output, the pull up resister of SCL is not needed.
But in the case that there is a timing at which SCL is Hi-Z, connect SCL to V
CC
with pull u p resist er .
Several ∼ several dozen kΩ is recommended as a pull up resister, which is considered with the driving ability of the
output port of the controller.
7) Connections of A0, A1, A2, WP pin
• Connections of device address pin (A0, A1, A2)
The state of device address PIN are compared with the device address send by the master, then one of the devices
which are connected to the identical bus is selected. Pull up or down these pins, or connect them to V
CC
or GND .
Pins which is not used as device address (N.C. PIN) may be either HIGH, LOW, and Hi-Z.
The type of the device which have N.C. PINBR24L16 / F / FJ / FV / FVM-W A0, A1, A2
• Connections of WP pin
The WP input allows or inhibits write operations. When WP is HIGH, only READ is available and WRITE to any
address is inhibited. Both Read and Write are available when WP is LOW.
In the case that the device is used as a ROM, it is recommended that WP is pulled up or connected to V
CC
.
In the case that both READ and WRITE are operated, WP pin must be pulled down or connected to GND or
controlled.
• About by pass c apac itor
Noise and surges on power line may cause the abnormal function. It is recommended that the bypass capacitors
(0.1µF) are attached on the V
CC
and GND l ine besi de t he d evice.
The attachment of bypass capacitors on the board near by connector is also recommended.
PRINT BASE
IC
GNDV
CC
capacitor 10 to 100µF
capacitor 0.01 to 0.1µF
9) The notice about the connection of controller
• About R
S
The open drain interface is recommended for SDA port in I2C BUS. But, in th e case that Tr i-stat e CMOS interf ace is
applied to SDA, insert a series resister R
S
between SDA pin of the device and a pull up resister RPU. It limits the
current from PM OS of contro ller to NMOS of EEPROM.
S
R
also protect s SDA pin fr om surg es. Ther efore, RS is able to be used though SDA port is open drain.
SCL
SDA
CONTROLLEREEPROM
"H" OUTPUT OF
CONTROLLER
The "H" output of controller
and the "L" output of EEPROM may cause
current overload to SDA line.
The maximum value of RS is dete rmined by f ollow in g fac tors.
c SDA rise time determined by R
And the other timing m ust also keep th e condi tions of the AC tim ing.
PU
and the capacitance of bus line (C
d When the device outputs LOW on SDA line, the voltage of the bus A determined by R
BUS
) of SDA must be less than tR.
PU
lower than the inputs LOW level of the controller, including recommended noise margin (0.1V
(VCC−VOL) × R
RPU+R
RS × R
Examples : When V
According to
RS × 20×10
S
OL
+0.1VCC V
+ V
S
VIL−VOL−0.1V
<
=
1.1VCC−V
CC
=3V, VIL=0.3VCC, VOL=0.4V, RPU=20kΩ
CC
IL
<
IL
=
PU
2
0.3×3−0.4−0.1×3
<
=
1.1×3−0.3×3
<
1.67 [kΩ]
=
V
CC
A
R
PU
R
S
3
V
OL
and RS must b e
CC
).
• The minimum value of R
CAPACITANCE OF
BUS LINE (C
V
IL
CONTROLLEREEPROM
S
BUS
)
The minimum value of RS is determined by the current overload due to the conflict on the bus.
The current overload may cause noise on the power line and instantaneous power down.
The followin g condit ions m ust be met , where Ι is the maximum permissible current.
The maximum permissible current depends on V
CC
line impedance and so on. It need to be less than 10mA for