S-25C010A/020A/040A CMOS SPI SERIAL E2PROM www.sii-ic.com Rev.4.1_00_C (c) Seiko Instruments Inc., 2007-2011 The S-25C010A/020A/040A is a SPI serial E2PROM which operate at high speed, with low current consumption and the wide range operation. The S-25C010A/020A/040A has the capacity of 1 K-bit, 2 K-bit, 4 K-bit and the organization of 128 words x 8bit, 256 words x 8-bit, 512 words x 8-bit. Page write and sequential read are available. Features * Operating voltage range Read: 1.6 V to 5.5 V Write: 1.7 V to 5.5 V 5.0 MHz (VCC = 2.5 V to 5.5 V) 4.0 ms max. * Operation frequency: * Write time: * SPI mode (0, 0) and (1, 1) * Page write: 16 bytes / page * Sequential read * Write protect: Software, Hardware Protect area: 25%, 50%, 100% * Monitors Write to the memory by a status register * Function to prevent malfunction by monitoring clock pulse * Write protect function during the low power supply * CMOS schmitt input ( CS , SCK, SI, WP , HOLD ) * Endurance: 106cycles / word*1 (Ta = +25C), * Data retention: 100 years (Ta = +25C) * Memory capacity: S-25C010A 1 K-bit S-25C020A 2 K-bit S-25C040A 4 K-bit * Initial shipment data: FFh, BP1 = 0, BP0 = 0 * Lead-free, Sn 100%, halogen-free*2 *1. For each address (Word: 8-bit) *2. Refer to " Product Name Structure" for details. Packages * 8-Pin SOP (JEDEC) * 8-Pin TSSOP * TMSOP-8 * SNT-8A Caution This product is intended to use in general electronic devices such as consumer electronics, office equipment, and communications devices. Before using the product in medical equipment or automobile equipment including car audio, keyless entry and engine control unit, contact to SII is indispensable. Seiko Instruments Inc. 1 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Pin Configurations 1. 8-Pin SOP (JEDEC) 8-Pin SOP (JEDEC) Top view Table 1 Pin No. Symbol *1 1 8 1 2 7 2 SO 3 4 5 6 WP GND SI*1 SCK*1 7 HOLD 3 6 4 5 Figure 1 CS Description Chip select input Serial data output *1 *1 Write protect input Ground Serial data input Serial clock input Hold input 8 VCC Power supply *1. Do not use it in high impedance. S-25C010A0I-J8T1x S-25C020A0I-J8T1x S-25C040A0I-J8T1x 2. 8-Pin TSSOP 8-Pin TSSOP Top view Table 2 Pin No. 1 2 3 4 8 7 6 5 Figure 2 S-25C010A0I-T8T1x S-25C020A0I-T8T1x S-25C040A0I-T8T1x 1 Symbol CS *1 2 SO 3 4 5 6 WP GND SI*1 SCK*1 7 HOLD *1 Description Chip select input Serial data output *1 Write protect input Ground Serial data input Serial clock input Hold input 8 VCC Power supply *1. Do not use it in high impedance. 3. TMSOP-8 TMSOP-8 Top view 1 2 3 4 Table 3 8 7 6 5 Figure 3 S-25C010A0I-K8T3U S-25C020A0I-K8T3U S-25C040A0I-K8T3U 2 Pin No. Symbol 1 CS *1 Chip select input 2 SO Serial data output 3 *1 4 5 6 WP GND SI*1 SCK*1 7 HOLD *1 Description Write protect input Ground Serial data input Serial clock input Hold input 8 VCC Power supply *1. Do not use it in high impedance. Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 4. SNT-8A SNT-8A Top view Table 4 Pin No. 1 2 3 4 8 7 6 5 Figure 4 S-25C010A0I-I8T1x S-25C020A0I-I8T1x S-25C040A0I-I8T1x 1 Symbol CS *1 2 SO 3 4 5 6 WP GND SI*1 SCK*1 7 HOLD *1 8 VCC Description Chip select input Serial data output *1 Write protect input Ground Serial data input Serial clock input Hold input Power supply *1. Do not use it in high impedance. Remark 1. Refer to the "Package drawings" for the details 2. x: G or U 3. Please select products of environmental code = U for Sn 100%, halogen-free products. Seiko Instruments Inc. 3 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Block Diagram Step-up Circuit Voltage Detector SCK SI HOLD WP Clock Counter Mode Decoder Data Register Address Register Output Control Circuit SO Status Register Read Circuit VCC GND Figure 5 4 Seiko Instruments Inc. X Decoder Input Control Circuit CS Page Latch Memory Cell Array Status Memory Cell Array Y Decoder CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Absolute Maximum Ratings Table 5 Item Power supply voltage Input voltage Output voltage Operation ambient temperature Storage temperature Symbol VCC VIN VOUT Topr Tstg Absolute Maximum Rating -0.3 to +7.0 -0.3 to +7.0 -0.3 to VCC + 0.3 -40 to +85 -65 to +150 Unit V V V C C Caution The absolute maximum ratings are rated values exceeding which the product could suffer physical damage. These values must therefore not be exceeded under any conditions. Recommended Operating Conditions Table 6 Item Symbol Power supply voltage VCC High level input voltage Low level input voltage VIH VIL Condition Read Operation Write Operation VCC = 1.6 V to 5.5 V VCC = 1.6 V to 5.5 V Ta = -40C to +85C Min. Max. 1.6 1.7 0.7 x VCC -0.3 Unit 5.5 5.5 VCC + 1.0 0.3 x VCC V V V V Pin Capacitance Table 7 Item Input capacitance Output capacitance Symbol Condition (Ta = +25C, f = 1.0 MHz, VCC = 5.0 V) Min. Max. Unit CIN VIN = 0 V ( CS , SCK, SI, WP , HOLD ) - 8 pF COUT VOUT = 0 V (SO) - 10 pF Endurance Table 8 Item Symbol Endurance NW *1. For each address (Word: 8-bit) Operation Ambient Temperature Ta = +25C Min. 106 Max. - Unit cycles / word*1 Min. 100 Max. - Unit year Data Retention Table 9 Item Data retention Symbol - Operation Ambient Temperature Ta = +25C Seiko Instruments Inc. 5 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C DC Electrical Characteristics Table 10 Item Current consumption (READ) Ta = -40C to +85C VCC = 1.6 V to 2.5 V VCC = 2.5 V to 4.5 V VCC = 4.5 V to 5.5 V Symbol Condition fSCK = 2.0 MHz fSCK = 5.0 MHz fSCK = 5.0 MHz Min. Max. Min. Max. Min. Max. No load at - 1.5 - 2.0 - 2.5 ICC1 SO pin Unit mA Table 11 Item Current consumption (WRITE) Ta = -40C to +85C VCC = 1.7 V to 2.5 V VCC = 2.5 V to 4.5 V VCC = 4.5 V to 5.5 V Symbol Condition fSCK = 2.0 MHz fSCK = 5.0 MHz fSCK = 5.0 MHz Min. Max. Min. Max. Min. Max. No load at - 2.0 - 2.5 - 3.0 ICC2 SO pin Unit mA Table 12 Ta = -40C to +85C Item Symbol Condition VCC=1.6 V to 2.5 V Min. Standby current consumption Input leakage current Output leakage current Low level output voltage High level output voltage 6 ISB ILI ILO VOL1 VOL2 VOH1 VOH2 CS = VCC, SO = Open - Other inputs are VCC or GND VIN = GND to VCC - VOUT = GND to VCC - IOL = 2.0 mA - IOL = 1.5 mA - IOH = -2.0 mA - IOH = -0.4 mA 0.8 x VCC VCC=2.5 V to 4.5 V VCC=4.5 V to 5.5 V Unit Max. Min. Max. Min. Max. 1.5 - 1.5 - 1.5 A 1.0 1.0 - 0.4 - - - - - - 0.8 x VCC 0.8 x VCC 1.0 1.0 0.4 0.4 - - - - - - 0.8 x VCC 0.8 x VCC 1.0 1.0 0.4 0.4 - - A A V V V V Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C AC Electrical Characteristics Table 13 Measurement Conditions Input pulse voltage Output reference voltage Output load 0.2 x VCC to 0.8 x VCC 0.5 x VCC 100 pF Table 14 Item SCK clock frequency CS setup time during CS falling CS setup time during CS rising CS deselect time CS hold time during CS falling CS hold time during CS rising SCK clock time "H" *1 SCK clock time "L" *1 Rising time of SCK clock *2 Falling time of SCK clock *2 SI data input setup time SI data input hold time SCK "L" hold time during HOLD rising SCK "L" hold time during HOLD falling SCK "L" setup time during HOLD falling SCK "L" setup time during HOLD rising Disable time of SO output *2 Delay time of SO output Hold time of SO output Rising time of SO output *2 Falling time of SO output *2 Disable time of SO output during HOLD falling *2 Delay time of SO output during HOLD rising *2 WP setup time WP hold time WP release / setup time WP release / hold time Symbol fSCK tCSS.CL tCSS.CH tCDS tCSH.CL tCSH.CH tHIGH tLOW tRSK tFSK tDS tDH VCC = 1.6 V to 2.5 V Min. Max. - 2.0 150 - 150 - 200 - 200 - 150 - 200 - 200 - - 1 - 1 50 - 60 - Ta = -40C to +85C VCC = 2.5 V to 4.5 V Min. Max. - 5.0 90 - 90 - 90 - 90 - 90 - 90 - 90 - - 1 - 1 20 - 30 - VCC = 4.5 V to 5.5 V Min. Max. - 5.0 90 - 90 - 90 - 90 - 90 - 90 - 90 - - 1 - 1 20 - 30 - Unit MHz ns ns ns ns ns ns ns s s ns ns tSKH.HH 150 - 70 - 70 - ns tSKH.HL 100 - 40 - 40 - ns tSKS.HL 150 - 60 - 60 - ns tSKS.HH 150 - 60 - 60 - ns tOZ tOD tOH tRO tFO - - 0 - - 200 150 - 100 100 - - 0 - - 100 70 - 40 40 - - 0 - - 100 70 - 40 40 ns ns ns ns ns tOZ.HL - 200 - 100 - 100 ns tOD.HH - 150 - 50 - 50 ns tWS1 tWH1 tWS2 tWH2 0 0 0 60 - - - - 0 0 0 30 - - - - 0 0 0 30 - - - - ns ns ns ns *1. The clock cycle of the SCK clock (frequency fSCK) is 1 / fSCK s. This clock cycle is determined by a combination of several AC characteristics. Note that the clock cycle cannot be set as (1 / fSCK) = tLOW (min.) + tHIGH (min.) by minimizing the SCK clock cycle time. *2. These are values of sample and not 100% tested. Seiko Instruments Inc. 7 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Table 15 Item Write time Symbol tPR Ta = -40C to +85C VCC = 1.7 V to 5.5 V Min. Max. - 4.0 Unit ms tCDS CS tCSH.CL tCSS.CH tCSH.CH tCSS.CL SCK tDS SI tDH tRSK MSB IN tFSK LSB IN High-Z SO Figure 6 Serial Input Timing CS tSKS.HL tSKH.HL tSKH.HH SCK tSKS.HH SI tOZ.HL tOD.HH SO HOLD Figure 7 Hold Timing 8 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C tSCK CS tOZ tHIGH SCK tLOW ADDR SI LSB IN tOD tOH tOD tOH SO LSB OUT tRO tFO Figure 8 Serial Output Timing tWS1 tWH1 CS WP Figure 9 Valid Timing in Write Protect tWS2 tWH2 CS WP Figure 10 Invalid Timing in Write Protect Seiko Instruments Inc. 9 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Pin Functions 1. CS (Chip select input ) pin This is an input pin to set a chip in the select status. In the "H" input level, the device is in the non-select status and its output is high impedance. The device is in standby as long as it is not in Write inside. The device goes in active by setting the chip select to "L". Input any instruction code after power-on and a falling of chip select. 2. SI (Serial data input ) pin This pin is to input serial data. This pin receives an instruction code, an address and Write data. This pin latches data at rising edge of serial clock. 3. SO (Serial data output ) pin This pin is to output serial data. The data output changes at falling edge of serial clock. 4. SCK (Serial clock input ) pin This is a clock input pin to set the timing of serial data. An instruction code, an address and Write data are received at a rising edge of clock. Data is output at falling edge of clock. 5. WP (Write protect input ) pin This is an input pin to protect memory data when Write instruction (WRITE, WRSR) is being input. By setting this pin to "L", the WEL bit in the status register is set to "L". Therefore S-25C010A/020A/040A does not Write to the E2PROM, however, it accepts other instructions. Fix this pin "H" or "L" not to set it in the floating state. Refer to " Protect Operation" for details. 6. HOLD (HOLD input ) pin This pin is used to pause serial communications without setting the device in the non-select status. In the hold status, the serial output goes in high impedance, the serial input and the serial clock go in "Don't care". During the hold operation, be sure to set the device in active by setting the chip select ( CS pin) to "L". Refer to " Hold Operation" for details. Initial Shipment Data Initial shipment data of all addresses is "FFh". Moreover, initial shipment data of the status register nonvolatile memory is as follows. * BP1 = 0 * BP0 = 0 10 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Instruction Sets Table 16 and 17 are the lists of instruction for the S-25C010A/020A/040A. The instruction is able to be input by changing the CS pin "H" to "L". Input the instruction in the MSB first. Each instruction code is organized with 1-byte as shown below. If the S-25C010A/020A/040A receives any invalid instruction code, the device goes in the non-select status. 1. S-25C010A/020A Table 16 Instruction Set Instruction Operation Instruction Code SCK Input Clock 1 to 8 0000 X110 0000 X100 0000 X101 0000 X001 0000 X011 0000 X010 Address SCK Input Clock 9 to 16 - - b7 to b0 output *1 b7 to b0 input A7*2 to A0 A7*2 to A0 WREN Write enable WRDI Write disable RDSR Read the status register WRSR Write in the status register READ Read memory data WRITE Write memory data *1. Sequential data reading is possible. *2. In the S-25C010A, A7 = Don't care because the address range is A6 to A0. *3. After outputting data in the specified address, data in the following address is output. Data SCK Input Clock 17 to 24 - - - - D7 to D0 output *3 D7 to D0 input Remark X = Don't care. 2. S-25C040A Table 17 Instruction Set Instruction Operation Instruction Code SCK Input Clock 1 to 8 0000 X110 0000 X100 0000 X101 0000 X001 0000 [A8*2] 011 0000 [A8*2] 010 Address SCK Input Clock 9 to 16 - - b7 to b0 output *1 b7 to b0 input A7 to A0 A7 to A0 WREN Write enable WRDI Write disable RDSR Read the status register WRSR Write in the status register READ Read memory data WRITE Write memory data *1. Sequential data reading is possible. *2. In the S-25C040A, assign bit A8 in the address into the fifth bit in an instruction code. *3. After outputting data in the specified address, data in the following address is output. Data SCK Input Clock 17 to 24 - - - - D7 to D0 output *3 D7 to D0 input Remark X = Don't care. Seiko Instruments Inc. 11 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Operation 1. Status register The status register's organization is below. The status register can Write and Read by a specific instruction. b7 b6 b5 b4 b3 b2 b1 b0 1 1 1 1 BP1 BP0 WEL WIP Block Protect Write Enable Latch Write In Progress Figure 11 Organization of Status Register The status/control bits of the status register are as follows. 1. 1 BP1, BP0 (b3, b2) : Block Protect Bit BP1 and BP0 are composed of the nonvolatile memory. The area size of Software Protect against WRITE instruction is defined by them. Rewriting these bits is possible by the WRSR instruction. To protect the memory area against the WRITE instruction, set either or both of bit BP1 and BP0 to "1". Rewriting bit BP1 and BP0 is possible unless they are in Hardware Protect mode ( WP pin is "L"). Refer to " Protect Operation" for details of "Block Protect". 1. 2 WEL (b1) : Write Enable Latch Bit WEL shows the status of internal Write Enable Latch. Bit WEL is set by the WREN instruction only. If bit WEL is "1", this is the status that Write Enable Latch is set. If bit WEL is "0", Write Enable Latch is in reset, so that the S25C010A/020A/040A does not receive the WRITE or WRSR instruction. Bit WEL is reset after these operations; * * * * * The power supply voltage is dropping Power-on After performing WRDI After the Write operation by the WRSR instruction has completed After the Write operation by the WRITE instruction has completed * After setting the WP pin to "L" 12 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 1. 3 WIP (b0) : Write In Progress Bit WIP is Read Only and shows whether the internal memory is in the Write operation or not by the WRITE or WRSR instruction. Bit WIP is "1" during the Write operation but "0" during any other status. Figure 12 shows the usage example. CS WRITE or WRSR instruction RDSR instruction SI D2 D1 D0 RDSR instruction RDSR RDSR RDSR BB PP 1 0 SO RDSR instruction 1111 BB PP 1 0 BB PP 1 0 1111 11 11 WEL, WIP WEL, WIP 1111 00 WEL, WIP tPR Figure 12 Usage Example of WEL, WIP Bits during Write Seiko Instruments Inc. 13 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 2. Write enable (WREN) Before writing data (WRITE and WRSR), be sure to set bit Write Enable Latch (WEL). This instruction is to set bit WEL. Its operation is below. After selecting the device by the chip select ( CS ), input the instruction code from serial data input (SI). To set bit WEL, set the device in the non-select status by CS at the 8th clock of the serial clock (SCK). To cancel the WREN instruction, input the clock different from a specified value (n = 8 clock) while CS is in "L". CS WP SCK High 1 2 3 4 5 6 7 8 Instruction SI SO X High-Z - Remark X = Don't care. Figure 13 WREN Operation 14 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 3. Write disable (WRDI) The WRDI instruction is one of ways to reset bit Write Enable Latch (WEL). After selecting the device by the chip select ( CS ), input the instruction code from serial data input (SI). To reset bit WEL, set the device in the non-select status by CS at the 8th clock of the serial clock. To cancel the WRDI instruction, input the clock different from a specified value (n = 8 clock) while CS is in "L". Bit WEL is reset after the operations shown below. * * * * * The power supply voltage is dropping Power on After performing WRDI After the completion of Write operation by the WRSR instruction After the completion of Write operation by the WRITE instruction * After setting the WP pin to "L" CS WP SCK High / Low 1 2 3 4 5 6 7 8 Instruction SI SO X High-Z Remark X = Don't care. Figure 14 WRDI Operation Seiko Instruments Inc. 15 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 4. Read the status register (RDSR) Reading data in the status register is possible by the RDSR instruction. During the Write operation, it is possible to confirm the progress by checking bit WIP. Set the chip select ( CS ) "L" first. After that, input the instruction code from serial data input (SI). The status of bit in the status register is output from serial data output (SO). Sequential Read is available for the status register. To stop the Read cycle, set CS to "H". It is possible to read the status register always. The bits in it are valid and can be read by RDSR even in the Write cycle. However, during the Write cycle in progress, the nonvolatile bits BP1, BP0 are fixed in a certain value. These updated values of bit can be obtained by inputting another new RDSR instruction after the Write cycle has completed. Contrarily, two of Read Only bits WEL and WIP are being updated while the Write cycle is in progress. b7, b6, b5, b4 are "1" when they are read by the RDSR instruction. CS WP SCK High / Low 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Instruction SI X Outputs Data in the Status Register SO High-Z b7 b6 Remark X = Don't care. Figure 15 RDSR Operation 16 Seiko Instruments Inc. b5 b4 b3 b2 b1 b0 b7 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 5. Write in the status register (WRSR) The values of status register (BP1, BP0) can be rewritten by inputting the WRSR instruction. But b7, b6, b5, b4, b1, b0 of status register cannot be rewritten. b7 to b4 are always "1" when reading the status register. Before inputting the WRSR instruction, set bit WEL by the WREN instruction. The operation of WRSR is shown below. Set the chip select ( CS ) "L" first. After that, input the instruction code and data from serial data input (SI). To start WRSR Write (tPR), set the chip select ( CS ) to "H" after inputting data or before inputting a rising of the next serial clock. It is possible to confirm the operation status by reading the value of bit WIP during WRSR Write. Bit WIP is "1" during Write, "0" during any other status. Bit WEL is reset when Write is completed. With the WRSR instruction, the values of BP1 and BP0; which determine the area size the users can handle as the Read Only memory; can be changed. But if the signal WP is in "L", S-25C010A/020A/040A does not send the WRSR instruction (Refer to " Protect Operation"). Bit BP1, BP0 keep the value which is the one prior to the WRSR instruction during the WRSR instruction. The newly updated value is changed when the WRSR instruction has completed. To cancel the WRSR instruction, input the clock different from a specified value (n = 16clock) while CS is in "L". CS WP SCK High 1 2 3 4 5 6 7 8 9 Instruction X SI SO 10 11 12 13 14 15 16 Inputs Data in the Status Register b7 b6 b5 b4 b3 b2 b1 b0 High-Z Remark X = Don't care. Figure 16 WRSR Operation Seiko Instruments Inc. 17 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 6. Read memory data (READ) The Read operation is shown below. Input the instruction code and the address from serial data input (SI) after inputting "L" to the chip select ( CS ). The input address is loaded to the internal address counter, and data in the address is output from the serial data output (SO). Next, by inputting the serial clock (SCK) keeping the chip select ( CS ) in "L", the address is automatically incremented so that data in the following address is sequentially output. The address counter rolls over to the first address by increment in the last address. To finish the Read cycle, set CS to "H". It is possible to raise the chip select always during the cycle. During Write, the read instruction code is not be accepted or operated. CS WP SCK High / Low 1 2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 8-bit Address Instruction SI 8 A7*1 A6 A5 A4 A3 A2 A1 A0 X Outputs the First Byte SO High-Z D7 D6 D5 D4 D3 D2 D1 D0 *1 In the S-25C010A, A7 = Don't care because the address range is A6 to A0. Remark X = Don't care. Figure 17 READ Operation (S-25C010A/020A) 18 Seiko Instruments Inc. Outputs the Second D7 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C CS WP SCK High / Low 1 2 3 4 5 6 Instruction SI A8*1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 8-bit Address A7 A6 A5 A4 A3 A2 A1 A0 Outputs the First Byte SO High-Z D7 D6 D5 D4 D3 D2 D1 D0 Outputs the Second D7 *1 In the S-25C040A, assign bit A8 in the address into the fifth bit in an instruction code. Figure 18 READ Operation (S-25C040A) Seiko Instruments Inc. 19 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 7. Write memory data (WRITE) Figure 19 and 20 show the timing chart when inputting 1-byte data. Input the instruction code, the address and data from serial data input (SI) after inputting "L" to the chip select ( CS ). To start Write (tPR), set the chip select ( CS ) to "H" after inputting data or before inputting a rising of the next serial clock. Bit WIP is reset to "0" when Write has completed. The S-25C010A/020A/040A can Page Write of 16 bytes. Its function to transmit data is as same as Byte Write basically, but it operates Page Write by receiving sequential 8-bit Write data as much data as page size has. Input the instruction code, the address and data from serial data input (SI) after inputting "L" in CS , as the WRITE operation (page) shown in Figure 21 and 22. Input the next data while keeping CS in "L". After that, repeat inputting data of 8-bit sequentially. At the end, by setting CS to "H", the WRITE operation starts (tPR). 4 of the lower bits in the address are automatically incremented every time when receiving Write data of 8-bit. Thus, even if Write data exceeds 16 bytes, the higher bits in the address do not change. And 4 of lower bits in the address roll over so that Write data which is previously input is overwritten. These are cases when the WRITE instruction is not accepted or operated. * Bit WEL is not set to "1" (not set to "1" beforehand immediately before the WRITE instruction) * During Write * The address to be written is in the protect area by BP1 and BP0. * The signal WP is in "L". To cancel the WRITE instruction, input the clock different from a specified value (n = 16+m x 8clock) while CS is in "L". 20 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C CS WP SCK High 1 2 3 4 5 6 7 8 9 10 Instruction 12 13 14 15 16 17 18 19 20 21 22 23 24 Data Byte 1 8-bit Address A7*1 A6 A5 A4 A3 A2 A1 A0 A7 A6 A5 A4 A3 A2 A1 A0 X SI 11 High-Z SO *1 In the S-25C010A, A7 = Don't care because the address range is A6 to A0. Remark X = Don't care. Figure 19 WRITE Operation (1-byte) (S-25C010A/020A) CS WP SCK High 1 2 3 4 5 6 Instruction SI SO 7 8 9 10 11 12 13 14 15 16 17 18 8-bit Address A8*1 19 20 21 22 23 24 Data Byte 1 A7 A6 A5 A4 A3 A2 A1 A0 A7 A6 A5 A4 A3 A2 A1 A0 High-Z *1 In the S-25C040A, assign bit A8 in the address into the fifth bit in an instruction code. Figure 20 WRITE Operation (1-byte ) (S-25C040A) Seiko Instruments Inc. 21 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C CS WP High 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 SCK A7*1 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 X SI Data Byte (n) 8-bit Address Instruction Data Byte (n + x) D4 D3 D2 D1 D0 High-Z SO *1 In the S-25C010A, A7 = Don't care because the address range is A6 to A0. Remark X = Don't care. Figure21 WRITE Operation (page) (S-25C010A/020A) CS WP High 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 SCK Instruction SI SO A8*1 Data Byte (n) 8-bit Address A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 High-Z *1 In the S-25C040A, assign bit A8 in the address into the fifth bit in an instruction code. Figure22 WRITE Operation (page) (S-25C040A) 22 Seiko Instruments Inc. Data Byte (n + x) D4 D3 D2 D1 D0 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Protect Operation Table 18 shows the block settings of Write protect. Setting value in Protect Bit (BP1, BP0) in the status register protects data in the area of all/50%/25% of the memory address. Setting signal WP to "L" provides the following settings. * Write protect for the WRITE, WRSR instructions * Reset bit WEL Figure 9 and 10 show the Valid timing in Write protect and Invalid timing in Write protect. Table 18 Block Settings of Write Protect Status Register BP1 BP0 0 0 0 1 1 0 1 1 Area of Write Protect 0% 25 % 50 % 100 % Address of Write Protect Block S-25C040A S-25C020A S-25C010A None None None 180h to 1FFh C0h to FFh 60h to 7Fh 100h to 1FFh 80h to FFh 40h to 7Fh 000h to 1FFh 00h to FFh 00h to 7Fh Seiko Instruments Inc. 23 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Hold Operation The hold operation is used to pause serial communications without setting the device in the non-select status. In the hold status, the serial data output goes in high impedance, and both of the serial data input and the serial clock go in "Don't care". Be sure to set the chip select ( CS ) to "L" to set the device in the select status during the hold status. Generally, during the hold status, the device holds the select status. But if setting the device in the non-select status, the users can finish the operation even in progress. Figure 23 shows the hold operation. Set Hold ( HOLD ) to "L" when the serial clock (SCK) is in "L", Hold ( HOLD ) is switched at the same time the hold status starts. If setting Hold ( HOLD ) to "H", Hold ( HOLD ) is switched at the same time the hold status ends. Set Hold ( HOLD ) to "L" when the serial clock (SCK) is in "H"; the hold status starts when the serial clock goes in "L" after Hold ( HOLD ) is switched. If setting Hold ( HOLD ) to "H", the hold status ends when the serial clock goes in "L" after Hold ( HOLD ) is switched. Hold status Hold status SCK HOLD Figure 23 Hold Operation 24 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Write Protect Function during the Low Power Supply Voltage The S-25C010A/020A/040A has a built-in detection circuit which operates with the low power supply voltage. The S25C010A/020A/040A cancels the Write operation (WRITE, WRSR) when the power supply voltage drops and power-on, at the same time, goes in the Write protect status (WRDI) automatically to reset bit WEL. Its detection and release voltages are 1.20 V typ. (Refer to Figure 24). To operate Write, after the power supply voltage dropped once but rose to the voltage level which allows Write again, be sure to set the Write Enable Latch bit (WEL) before operating Write (WRITE, WRSR). In the Write operation, data in the address written during the low power supply voltage is not assured. Power supply voltage Detection voltage (-VDET) 1.20 V typ. Release voltage (+VDET) 1.20 V typ. Cancel the Write instruction Set in Write protect (WRDI) automatically Figure 24 Operation during Low Power Supply Voltage Input Pin and Output Pin 1. Connection of input pin All input pins in the S-25C010A/020A/040A have the CMOS structure. Do not set these pins in high impedance during operation when you design. Especially, set the CS input in the non-select status "H" during power-on/off and standby. The error Write does not occur as long as the CS pin is in the non-select status "H". Set the CS pin to VCC via a resistor (the pull-up resistor of 10 k to 100 k). If the CS pin and the SCK pin change from "L" to "H" simultaneously, data may be input from the SI pin. To prevent the error for sure, it is recommended to pull down the SCK pin to GND. In addition, it is recommended to pull up the SI pin, the WP pin and the HOLD pin to VCC, or pull down these pins to GND, respectively. Connecting the WP pin and the HOLD pin to VCC directly is also possible when these pins are not in use. 2. Equivalent circuit of input pin and output Figure 25 and 26 show the equivalent circuits of input pins in the S-25C010A/020A/040A. A pull-up and pull-down elements are not included in each input pin, pay attention not to set it in the floating state when you design. Figure 27 shows the equivalent circuit of the output pin. This pin has the tri-state output of "H" level / "L" level / High-Z. Seiko Instruments Inc. 25 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C 2. 1 Input pin CS, SCK Figure 25 CS , SCK Pin SI, WP, HOLD Figure 26 SI, WP , HOLD Pin 2. 2 Output pin VCC SO Figure 27 SO Pin 3. Precautions for use * Absolute maximum ratings: Do not operate these ICs in excess of the absolute maximum ratings (as listed on the data sheet). Exceeding the supply voltage rating can cause latch-up. * Operations with moisture on the S-25C010A/020A/040A pins may occur malfunction by short-circuit between pins. Especially, in occasions like picking the S-25C010A/020A/040A up from low temperature tank during the evaluation. Be sure that not remain frost on the S-25C010A/020A/040A pin to prevent malfunction by short-circuit. Also attention should be paid in using on environment, which is easy to dew for the same reason. 26 Seiko Instruments Inc. CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Precautions Do not apply an electrostatic discharge to this IC that exceeds the performance ratings of the built-in electrostatic protection circuit. SII claims no responsibility for any and all disputes arising out of or in connection with any infringement of the products including this IC upon patents owned by a third party. Seiko Instruments Inc. 27 CMOS SPI SERIAL E2PROM S-25C010A/020A/040A Rev.4.1_00_C Product Name Structure 1. Product name 1. 1 8-Pin SOP (JEDEC), 8-Pin TSSOP, SNT-8A S-25Cxxxx 0I - xxxx x Environmental code U: Lead-free (Sn 100%), halogen-free G: Lead-free (for details, please contact our sales office) Package name (abbreviation) and IC packing specification J8T1: 8-Pin SOP (JEDEC) , Tape T8T1: 8-Pin TSSOP, Tape I8T1: SNT-8A, Tape Fixed Product name S-25C010A: S-25C020A: S-25C040A: 1 K-bit 2 K-bit 4 K-bit 1. 2 TMSOP-8 S-25Cxxxx 0I - K8T3 U Environmental code U: Lead-free (Sn 100%), halogen-free Package name (abbreviation) and IC packing specification K8T3: TMSOP-8, Tape Fixed Product name S-25C010A: 1 K-bit S-25C020A: 2 K-bit S-25C040A: 4 K-bit 2. Packages Environmental code = G Package FJ008-A-P-SD Drawing Code Tape Reel FJ008-D-C-SD FJ008-D-R-SD Environmental code = U FJ008-Z-P-SD FJ008-Z-C-SD FJ008-Z-R-SD Environmental code = G FT008-A-P-SD FT008-E-C-SD FT008-E-R-SD - Environmental code = U FT008-Z-P-SD FT008-Z-C-SD FT008-Z-R-SD - TMSOP-8 FM008-A-P-SD FM008-A-C-SD FM008-A-R-SD SNT-8A PH008-A-P-SD PH008-A-C-SD Package Name 8-Pin SOP (JEDEC) 8-Pin TSSOP 28 Seiko Instruments Inc. PH008-A-R-SD Land - - - PH008-A-L-SD 5.020.2 8 5 1 4 1.27 0.200.05 0.40.05 No. FJ008-A-P-SD-2.1 TITLE No. SOP8J-D-PKG Dimensions FJ008-A-P-SD-2.1 SCALE UNIT mm Seiko Instruments Inc. 4.00.1(10 pitches:40.00.2) 2.00.05 o1.550.05 0.30.05 o2.00.05 8.00.1 2.10.1 5max. 6.70.1 1 8 4 5 Feed direction No. FJ008-D-C-SD-1.1 TITLE SOP8J-D-Carrier Tape No. FJ008-D-C-SD-1.1 SCALE UNIT mm Seiko Instruments Inc. 60 20.5 13.50.5 Enlarged drawing in the central part o210.8 20.5 o130.2 No. FJ008-D-R-SD-1.1 TITLE SOP8J-D-Reel No. FJ008-D-R-SD-1.1 SCALE UNIT QTY. mm Seiko Instruments Inc. 2,000 +0.20 5.02 -0.35 8 5 1 4 1.27 0.200.05 +0.11 0.4 -0.07 No. FJ008-Z-P-SD-2.0 TITLE No. SOP8J-Z-PKG Dimensions FJ008-Z-P-SD-2.0 SCALE UNIT mm Seiko Instruments Inc. 4.00.1(10 pitches:40.00.2) 2.00.05 o1.550.05 0.30.05 o1.5 min. 8.00.1 2.10.1 +0.30 6.5 -0.25 1 8 4 5 Feed direction No. FJ008-Z-C-SD-1.0 TITLE SOP8J-Z-Carrier Tape No. FJ008-Z-C-SD-1.0 SCALE UNIT mm Seiko Instruments Inc. 17.51.5 13.41.0 Enlarged drawing in the central part o210.8 20.5 o130.2 No. FJ008-Z-R-SD-1.0 TITLE SOP8J-Z-Reel No. FJ008-Z-R-SD-1.0 SCALE UNIT QTY. mm Seiko Instruments Inc. 4,000 +0.3 3.00 -0.2 8 5 1 4 0.170.05 0.20.1 0.65 No. FT008-A-P-SD-1.1 TITLE TSSOP8-E-PKG Dimensions FT008-A-P-SD-1.1 No. SCALE UNIT mm Seiko Instruments Inc. 4.00.1 2.00.05 o1.550.05 0.30.05 +0.1 8.00.1 o1.55 -0.05 (4.4) +0.4 6.6 -0.2 1 8 4 5 Feed direction No. FT008-E-C-SD-1.0 TITLE TSSOP8-E-Carrier Tape FT008-E-C-SD-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 13.41.0 17.51.0 Enlarged drawing in the central part o210.8 20.5 o130.5 No. FT008-E-R-SD-1.0 TITLE TSSOP8-E-Reel No. FT008-E-R-SD-1.0 SCALE QTY. UNIT mm Seiko Instruments Inc. 3,000 +0.3 3.00 -0.2 8 5 1 4 0.150.07 0.20.1 0.65 No. FT008-Z-P-SD-1.0 TITLE TSSOP8-Z-PKG Dimensions FT008-Z-P-SD-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 4.00.1 2.00.05 0.30.05 o1.550.05 +0.2 8.00.1 o1.55 -0.05 +0.4 6.6 -0.2 1 8 4 5 Feed direction No. FT008-Z-C-SD-1.0 TITLE TSSOP8-Z-Carrier Tape FT008-Z-C-SD-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 13.41.0 17.51.0 Enlarged drawing in the central part o210.8 20.5 o130.2 No. FT008-Z-R-SD-1.0 TSSOP8-Z-Reel TITLE FT008-Z-R-SD-1.0 No. SCALE UNIT QTY. mm Seiko Instruments Inc. 4,000 2.900.2 8 5 1 4 0.130.1 0.20.1 0.650.1 No. FM008-A-P-SD-1.0 TITLE TMSOP8-A-PKG Dimensions No. FM008-A-P-SD-1.0 SCALE UNIT mm Seiko Instruments Inc. 2.000.05 4.000.1 4.000.1 1.000.1 +0.1 1.55 -0 1.050.05 0.300.05 3.250.05 4 1 5 8 Feed direction No. FM008-A-C-SD-1.0 TITLE TMSOP8-A-Carrier Tape FM008-A-C-SD-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 16.5max. 13.00.3 Enlarged drawing in the central part 130.2 (60) (60) No. FM008-A-R-SD-1.0 TMSOP8-A-Reel TITLE FM008-A-R-SD-1.0 No. SCALE UNIT QTY. 4,000 mm Seiko Instruments Inc. 1.970.03 8 7 6 5 3 4 +0.05 1 0.5 2 0.08 -0.02 0.480.02 0.20.05 No. PH008-A-P-SD-2.0 TITLE SNT-8A-A-PKG Dimensions PH008-A-P-SD-2.0 No. SCALE UNIT mm Seiko Instruments Inc. +0.1 o1.5 -0 5 2.250.05 4.00.1 2.00.05 o0.50.1 0.250.05 0.650.05 4.00.1 4 321 5 6 78 Feed direction No. PH008-A-C-SD-1.0 TITLE SNT-8A-A-Carrier Tape PH008-A-C-SD-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 12.5max. 9.00.3 Enlarged drawing in the central part o130.2 (60) (60) No. PH008-A-R-SD-1.0 TITLE SNT-8A-A-Reel No. PH008-A-R-SD-1.0 SCALE UNIT QTY. mm Seiko Instruments Inc. 5,000 0.52 2.01 0.52 0.3 0.2 0.3 0.2 0.3 0.2 0.3 Caution Making the wire pattern under the package is possible. However, note that the package may be upraised due to the thickness made by the silk screen printing and of a solder resist on the pattern because this package does not have the standoff. No. PH008-A-L-SD-3.0 TITLE SNT-8A-A-Land Recommendation PH008-A-L-SD-3.0 No. SCALE UNIT mm Seiko Instruments Inc. www.sii-ic.com * * * * * * * The information described herein is subject to change without notice. Seiko Instruments Inc. is not responsible for any problems caused by circuits or diagrams described herein whose related industrial properties, patents, or other rights belong to third parties. The application circuit examples explain typical applications of the products, and do not guarantee the success of any specific mass-production design. When the products described herein are regulated products subject to the Wassenaar Arrangement or other agreements, they may not be exported without authorization from the appropriate governmental authority. Use of the information described herein for other purposes and/or reproduction or copying without the express permission of Seiko Instruments Inc. is strictly prohibited. The products described herein cannot be used as part of any device or equipment affecting the human body, such as exercise equipment, medical equipment, security systems, gas equipment, or any apparatus installed in airplanes and other vehicles, without prior written permission of Seiko Instruments Inc. The products described herein are not designed to be radiation-proof. Although Seiko Instruments Inc. exerts the greatest possible effort to ensure high quality and reliability, the failure or malfunction of semiconductor products may occur. The user of these products should therefore give thorough consideration to safety design, including redundancy, fire-prevention measures, and malfunction prevention, to prevent any accidents, fires, or community damage that may ensue.