ROHM BU9889GUL-W Technical data

High Reliability Series Serial EEPROM Series
WL-CSP EEPROM family I2C BUS
BU9889GUL-W
Description
BU9889GUL-W is a serial EEPROM of I
Features
1) Completely conforming to the world standard I All controls available by 2 ports of serial clock (SCL) and serial data (SDA)
2) 1k words×8 bits architecture 8kbit serial EEPROM.
3) Other devices than EEPROM can be connected to the same port, saving microcontroller port.
4) 1.75.5V single power source action most suitable for battery use.
5) FAST MODE 400kHz at 1.7~5.5V
6) Page write mode useful for initial value write at factory shipment.
7) Auto erase and auto end function at data rewrite.
8) Low current consumption At write operation (5V) : 0.5mA (Typ.) At read operation (5V) : 0.2mA (Typ.) At standby operation (5V) : 0.1µA (Typ.)
9) Write mistake prevention function Write (write protect) function added Write mistake prevention function at low voltage
10) WLCSP6pin compact package
11) Data rewrite up to 100,000 times
12) Data kept for 40 years
13) Noise filter built in SCL / SDA terminal
14) Shipment data all address FFh
Absolute maximum ratings (Ta=25℃)
Parameter symbol Limits Unit
Impressed voltage VCC -0.3+6.5 V
Permissible dissipation Pd 220*1 mW Storage temperature range Tstg -65+125 Action temperature range Topr -40+85 Terminal voltage - -0.3Vcc+1.0 V
*1 When using at Ta=25 or higher, 2.2mW to be reduced per 1
Memory cell characteristics (Ta=25, Vcc=1.75.5V)
Parameter
Number of data rewrite times *1 100,000 - - Times
Data hold years *1 40 - - Years
*1 Not 100% TESTED
Recommended operating conditions
Parameter Symbol Limits Unit
Power source voltage Vcc 1.75.5
Input voltage VIN 0~Vcc
2
C BUS interface method.
2
C BUS.
Limits
Min. Typ. Max.
Unit
V
No.10001EAT07
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
1/17
2010.01 - Rev.A
BU9889GUL-W
Technical Note
Electrical characteristics
Parameter Symbol
Min Typ. Max.
Limits
Unit Condition
"H" Input Voltage1 VIH1 0.7Vcc - Vcc+1.0 V
"L" Input Voltage1 VIL1 -0.3 - 0.3Vcc V
"L" Output Voltage1 VOL1 - - 0.4 V IOL=3.0mA , 2.5V≦Vcc≦5.5V (SDA)
"L" Output Voltage2 VOL2 - - 0.2 V IOL=0.7mA , 1.7V≦Vcc≦2.5V (SDA)
Input Leakage Current ILI -1 - 1 μAVIN=0Vcc
Output Leakage Current ILO -1 - 1 μAVOUT=0Vcc (SDA)
CC1
I
- - 2.0 mA
Current consumption at action
ICC2 - - 0.5 mA
Standby Current ISB - - 2.0 μA
Radiation resistance design is not made.
Vcc=5.5V , f Byte Write, Page Write Vcc=5.5V , f Random read, Current read, Sequential read Vcc=5.5V , SDA・SCL=Vcc A2=GND, WP=GND
SCL =400kHz, tWR=5ms
SCL =400kHz
Action timing characteristics
Parameter Symbol
Min. Typ. Max.
Limits
Unit
SCL Frequency fSCL - - 400 kHz
Data clock "High" time tHIGH 0.6 - - μs
Data clock "Low" time tLOW 1.2 - - μs
SDA, SCL rise time *1 tR - - 0.3 μs
SDA, SCL 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 data setup time tSU:STO 0.6 - - μs
Bus release time before transfer start tBUF 1.2 - - μs
Internal write cycle time tWR - - 5 ms
Noise removal valid period (SDA,SCL terminal) 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% TESTED
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
2/17
2010.01 - Rev.A
BU9889GUL-W
A
A
Sync data input/output timing
SCL
Input read at the rise edge of SCL Data output in sync with the fall of SCL
tHD:STA tHD:DAT
SD
(入)
(Input)
SDA
(出力)
(Output)
tBUF
Fig.1-(a) Sync data input / output timing
tSU:DAT
tLOW
tPD tDH
SCL
tSU:STA tSU:STOtHD:STA
SDA
Fig.1-(b) Start - stop bit timing
START BIT
SCL
SDA
WRITE DATA(n)
D0
ACK
CONDITION
STOP
t
WR
Fig.1-(c) Write cycle timing
tHIGHtR tF
START
CONDITION
STOP BIT
Technical Note
SCL
DATA(1)
D1 D0ACK
SDA
WP
tSU:WP
Fig.1-(d) WP timing at write execution
SCL
DATA(1)
D1 D0 ACK ACK
SDA
WP
At write execution, in the area from the D0 taken clock rise of the first DATA(1),
to tWR, set WP= 'LOW'.
By setting WP "HIGH" in the area, write can be cancelled.
When it is set WP = 'HIGH' during tWR, write is forcibly ended, and data of address under access is not guaranteed, therefore write it once again.
Fig.1-(e) WP timing at write cancel
DATA(n)
DATA(n)
tHIGH:WP
CK
ストップション
Stop condition
WR
tWR
tWR
tHD:
WP
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
3/17
2010.01 - Rev.A
BU9889GUL-W
V
G
A
Block diagram
8Kbit EEPROM ARRAY
10bit
ADDRESS DECODER
SLAVE、WORD
10bit
ADDRESS REGISTER
A2
CONTROL LOGIC
START STOP
HIGH VOLTAGE GEN.
Vcc LEVEL DETECT
Fig.2 Block diagram
Pin assignment and description
Terminal
name
A2 Input Slave address setting
GND - Reference voltage of all input / output, 0V.
SDA
SCL Input Serial clock input
WP Input Write protect terminal
Vcc - Connect the power source.
B
B1
SDA
A1
SCL
B2
GND A2
A2
WP
1
BU9889GUL-W (BOTTOM VIEW)
2
B3
A3
VCC
3
Characteristic data (The following values are Typ. ones.)
6
Ta=-40℃
5
Ta=25℃
(V)
IH
Ta=85℃
4
3
2
H INPUT VOLTAGE : V
1
0
0123456
1
(V)
0.8
OL
Ta=-40℃
0.6
Ta=25℃ Ta=85℃
0.4
0.2
L OUTPUT VOLTA GE : V
0
0123456
Fig.6 'L' output voltage VOL-IOL(Vcc=2.5V)
Fig.6 'L' output voltage VOL-IOL(Vcc=2.5V)
SPEC
SUPPLY VOLTAGE : Vcc(V)
Fig.3 'H' input voltage V
Fig.3 'H' input voltage V
(A2,SCL,SDA,WP)
(A2,SCL,SDA,WP)
L OUTPUT CURRENT : I
SPEC
IH
IH
(mA)
OL
6
5
Ta=-40℃
(V)
Ta=25℃
IL
Ta=85℃
4
3
2
L INPUT VOLTAGE : V
1
0
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.4 'L' input voltage V
Fig.4 'L' input voltage V
(A2,SCL,SDA,WP)
1.2
1
(uA)
LI
0.8
0.6
0.4
0.2
INPUT LEAK CUR RENT : I
0
SPEC
Ta=-40℃ Ta=25℃ Ta=85℃
0123456
SUPPLYVOLTAGE : V cc(V)
Fig.7 Input leak current I
Fig.7 Input leak current I
(A2,SCL,WP)
(A2,SCL,WP)
Input/
Output
Input /
Output
SPEC
(A2,SCL,SDA,WP)
cc Vcc
ND
8bit
DATA REGISTER
WP
SCL
ACK
SDA
Function
Slave and word address, Serial data input serial data output
1
Ta=-40℃
(V)
0.8
Ta=25℃
OL
Ta=85℃
0.6
0.4
SPEC
0.2
L OUTPUT VOLTAGE : V
0
012345678
IL
IL
(uA)
OUTPUT LEAK CURRENT : I
LI
LI
L OUTPUT CURRENT : I
Fig.5 'L' output voltage V
Fig.5 'L' output voltage VOL-
1.2
1
LO
0.8
0.6
0.4
0.2
0
0123456
(Vcc=1.7V)
Ta=-40℃ Ta=25℃ Ta=85℃
SUPPLY VOLTAGE : Vcc(V)
Fig.8 Output leak current
Fig.8 Output leak current
Technical Note
(mA)
OL
-
I
OL
OL
SPEC
I
(SDA)
LO
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
4/17
2010.01 - Rev.A
BU9889GUL-W
Characteristic data (The following values are Typ. ones.)
2.5
2
SPEC
1.5
SCL FREQUENCY : fscl(kHZ)
Ta=-40℃ Ta=25℃
1
Ta=85℃
AT WRITING : Icc1(mA)
0.5
CURRENT CONS UMPTION
0
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.9 Current consumption at WRITE operation ICC1
10000
1000
100
10
1
0.1 0123456
(fscl=400kHz)
SPEC
Ta=-40℃ Ta=25℃ Ta=85℃
SUPPLY VOLTAGE : Vcc(V)
Fig.12 SCL frequency f
5
(us)
HD : STA
4
3
2
1
Ta=-40℃ Ta=25℃ Ta=85℃
SPEC
0
START CONDITION HOLD TIME : t
0123456
(ns)
HD :DAT
-50
SUPPLY VOLTAGE : Vcc(V)
Fig.15 Start Condition Hold Time t
50
0
STA
SPEC
SCL
HD :
0.6
0.5
0.4
0.3
0.2
AT READING : Icc2(mA)
0.1
CURRENT CONSUMPTION
(uA)
DATA CLK H TIME : t
START CONDITION
SET UP TIME : tSU:STA(uA)
-0.1
300
(ns)
200
SU: DAT
100
Ta=-40℃ Ta=25℃ Ta=85℃
0
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.10 Current consumption at READ operation I
5
4
HIGH
3
Ta=-40℃ Ta=25℃
2
Ta=85℃
1
0
0123456
5.9
4.9
3.9
2.9
Ta=-40℃ Ta=25℃
1.9
Ta=85℃
0.9
0123456
Fig.16 Start Condition Setup Time t
SPEC
SUPPLY VOLTAGE : Vcc(V)
Fig.13 Data clock High Period
SUPPLY VOLTAGE : Vcc(V)
SPEC
-100
-150
INPUT DATA HOLD TIME : t
-200
Ta=-40℃ Ta=25℃ Ta=85℃
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.18 Input Data Hold Time
(LOW)
HD : DAT
4
(us)
Ta=-40℃
PD
Ta=25℃
3
Ta=85℃
2
1
OUTPUT DATA DELAY TIME : t
0
0123456
Fig.21 'L' Data output delay time tPD0
SPEC
SUPPLY VOLTAGE : Vcc(V)
0
Ta=-40℃ Ta=25℃
-100
Ta=85℃
INPUT DATA SET UP TIME : t
-200 0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.19 Input Data Setup Time
SU: DAT
4
(us)
Ta=-40℃
PD
Ta=25℃
3
Ta=85℃
2
1
OUTPUT DATA DELAY TIME : t
0
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.22 'H' Data output delay time
SPEC
(fscl=400kHz)
SPEC
STA
(HIGH)
SPEC
Technical Note
2.5
2
(uA)
SB
1.5
Ta=-40℃
1
Ta=25℃ Ta=85℃
0.5
STANBY CURR ENT : I
0
0123456
SUPPLY VOLTAGE : Vcc(V)
2
CC
t
HIGH
(ns)
HD: STA
-100
-150
INPUT DATA HOLD TIME : t
-200
SU :
1
PD
Fig.11 Stanby operation I
5
(us)
4
LOW
3
Ta=-40℃ Ta=25℃
2
Ta=85℃
1
DATA CLK L TIME : t
0
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.14 Data clock Low Period t
50
0
-50
Ta=-40℃ Ta=25℃ Ta=85℃
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.17 Input Data Hold Time
300
(ns)
200
SU : DAT
100
0
Ta=-40℃ Ta=25℃
-100
Ta=85℃
-200
INPUT DATA SET UP TIME : t
0123456
Fig.20 Input Data setup time
5
(us)
Ta=-40℃
4
BUF
Ta=25℃ Ta=85℃
3
2
BUS OPEN TIME
1
BEFORE TRANSMISSION : t
0
0123456
Fig.23 BUS open time before transmission
SPEC
SB
SPEC
SPEC
t
(HIGH)
HD : DAT
SPEC
SUPPLY VOLTAGE : Vcc(V)
t
(LOW)
SU : DAT
SPEC
SUPPLY VOLTAGE : Vcc(V)
LOW
 t
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
5/17
2010.01 - Rev.A
BU9889GUL-W
Characteristic data (The following values are Typ. ones.)
6
5
(ms)
WR
4
3
2
INTERNAL WRITING
CYCLE TIME : t
Ta=-40℃ Ta=25℃
1
Ta=85℃
0
0123456
SUPPLY VOLTAGE : Vcc(V )
Fig.24 Internal writing cycle time
SPEC
 t
