●EEPROM AC operating characteristics (Ta=-40~85℃, VCC0~3 = 3.0~5.5V)
Parameter Symbol
3.0≦VCC0~3≦5.5V Unit
Min. Typ. Max. Min.
Clock Frequency fSCL - - 400 kHz
Data Clock High Period tHIGH 0.6 - - μs
Data Clock Low Period tLOW 1.2 - - μs
SDA0~3 and SCL0~3 Rise Time *1 tR - - 0.3 μs
SDA0~3 and SCL0~3 Fall Time*1 tF - - 0.3 μs
Start Condition Hold Time tHD:STA 0.6 - - μs
Start Condition Setup Time tSU:STA 0.6 - - μs
Input Data Hold Time tHD:DAT 0 - - ns
Input Data Setup Time tSU:DAT 100 - - ns
Output Data Delay Time tPD 0.1 - 0.9 μs
Output Data Hold Time tDH 0.1 - - μs
Stop Condition Setup Time tSU:STO 0.6 - - μs
Bus Free Time tBUF 1.2 - - μs
Write Cycle Time tWR - - 5 ms
Noise Spike Width (SDA0~3 and SCL0~3) tI - - 0.1 μs
WP Hold Time tHD:WP 0 - - ns
WP Setup Time tSU:WP 0.1 - - μs
WP valid time tHIGH:WP 1.0 - - μs
*1 : Not 100% TESETED
●Synchronous data input/output timing
SCL
SDA
(IN)
SDA
(OUT)
tHD:STA tHD:DAT tSU:DAT
tBUFtPDtDH
tHIGHtRtF
tLOW
Fig.-1 SYNCHRONOUS DATA TIMING
SCL
tSU:STA tSU:STO tHD:STA
SDA
START BITSTOP BIT
○SDA data is latched into the chip at the rising edge of the SCL clock. (This is commoness in all port.)
○Output date toggles at the falling edge of the SCL clock. (This is commoness in all port.)
●Characteristic data (The following values are Typ. ones).
BU9883FV-W has 2K bit EEPROM in each port, there are three BANKs, 6K bit EEPROM in this device.
Each BANK EEPROM can be written through PORT0.
There is no write operation through PORT1,2,3.
When this device is accessed throgh PORT0, WPB terminal must be set to “HIGH”.
Each BANK EEPROM can be read through each port.
The relation ship of access port and access BANK is describe Table2.
Table 2 Table 3
Port0 BANK1~3 Port0 BANK1~3
Port1 No write operation Port1 BANK1
Port2 No write operation Port2 BANK2
Port3 No write operation Port3 BANK3
○When EEPROM access through PORT0, P1, P0 bits in slave address appoint access BANK.
Table 4
P1 P0 P1,P0 bit and access BANK
0 0 No bank selected
0 1 BANK1
1 0 BANK2
1 1 BANK3
Note) When P1=0, P0=0 : this device doesn’t return Acknowlege.
○During PORT0 access, WPB terminal must be set to “HIGH”, then PORT1~3 accesses will be cancelled.
○In accessing from PORT1~3, set WPB termianl to “LOW”
●DEVICE OPERATION
○START CONDITION
・All commands are proceeded by the start condition, which is a HIGH to LOW transition of SDA0~3 when SCL0~3 is
HIGH.
・This device continuously monitors the SDA0~3 and SCL0~3 lines for the start condition and will not respond to any
command until this condition has been met.
○STOP CONDITION
・All communications must be terminated by a stop condition, which is a LOW to HIGH transition of SDA0~3when SCL0
~3 is HIGH.
・The stop condition initiates internal write cycle to write the data into memory array after write sequence.
・The stop condition is also used to place the device into the standby power mode after read sequence.
・A stop condition can only be issued after the transmitting device has released the bus.
○NOTICE ON WRITE COMMAND
・In Write command, after transmit write data, if there are no stop condition, EEPROM data don’t change.
・Following a START condition, the master output the device address of the slave to be accessed.
The most significant four bits of the slave address are the “device type indentifier,” for this device, this is fixed as “1010.”
The next three bit specify a particular device. For PORT0 access, that are set “0”, “P1”, “P0”, for PORT 1~3 access, that
must be set “000”.
The last bit of the stream 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
R/W set to “1” ・ ・ ・ ・ ・ ・ ・ ・ READ
○ACKNOWLEDGE
・Acknowledge is a software convention used to indicate successful data transfers.The master or the slave will release the
bus after transmitting eight bits.During the ninth clock cycle, the receiver will pull the SDA line LOW to Acknowledgethat
the eight bits of data has been received.
・This device will respond with an Acknowledge after recognition of a START condition and its slave address.If both the
device and a write operation have been selected, this device will respond with an Acknowledge, after the receipt of each
subsequent 8-bit word.
・In the READ mode, this 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, this device will continue to transmit
the data.
・If an Acknowledge is not detected, this device will terminate further data transmissions and await a STOP condition
before returning to the standby mode.
・This device dosen't return Acknouwedge in internal write cycle.
SCL
(Fromμ-COM)
START CONDITION
(START BIT)
1 8 9
SDA
(μ-COM
OUTPUT DATA)
SDA
(IC OUTPUT DATA)
●PORT0 access commands
○For PORT0 access, WPB terminal must be set to “HIGH”.
○This write commands operate EEPROM write sequence at address which is appointed by P1, P0. When the master
generates a STOP condition, this device begins the internal write cycle to the nonvolatile array.
○This device is capable of eight byte page write operation.
○After the receipt of each word, the three low order address bits are internally incremented by one. The most
significant address bits (WA7~WA3) remain constant, if the master transmits more than 8 words.
○The relationship of P1, P0 inputs and access BANK is described as follows.
P1 P0 BANK
0 0 No opearation
0 1 BANK1
1 0 BANK2
1 1 BANK3
○Don't set P1, P0=0, 0. If P1, P0 are set to 0, there is no target bank, so this device doesn't return cknowlege.
○WPB terminal must be set to “HIGH” during Byte Write cycle, and Page Write cycle, and internal Write cycles. If WPB is
set to “LOW” in above condition, programing doesn't work, and during internal Write cycle, WPB terminal set to “LOW”,
this device terminate programing, and the data in programing address is not stored correctly.
S
T
A
SLAVE
R
ADDRESS
T
SDA
LINE
1 1 0 0
WPB
W
R
I
1st WORD
T
P1
P0
0
ADDRESS(n)
E
WA7
R
A
/
C
W
K
WA0
S
T
A
R
T
A
C
K
SLAVE
ADDRESS
1100
R
E
A
P0
P1
0
DATA(n)
D
D7
R
A
/
C
W
K
S
T
O
P
D0
A
C
K
○Random read operation allows the master to access any memory location which is appointed by P1, P0 bit.
This operation involves a two-step process.
First, the master issue a write command which includes the start condition and the slave address field (with R/W set to “0”)
followed by the address of the word be read.
This procedure sets the internal address counter of this device to the desired address. After the word address
acknowledge is received by the master, the master immediately reissues a start condition followed by the slave address
field with R/W the set to “1.” This device will respond with an acknowledge and then transmit the 8-data bits stored at the
addressed location.
If the master does not acknowledge the transmission but does generate the stop condition, at this point this device
discontinues transmission.
○When the command just before Current Read cycle is Random Read cycle or Current Read cycle (each including
Sequential Read cycle), data of incremented last read address (n)-th address, i.e.n, data of the (n+1)-th address is output.
When the command just before Current Read cycle is Byte Write or Page write, data of latest write address is output.
○Current Read operation allows the master to access data word stored in internal address counter which is appointed by
P1, P0 bit. This operation involves a two-step process. This device will respond with an acknowledge and then transmit
the 8-data bits stored at the addressed location.
If the master does not acknowledge the transmission but does generate the stop condition, at this point this device
discontinues transmission.
note)If the master send Acknowredge at after D0 output, Sequential Read is selected, and this device output next address
data, and master can't send stop condition, so master can't discontinues transmission.
To stop read command, the master must send no Acknowledge at after D0 output, and issue stop condition.
SDA
LIN
S
T
A
R
T
1 1 0 0
SLAVE
ADDRES
R
E
A
D
P10
P0
DATA(n)
D7
S
DATA(n+x)
D
D7
T
O
P
D0
WPB
Fig.46 SEQUENTIAL READ CYCLE TIMING (PORT0)
○During the sequential read operation, the internal address counter of this device automatically increments with each
acknowledge received ensuring the data from address will be followed with the data from n+1. For read operations, all bits
of the address counter are incremented allowing the entire array to be read during a single operation. When the counter
reaches the top of the array, it will “roll over” to the bottom of the array of BANK and continue to transmit the data.
○The sequential read operation can be performed with both current read and random read.
●PORT1,2,3 access commands
S
T
A
SLAVE
R
ADDRESS
T
SDA
LINE
1 1 0 0
WPB
W
R
I
1st WORD
T
0 0
0
ADDRESS(n)
E
WA7
R
A
/
C
W
K
S
T
A
SLAVE
R
ADDRESS
T
WA0
1 1 0 0
A
C
K
R
E
A
0
0
0
R
/
W
DATA(n)
D
D7
A
C
K
S
T
O
P
D0
A
C
K
Fig.47 RANDOM READ CYCLE TIMING(PORT1~3)
○Random read operation allows the master to access any memory location of the BANK which is appointed by P1, P0. This
operation involves a two-step process.
First, the master issues a write command which includes the start condition and the slave address field (with R/W set to
“0”) followed by the address of the word be read.
This procedure sets the internal address counter of this device to the desired address.
After the word address acknowledge is received by the master, the master immediately reissues a start condition followed
by the slave address field with R/W the set to “1.”
This device will respond with an acknowledge and then transmit the 8-data bits stored at the addressed location. If the
master does not acknowledge the transmission but does generate the stop condition, at this point this device discontinues
transmission.
○When the command just before Current Read cycle is Random Read cycle or Current Read cycle (each including
Sequential Read cycle), data of incremented last read address (n)-th address, i.e.n, data of the (n+1)-th address is output.
When the command just before Current Read cycle is Byte Write or Page write, data of latest write address is output.
○Random read operation allows the master to access any memory location. The BANK which is appointed by P1, P0. This
operation involves a two-step process.
First, the master issues a write command which includes the start condition and the slave address field (with R/W set to
“0”) followed by the address of the word be read. This procedure sets the internal address counter of this device to the
desired address. After the word address acknowledge is received by the master, the master immediately reissues a
start condition followed by the slave address field with R/W the set to “1.” This device will respond with an acknowledge
and then transmit the 8-data bits stored at the addressed location.
If the master does not acknowledge the transmission but does generate the stop condition, at this point this device
discontinues transmission.
note)If the master send Acknowredge at after D0 output, Sequential Read is selected, and this device output next address data, and master can't send stop
condition, so master can't discontinues transmission. To stop read command, the master must send no Acknowledge at after D0 output, and issue stop
condition.
S
T
A
SLAVE
R
ADDRESS
T
SDA
LINE
1 1 0 0
WPB
R
E
A
0 0
0 D0
R
※1
W
DATA(n)
D
D7
A
/
C
K
S
T
DATA(n+x)
D7
A
C
K
A
C
K
O
P
D0
A
C
K
Fig.49 SEQUENTIAL READ CYCLE TIMING (PORT1~3)
○During the sequential read operation, the internal address counter of this device automatically increments with each
acknowledge received ensuring the data from address n will be followed with the data from n+1. For read operations, all
bits of the address counter are incremented allowing the entire array to be read during a single operation. When the
counter reaches the top of the array, it will “roll over to the bottom of the array and continue to transmit the data.
○The sequential read operation can be performed with both current read and random read.
●Access Control of PORT0,1,2,3
WPB terminal controls access enable of each PORT, as follows.
PORT
PORT0 not accessible Read/Write
PORT1 Read not accessible
PORT2 Read not accessible
PORT3 Read not accessible
Table4 WPB terminal and port accesibility
○ When WPB terminal is “HIGH”, PORT0 only can access this device.
In this case, when commands from PORT1, 2, 3 are inputted, these port don't return acknowledge.
○ When WPB terminal is “LOW”, PORT0 access is not valid, but PORT1, 2, 3 can access this device this device.
Commands from PORT1, 2, 3 is performs independently other port.
Software reset is executed when to avoid malfunction after power on, and to reset during command input. Software reset
has several kinds, and 3 kinds of them are shown in the figure below. (Refer to Fig.50(a), Fig.50(b), and Fig.50 (c).) In
dummy clock input area, release the SDA0~3 bus ('H' by pull up). In dummy clock area, ACK output and read data '0' (both
'L' level) may be output from EEPROM, therefore, if 'H' is input forcibly, output may conflict and over current may flow,
leading to instantaneous power failure of system power source or influence upon devices.
SCL0~3
SDA0~3
Fig.50-(a) The case of dummy clock +START+START+ command input
Dummy clock×14
2 13
1
14
Star t×2
Normal command
Normal command
SCL0~3
SDA0~3
Fig.50-(b) The case of START +9 dummy clocks +START+ command input
SCL0~3
SDA0~3
Star t
1
Dummy clock×9
1
2
3
2
8
Star t×9
7
Fig.50-(c) START×9+ command input
Star t
9
8
9
*Start command from START input.
Normal command
Normal command
Normal command
Normal command
●Acknowledge polling
During internal write execution, all input commands are ignored, therefore ACK is not sent back. During internal automatic
write execution after write cycle input, next command (slave address) is sent, and if the first ACK signal sends back 'L', then
it means end of write action, while if it sends back 'H', it means now in writing. By use of acknowledge polling, next
command can be executed without waiting for tWR = 5ms.
When to write continuously, R/W = 0, when to carry out current read cycle after write, slave address R/W = 1 is sent, and if
ACK signal sends back 'L', then execute word address input and data output and so forth.
First write command
During internal write,
ACK = HIGH is sent back.
S
T
A
Write command
R
T
S
S
T
A
R
T
Slave
address
T
O
P
S
T
A
R
T
Slave
address
C
K
H
C
K
H
tWR
Second write command
…
S
T
A
R
T
Slave
address
t
WR
C
K
H
S
T
Slave
A
address
R
T
Word
C
K
address
L
After completion of internal write,
ACK=LOW is sent back, so input next
word address and data in succession.
C
Data
K
L
S
T
C
O
K
P
L
Fig.51 Case to continuously write by acknowledge polling
●Command cancel by start condition and stop condition
During command input, by continuously inputting start condition and stop condition, command can be cancelled.
(Refer to Fig. 52.)
However, in ACK output area and during data read, SDA0~3 bus may output 'L', and in this case, start condition and stop
condition cannot be input, so reset is not available. Therefore, execute software reset. And when command is cancelled by
start, stop condition, during random read cycle, sequential read cycle, or current read cycle, internal setting address is not
determined, therefore, it is not possible to carry out current read cycle in succession. When to carry out read cycle in
succession, carry out random read cycle.
SCL0~3
SDA0~3
1 1
0 0
●I/O peripheral circuit
Fig.52 Case of cancel by start, stop condition during slave address input
Start condition Stop condition
○Pull up resistance of SDA0~3 terminal
SDA0~3 is NMOS open drain, so requires pull up resistance. As for this resistance value (RPU), select an appropriate
value to this resistance value from microcontroller VIL, IL, and VOL0~3-IOL characteristics of this IC. If RPU is large,
action frequency is limited. The smaller the RPU, the larger the consumption current at action.
○Maximum value of R
PU
The maximum value of RPU is determined by the following factors. The following VCC, SDA, RPU and IL correspond to them
of each port.
(1)SDA0~3 rise time to be determined by the capacitance (CBUS) of bus line of R
and SDA0~3 should be tR or below.
PU
And AC timing should be satisfied even when SDA0~3 rise time is late.
(2)The bus electric potential ○A to be determined by input leak total (IL) of device connected to bus at output of 'H' to
SDA0~3 bus and R
should sufficiently secure the input 'H' level (VIH) of microcontroller and EEPROM including
PU
recommended noise margin 0.2VCC.
Vcc - ILR
Ex. ) When V
○Minimum value of R
- 0.2Vcc ≧ VIH
PU
∴ R
PU
=3V, IL=10μA, VIH=0.7 VCC,
CC
from (2)
R
PU
=
≦
PU
≦ 300 [kΩ]
0.8Vcc-V
IH
I
L
0.8×3-0.7×3
-6
10×10
マイコン
Microcontroller
RPU
IL
Bus line
バスライン容量
capacity
CBUS
CBUS
Fig.53 I/O circuit diagram
A
BU9883FV-W
SDA terminal
IL
The minimum value of RPU is determined by the following factors. The following VCC, VOL, IOL, and RPU correspond to
them of each port.
(1)When IC outputs LOW, it should be satisfied that V
(2)V
OLMAX
VCC-VOL
R
≦ I
OL
PU
=0.4V should secure the input 'L' level (VIL) of microcontroller and EEPROM including recommended noise
When SCL0~3 control is made at CMOS output port, there is no need, but in the case there is timing where SCL0~3
becomes 'Hi-Z', add a pull up resistance. As for the pull up resistance, one of several kΩ ~ several ten kΩ is recommended
in consideration of drive performance of output port of microcontroller.
In I2C BUS, it is recommended that SDA port is of open drain input/output. However, when to use CMOS input / output of
tri state to SDA port, insert a series resistance Rs between the pull up resistance Rpu and the SDA terminal of EEPROM.
This is controls over current that occurs when PMOS of the microcontroller and NMOS of EEPROM are turned ON
simultaneously. Rs also plays the role of protection of SDA terminal against surge. Therefore, even when SDA port is
open drain input/output, Rs can be used. The following SCL SDA RPU and R
correspond to them of each port.
S
CK
RPU
RS
SCL
SDA
'H' output of microcontroller
'L' output of EEPROM
Microcontroller
EEPROM
Fig.54 I/O circuit diagram
Over current flows to SDA line by 'H'
output of microcontroller and 'L'
output of EEPROM.
Fig.55 Input / output collision timing
○Maximum value of Rs
The maximum value of Rs is determined by the following relations. The following VCC, V
, RS, RPU, IOL, and SDA
OL
correspond to them of each port.
(1)SDA rise time to be determined by the capacity (CBUS) of bus line of Rpu and SDA should be tR or below.
And AC timing should be satisfied even when SDA rise time is late.
(2)The bus electric potential
sufficiently secure the input 'L' level (V
VIL
Microcontroller
Fig.56 I/O circuit diagram
○Minimum value of Rs
The minimum value of Rs is determined by over current at bus collision. When over current flows, noises in power source
line, and instantaneous power failure of power source may occur. When allowable over current is defined as I, the
following relation must be satisfied. Determine the allowable current in consideration of impedance of power source line in
set and so forth. Set the over current to EEPROM 10mA or below. The following VCC, RPU, RS, and I correspond to them
of each port.
A to be determined by Rpu and Rs the moment when EEPROM outputs 'L' to SDA bus should
VCC
RPU
Bus line
capacity CBUS
○
R
IOL
S
) of microcontroller including recommended noise margin 0.1VCC.
At power on, in IC internal circuit and set, VCC rises through unstable low voltage area, and IC inside is not completely reset,
and malfunction may occur. To prevent this, functions of POR circuit and LVCC circuit are equipped. To assure the action,
observe the following conditions at power on.
1. Set SDA0
2. Start power source so as to satisfy the recommended conditions of t
3. Set SDA0~3 and SCL0~3 so as not to become 'Hi-Z'.
When the above conditions 1 and 2 cannot be observed, take the following countermeasures.
a) In the case when the above condition 1 cannot be observed. When SDA0
→Control SCL0~3 and SDA0~3 as shown below, to make SCL0~3 and SDA0~3, 'H' and 'H'.
V
CC
SCL
t
LOW
~3 becomes 'L' at power on.
SDA
fter Vcc becomes stable
t
t
SU:DAT
DH
Fig.61 When SCL0~3= 'H' and SDA0~3= 'L'
After Vcc becomes stable
Fig.62 When SCL0
t
SU:DAT
~3='L' and SDA0~3='L'
b) In the case when the above condition 2 cannot be observed.
→After power source becomes stable, execute software reset(P11).
c) In the case when the above conditions 1 and 2 cannot be observed.
→Carry out a), and then carry out b).
●Low voltage malfunction prevention function
LVCC circuit prevents data rewrite action at low power, and prevents wrong write. At LVCC voltage (Typ. =1.2V) or below, it
prevent data rewrite.
●VCC noise countermeasures
Bypass capacitor
○
When noise or surge gets in the power source line, malfunction may occur, therefore, for removing these, it is
recommended to attach a by pass capacitor (0.1μF) between IC VCC
as possible. And, it is also recommended to attach a bypass capacitor between board VCC
OUT and GND. At that moment, attach it as close to IC
OUT and GND.
●Cautions on use
(1) Described numeric values and data are design representative values, and the values are not guaranteed.
(2) We believe that application circuit examples are recommendable, however, in actual use, confirm characteristics further
sufficiently. In the case of use by changing the fixed number of external parts, make your decision with sufficient margin
in consideration of static characteristics and transition characteristics and fluctuations of external parts and our LSI.
(3) Absolute maximum ratings
If the absolute maximum ratings such as impressed voltage and action temperature range and so forth are exceeded,
LSI may be destructed. Do not impress voltage and temperature exceeding the absolute maximum ratings. In the case
of fear exceeding the absolute maximum ratings, take physical safety countermeasures such as fuses, and see to it that
conditions exceeding the absolute maximum ratings should not be impressed to LSI.
(4) GND electric potential
Set the voltage of GND terminal lowest at any action condition. Make sure that each terminal voltage is lower than that of
GND terminal.
(5) Terminal design
In consideration of permissible loss in actual use condition, carry out heat design with sufficient margin.
(6) Terminal to terminal shortcircuit and wrong packaging
When to package LSI onto a board, pay sufficient attention to LSI direction and displacement. Wrong packaging may
destruct LSI. And in the case of shortcircuit between LSI terminals and terminals and power source, terminal and GND
owing to foreign matter, LSI may be destructed.
(7) Use in a strong electromagnetic field may cause malfunction, therefore, evaluate design sufficiently.
No copying or reproduction of this document, in part or in whole, is permitted without the
consent of ROHM Co.,Ltd.
The content specied herein is subject to change for improvement without notice.
The content specied herein is for the purpose of introducing ROHM's products (hereinafter
"Products"). If you wish to use any such Product, please be sure to refer to the specications,
which can be obtained from ROHM upon request.
Examples of application circuits, circuit constants and any other information contained herein
illustrate the standard usage and operations of the Products. The peripheral conditions must
be taken into account when designing circuits for mass production.
Great care was taken in ensuring the accuracy of the information specied in this document.
However, should you incur any damage arising from any inaccuracy or misprint of such
information, ROHM shall bear no responsibility for such damage.
The technical information specied herein is intended only to show the typical functions of and
examples of application circuits for the Products. ROHM does not grant you, explicitly or
implicitly, any license to use or exercise intellectual property or other rights held by ROHM and
other par ties. ROHM shall bear no responsibility whatsoever for any dispute arising from the
use of such technical information.
Notice
The Products specied in this document are intended to be used with general-use electronic
equipment or devices (such as audio visual equipment, ofce-automation equipment, communication devices, electronic appliances and amusement devices).
The Products specied in this document are not designed to be radiation tolerant.
While ROHM always makes efforts to enhance the quality and reliability of its Products, a
Product may fail or malfunction for a variety of reasons.
Please be sure to implement in your equipment using the Products safety measures to guard
against the possibility of physical injury, re or any other damage caused in the event of the
failure of any Product, such as derating, redundancy, re control and fail-safe designs. ROHM
shall bear no responsibility whatsoever for your use of any Product outside of the prescribed
scope or not in accordance with the instruction manual.
The Products are not designed or manufactured to be used with any equipment, device or
system which requires an extremely high level of reliability the failure or malfunction of which
may result in a direct threat to human life or create a risk of human injur y (such as a medical
instrument, transportation equipment, aerospace machinery, nuclear-reactor controller,
fuel-controller or other safety device). ROHM shall bear no responsibility in any way for use of
any of the Products for the above special purposes. If a Product is intended to be used for any
such special purpose, please contact a ROHM sales representative before purchasing.
If you intend to export or ship overseas any Product or technology specied herein that may
be controlled under the Foreign Exchange and the Foreign Trade Law, you will be required to
obtain a license or permit under the Law.
Thank you for your accessing to ROHM product informations.
More detail product informations and catalogs are available, please contact us.