To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.com April 1st, 2010 Renesas Electronics Corporation Issued by: Renesas Electronics Corporation (http://www.renesas.com) Send any inquiries to http://www.renesas.com/inquiry. Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. When exporting the products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and “Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc. “Standard”: 8. 9. 10. 11. 12. Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. “High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anticrime systems; safety equipment; and medical equipment not specifically designed for life support. “Specific”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majorityowned subsidiaries. (Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics. R1EX25008ASA00I/R1EX25008ATA00I R1EX25016ASA00I/R1EX25016ATA00I Serial Peripheral Interface 8k EEPROM (1024-word × 8-bit) 16k EEPROM (2048-word × 8-bit) Electrically Erasable and Programmable Read Only Memory REJ03C0396-0100 Rev.1.00 Nov.24.2009 Description R1EX25xxx Series is the Serial Peripheral Interface compatible (SPI) EEPROM (Electrically Erasable and Programmable ROM). It realizes high speed, low power consumption and a high level of reliability by employing advanced MONOS memory technology and CMOS process and low voltage circuitry technology. It also has a 32-byte page programming function to make it’s write operation faster. Features • Single supply: 1.8 V to 5.5 V • Serial Peripheral Interface compatible (SPI bus) SPI mode 0 (0,0), 3 (1,1) • Clock frequency: 5 MHz (2.5 V to 5.5 V), 3 MHz (1.8 V to 5.5 V) • Power dissipation: Standby: 3 µA (max) Active (Read): 2.5 mA (max) Active (Write): 3.0 mA (max) • Automatic page write: 32-byte/page • Write cycle time: 5 ms • Endurance: 1,000k Cycles @25 °C • Data retention: 100 Years @25 °C • Small size packages: SOP-8pin, TSSOP-8pin • Shipping tape and reel TSSOP-8pin: 3,000 IC/reel SOP-8pin: 2,500 IC/reel • Temperature range: −40 to +85 °C • Lead free product. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 1 of 20 R1EX25008Axx00I/R1EX25016Axx00I Ordering Information Type No. R1EX25008ASA00I Internal organization 8-kbit (1024 × 8-bit) R1EX25016ASA00I 16-kbit (2048 × 8-bit) R1EX25008ATA00I 8-kbit (1024 × 8-bit) R1EX25016ATA00I 16-kbit (2048 × 8-bit) Operating voltage 1.8 V to 5.5 V 1.8 V to 5.5 V Frequency 5 MHz (2.5 V to 5.5 V) 3 MHz (1.8 V to 5.5V) 5 MHz (2.5 V to 5.5 V) 3 MHz (1.8 V to 5.5 V) Pin Arrangement 8-pin SOP/TSSOP S 1 8 VCC Q 2 7 HOLD W 3 6 C VSS 4 5 D (Top view) Pin Description C Pin name Function Serial clock D Serial data input Q Serial data output S Chip select W Write protect HOLD Hold VCC Supply voltage VSS Ground REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 2 of 20 Package 150mil 8-pin plastic SOP PRSP0008DF-B (FP-8DBV) Lead free 8-pin plastic TSSOP PTSP0008JC-B (TTP-8DAV) Lead free R1EX25008Axx00I/R1EX25016Axx00I Block Diagram High voltage generator VCC HOLD Memory array Y decoder C Address generator W Control logic S X decoder VSS D Y-select & Sense amp. Serial-parallel converter Q Absolute Maximum Ratings Parameter Supply voltage relative to VSS Symbol VCC Value −0.6 to + 7.0 Unit V VIN Topr Tstg −0.5*2 to +7.0*3 −40 to +85 −55 to +125 V °C °C Input voltage relative to VSS 1 Operating temperature range* Storage temperature range Notes: 1. Including electrical characteristics and data retention. 2. VIN (min): −3.0 V for pulse width ≤ 50 ns. 3. Should not exceed VCC + 1.0 V. DC Operating Conditions Parameter Symbol Min Typ Max Unit VCC 1.8 5.5 V VSS 0 0 0 Supply voltage Input voltage V 2 VIH VCC × 0.7 VCC + 0.5* VIL −0.3*1 VCC × 0.3 V −40 +85 °C Operating temperature range Topr Notes: 1. VIN (min): −1.0 V for pulse width ≤ 50 ns. 2. VIN (max): VCC + 1.0 V for pulse width ≤ 50 ns. Capacitance (Ta = +25°C, f = 1 MHz) Parameter Input capacitance (D,C, S , W, HOLD ) Output capacitance (Q) Note: Symbol Cin*1 1 CI/O* Min Typ Max 6.0 8.0 Unit pF pF Test conditions Vin = 0 V Vout = 0 V 1. Not 100% tested. Memory cell characteristics (VCC = 1.8 V to 5.5 V) Ta=25°C Endurance Data retention 1,000k Cycles min. 100 Years min. Notes: 1. Not 100% tested REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 3 of 20 Ta=85°C 100k Cycles min. 10 Years min. Notes 1 1 V R1EX25008Axx00I/R1EX25016Axx00I DC Characteristics Parameter Input leakage current Symbol ILI Min Max 2 Unit µA ILO 2 µA Standby ISB 3 µA Active ICC1 2 mA 2.5 mA 2 mA 3.0 mA VCC × 0.8 VCC × 0.8 0.4 0.4 V V V V Output leakage current VCC current ICC2 Output voltage REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 4 of 20 VOL1 VOL2 VOH1 VOH2 Test conditions VCC = 5.5 V, VIN = 0 to 5.5 V (S, D, C, HOLD, W) VCC = 5.5 V, VOUT = 0 to 5.5 V (Q) VIN = VSS or VCC, VCC = 5.5 V VCC = 3.6 V, Read at 5 MHz VIN = VCC × 0.1/VCC × 0.9 Q = OPEN VCC = 5.5 V, Read at 5 MHz VIN = VCC × 0.1/VCC × 0.9 Q = OPEN VCC = 3.6 V, Write at 5 MHz VIN = VCC × 0.1/VCC × 0.9 VCC = 5.5 V, Write at 5 MHz VIN = VCC × 0.1/VCC × 0.9 VCC = 5.5 V, IOL = 2 mA VCC = 2.5 V, IOL = 1.5 mA VCC = 5.5 V, IOH = −2 mA VCC = 2.5 V, IOH = −0.4 mA R1EX25008Axx00I/R1EX25016Axx00I AC Characteristics Test Conditions • Input pules levels: VIL = VCC × 0.2 VIH = VCC × 0.8 • Input rise and fall time: ≤ 10 ns • Input and output timing reference levels: VCC × 0.3, VCC × 0.7 • Output reference levels: VCC × 0.5 • Output load: 100 pF (Ta = −40 to +85°C, VCC = 2.5 V to 5.5 V) Parameter Clock frequency S active setup time S not active setup time S deselect time S active hold time S not active hold time Clock high time Clock low time Clock rise time Clock fall time Data in setup time Data in hold time Clock low hold time after HOLD not active Clock low hold time after HOLD active Clock high setup time before HOLD active Clock high setup time before HOLD not active Output disable time Clock low to output valid Output hold time Output rise time Output fall time HOLD high to output low-Z HOLD low to output high-Z Write time Notes: 1. tCH + tCL ≥ 1/fC 2. Not 100% tested. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 5 of 20 Symbol Alt Min Max Unit Notes fC tSLCH tSHCH tSHSL tCHSH tCHSL tCH tCL fSCK tCSS1 tCSS2 tCS tCSH — tCLH tCLL 90 90 90 90 90 90 90 5 MHz ns ns ns ns ns ns ns 1 1 tCLCH tCHCL tDVCH tCHDX tHHCH tHLCH tCHHL tCHHH tRC tFC tDSU tDH 20 30 70 40 60 60 1 1 µs µs ns ns ns ns ns ns 2 2 tSHQZ tCLQV tCLQX tQLQH tQHQL tHHQX tHLQZ tW tDIS tV tHO tRO tFO tLZ tHZ tWC 0 100 70 50 50 50 100 5 ns ns ns ns ns ns ns ms 2 2 2 2 2 R1EX25008Axx00I/R1EX25016Axx00I (Ta = −40 to +85°C, VCC = 1.8 V to 5.5 V) Parameter Clock frequency S active setup time S not active setup time S deselect time S active hold time S not active hold time Clock high time Clock low time Clock rise time Clock fall time Data in setup time Data in hold time Clock low hold time after HOLD not active Clock low hold time after HOLD active Clock high setup time before HOLD active Clock high setup time before HOLD not active Output disable time Clock low to output valid Output hold time Output rise time Output fall time HOLD high to output low-Z HOLD low to output high-Z Write time Notes: 1. tCH + tCL ≥ 1/fC 2. Not 100% tested. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 6 of 20 Symbol fC tSLCH tSHCH tSHSL tCHSH tCHSL tCH tCL tCLCH tCHCL tDVCH tCHDX tHHCH tHLCH tCHHL tCHHH Alt fSCK tCSS1 tCSS2 tCS tCSH tCLH tCLL tRC tFC tDSU tDH Min 100 100 150 100 100 150 150 30 50 140 90 120 120 Max 3 1 1 Unit MHz ns ns ns ns ns ns ns µs µs ns ns ns ns ns ns Notes tSHQZ tCLQV tCLQX tQLQH tQHQL tHHQX tHLQZ tW tDIS tV tHO tRO tFO tLZ tHZ tWC 0 200 120 100 100 100 100 5 ns ns ns ns ns ns ns ms 2 1 1 2 2 2 2 2 2 R1EX25008Axx00I/R1EX25016Axx00I Timing Waveforms Serial Input Timing tSHSL S tCHSL tCHSH tSHCH tSLCH C tDVCH D tCHCL tCLCH tCHDX MSB IN LSB IN High Impedance Q Hold Timing S tHHCH tHLCH tCHHL C tCHHH D tHLQZ tHHQX Q HOLD Output Timing S tSHQZ tCH C tCL D ADDR LSB IN tCLQV tCLQX tCLQX Q tCLQV LSB OUT tQLQH tQHQL REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 7 of 20 R1EX25008Axx00I/R1EX25016Axx00I Pin Function Serial data output (Q) This output signal is used to transfer data serially out of the device. Data is shifted out on the falling edge of serial clock (C). Serial data input (D) This input signal is used to transfer data serially into the device. It receives instructions, addresses, and the data to be written. Values are latched on the rising edge of serial clock (C). Serial clock (C) This input signal provides the timing of the serial interface. Instructions, addresses, or data present at serial data input (D) are latched on the rising edge of serial clock (C). Data on serial data output (Q) changes after the falling edge of serial clock (C). Chip select ( ) When this input signal is high, the device is deselected and serial data output (Q) is at high impedance. Unless an internal write cycle is in progress, the device will be in the standby mode. Driving chip select (S) low enables the device, placing it in the active power mode. After power-up, a falling edge on chip select (S) is required prior to the start of any instruction. Hold ( ) The hold (HOLD) signal is used to pause any serial communications with the device without deselecting the device. During the hold condition, the serial data output (Q) is high impedance, and serial data input (D) and serial clock (C) are don’t care. To start the hold condition, the device must be selected, with chip select (S) driven low. Write protect ( ) The main purpose of this input signal is to freeze the size of the area of memory that is protected against write instructions (as specified by the values in the BP1 and BP0 bits of the status register). This pin must be driven either high or low, and must be stable during all write operations. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 8 of 20 R1EX25008Axx00I/R1EX25016Axx00I Functional Description Status Register The following figure shows the Status Register Format. The Status Register contains a number of status and control bits that can be read or set (as appropriate) by specific instructions. Status Register Format b7 SRWD b0 0 0 0 BP1 BP0 WEL WIP Status Register Write Disable Block Protect Bits Write Enable Latch Bits Write In Progress Bits WIP bit: The Write In Progress (WIP) bit indicates whether the memory is busy with a Write or Write Status Register cycle. WEL bit: The Write Enable Latch (WEL) bit indicates the status of the internal Write Enable Latch. BP1, BP0 bits: The Block Protect (BP1, BP0) bits are non-volatile. They define the size of the area to be software protected against Write instructions. SRWD bit: The Status Register Write Disable (SRWD) bit is operated in conjunction with the write protect (W) signal. The Status Register Write Disable (SRWD) bit and write protect (W) signal allow the device to be put in the Hardware Protected mode. In this mode, the non-volatile bits of the Status Register (SRWD, BP1, BP0) become read-only bits. Instructions Each instruction starts with a single-byte code, as summarized in the following table . If an invalid instruction is sent (one not contained in the following table), the device automatically deselects itself. Instruction Set Instruction Description Instruction Format 0000 0110 WREN Write Enable WRDI Write Disable 0000 0100 RDSR Read Status Register 0000 0101 WRSR Write Status Register 0000 0001 READ Read from Memory Array 0000 0011 WRITE Write to Memory Array 0000 0010 REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 9 of 20 R1EX25008Axx00I/R1EX25016Axx00I Write Enable (WREN): The Write Enable Latch (WEL) bit must be set prior to each WRITE and WRSR instruction. The only way to do this is to send a Write Enable instruction to the device. As shown in the following figure, to send this instruction to the device, chip select (S) is driven low, and the bits of the instruction byte are shifted in, on serial data input (D). The device then enters a wait state. It waits for the device to be deselected, by chip select (S) being driven high. Write Enable (WREN) Sequence S W VIH VIL VIH VIL 0 C D 1 2 3 4 5 VIH VIL Instruction VIH VIL Q REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 10 of 20 High-Z 6 7 R1EX25008Axx00I/R1EX25016Axx00I Write Disable (WRDI): One way of resetting the Write Enable Latch (WEL) bit is to send a Write Disable instruction to the device. As shown in the following figure, to send this instruction to the device, chip select (S) is driven low, and the bits of the instruction byte are shifted in, on serial data input (D). The device then enters a wait state. It waits for the device to be deselected, by chip select (S) being driven high. The Write Enable Latch (WEL) bit, in fact, becomes reset by any of the following events: Power-up WRDI instruction execution WRSR instruction completion WRITE instruction completion Write Disable (WRDI) Sequence S W VIH VIL VIH VIL 0 C D 1 2 3 4 5 VIH VIL Instruction VIH VIL Q REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 11 of 20 High-Z 6 7 R1EX25008Axx00I/R1EX25016Axx00I Read Status Register (RDSR): The Read Status Register (RDSR) instruction allows the Status Register to be read. The Status Register may be read at any time, even while a Write or Write Status Register cycle is in progress. When one of these cycles is in progress, it is recommended to check the Write In Progress (WIP) bit before sending a new instruction to the device. It is also possible to read the Status Register continuously, as shown in the following figure. Read Status Register (RDSR) Sequence S W VIH VIL VIH VIL 0 C D 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 VIH VIL VIH VIL Status Register Out Q High-Z 7 6 5 4 3 2 1 0 7 The status and control bits of the Status Register are as follows: WIP bit: The Write In Progress (WIP) bit indicates whether the memory is busy with a Write or Write Status Register cycle. When set to 1, such a cycle is in progress. When reset to 0, no such cycles are in progress. WEL bit: The Write Enable Latch (WEL) bit indicates the status of the internal Write Enable Latch. When set to 1, the internal Write Enable Latch is set. When set to 0, the internal Write Enable Latch is reset and no Write or Write Status Register instructions are accepted. BP1, BP0 bits: The Block Protect (BP1, BP0) bits are non-volatile. They define the size of the area to be software protected against Write instructions. These bits are written with the Write Status Register (WRSR) instruction. When one or both of the Block Protect (BP1, BP0) bits are set to 1, the relevant memory area (as defined in the Status Register Format table) becomes protected against Write (WRITE) instructions. The Block Protect (BP1, BP0) bits can be written provided that the Hardware Protected mode has not been set. SRWD bit: The Status Register Write Disable (SRWD) bit is operated in conjunction with the write protect (W) signal. The Status Register Write Disable (SRWD) bit and write protect (W) signal allows the device to be put in the Hardware Protected mode (When the Status Register Write Disable (SRWD) bit is set to 1, and write protect (W) signal is driven low). In this mode, the non-volatile bits of the Status Register (SRWD, BP1, BP0) become read-only bits and the Write Status Register (WRSR) instruction is no longer accepted for execution. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 12 of 20 R1EX25008Axx00I/R1EX25016Axx00I Write Status Register (WRSR): The Write Status Register (WRSR) instruction allows new values to be written to the Status Register. Before it can be accepted, a Write Enable (WREN) instruction must previously have been executed. After the Write Enable (WREN) instruction has been decoded and executed, the device sets the Write Enable Latch (WEL). The instruction sequence is shown in the following figure. The Write Status Register (WRSR) instruction has no effect on b6, b5, b4, b1 and b0 of the Status Register. b6, b5 and b4 are always read as 0. Chip select (S) must be driven high after the rising edge of serial clock (C) that latches in the eighth bit of the data byte, and before the next rising edge of serial clock (C). Otherwise, the Write Status Register (WRSR) instruction is not executed. As soon as chip select (S) is driven high, the self-timed Write Status Register cycle (whose duration is tW) is initiated. While the Write Status Register cycle is in progress, the Status Register may still be read to check the value of the Write In Progress (WIP) bit. The Write In Progress (WIP) bit is 1 during the self-timed Write Status Register cycle, and is 0 when it is completed. When the cycle is completed, Write Enable Latch (WEL) is reset. The Write Status Register (WRSR) instruction allows the user to change the values of the Block Protect (BP1, BP0) bits, to define the size of the area that is to be treated as read-only, as defined in the Status Register Format table. The Write Status Register (WRSR) instruction also allows the user to set or reset the Status Register Write Disable (SRWD) bit in accordance with the write protect (W) signal. The Status Register Write Disable (SRWD) bit and write protect (W) signal allows the device to be put in the Hardware Protected Mode (HPM). The Write Status Register (WRSR) instruction is not executed once the Hardware Protected Mode (HPM) is entered. The contents of the Status Register Write Disable (SRWD) and Block Protect (BP1, BP0) bits are frozen at their current values just before the start of the execution of the Write Status Register (WRSR) instruction. The new, updated values take effect at the moment of completion of the execution of Write Status Register (WRSR) instruction. Write Status Register (WRSR) Sequence S W VIH VIL VIH VIL 0 C 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 VIH VIL Status Register In D VIH VIL Q REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 13 of 20 7 MSB High-Z 6 5 4 3 2 1 0 R1EX25008Axx00I/R1EX25016Axx00I Read from Memory Array (READ): As shown in the following figure, to send this instruction to the device, chip select (S) is first driven low. The bits of the instruction byte and the address bytes are then shifted in, on serial data input (D). The addresses are loaded into an internal address register, and the byte of data at that address is shifted out, on serial data output (Q). If chip select (S) continues to be driven low, the internal address register is automatically incremented, and the byte of data at the new address is shifted out. When the highest address is reached, the address counter rolls over to zero, allowing the Read cycle to be continued indefinitely. The whole memory can, therefore, be read with a single READ instruction. The Read cycle is terminated by driving chip select (S) high. The rising edge of the chip select (S) signal can occur at any time during the cycle. The addressed first byte can be any byte within any page. The instruction is not accepted, and is not executed, if a Write cycle is currently in progress. Read from Memory Array (READ) Sequence S W VIH VIL VIH VIL C VIH 0 1 2 3 4 5 6 7 8 20 21 22 23 24 25 26 27 28 29 30 31 VIL 16-Bit Address Instruction D 9 10 VIH A15 A14 A13 A3 A2 A1 A0 VIL Data Out 1 Q Note: Data Out 2 High-Z 7 6 5 4 3 2 1 0 7 1. Depending on the memory size, as shown in the following table, the most significant address bits are don’t care. Address Range Bits Device R1EX25016A Address bits A10 to A0 Notes: 1. b15-b11 are don’t care on the R1EX25016A 2. b15-b10 are don’t care on the R1EX25008A REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 14 of 20 R1EX25008A A9 to A0 R1EX25008Axx00I/R1EX25016Axx00I Write to Memory Array (WRITE): As shown in the following figure, to send this instruction to the device, chip select (S) is first driven low. The bits of the instruction byte, address byte, and at least one data byte are then shifted in, on serial data input (D). The instruction is terminated by driving chip select (S) high at a byte boundary of the input data. In the case of the following figure, this occurs after the eighth bit of the data byte has been latched in, indicating that the instruction is being used to write a single byte. The self-timed Write cycle starts, and continues for a period tWC (as specified in AC Characteristics). At the end of the cycle, the Write In Progress (WIP) bit is reset to 0. If, though, chip select (S) continues to be driven low, as shown in the following figure, the next byte of the input data is shifted in, so that more than a single byte, starting from the given address towards the end of the same page, can be written in a single internal Write cycle. Each time a new data byte is shifted in, the least significant bits of the internal address counter are incremented. If the number of data bytes sent to the device exceeds the page boundary, the internal address counter rolls over to the beginning of the page, and the previous data there are overwritten with the incoming data. (The page size of these device is 32 bytes). The instruction is not accepted, and is not executed, under the following conditions: If the Write Enable Latch (WEL) bit has not been set to 1 (by executing a Write Enable instruction just before) If a Write cycle is already in progress If the addressed page is in the region protected by the Block Protect (BP1 and BP0) bits. Byte Write (WRITE) Sequence (1 Byte) S W VIH VIL VIH VIL C VIH 0 1 2 3 4 VIH 7 8 9 10 20 21 22 23 24 25 26 27 28 29 30 31 16-Bit Address 15 14 13 3 2 Data Byte 1 1 0 7 6 5 4 3 2 1 0 VIL Q Note: 6 VIL Instruction D 5 High-Z 1. Depending on the memory size, as shown in Address Range Bits table, the most significant address bits are don’t care. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 15 of 20 R1EX25008Axx00I/R1EX25016Axx00I Byte Write (WRITE) Sequence (Page) S W VIH VIL VIH VIL C 0 VIH 1 2 3 4 5 6 7 8 9 16-Bit Address VIH 15 14 13 W 3 Data Byte 1 2 1 0 7 6 5 4 3 2 1 1 0 0 VIL High-Z Q S 20 21 22 23 24 25 26 27 28 29 30 31 VIL Instruction D 10 VIH VIL VIH VIL C VIH 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 VIL Data Byte 2 D 7 6 5 4 3 2 Q Note: Data Byte 3 1 0 7 6 5 4 3 2 Data Byte N 1 0 6 5 4 3 2 High-Z 1. Depending on the memory size, as shown in Address Range Bits table, the most significant address bits are don’t care. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 16 of 20 R1EX25008Axx00I/R1EX25016Axx00I Data Protect The protection features of the device are summarized in the following table. When the Status Register Write Disable (SRWD) bit of the Status Register is 0 (its initial delivery state), it is possible to write to the Status Register provided that the Write Enable Latch (WEL) bit has previously been set by a Write Enable (WREN) instruction, regardless weather write protect (W) is driven high or low. When the Status Register Write Disable (SRWD) bit of the Status Register is set to 1, two cases need to be considered, depending on the state of write protect (W): If write protect (W) is driven high, it is possible to write to the Status Register provided that the Write Enable Latch (WEL) bit has previously been set by a Write Enable (WREN) instruction. If write protect (W) is driven low, it is not possible to write to the Status Register even if the Write Enable Latch (WEL) bit has previously been set by a Write Enable (WREN) instruction. (Attempts to write to the Status Register are rejected, and are not accepted for execution). As a consequence, all the data bytes in the memory area that are software protected (SPM) by the Block Protect (BP1, BP0) bits of the Status Register, are also hardware protected against data modification. Regardless of the order of the two events, the Hardware Protected Mode (HPM) can be entered: By setting the Status Register Write Disable (SRWD) bit after driving write protect (W) low. By driving write protect (W) low after setting the Status Register Write Disable (SRWD) bit. The only way to exit the Hardware Protected Mode (HPM) once entered is to pull write protect (W) high. If write protect (W) is permanently tied high, the Hardware Protected Mode (HPM) can never be activated, and only the Software Protected Mode (SPM), using the Block Protect (BP1, BP0) bits of the Status Register, can be used. Write Protected Block Size 0 0 1 1 Status register bits BP1 BP0 0 1 0 1 Protected blocks None Upper quarter Upper half Whole memory Array addresses protected R1EX25016A R1EX25008A None None 600h − 7FFh 300h − 3FFh 400h − 7FFh 200h − 3FFh 000h − 7FFh 000h − 3FFh Protection Modes signal SRWD bit 1 0 0 0 1 1 0 1 Note: Mode Write protection of the status register Memory protect Protected area*1 Software Status register is writable Write protected protected (SPM) (if the WREN) instruction has set the WEL bit). The values in the BP1 and BP0 bits can be changed. 1 Unprotected area* Ready to accept Write instructions Hardware Status register is Write protected Ready to accept Write protected (HPM) hardware write instructions protected. The values in the BP1 and BP0 bits cannot be changed. 1. As defined by the values in the Block Protected (BP1, BP0) bits of the Status Register, as shown in the former table. REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 17 of 20 R1EX25008Axx00I/R1EX25016Axx00I Hold Condition The hold (HOLD) signal is used to pause any serial communications with the device without resetting the clocking sequence. During the hold condition, the serial data output (Q) is high impedance, and serial data input (D) and serial clock (C) are don’t care. To enter the hold condition, the device must be selected, with chip select (S) low. Normally, the device is kept selected, for the whole duration of the hold condition. Deselecting the device while it is in the hold condition, has the effect of resetting the state of the device, and this mechanism can be used if it is required to reset any processes that had been in progress. The hold condition starts when the hold (HOLD) signal is driven low at the same time as serial clock (C) already being low (as shown in the following figure). The hold condition ends when the hold (HOLD) signal is driven high at the same time as serial clock (C) already being low. The following figure also shows what happens if the rising and falling edges are not timed to coincide with serial clock (C) being low. Hold Condition Activation HOLD status HOLD status C HOLD Notes Data Protection at VCC On/Off When VCC is turned on or off, noise on S inputs generated by external circuits (CPU, etc) may act as a trigger and turn the EEPROM to unintentional program mode. To prevent this unintentional programming, this EEPROM have a power on reset function. Be careful of the notices described below in order for the power on reset function to operate correctly. • S should be fixed to VCC during VCC on/off. Low to high or high to low transition during VCC on/off may cause the trigger for the unintentional programming. • VCC should be turned on/off after the EEPROM is placed in a standby state. • VCC should be turned on from the ground level (VSS) in order for the EEPROM not to enter the unintentional programming mode. • VCC turn on rate should be slower than 2 µs/V. • When WRSR or WRITE instruction is executed before VCC turns off, VCC should be turned off after waiting write cycle time (tW). REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 18 of 20 R1EX25008Axx00I/R1EX25016Axx00I Package Dimensions R1EX25008ASA00I/R1EX25016ASA00I (PRSP0008DF-B / Previous Code: FP-8DBV) JEITA Package Code P-SOP8-3.9x4.89-1.27 RENESAS Code PRSP0008DF-B *1 Previous Code FP-8DBV D 8 MASS[Typ.] 0.08g NOTE) 1. DIMENSIONS"*1 (Nom)"AND"*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION"*3"DOES NOT INCLUDE TRIM OFFSET. F 5 *2 c E HE bp Reference Symbol Index mark Terminal cross section ( Ni/Pd/Au plating ) Dimension in Millimeters Min Nom Max D 4.89 5.15 E 3.90 A2 1 Z 4 e *3 A1 bp x 0.14 L1 0.35 0.40 0.45 0.15 0.20 0.25 6.02 6.20 b1 c A c A1 θ L y Detail F 0.254 1.73 bp 1 θ 0° HE 5.84 8° 1.27 e x 0.25 y 0.10 Z 0.69 0.406 L L REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 19 of 20 0.102 A M 1 0.60 1.06 0.889 R1EX25008Axx00I/R1EX25016Axx00I R1EX25008ATA00I/R1EX25016ATA00I (PTSP0008JC-B / Previous Code: TTP-8DAV) JEITA Package Code P-TSSOP8-4.4x3-0.65 RENESAS Code PTSP0008JC-B *1 D 8 MASS[Typ.] 0.034g Previous Code TTP-8DAV F 5 NOTE) 1. DIMENSIONS"*1 (Nom)"AND"*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION"*3"DOES NOT INCLUDE TRIM OFFSET. c HE *2 E bp Reference Symbol Terminal cross section ( Ni/Pd/Au plating ) Dimension in Millimeters Min Nom Max D 3.00 3.30 E 4.40 A2 Index mark A1 0.03 0.07 0.15 0.20 0.25 0.10 0.15 0.20 6.40 6.60 A L1 0.10 1.10 bp b1 1 4 e c *3 bp x c M θ A1 A Z L Detail F y θ 0° HE 6.20 e 8° 0.65 0.13 x y 0.10 Z 0.805 L L REJ03C0396-0100 Rev.1.00 Nov.24.2009 Page 20 of 20 1 0.40 1 0.50 1.00 0.60 Revision History Rev. 1.00 Date Nov.24.2009 R1EX25008Axx00I/R1EX25016Axx00I Data Sheet Contents of Modification Page Initial issue Description Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries. http://www.renesas.com RENESAS SALES OFFICES Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900 Renesas Technology (Shanghai) Co., Ltd. Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120 Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7858/7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2377-3473 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 Renesas Technology Korea Co., Ltd. Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145 Renesas Technology Malaysia Sdn. Bhd Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: <603> 7955-9390, Fax: <603> 7955-9510 © 2009. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .7.2