WR
1
0.8
Ta=-40℃
(SCL H) (us)
0.6
l
Ta=25℃ Ta=85℃
0.4
NOISE REDUCTION
0.2
EFECTIVE TIME : t
0
0123456
Fig.25 Noise reduction efection time
SPEC
SUPPLY VOLTAGE : Vcc(V)
0.6
0.5
0.4
(SDA H)(us)
l
0.3
0.2
NOISE REDUCTION
0.1
EFECTIVE TIME : t
0
0246
SUPPLY VOLATGE : Vcc(V)
Fig.27 Noise resuction efecctive time
SPEC
Ta=-40℃ Ta=25℃ Ta=85℃
 t
(SDA
0.6
0.5
0.4
(SAD L)(us)
l
0.3
Ta=-40℃ Ta=25℃
0.2
NOISE REDUCTION
EFFECTIVE TIME : t
Ta=85℃
0.1
0
0123456
SUPPLY VOLTAGE : Vcc(V)
Fig.28 Noise reduction efective time t
1.2
(us)
1
HIGH : WP
0.8
0.6
0.4
Ta=-40℃ Ta=25℃
0.2
Ta=85℃
WP EFFECTIVE TIME : t
0
0123456
SUPPLYVOLTAGE : Vcc(V)
Fig.30 WP efective time
SPEC
t
HIGH : WP
SPEC
t
(SCL
l
SDA L
l
Technical Note
0.6
Ta=-40℃
0.5
Ta=25℃ Ta=85℃
0.4
(SCL L)(us)
l
0.3
0.2
NOISE REDUCTION
0.1
EFECTIVE TIME : t
0
0123456
Fig.26 Noise reduction e fective time
0.2
0.1
(us)
0
SU : WP
-0.1
-0.2
-0.3
-0.4
WP SET UP TIME : t
-0.5
-0.6 0123456
SPEC
SUPPLY VOLTAGE : V cc(V)
SPEC
Ta=-40℃ Ta=25℃ Ta=85℃
SUPPLY VOLTAGE : Vcc( V)
Fig.29 WP setup time
t
SU : WP
 t
(SCL
l
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
6/17
2010.01 - Rev.A
BU9889GUL-W
S
Technical Note
I2C BUS communication
I2C BUS data communication
2
C BUS data communication starts by start condition input, and ends by stop condition input. Data is always 8bit long,
I and acknowledge is always required after each byte. I2C BUS carries out data transmission with plural devices connected by 2 communication lines of serial data (SDA) and serial clock (SCL). Among devices, there are “master” that generates clock and control communication start and end, and “slave” that is controlled by addresses peculiar to devices. EEPROM becomes “slave”. And the device that outputs data to bus during data communication is called “transmitter”, and the device that receives data is called “receiver”.
SDA
1-7 1-7
SCL
S P START R/W ACK condition condition
89 89 89
1-7
Fig.31 Data transfer timing
ACK STOPACKDATA DATAADDRES
Start condition (start bit recognition) Before executing each command, start condition (start bit) where SDA goes from 'HIGH' down to 'LOW' when SCL is
'HIGH' is necessary.
This IC always detects whether SDA and SCL are in start condition (start bit) or not, therefore, unless this condition is
satisfied, any command is executed.
Stop condition (stop bit recognition) Each command can be ended by SDA rising from 'LOW' to 'HIGH' when stop condition (stop bit), namely, SCL is 'HIGH'
Acknowledge (ACK) signal
This acknowledge (ACK) signal is a software rule to show whether data transfer has been made normally or not. In master
and slave, the device (µ-COM at slave address input of write command, read command, and this IC at data output of read command) at the transmitter (sending) side releases the bus after output of 8bit data.
The device (this IC at slave address input of write command, read command, and µ-COM at data output of read
command) at the receiver (receiving) side sets SDA 'LOW' during 9 clock cycles, and outputs acknowledge signal (ACK signal) showing that it has received the 8bit data.
This IC, after recognizing start condition and slave address (8bit), outputs acknowledge signal (ACK signal) 'LOW'. Each write action outputs acknowledge signal) (ACK signal) 'LOW', at receiving 8bit data (word address and write data). Each read action outputs 8bit data (read data), and detects acknowledge signal (ACK signal) 'LOW'. When acknowledge signal (ACK signal) is detected, and stop condition is not sent from the master (µ-COM) side, this IC
continues data output. When acknowledge signal (ACK signal) is not detected, this IC stops data transfer, and recognizes stop condition (stop bit), and ends read action. And this IC gets in standby status.
Device addressing Following a START condition, the master output the slave address to be accessed. The most significant four bits of the slave address are the “device type indentifier,” for this device it is fixed as “1010”. The next bit (device address) identify the specified device on the bus. The device address is defined by the state of A2
input pin. This IC works only when the device address inputted from SDA pin correspond to the state of A2 input pin. Using this address scheme, up to two devices may be connected to the bus.
The next two bits (P1, P0) are used by the master to select four 256 word page of memory.
P1, P0 set to “0” “0” ・・・ 1page (000~0FF) P1, P0 set to “0” “1” ・・・ 1page (100~1FF) P1, P0 set to “1” “0” ・・・
1page (200~2
FF)
P1, P0 set to “1” “1” ・・・ 1page (300~3FF)
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
1 0 1 0 A2 P1 P0 R/W―
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
7/17
2010.01 - Rev.A
BU9889GUL-W
A
R
A
A
A
S
+
A
A
A
A
Technical Note
Write Command
Write cycle Arbitrary data is written to EEPROM. When to write only 1 byte, byte write normally used, and when to write continuous
data of 2 bytes or more, simultaneous write is possible by page write cycle.
SDA LINE
S T A R T
ADDRES S
SDA LINE
Fig.32 Byte write cycle
S
T
A
SLAVE
R
ADDRESS
T
0
1A0 A1 A2
1
Fig.33 Page write cycle
SLAVE
0
)
W
R
I T E
P1 A2
P0
A C
/
K
W
W R
I T
E
P1
P0
R
C
/
K
W
W
WA
*1
7
7
WORD
ADDR ESS
WORD
ADDRESS(n)
WA
WA
0
DAT
D7 1 1 0 0
0
C
K
(n)
DAT
C K
S T O P
D0
C K
S T O
DATA(n+15)
D0 D7 D0
C
K
*2
P
A C K
Data is written to the address designated by word address (n-th address). By issuing stop bit after 8bit data input, write to memory cell inside starts. When internal write is started, command is not accepted for tWR (5ms at maximum). By page write cycle, the following can be written in bulk: Up to 16 bytes
And when data of the maximum bytes or higher is sent, data from the first byte is overwritten. (Refer to "Internal address increment of "Notes on page write cycle" in P9/17.)
As for page write command, after page select bit(PS) of slave address is designated arbitrarily, by continuing data input of
2 bytes or more, the address of insignificant 4 bits is incremented internally, and data up to 16 bytes can be written.
Notes on write cycle continuous input
SD A LINE
S T A
SLAVE
R
ADDRESS
T
10 0 1
W R
I
WORD
T
ADDRE SS(n)
E
WA
P0 P1 A2
7
A
R
C
/
K
W
WA
0
A C K
Fig.34 Page write cycle
DATA(n )
15)
DATA(n
D0 D7 D0
A C
K
At STO P (sto p bi t )
write starts.
T O P
A C K
S T A R T
1 100
Ne xt c om man d
tW R(maxi mum5m s) Co m m and i s n ot a c ce pt ed fo r th i s
period.
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
8/17
2010.01 - Rev.A
BU9889GUL-W
Technical Note
Notes on page write cycle
Maximum page number is 16 bytes for this IC. Any bytes below these can be written.
The page write cycle write time is 5ms at maximum for 16byte bulk write.
It does not stand 5ms at maximum
× 16byte = 80ms(Max.).
Internal address increment
Page write mode
WA7 ----- WA4 WA3 WA2 WA1 WA0 0 ----- 0 0 0 0 0
0 ----- 0 0 0 0 1
0 ----- 0 0 0 1 0
0 ----- 0 1 1 1 0
0Eh
0 ----- 0 1 1 1 1 0 ----- 0 0 0 0 0
---------
Increment
---------
Significant bit is fixed.
For example, when it is started from address 0Eh, therefore, increment is made as below, 0Eh0Fh00h01h・・・, which please note.
* 0Eh・・・16 in hexadecimal, therefore, 00001110 becomes a binary number.
Write protect (WP) terminal Write protect (WP) function
When WP terminal is set Vcc (H level), data rewrite of all address is prohibited. When it is set GND (L level), data rewrite of all address is enabled. Be sure to connect this terminal to Vcc or GND, or control it to H level or L level. Do not use it open. At extremely low voltage at power ON/OFF, by setting the WP terminal 'H', mistake write can be prevented. During tWR, set the WP terminal always to 'L'. If it is set 'H', write is forcibly terminated.
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
9/17
2010.01 - Rev.A
BU9889GUL-W
A
A
A
Technical Note
Read Command
Read cycle
Data of EEPROM is read. In read cycle, there are random read cycle and current read cycle. Random read cycle is a command to read data by designating address, and is used generally. Current read cycle is a command to read data of internal address register without designating address, and is used when to verify just after write cycle. In both the read cycles, sequential read cycle is available, and the next address data can be read in succession.
SD A LINE
S T A
SLAVE
R
ADDRESS
T
10 0 1 P0 P1 A2
SDA LINE
Fig.35 Random read cycle
S T A R T
10 0 1 P0 P1 A2 D0 D7
Fig.36 Current read cycle
W
R
E
R
W
SLAV E
ADDRESS
I T
A
C
/
K
WORD
ADD RESS(n)
WA
7
R
E A
D
A
R
C
/
K
W
WA
0
C K
DATA(n)
S T A R T
10 0 1P1 A2
SLAVE
ADDRESS
S T O P
A C K
R E A
DATA(n)
D
D7
P0 D0
R
C
/
K
W
S T O P
C
K
It is necessary to input 'H' to the last ACK.
It is necessary to input 'H' to the last ACK.
S T A
SLAVE
R
ADDRESS
T
SD A LINE
10 0
R E A
DA TA(n)
D
P1 A2
P0
1
R
A
/
C
W
K
D0 D7 D0 D7
A C K
A C K
Fig.37 Sequential read cycle (in the case of current read cycle)
DATA( n+x)
S T O P
A C K
In random read cycle, data of designated word address can be read. When the command just before current read cycle is random read cycle, current read cycle (each including sequential
read cycle), data of incremented last read address (n)-th address, i.e., data of the (n+1)-th address is output.
When ACK signal 'LOW' after D0 is detected, and stop condition is not sent from master (µ-COM) side, the next address
data can be read in succession.
Read cycle is ended by stop condition where 'H' is input to ACK signal after D0 and SDA signal is started at SCL signal 'H'.
When 'H' is not input to ACK signal after D0, sequential read gets in, and the next data is output.
Therefore, read command cycle cannot be ended. When to end read command cycle, be sure input stop condition to input 'H' to ACK signal after D0, and to start SDA at SCL signal 'H'.
Sequential read is ended by stop condition where 'H' is input to ACK signal after arbitrary D0 and SDA is started at SCL
signal 'H'.
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
10/17
2010.01 - Rev.A
BU9889GUL-W
A
A
A
A
A
A
Technical Note
Software reset
Software reset is executed when to avoid malfunction after power on, and to reset during command input. Software reset has several kinds, and 3 kids of them are shown in the figure below. (Refer to Fig.38(a), Fig.38(b), Fig.38(c).) In dummy clock input area, release the SDA 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.
14
Star t×2
Normal command
Normal command
Star t
8
9
Normal command
Normal command
SCL
SDA
1
Dummy clock×14
2 13
SCL
SDA
Fig.38-(a) The case of 14 Dummy clock + START + START+ command input
Star t
Dummy clock×9
1
2
Fig.385-(b) The case of START+9 Dummy clock + START + command input
Star t×9
SCL
SDA
1 2 3 8 9 7
Normal command
Normal command
Fig.38-(c) START × 9 + command input
* Start command from START input.
Acknowledge polling
During internal write, 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 so forth.
First write command
S T A R T
Write command
S
Slave
T A
address
R T
t
WR
S
S T A R T
Slave
T
address
A R T
Second write command
Slave
address
C K L
S T O P
C K H
During internal write,
ACK = HIGH is sent back.
S T A R T
Slave
address
C
Data
K L
C
K H
S
C
T
K
O
L
P
C K H
tWR
Word
address
After completion of internal write, ACK=LOW is sent back, so input next word address and data in succession.
Fig.39 Case to continuously write by acknowledge polling
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
11/17
2010.01 - Rev.A
BU9889GUL-W
Technical Note
WP valid timing (write cancel)
WP is usually fixed to 'H' or 'L', but when WP is used to cancel write cycle and so forth, pay attention to the following WP valid timing. During write cycle execution, in cancel valid area, by setting WP='H', write cycle can be cancelled. In both byte write cycle and page write cycle, the area from the first start condition of command to the rise of clock to taken in D0 of data(in page write cycle, the first byte data) is cancel invalid area. WP input in this area becomes Don't care. Set the setup time to rise of D0 taken 100ns or more. The area from the rise of SCL to take in D0 to the end of internal automatic write (tWR) is cancel valid area. And, when it is set WP='H' during tWR, write is ended forcibly, data of address under access is not guaranteed, therefore, write it once again.(Refer to Fig.47.) After execution of forced end by WP standby status gets in, so there is no need to wait for tWR (5ms at maximum).
Rise of D0 taken clock
SCL
SDA
D1
Enlarged view
D0
ACK
SCL
SDA
Rise of SDA
D0
Enlarged view
ACK
SDA
WP
S T A R T
Slave
address
A C K
L
WP cancel invalid area
Word
address
A C
D6
D7
K
L
D5
D4
D3
A
D2
C
D1 D0
K
L
WP cancel valid area
Data is not written.
A
S
Data
C
T
K
O
L
P
tWR
Write forced end
Data not guaranteed
Fig.40 WP valid timing
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.41.) However, in ACK output area and during data read, SDA 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.
SCL
SDA
1
0 0
1
Start condition
Stop condition
Fig.41 Case of cancel by start, stop condition during slave address input
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
12/17
2010.01 - Rev.A
BU9889GUL-W
V
L
Technical Note
I/O peripheral circuit
Pull up resistance of SDA terminal
SDA is NMOS open drain, so requires pull up resistance. As for this resistance value (R
), select an appropriate value to
PU
this resistance value from microcontroller VIL, IL, and VOL-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.
(1)SDA rise time to be determined by the capacitance (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 Ato be determined by input leak total (IL) of device connected to bus output of 'H' to SDA
bus and R noise margin 0.2Vcc.
Vcc
- I
Ex.) When Vcc = 3V, IL=10μA, VIH = 0.7Vcc, from (2)
PU
R
Minimum value of R
The minimum value of R (1)When IC outputs LOW, it should be satisfied that V
should sufficiently secure the input 'H' level (VIH) of microcontroller and EEPROM including recommended
PU
- 0.2Vcc V
LRPU
PU
R
0.8×30.7×3
300
CC-VO
PU
R
PU
R
0.8V
10×10
kΩ]
PU
I
CC-VOL
V
IH
CC-VIH
I
L
-6
is determined by the following factors.
PU
OLMAX
OL
OL
I
Microcontroller
=0.4V and I
IL
Bus line Capacity CBUS
Fig.42 I/O circuit diagram
=3mA.
OLMAX
RPU
A
BR9889GUL-W
SDA terminal
IL
(2)V
=0.4V should secure the input 'L' level (VIL) of microcontroller and EEPROM including recommended noise
OLMAX
margin 0.1Vcc.
VIL-0.1 Vcc
V
OLMAX
Ex.) When Vcc= 3V, VOL0.4V, IOL=3mA, microcontroller, EEPROM VIL=0.3Vcc from(1),
R
PU
3-0.4
3×10
867
-3
[Ω]
And
VOL=0.4[V]
=0.3×3
V
IL
=0.9[V]
Therefore, the condition (2) is satisfied.
Pull up resistance of SCL terminal
When SCL control is made at CMOS output port, there is no need, but in the case there is timing where SCL 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.
A2, WP process
Process of device address terminals (A2)
Check whether the set device address coincides with device address input sent from the master side or not, and select one among plural devices connected to a same bus. Connect this terminal to pull up or pull down, or Vcc or GND.
Process of WP terminal
WP terminal is the terminal that prohibits and permits write in hardware manner. In 'H' status, only READ is available and WRITE of all address is prohibited. In the case of 'L', both are available. In the case of use it as an ROM, it is recommended to connect it to pull up or Vcc. In the case to use both READ and WRITE, control WP terminal or connect it to pull down or GND.
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
13/17
2010.01 - Rev.A
BU9889GUL-W
A
A
Technical Note
Cautions on microcontroller connection
Rs
2
In I
C 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.
RPU
R
S
SCL
SDA
'H' output of microcontroller
CK
'L' output of EEPROM
Microcontroller
EEPROM
Fig.43 I/O circuit diagram
Over current flows to SDA line by 'H' output of microcontroller and 'L' output of EEPROM.
Fig.44 Input/output collision timing
Maximum value of Rs
The maximum value of Rs is determined by following relations.
(1)SDA rise time to be determined by the capacity (CBUS) of bus line of Rpu and SDA shoulder be tR or below.
And AC timing should be satisfied even when SDA rise time is late.
(2)The bus electric potential
should sufficiently secure the input 'L' level (V
A
to be determined by Rpu and Rs the moment when EEPROM outputs 'L' to SDA bus
) of microcontroller including recommended noise margin 0.1Vcc.
IL
VIL
Microcontroller
VCC
RPU
S
R
IOL
Bus line capacity CBUS
VOL
EEPROM
Fig.45 I/O circuit diagram
Example
CC-VOL
(V
PU+RS
R
S
R
When VCC=3V, VIL=0.3V
S
R
S
)×R
from(2),
+VOL+0.1VCC≦V
IL-VOL
V
1.1VCC-V
0.3×30.40.1×3
1.1×30.3×3
1.67[kΩ]
0.1V
CC, VOL
IL
CC
×R
IL
=0.4V, RPU=20kΩ,
×
Maximum 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.
CC
R
PU
R
'L' output
S
'H' output
Over current
Microcontroller
Fig.46 I/O circuit diagram
EEPROM
V
S
R
S
R
ExampleWhen V
I
CC
V
I
CC
=3V, I=10mA
S
R
3
10×10
300[Ω]
-3
PU
20×10
3
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
14/17
2010.01 - Rev.A
BU9889GUL-W
Technical Note
I2C BUS input / output circuit Input (A2, SCL, WP)
Fig.47 Input pin circuit diagram
Input/Output (SDA)
Fig.48 Input /output pin circuit diagram
Notes on power ON
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 condition at power on.
1. Set SDA = 'H' and SCL ='L' or 'H'
2. Start power source so as to satisfy the recommended conditions of tR, tOFF, and Vbot for operating POR circuit.
VCC
tR
Recommended conditions of tR,tOFF,Vbot
tOFF
0
Fig.49 Rise waveform diagram
Vbot
tR tOFF Vbot
10ms or below 10ms or longer 0.3V or below
100ms or below 10ms or longer 0.2V or below
3. Set SDA and SCL 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 conditions 1 cannot be observed. When SDA becomes 'L' at power on .
Control SCL and SDA as shown below, to make SCL and SDA, 'H' and 'H'.
VCC
SCL
tL OW
SDA
After Vc c becomes s table
tSU:DAT tDH
Fig.50 When SCL='H' and SDA='L' Fig.51 When SCL='H' and SDA='L'
After Vcc becomes s tab le
tSU:DAT
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).
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
15/17
2010.01 - Rev.A
BU9889GUL-W
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 bypass capacitor (0.1µF) between IC Vcc and GND. At that moment, attach it as close to IC as possible. And, it is also recommended to attach a bypass capacitor between board Vcc 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.
Technical Note
(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.
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
16/17
2010.01 - Rev.A
BU9889GUL-W
)
V
Ordering part number
B U 9 8 8 9 G U L - W E 2
Technical Note
Part No. Part No. Package
CSP50L1
(BU9889GUL-W)
1PIN MARK
(φ0.15)INDEX POST
6-φ0.25±0.05
0.05
BA
0.30
B
B A
1.60±0.05
0.06 S
2
1
P=0.5×2
1.00±0.05
0.10±0.05
0.55MAX
S
A
0.25
0.5
3
(Unit : mm
GUL : VCSP50L1
<Tape and Reel information>
Embossed carrier tape(heat sealing method)Tape
Quantity
Direction of feed
3000pcs E2
The direction is the 1pin of product is at the upper left when you hold
()
reel on the left hand and you pull out the tape on the right hand
Reel
W-CELL Packaging and forming specification
E2: Embossed tape and reel
1pin
Order quantity needs to be multiple of the minimum quantity.
Direction of feed
www.rohm.com
© 2010 ROHM Co., Ltd. All rights reserved.
17/17
2010.01 - Rev.A
Notes
No copying or reproduction of this document, in part or in whole, is permitted without the consent of ROHM Co.,Ltd.
The content specied herein is subject to change for improvement without notice.
The content specied 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 specications, 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 specied 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 specied 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 parties. ROHM shall bear no responsibility whatsoever for any dispute arising from the use of such technical information.
Notice
The Products specied in this document are intended to be used with general-use electronic equipment or devices (such as audio visual equipment, ofce-automation equipment, commu­nication devices, electronic appliances and amusement devices).
The Products specied in this document are not designed to be radiation tolerant.
While ROHM always makes effor ts 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 injury (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 specied 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.
ROHM Customer Support System
www.rohm.com © 2010 ROHM Co., Ltd. All rights reserved.
http://www.rohm.com/contact/
R1010
A
Loading...