TECHNICAL NOTE Double-cell Memory for Plug & Play DDR/DDR2 (For memory module) SPD Memory BR34E02-W ●Description BR34E02FVT-W is 256×8 bit Electrically Erasable PROM (Based on Serial Presence Detect) ●Features ・256×8 bit architecture serial EEPROM ・Wide operating voltage range: 1.7V-3.6V ・Two-wire serial interface ・High reliability connection using Au pads and Au wires ・Self-Timed Erase and Write Cycle ・Page Write Function (16byte) ・Write Protect Mode Settable Reversible Write Protect Function: 00h-7Fh Write Protect 1 (Onetime Rom) : 00h-7Fh Write Protect 2 (Hardwire WP PIN) : 00h-FFh ・Low Power consumption Write (at 1.7V ) : 0.4mA (typ.) Read (at 1.7V ) : 0.1mA(typ.) Standby ( at 1.7V ) : 0.1μA(typ.) ・DATA security Write protect feature (WP pin) Inhibit to WRITE at low VCC ・Compact package: TSSOP-B8, VSON008X2030 ・High reliability fine pattern CMOS technology ・Rewriting possible up to 1,000,000 times ・Data retention: 40 years ・Noise reduction Filtered inputs in SCL / SDA ・Initial data FFh at all addresses ●BR34E02-W Series Capacity Bit format 2Kbit 256X8 Type BR34E02-W Power Source Voltage 1.7V~3.6V TSSOP-B8 ● VSON008X2030 ● Ver.A Aug.2007 ●Absolute Maximum Ratings (Ta=25℃) Parameter Supply Voltage Symbol VCC Rating -0.3~+6.5 330(BR34E02FVT-W) Power Dissipation Pd 300(BR34E02NUX-W) Storage Temperature Tstg -65~+125 Operating Temperature Topr -40~+85 Terminal Voltage (A0) -0.3~10.0 Terminal Voltage (etcetera) -0.3~VCC+0.3 * Reduce by 3.3mW(*1), 3.0 mW(*2)/°C over 25°C Unit V *1 *2 mW ℃ ℃ V V ●Recommended operating conditions Parameter Supply Voltage Input Voltage Symbol VCC VIN Rating 1.7~3.6 0~VCC Unit V V ●Memory cell characteristics(Ta=25℃, VCC=1.7V~3.6V) Specification Parameter Write / Erase Cycle *1 Data Retention *1 Unit Min. Typ. Max. 1,000,000 - - Cycles 40 - - Years *1:Not 100% TESTED ●Electrical characteristics - DC(Unless otherwise specified Ta=-40℃~+85℃, VCC=1.7V~3.6V) Parameter Symbol Specification Min. Typ. Max. Unit Test Condition "H" Input Voltage VIH1 0.7 VCC - Vcc+0.3 V "L" Input Voltage VIL1 - - 0.3 VCC V "L" Output Voltage 1 VOL1 -0.3 - 0.4 V IOL=2.1mA,2.5V≦VCC≦3.6V(SDA) "L" Output Voltage 2 VOL2 - - 0.2 V IOL=0.7mA,1.7V≦VCC<2.5V(SDA) Input Leakage Current 1 ILI1 -1 - 1 μA VIN=0V~VCC(A0,A1,A2,SCL) Input Leakage Current 2 ILI2 -1 - 15 μA VIN=0V~VCC(WP) Input Leakage Current 3 ILI3 -1 - 20 μA VIN=VHV(A0) Output Leakage Current ILO -1 - 1 μA VOUT=0V~VCC ICC1 - - 1.0 ICC2 - - 3.0 ICC3 - - 0.5 Standby Current ISB - - 2.0 A0 HV Voltage VHV 7 - 10 Operating Current ○Note: This IC is not designed to be radiation-resistant. 2/19 VCC=1.7V,fSCL=100kHz,tWR=5ms Byte Write Page Write Write Protect VCC =3.6V,fSCL=100kHz, tWR=5ms mA Byte Write Page Write Write Protect VCC =3.6V,fSCL=100kHz Random Read mA Current Read Sequential Read μA VCC =3.6V,SDA,SCL= VCC A0,A1,A2=GND,WP=GND mA V VHV-Vcc≧4.8V ●Electrical characteristics - AC(Unless otherwise specified Ta=-40℃~+85℃, VCC =1.7V~3.6V) Parameter FAST-MODE 2.5V≦VCC≦5.5V Min. Typ. Max. - - 400 0.6 - - 1.2 - - - - 0.3 - - 0.3 0.6 - - 0.6 - - 0 - - 100 - - 0.1 - 0.9 0.1 - - 0.6 - - 1.2 - - - - 5 Symbol Clock Frequency fSCL tHIGH Data Clock High Period tLOW Data Clock Low Period tR SDA and SCL Rise Time *1 tF SDA and SCL Fall Time *1 tHD:STA Start Condition Hold Time tSU:STA Start Condition Setup Time tHD:DAT Input Data Hold Time tSU:DAT Input Data Setup Time tPD Output Data Delay Time tDH Output Data Hold Time tSU:STO Stop Condition Setup Time tBUF Bus Free Time tWR Write Cycle Time Noise Spike Width (SDA tI and SCL) tHD:WP WP Hold Time tSU:WP WP Setup Time tHIGH:WP WP High Period STANDARD-MODE 1.7V≦VCC≦5.5V Min. Typ. Max. - - 100 4.0 - - 4.7 - - - - 1.0 - - 0.3 4.0 - - 4.7 - - 0 - - 250 - - 0.1 - 3.5 0.1 - - 4.0 - - 4.7 - - - - 5 Unit kHz μs μs μs μs μs μs ns ns μs μs μs μs ms - - 0.1 - - 0.1 μs 0 0.1 1.0 - - - - - - 0 0.1 1.0 - - - - - - ns μs μs *1:Not 100% TESTED ■Fast / Standard Modes Fast mode and Standard mode differ only in operation frequency. Operations performed at 100kHz are considered in "Standard-mode", while those conducted at 400kHz are in "Fast-mode". Please note that these clock frequencies are maximum values. At lower power supply voltage it is difficult to operate at high speeds. The EEPROM can operate at 400kHz, between 2.5V and 3.6V, and at 100kHz from 1.7V-2.5V. ●Synchronous Data Timing tR tF tHIGH SCL SCL tHD:STA tSU:DAT tLOW tHD:DAT SDA (IN) SDA tBUF tPD DATA(n) DATA(1) D1 D0 ACK ACK tDH tWR SDA (OUT) STOP BIT WP Fig.1-(a) Synchronous Data Timing tHD:WP tSU:WP ○ SDA data is latched into the chip at the rising edge ○ of SCL clock. ○ Output data toggles at the falling edge of SCL clock. Fig.1-(d) WP Timing Of The Write Operation SCL DATA(n) DATA(1) SCL SDA tSU:STA tHD:STA D1 tSU:STO D0 ACK ACK tHIGH : WP SDA WP STOP BIT START BIT Fig.1-(b) Start/Stop Bit Timing SCL SDA D0 ACK WRITE DATA(n) tWR STOP CONDITION START CONDITION tWR Fig.1-(e) WP Timing Of The Write Cancel Operation ○For WRITE operation, WP must be "Low" from the rising edge of the clock (which takes in D0 of first byte) until the end of tWR. (See Fig.1-(d) ) During this period, WRITE operation can be canceled by setting WP "High".(See Fig.1-(e)) ○When WP is set to "High" during tWR, WRITE operation is immediately ceased, making the data unreliable. It must then be re-written. Fig.1-(c) Write Cycle Timing 3/19 ●Block diagram PROTECT_MEMORY_ARRY A0 1 8 VCC 2Kbit_MEMORY_ARRY 8bit 8bit ADDRESS DECODER A1 2 8bit SLAVE , WORD ADDRESS REGISTER START A2 3 DATA REGISTER 7 WP STOP 6 SCL CONTOROL LOGIC ACK GND 4 HIGH VOLTAGE GEN. 5 SDA VCC LEVEL DETECT Fig.2 Block Diagram ●Pinout diagram and description Pin Name A0 1 BR34E02FVT-W 7 WP A2 3 BR34E02NUX-W 6 SCL GND 4 Functions VCC - GND - Ground 0V A0,A1,A2 IN Slave Address Set. SCL IN Serial Clock Input SDA IN / OUT WP IN 8 VCC A1 2 Input/Output Power Supply Slave and Word Address, *1 Serial Data Input, Serial Data Output 5 SDA Write Protect Input *2 *1 Open drain output requires a pull-up resistor. Fig.3 Pin Configuration *2 WP Pin has a Pull-Down resistor. Please leave unconnected or connect to GND when not in use. 6 5 5 4 4 SPEC 3 1 0.8 3 2 Ta=85℃ Ta=-40℃ Ta=25℃ 2 Ta=85℃ Ta=-40℃ Ta=25℃ 1 2 3 4 0 1 2 VCC[V] Fig.4 "H" Input Voltage VIH (A0,A1,A2,SCL,SDA,WP) SPEC 0.4 Ta=85℃ SPEC 0 1 0.6 Ta=25℃ 0.2 1 0 0 VOL1[V] 6 VIL1,2[V] VIH1,2[V] ●Electrical characteristics curves The following characteristic data are typ. value. 3 Ta=-40℃ 0 4 0 1 2 3 4 VCC[V] IOL1[mA] Fig.5 "L" Input Voltage VIL (A0,A1,A2,SCL,SDA,WP) Fig.6 "L" Output Voltage VOL1-IOL1 (VCC=2.5V) 1 1.2 16 SPEC SPEC 1 0.8 12 Ta=85℃ 0.4 0.6 8 0.4 Ta=25℃ SPEC ILI2[µA] ILI1[ μA] VOL2[V] 0.8 0.6 Ta=85℃ Ta=25℃ Ta=-40℃ 4 0.2 Ta=85℃ Ta=25℃ Ta=-40℃ 0.2 Ta=-40℃ 0 0 0 1 2 3 4 IOL2[mA] Fig.7 "L" Output Voltage VOL2-IOL2 (VCC=1.7V) 0 0 1 2 3 4 VCC[V] Fig.8 Input Leakage Current ILI1 (A0,A1,A2,SCL,SDA) 4/19 0 1 2 3 4 VCC[V] Fig.9 Input Leakage Current ILI2 (WP) 0.6 2.5 SPEC1 3 2.5 1.5 SPEC2 1 fSCL=100kHz DATA=AAh 0.3 1.5 1 Ta=85℃ 0.2 Ta=25℃ Ta=85℃ Ta=-40℃ 0.5 SPEC 2 0.4 fSCL=400kHz(VCC≧2.5V) fSCL=100kHz(1.7V≦Vcc<2.5V) DATA=AA 2 ICC3[mA] ICC1,2[mA] SPEC 0.5 ISB[µA] 3.5 Ta=25℃ 0.5 0.1 0 0 0 0 1 2 3 0 4 1 2 3 0 4 VCC[V] Ta=25℃ Ta=-40℃ SPEC2 4 4 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 2 10 1 2 3 1 0 0 4 1 2 3 4 0 SPEC1,2 4 1 Ta=-40℃ Ta=25℃ Ta=85℃ SPEC1 0 3 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 2 Ta=-40℃ Ta=25℃ Ta=85℃ 1 0 tHD:DAT(HIGH)[µs] tSU:STA[µs] 2 SPEC1 1 2 3 4 0 1 VCC[V] 2 Ta=85℃ Ta=25℃ Ta=-40℃ -50 -100 SPEC1:FAST-MODE SPEC2:STANDARD-MODE -150 0 0 4 50 SPEC2 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 3 Fig.15 Data Clock Low Period tLow 5 SPEC2 4 2 VCC[V] Fig.14 Data Clock High Period tHigh 5 3 1 VCC[V] VCC[V] Fig.13 Clock Frequency fSCL Ta=85℃ Ta=25℃ Ta=-40℃ SPEC1 0 1 tHD:STA[µs] SPEC1:FAST-MODE SPEC2:STANDARD-MODE 2 Ta=-40℃ Ta=25℃ Ta=85℃ SPEC1 1 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 3 tLOW[µs] 3 tHIGH[µs] fSCL[kHz] 1000 SPEC1 4 5 SPEC2 SPEC2 3 Fig.12 Standby Current ISB 5 Ta=85℃ 2 VCC[V] Fig.11 Read Operating Current ICC3 (fSCL=400kHz) 10000 0 1 VCC[V] Fig.10 Write Operating Current ICC1,2 (fSCL=100kHz,400kHz) 100 Ta=85℃ Ta=25℃ Ta=-40℃ Ta=-40℃ 3 -200 4 0 VCC[V] 1 2 3 4 VCC[V] Fig.17 Start Condition Setup Time tSU:STA 50 SPEC1,2 tSU:DAT(HIGH)[ns] tHD:DAT(LOW)[µs] 0 SPEC1:FAST-MODE -50 SPEC2:STANDARD-MODE -100 Ta=85℃ -150 1 300 200 200 SPEC1 100 2 3 4 VCC[V] Fig.19 Data Hold Time tHD:DAT(LOW) Ta=85℃ Ta=25℃ Ta=-40℃ 0 SPEC2 100 Ta=85℃ 0 Ta=25℃ -100 SPEC1:FAST-MODE SPEC2:STANDARD-MODE Ta=-40℃ -200 0 300 -100 Ta=25℃ Fig.18 Data Hold Time tHD:DAT(High) tSU:DAT(LOW)[ns] Fig.16 Start Condition Hold Time tHD:STA SPEC1:FAST-MODE SPEC2:STANDARD-MODE Ta=-40℃ -200 -200 0 1 2 3 4 VCC[V] Fig.20 Input Data Setup Time tSU:DAT(HIGH) 5/19 0 1 2 3 4 VCC[V] Fig.21 Input Data Setup Time tSU:DAT(LOW) 4 4 5 SPEC2 SPEC2 2 Ta=85℃ Ta=25℃ Ta=-40℃ SPEC1 1 SPEC2 0 SPEC1 0 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 2 1 3 VCC[V] Fig.22 Output Data Delay Time tPD SPEC1:FAST-MODE SPEC2:STANDARD-MODE 2 Ta=85℃ Ta=25℃ Ta=-40 ℃ SPEC1 0 1 2 4 3 1 SPEC1 0 2 Ta=85℃ Ta=25℃ Ta=-40℃ SPEC2 0 1 tSU:STO[µs] tDH[μs] SPEC1:FAST-MODE SPEC2:STANDARD-MODE tPD[μs] 4 3 3 3 0 4 1 2 3 4 VCC[V] VCC[V] Fig.23 Output Data Hold Time tDH Fig.24 Stop Condition Setup Time tSU:STO 5 0.6 6 SPEC2 SPEC1,2 4 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 0.5 5 tWR[ms] SPEC1:FAST-MODE SPEC2:STANDARD-MODE 2 SPEC1 Ta=85℃ 2 Ta=85℃ 1 3 2 3 4 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 0 1 VCC[V] 0 3 0.4 Ta=-40℃ Ta=25℃ 0.4 0 Ta=-40℃ Ta=85℃ 0.2 2 3 4 2 3 SPEC1,2 1 Ta=25℃ Ta=85℃ tHIGH:WP[μs] 0 0.8 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 0.6 0.4 -0.4 Ta=-40℃ Ta=25℃ Ta=85℃ 0.2 Ta=-40℃ -0.6 0 0 1 2 3 4 VCC[V] Fig.31 WP Setup Time tSU:WP 0 1 2 VCC[V] 3 Fig.32 WP High Period tHigh:WP 6/19 1 2 3 4 Fig.30 Noise Spike Width tI(SDA L) 1.2 -0.2 SPEC1,2 VCC[V] Fig.29 Noise Spike Width tI(SDA H) SPEC1:FAST-MODE SPEC2:STANDARD-MODE Ta=85℃ 0.2 0 4 VCC[V] SPEC1,2 Ta=25℃ 0 1 VCC[V] 0.2 Ta=-40℃ 0.3 0.1 0 Fig.28 Noise Spike Width tI(SCL L) 4 0.4 SPEC1,2 0 1 3 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 0.5 Ta=25℃ 0.3 2 Fig.27 Noise Spike Width tI(SCL H) 0.6 0.1 SPEC1,2 0 1 VCC[V] Ta=85℃ 0.1 tSU:WP[μs] 0 4 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 0.5 tI(SDA H)[μs] tI(SCL L)[μs] 2 0.6 SPEC1:FAST-MODE SPEC2:STANDARD-MODE 0.2 Ta=85℃ 0.2 Fig.26 Write Cycle Time tWR 0.6 0.3 0.3 VCC[V] Fig.25 Bus Free Time tBUF 0.5 Ta=25℃ SPEC1,2 0 1 0.4 0.1 1 Ta=25℃ Ta=-40℃ 0 0 Ta=25℃ tI(SDA L)[μs] tBUF[µs] 3 Ta=-40℃ tI(SCL H)[μs] Ta=-40℃ 4 4 2 ●Data transfer on the I C BUS 2 ○Data transfer on the I C BUS The BUS is considered to be busy after the START condition and free a certain time after the STOP condition. Every SDA byte must be 8-bits long and requires an ACKNOWLEDGE signal after each byte. The devices have Master and Slave configurations. The Master device initiates and ends data transfer on the BUS and generates the clock signals in order to permit transfer. The EEPROM in a slave configuration is controlled by a unique address. Devices transmitting data are referred to as the Transmitter. The devices receiving the data are called Receiver. ○START Condition (Recognition of the START bit) ・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.1-(b) START/STOP Bit Timing) ○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. (See Fig.1-(b) START/STOP Bit Timing) ○Write Protect By Soft Ware ・Set Write Protect command and permanent set Write Protect command set data of 00h~7Fh in 256 words write protection block. Clear Write Protect command can cancel write protection block which is set by set write Protect command. Cancel of write protection block which is set by permanent set Write Protect command at once is impossibility. When these commands are carried out, WP pin must be OPEN or GND. ○Acknowledge ・ Acknowledge is a software used to indicate successful data transfers. The Transmitter device will release the BUS after transmitting eight bits. When inputting the slave address during write or read operation, the Transmitter is the μ -COM. When outputting the data during read operation, the Transmitter is the EEPROM. ・During the ninth clock cycle the Receiver will pull the SDA line Low to verify that the eight bits of data have been received. (When inputting the slave address during write or read operation, EEPROM is the receiver. When outputting the data during read operation the receiver is the μ-COM.) ・The device will respond with an Acknowledge after recognition of a START condition and its slave address (8bit). ・In WRITE mode, the device will respond with an Acknowledge after the receipt of each subsequent 8-bit word (word address and write data). ・In READ mode, the device will transmit eight bits 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 standby mode. ○Device Addressing ・Following a START condition, the Master outputs the Slave address to be accessed. The most significant four bits of the slave address are the “device type indentifier.” For this EEPROM it is “1010.” (For WP register access this code is "0110".) ・The next three bits identify the specified device on the BUS (device address). The device address is defined by the state of the A0,A1 and A2 input pins. This IC works only when the device address input from the SDA pin corresponds to the status of the A0,A1 and A2 input pins. Using this address scheme allows up to eight devices to be connected to the BUS. 7/19 ・The last bit of the stream (R/W…READ/WRITE) determines the operation to be performed. R/W=0 R/W=1 Slave Address Set Pin A2 A1 A0 A2 A1 ・・・・ ・・・・ WRITE (including word address input of Random Read) READ Device Type 1010 A0 Device Address A2 A1 A0 A2 A1 A0 Read Write Mode R/W R/W Access Area 2kbit Access to Memory Access to Permanent Set Write Protect Memory Access to Set Write Protect Memroy Access to Clear Write Protect MEmory 0110 GND GND VHV 0 0 1 R/W GND Vcc VHV 0 1 1 R/W ○WRITE PROTECT PIN(WP) When WP pin set to Vcc (H level), write protect is set for 256 words (all address). When WP pin set to GND (L level), it is enable to write 256 words (all address). If permanent protection is done by Write Protect command, lower half area (00~7Fh address) is inhibited writing regardless of WP pin state. WP pin has a Pull-Down resistor. Please be left unconnected or connect to GND when WP feature is not in use. ○Confirm Write Protect Resistor by ACK According to state of Write Protect Resistor, ACK is as follows. State of Write WP Input Input Command ACK Address Protect Registor PSWP, SWP, CWP No ACK In case, Page or Byte Write protect by PSWP ACK WA7~WA0 (00~7Fh) SWP No ACK CWP ACK 0 PSWP ACK Page or Byte Write ACK WA7~WA0 In case, (00~7Fh) protect by SWP SWP No ACK ACK CSP 1 ACK PSWP ACK WA7~WA0 Page or Byte Write PSWP, SWP, CWP ACK 0 ACK In case, WA7~WA0 Page or Byte Write ACK Not protect PSWP, SWP, CWP 1 ACK Page or Byte Write WA7~WA0 ACK No ACK Write Cycle(tWR) No Data ACK No ACK ACK D7~D0 No ACK No No ACK ACK ACK - No ACK ACK ACK No Yes Yes ACK D7~D0 No ACK No No ACK ACK ACK ACK D7~D0 D7~D0 D7~D0 No ACK No ACK No ACK No No No No Yes Yes No No ACK ACK ACK ACK No ACK ACK ACK No ACK No ACK State of Write Protect Registor Command ACK Address ACK Data In case, protect by PSWP In case, protect by SWP PSWP, SWP, CWP SWP CWP No ACK No ACK ACK In case, Not protect PSWP PSWP, SWP, CWP ACK ACK - No ACK No ACK No ACK No ACK No ACK - 8/19 - is Don’t Care ACK No ACK No ACK No ACK No ACK No ACK ●Command ○Write Cycle During WRITE CYCLE operation data is written in the EEPROM. The Byte Write Cycle is used to write only one byte. In the case of writing continuous data consisting of more than one byte, Page Write is used. The maximum bytes that can be written at one time is 16 bytes. S T A R T SDA LINE W R I T E SLAVE ADDRESS WORD ADDRESS WA 7 1 0 1 0 A2 A1 A0 S T O P DATA WA 0 D7 D0 A C K A C K R A / C W K Fig.33 Byte Write Cycle Timing S T A R T SDA L IN E S LA V E ADDRESS W R I T E W ORD A D D R E S S (n ) WA 7 1 0 1 0 A 2A 1A 0 R A / C W K D A TA (n) WA 0 D7 A C K S T O P D A TA (n + 1 5) D0 D0 A C K A C K Fig.34 Page Write Cycle Timing ・With 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. ・Once programming is started no commands are accepted for tWR (5ms max.). ・This device is capable of sixteen-byte Page Write operations. ・If the Master transmits more than sixteen words prior to generating the STOP condition, the address counter will “roll over” and the previously transmitted data will be overwritten. ・When two or more byte of data are input, the four low order address bits are internally incremented by one after the receipt of each word, while the four higher order bits of the address (WA7~WA4) remain constant. 9/19 ●Command ○Read Cycle During Read Cycle operation data is read from the EEPROM. The Read Cycle is composed of Random Read Cycle and Current Read Cycle. The Random Read Cycle reads the data in the indicated address. The Current Read Cycle reads the data in the internally indicated address and verifies the data immediately after the Write Operation. The Sequential Read operation can be performed with both Current Read and Random Read. With the Sequential Read Cycle it is possible to continuously read the next data. S T A R T SDA L IN E W R I T E SLAVE ADDRESS W ORD A D D R E S S (n ) WA 7 1 0 1 0 A 2 A 1A 0 S T A R T WA 0 R A / C W K It is necessary to input “High” at last ACK timing. SLAVE ADDRESS R E A D S T O P D A TA (n) 1 0 1 0 A 2 A 1A 0 D7 D0 A C K R A / C W K A C K Fig.35 Random Read Cycle Timing S T A R T SDA LINE R E A D SLAVE ADDRESS 1 0 1 0 A2 A1 A0 S T O P DATA D7 It is necessary to input “High” at last ACK timing. D0 A C K R A / C W K Fig.36 Current Read Cycle Timing ・ Random Read operation allows the Master to access any memory location indicated by word address. ・ In cases where the previous operation is Random or Current Read (which includes Sequential Read), the 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 an Acknowledge is detected and no STOP condition is generated by the Master (μ-COM), the device will continue to transmit data. (It can transmit all data (2kbit 256word)) ・ If an Acknowledge is not detected, the device will terminate further data transmissions and await a STOP condition before returning to standby mode. ・ If an Acknowledge is detected with the "Low" level (not "High" level), the command will become Sequential Read, and the next data will be transmitted. Therefore, the Read command is not terminated. In order to terminate Read input Acknowledge with "High" always, then input a STOP condition. S T A R T SDA L IN E R E A D SLAVE ADDRESS 1 0 1 0 A 2A 1A 0 D7 R A / C W K Fig.37 D A T A (n ) S T O P D A T A (n + x) D0 D7 A C K A C K Sequential Read Cycle Timing (With Current Read) 10/19 D0 A C K It is necessary to input “High” at last ACK timing. ●Write Protect Cycle S T A R T SDA L IN E W R I T E SLAVE ADDRESS W ORD ADDRESS 0 1 1 0 A 2A 1A 0 * D ATA * R A / C W K WP S T O P * * A C K A C K *:D O N ’T C A R E Fig. 38 Permanent Write Protect Cycle ・Permanent set Write Protect command set data of 00h~7Fh in 256 words write protection block. Clear Write Protect command can cancel write protection block which is set by set write Protect command. Cancel of write protection block which is set by permanent set Write Protect command at once is impossibility. When these commands are carried out, WP pin must be OPEN or GND. ・Permanent Set Write Protect command needs tWR from stop condition same as Byete Write and Page Write, During tWR, input command is canceled. ・Refer to P8/19 about reply of ACK in each protect state. S T A R T SDA L IN E WP SLAVE ADDRESS W R I T E 0 1 1 0 0 0 1 W ORD ADDRESS * D ATA * R A / C W K S T O P * A C K * A C K *:D O N ’T C A R E Fig. 39 Set Write Protect Cycle ・Permanent set Write Protect command set data of 00h~7Fh in 256 words write protection block. Clear Write Protect command can cancel write protection block which is set by set write Protect command. Cancel of write protection block which is set by permanent set Write Protect command at once is impossibility. When these commands are carried out, WP pin must be OPEN or GND. ・Permanent Set Protect command needs tWR from stop condition same as Byete Write and Page Write, During tWR, input command is canceled. ・Refer to P8/19 about reply of ACk in each protect state. 11/19 S T A R T SDA L IN E W R I T E SLAVE ADDRESS 0 1 1 0 0 1 1 W ORD ADDRESS * WP D ATA * R A / C W K S T O P * A C K * A C K *:D O N ’T C A R E Fig. 40 Clear Write Protect Cycle ・Clear Write Protect command can cancel write protection block which is set by set write Protect command. Cancel of write protection block which is set by permanent set Write Protect command at once is impossibility. When these commands are carried out, WP pin must be OPEN or GND. ・Permanent Clear Write Protect command needs tWR from stop condition same as Byete Write and Page Write, During tWR, input command is canceled. ・Refer to P8/19 about reply of ACk in each protect state. ●Software Reset Execute software reset in the event that the device is in an unexpected state after power up and/or the command input needs to be reset. Below are three types(Fig.39 –(a), (b), (c)) of software reset: During dummy clock, release the SDA BUS (tied to VCC by a pull-up resistor). During this time the device may pull the SDA line Low for Acknowledge or the outputting of read data.If the Master sets the SDA line to High, it will conflict with the device output Low, which can cause current overload and result in instantaneous power down, which may damage the device. DUMMY CLOCK×14 SCL 1 2 13 START×2 14 COMMAND SDA COMMAND Fig.39-(a) DUMMY CLOCK×14 + START+START START 1 SCL START DUMMY CLOCK×9 2 8 9 COMMAND SDA COMMAND Fig.39-(b) START + DUMMY CLOCK×9 + START START×9 SCL 1 2 3 7 8 SDA 9 COMMAND COMMAND Fig.39-(c) START×9 * COMMAND starts with start condition. 12/19 ●Acknowledge polling Since the IC ignores all input commands during the internal write cycle, no ACK signal will be returned. When the Master sends the next command after the Write command, if the device returns an ACK signal it means that the program is completed. No ACK signal indicates that the device is still busy. Using Acknowledge polling decreases the waiting time by tWR=5ms. When operating Write or Current Read after Write, first transmit the Slave address (R/W is"High" or "Low"). After the device returns the ACK signal continue word address input or data output. During the internal write cycle, THE FIRST WRITE COMMAND no ACK will be returned. (ACK=High) S T A R T WRITE COMMAND S T A R T S T O P S T A R T A C K H SLAVE ADDRESS SLAVE ADDRESS A C K H ・・・ tWR THE SECOND WRITE COMMAND ・・・ S T A R T SLAVE ADDRESS S T A R T A C K H A C K L SLAVE ADDRESS WORD ADDRESS tWR A C K L DATA A C K L S T O P After the internal write cycle is completed, ACK will be returned (ACK=Low). Then input next Word Address and data. Fig.40 Successive Write Operation By Acknowledge Polling ●WP effective timing WP is normally fixed at "H" or "L". However, in case WP needs to be controlled in order to cancel the Write command, pay attention to “WP effective timing” as follows: The Write command is canceled by setting WP to "H" within the WP cancellation effective period. The period from the START condition to the rising edge of the clock (which takes in the data DO - the first byte of the Page Write data) is the ‘invalid cancellation period’. WP input is considered inconsequential during this period. The setup time for the rising edge of the SCL, which takes in DO, must be more than 100ns. The period from the rising edge of SCL (which takes in the data D0) to the end of internal write cycle (tWR) is the ‘effective cancellation period’. When WP is set to "H" during tWR, Write operation is stopped, making it necessary to rewrite the data. It is not necessary to wait for tWR (5ms max.) after stopping the Write command by WP because the device is in standby mode. ・The rising edge of the clock which take in D0 SCL SDA D1 D0 ・The rising edge ・of SDA SCL SDA ACK D0 AN ENLARGEMENT AN ENLARGEMENT SDA WP S A T SLAVE C WORD A K R ADDRESS L ADDRESS T ACK A A C C D7 D6 D5 D2 D0 D1 D4 D3 K K L L DATA A C K L S T O P tWR WP cancellation WP cancellation Stop of the write invalid period effective period operation Data is not No data will be written Fig.41 WP effective timing 13/19 guaranteed ●Command cancellation from the START and STOP conditions Command input is canceled by successive inputs of START and STOP conditions. (Refer to Fig.42) However, during ACK or data output, the device may set the SDA line to Low, making operation of the START and STOP conditions impossible, and thus preventing reset. In this case execute reset by software. (Refer to Fig.39) The internal address counter will not be determined when operating the Cancel command by the START and STOP conditions during Random, Sequential or Current Read. Operate a Random Read in this case. SCL SDA 1 0 1 0 START CONDITION STOP CONDITION Fig.42 Command cancellation by the START and STOP conditions during input of the Slave Address ●I/O Circuit ○SDA Pin Pull-up Resistor A pull-up resistor is required because SDA is an NMOS open drain. Determine the resistor value of (RPU) by considering the VIL and IL, and VOL-IOL characteristics. If a large RPU is chosen, the clock frequency needs to be slow. A smaller RPU will result in a larger operating current. ○Maximum RPU The maximum of RPU can be determined by the following factors. ①The SDA rise time determined by RPU and the capacitance of the BUS line(CBUS) must be less than tR. In addition, all other timings must be kept within the AC specifications. ②When the SDA BUS is High, the voltage A at the SDA BUS is determined from the total input leakage(IL) of all devices connected to the BUS. RPU must be higher than the input High level of the microcontroller and the device, including a noise margin 0.2VCC. ∴ RPU ≦ RPU 0.8VCC-VIH IL SDA PIN A Examples: When VCC =3V, IL=10μA, VIH=0.7 VCC According to ② RPU ≦ BR34E02 Microcontroller VCC-ILRPU-0.2 VCC ≧ VIH 0.8×3-0.7×3 -6 10×10 IL IL THE CAPACITANCE ≦ 300 [kΩ] OF BUS LINE (CBUS) Fig.43 I/O Circuit 14/19 ○ Minimum RPU The minimum value of RPU is determined by following factors. ①Meets the condition that VOLMAX=0.4V, IOLMAX=3mA when the output is Low. VCC-VOL ≦ IOL RPU ∴ RPU ≧ VCC-VOL IOL ②VOLMAX=0.4V must be lower than the input Low level of the microcontroller and the EEPROM including the recommended noise margin of 0.1VCC. VOLMAX ≦ VIL-0.1 VCC Examples: VCC=3V, VOL=0.4V, IOL=3mA, the VIL of the controller and the EEPROM is VIL=0.3VCC, According to ① RPU ≧ 3-0.4 3×10 -3 ≧ 867 [Ω] VOL=0.4[V] VIL=0.3×3 =0.9[V] so that condition ② is met and And ○SCL Pin Pull-up Resistor When SCL is controlled by the CMOS output the pull-up resistor at SCL is not required. However, should SCL be set to Hi-Z, connection of a pull-up resistor between SCL and VCC is recommended. Several kΩ are recommended for the pull-up resistor in order to drive the output port of the microcontroller. ●A0, A1, A2, WP Pin connections ○ Device Address Pin (A0, A1, A2) connections The status of the device address pins is compared with the device address sent by the Master. One of the devices that is connected to the identical BUS is selected. Pull up or down these pins or connect them to VCC or GND. Pins that are not used as device address (N.C.Pins) may be High, Low, or Hi-Z. ○ WP Pin connection The WP input allows or prohibits write operations. When WP is High, only Read is available and Write to all address is prohibited. Both Read and Write are available when WP is Low. In the event that the device is used as a ROM, it is recommended that the WP input be pulled up or connected to VCC. When both READ and WRITE are operated, the WP input must be pulled down or connected to GND or controlled. ●Microcontroller connection ○Concerning Rs The open drain interface is recommended for the SDA port in the I2C BUS. However, if the Tri-state CMOS interface is applied to SDA, insert a series resistor (Rs) between the SDA pin of the device and the pull up resistor RPU is recommended, since it will serve to limit the current between the PMOS of the microcontroller, and the NMOS of the EEPROM. Rs also protects the SDA pin from surges. Therefore, Rs is able to be used though open drain inout of the SDA port. ACK RPU SCL RS SDA 'H'OUTPUT OF CONTROLLER “L” OUTPUT OF EEPROM CONTROLLER The “H” output of controller and the “L” output of EEPROM may cause current overload to SDA line. EEPROM Fig.44 I/O Circuit Fig.45 Input/Output Collision Timing 15/19 ○ Rs Maximum The maximum value of Rs is determined by following factors. ①SDA rise time determined by RPU and the capacitance value of the BUS line (CBUS) of SDA must be less than tR. In addition, the other timings must be within the timing conditions of the AC. ②When the output from SDA is Low, the voltage of the BUS at A is determined by RPU, and Rs must be lower than the input Low level of the microcontroller, including recommended noise margin (0.1VCC). VCC RPU RS (VCC-VOL)×RS RPU+RS A VOL ∴ RS ≦ IOL BUS CAPACITANCE VIL + VOL+0.1VCC≦VIL VIL-VOL-0.1VCC 1.1VCC-VIL × RPU Examples : When VCC=3V VIL=0.3VCC VOL=0.4V RPU=20kΩ EEPROM CONTROLLER According to ② RS ≦ 0.3×3-0.4-0.1×3 1.1×3-0.3×3 × 20×103 ≦ 1.67[kΩ] Fig.46 I/O Circuit ○ Rs Minimum The minimum value of Rs is determined by the current overload during BUS conflict. Current overload may cause noises in the power line and instantaneous power down. The following conditions must be met, where “I” is the maximum permissible current, which depends on the Vcc line impedance as well as other factors. “I” current must be less than 10mA for EEPROM. Vcc ≦ RS I ∴ RS ≧ Vcc I RPU RS "L" OUTPUT Examples: When VCC=3V, I=10mA RS ≧ "H" OUTPUT MAXIMUM CURRENT CONTROLLER 3 10×10-3 ≧ 300[Ω] EEPROM Fig.47 I/O Circuit 16/19 2 ●I C BUS Input / Output equivalent circuits ○Input (A0,A2,SCL) Fig.48 Input Pin Circuit ○Input / Output (SDA) Fig.49 Input / Output Pin Circuit ○Input (A1) Fig.50 Input Pin Circuit ○Input (WP) Fig.51 Input Pin Circuit 17/19 ●Power Supply Notes VCC increases through the low voltage region where the internal circuit of IC and the microcontroller are unstable. In order to prevent malfunction, the IC has P.O.R and LVCC functionality. During power up, ensure that the following conditions are met to guaranty P.O.R. and LVCC operability. 1. "SDA='H'" and "SCL='L' or 'H'". 2. Follow the recommended conditions of tR, tOFF, Vbot so that P.O.R. will be activated during power up. tR VCC Recommended conditions of tR, tOFF, Vbot tR tOFF Vbot tOFF Below 10ms Vbot Above 10ms Below 0.3V Below 100ms Above 10ms Below 0.2V 0 Fig.52 VCC rising wavefrom 3. Prevent SDA and SCL from being "Hi-Z". In case that condition 1. and/or 2. cannot be met, take following actions. A) If unable to keep Condition 1 (SDA is "Low" during power up) →Make sure that SDA and SCL are "High" as in the figure below. VCC tLOW SCL SDA After Vcc becomes stable After Vcc becomes stable tDH tSU:DAT Fig.53 SCL="H" and SDA="L" tSU:DAT Fig.54 SCL="L" and SDA="L" B) If unable to keep Condition 2 →After the power stabilizes, execute software reset. (See page 9,10) C) If unable to keep either Condition 1 or 2 →Follow Instruction A first, then B ●LVCC Circuit The LVCC circuit prevents Write operation at low voltage and prevents inadvertent writing. A voltage below the LVCC voltage (1.2V typ.) prohibits Write operation. ●VCC Noise ○Bypass Capacitor Noise and surges on the power line may cause abnormal function. It is recommended that bypass capacitors (0.1μF) be attached between VCC and GND externally. ●Cautions On Use 1) Descrived 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) Heat design In consideration of permissible dissipation in actual use condition, carry out heat design with sufficient margin. 6) Terminal to terminal short circuit and wrong packaging When to package LSI on to a board, pay sufficient attention to LSI direction and displacement. Wrong packaging may destruct LSI. And in the case of short circuit 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, therfore, evaluate design sufficiently. 18/19 ●Selection of order type B R ROHM type 3 4 BUS type E 0 Product type 2 F V T W Package type Capacity 02=2K E Double Cell FVT:TSSOP-B8 NUX:VSON008X2030 2 Package specifications E2:reel shape emboss taping TR: reel shape emboss taping ●Package Specifications TSSOP-B8 <Dimensions> <Tape and Reel Information> 3.0±0.2 5 1 4 Direction of feed E2 (Pin 1is at the upper left when holding the reel with the left hand while pulling the tape out towards the right) 0.15±0.1 0.1 1234 1234 1234 (Unit:mm) 1234 Reel 1234 0.65 1234 0.22±0.1 1234 (0.52) Embossed carer tape 2500pcs 1234 1.15±0.1 0.1 6.4±0.3 4.4±0.2 0.3Min. 8 Tape Quantity Direction of feed Pin 1 ※Please order in multiples of the minimum quantity VSON008X2030 <Dimension> <Tape and Reel information> Tape Embossed carrier tape Quantity 4000pcs Direction of feed TR (The direction is the 1pin of product is at the upper light when you hold reel on the left hand and you pull out the tape on the right hand) 1Pin Direction of feed Reel ※When you order , please order in times the amount of package quantity. (Unit:mm) Catalog No.05T325Be '05.10 ROHM C 1000 TSU 19/19 Appendix Notes No technical content pages of this document may be reproduced in any form or transmitted by any means without prior permission of ROHM CO.,LTD. The contents described herein are subject to change without notice. The specifications for the product described in this document are for reference only. Upon actual use, therefore, please request that specifications to be separately delivered. Application circuit diagrams and circuit constants contained herein are shown as examples of standard use and operation. Please pay careful attention to the peripheral conditions when designing circuits and deciding upon circuit constants in the set. Any data, including, but not limited to application circuit diagrams information, described herein are intended only as illustrations of such devices and not as the specifications for such devices. ROHM CO.,LTD. disclaims any warranty that any use of such devices shall be free from infringement of any third party's intellectual property rights or other proprietary rights, and further, assumes no liability of whatsoever nature in the event of any such infringement, or arising from or connected with or related to the use of such devices. Upon the sale of any such devices, other than for buyer's right to use such devices itself, resell or otherwise dispose of the same, no express or implied right or license to practice or commercially exploit any intellectual property rights or other proprietary rights owned or controlled by ROHM CO., LTD. is granted to any such buyer. Products listed in this document are no antiradiation design. The products listed in this document are designed to be used with ordinary electronic equipment or devices (such as audio visual equipment, office-automation equipment, communications devices, electrical appliances and electronic toys). Should you intend to use these products with equipment or devices which require an extremely high level of reliability and the malfunction of which would directly endanger human life (such as medical instruments, transportation equipment, aerospace machinery, nuclear-reactor controllers, fuel controllers and other safety devices), please be sure to consult with our sales representative in advance. It is our top priority to supply products with the utmost quality and reliability. However, there is always a chance of failure due to unexpected factors. Therefore, please take into account the derating characteristics and allow for sufficient safety features, such as extra margin, anti-flammability, and fail-safe measures when designing in order to prevent possible accidents that may result in bodily harm or fire caused by component failure. ROHM cannot be held responsible for any damages arising from the use of the products under conditions out of the range of the specifications or due to non-compliance with the NOTES specified in this catalog. Thank you for your accessing to ROHM product informations. More detail product informations and catalogs are available, please contact your nearest sales office. ROHM Customer Support System www.rohm.com Copyright © 2007 ROHM CO.,LTD. THE AMERICAS / EUPOPE / ASIA / JAPAN Contact us : webmaster@ rohm.co. jp 21, Saiin Mizosaki-cho, Ukyo-ku, Kyoto 615-8585, Japan TEL : +81-75-311-2121 FAX : +81-75-315-0172 Appendix1-Rev2.0