S-25A080A/160A/320A, S-25A080B/160B/320B 125C OPERATION SPI SERIAL E PROM FOR AUTOMOTIVE 2 www.sii-ic.com Rev.4.0_00 (c) Seiko Instruments Inc., 2008-2011 2 This IC is a SPI serial E PROM which operates under the high temperature, at high speed, with the wide range operation for automotive components. This IC has the capacity of 8 K-bit, 16 K-bit, 32 K-bit and the organization of 1024 words x 8-bit, 2048 words x 8-bit, 4096 words x 8-bit. Page write and Sequential read are available. Caution Before using the product in automobile control unit or medical equipment, contact to SII is indispensable. Features Packages * Operating voltage range Read: 2.5 V ~ 5.5 V Write: 2.5 V ~ 5.5 V * Operation frequency: 6.5 MHz max. * Write time S-25A080A/160A/320A: 4.0 ms max. S-25A080B/160B/320B: 5.0 ms max. * SPI mode (0, 0) and (1, 1) * Page write: 32 bytes / page * Sequential read * Write protect: Software, Hardware Protect area: 25%, 50%, 100% * Monitoring of a write memory state by the status register * Function to prevent malfunction by monitoring clock pulse * Write protect function during the low power supply voltage * CMOS schmitt input ( CS , SCK, SI, WP , HOLD ) * Endurance*1 S-25A080A/160A/320A: 106 cycle / word*2 (Ta = +25C) 5 x 105 cycle / word*2 (Ta = +125C) S-25A080B/160B/320B: 106 cycle / word*2 (Ta = +25C) 3 x 105 cycle / word*2 (Ta = +125C) * Data retention: 100 years (Ta = +25C) 50 years (Ta = +125C) * Memory capacity S-25A080A, S-25A080B: 8 K-bit S-25A160A, S-25A160B: 16 K-bit S-25A320A, S-25A320B: 32 K-bit * Initial shipment data: FFh, SRWD = 0, BP1 = 0, BP0 = 0 * Burn-in specification: Wafer level burn-in * Lead-free (Sn 100%), halogen-free*3 *1. *2. *3. * 8-Pin SOP (JEDEC) 5 8 4 1 (5.0 x 6.0 x t1.75 mm) * 8-Pin TSSOP 5 8 4 1 (3.0 x 6.4 x t1.1 mm) * TMSOP-8 5 8 4 1 (2.9 x 4.0 x t0.8 mm) Refer to " Endurance" for details. For each address (Word: 8-bit) Refer to " Product Name Structure" for details. Remark Refer to "3. Product name list" in " Product Name Structure" for details of package and product. Seiko Instruments Inc. 1 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 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 1 2 Seiko Instruments Inc. X Decoder Input Control Circuit CS Page Latch Memory Cell Array Status Memory Cell Array Y Decoder 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 Product Name Structure 1. Product name 1. 1 S-25A080A/160A S-25AxxxA 0A - xxxx U D Fixed Environmental code U: Lead-free (Sn 100%), halogen-free Package name (abbreviation) and IC packing specification J8T2: 8-Pin SOP (JEDEC), Tape T8T2: 8-Pin TSSOP, Tape *1 Fixed Product name S-25A080A: S-25A160A: 1. 2 8 K-bit 16 K-bit S-25A320A S-25A320A 0A - J8T2 U D Fixed Environmental code U: Lead-free (Sn 100%), halogen-free Package name (abbreviation) and IC packing specification J8T2: 8-Pin SOP (JEDEC), Tape *1 Fixed Product name S-25A320A: 32 K-bit 1. 3 S-25A080B/160B/320B S-25AxxxB 0A - xxxx U 3 Fixed Environmental code U: Lead-free (Sn 100%), halogen-free Package name (abbreviation) and IC packing specification*1 J8T2: 8-Pin SOP (JEDEC), Tape T8T2: 8-Pin TSSOP, Tape K8T2: TMSOP-8, Tape Fixed Product name S-25A080B: S-25A160B: S-25A320B: *1. 8 K-bit 16 K-bit 32 K-bit Refer to the tape drawing. Remark This IC is wafer level burn-in specification. Seiko Instruments Inc. 3 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B 2. Rev.4.0_00 Packages Table 2 Package Drawing Codes Package Name 8-Pin SOP (JEDEC) 8-Pin TSSOP TMSOP-8 3. Dimension FJ008-A-P-SD FT008-A-P-SD FM008-A-P-SD Tape FJ008-D-C-SD FT008-E-C-SD FM008-A-C-SD Reel FJ008-D-R-S2 FT008-E-R-S2 FM008-A-R-SD Product name list Table 3 Product Name Package Quantity S-25A080A0A-J8T2UD 8 K bit 8-Pin SOP (JEDEC) 2000 pcs / reel S-25A080A0A-T8T2UD 8 K bit 8-Pin TSSOP 3000 pcs / reel S-25A160A0A-J8T2UD 16 K bit 8-Pin SOP (JEDEC) 2000 pcs / reel S-25A160A0A-T8T2UD 16 K bit 8-Pin TSSOP 3000 pcs / reel S-25A320A0A-J8T2UD 32 K bit 8-Pin SOP (JEDEC) 2000 pcs / reel S-25A080B0A-J8T2U3 8 K bit 8-Pin SOP (JEDEC) 4000 pcs / reel S-25A080B0A-T8T2U3 8 K bit 8-Pin TSSOP 4000 pcs / reel S-25A080B0A-K8T2U3 8 K bit TMSOP-8 4000 pcs / reel S-25A160B0A-J8T2U3 16 K bit 8-Pin SOP (JEDEC) 4000 pcs / reel S-25A160B0A-T8T2U3 16 K bit 8-Pin TSSOP 4000 pcs / reel S-25A160B0A-K8T2U3 16 K bit TMSOP-8 4000 pcs / reel S-25A320B0A-J8T2U3 32 K bit 8-Pin SOP (JEDEC) 4000 pcs / reel S-25A320B0A-T8T2U3 32 K bit 8-Pin TSSOP 4000 pcs / reel S-25A320B0A-K8T2U3 32 K bit TMSOP-8 4000 pcs / reel Remark 4 Capacity 1. Please contact our sales office for products with product name structure other than those specified above. 2. This IC is wafer level burn-in specification. Seiko Instruments Inc. 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 Pin Configurations 1. 8-Pin SOP (JEDEC) Top view Table 3 Pin No. 8 2 7 2 SO 3 6 3 4 5 6 WP GND SI*1 SCK*1 7 HOLD *1 8 VCC 5 4 Figure 2 2. Symbol 1 1 CS *1 Chip select input Serial data output *1 Write protect input Ground Serial data input Serial clock input Hold input Power supply 8-Pin TSSOP Top view Table 4 1 2 3 4 8 7 6 5 Figure 3 3. Description Pin No. 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 TMSOP-8 Top view 1 2 3 4 Table 5 8 7 6 5 Figure 4 *1. Pin No. 1 Symbol CS *1 Description Chip select input 2 SO Serial data output 3 4 5 6 WP *1 GND SI*1 SCK*1 Ground Serial data input Serial clock input 7 HOLD *1 8 VCC Write protect input Hold input Power supply Do not use it in "High-Z". Seiko Instruments Inc. 5 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 Absolute Maximum Ratings Table 6 Item Absolute Maximum Rating S-25A080A/160A/320A S-25A080B/160B/320B -0.3 to +7.0 -0.3 to +6.5 -0.3 to +7.0 -0.3 to +6.5 -0.3 to VCC + 0.3 -40 to +125 -65 to +150 Symbol Power supply voltage Input voltage Output voltage Operation ambient temperature Storage temperature VCC VIN VOUT Topr Tstg 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 7 Item Read Ta = -40C to +125C Min. Max. 2.5 5.5 Write 2.5 5.5 V 0.7 x VCC -0.3 VCC + 1.0 0.3 x VCC V V Symbol Power supply voltage VCC High level input voltage Low level input voltage VIH VIL Condition VCC = 2.5 V to 5.5 V VCC = 2.5 V to 5.5 V Unit V Pin Capacitance Table 8 Item Symbol Input capacitance CIN Output capacitance COUT Condition (Ta = +25C, f = 1.0 MHz, VCC = 5.0 V) Min. Max. Unit VIN = 0 V ( CS , SCK, SI, WP , HOLD ) VOUT = 0 V (SO) 8 pF 10 pF Endurance 1. S-25A080A/160A/320A Item Endurance *1. 2. Symbol NW Table 9 Operation Ambient Temperature Ta = -40C to +85C Ta = -40C to +105C Ta = -40C to +125C Min. 106 8 x 105 5 x 105 Max. Unit *1 cycle / word *1 cycle / word *1 cycle / word Table 10 Operation Ambient Temperature Ta = +25C Ta = -40C to +85C Ta = -40C to +105C Ta = -40C to +125C Min. 106 7 x 105 5 x 105 5 3 x 10 Max. Unit *1 cycle / word *1 cycle / word *1 cycle / word *1 cycle / word Table 11 Operation Ambient Temperature Ta = +25C Ta = -40C to +125C Min. 100 50 Max. Unit year year For each address (Word: 8-bit) S-25A080B/160B/320B Item Endurance *1. Symbol NW For each address (Word: 8-bit) Data Retention Item Data retention 6 Symbol Seiko Instruments Inc. 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 DC Electrical Characteristics 1. S-25A080A/160A/320A Table 12 Item Symbol Current consumption ICC1 (read) Condition No load at SO pin Ta = -40C to +125C VCC = 2.5 V to 3.0 V VCC = 3.0 V to 4.5 V VCC = 4.5 V to 5.5 V Unit fSCK = 3.5 MHz fSCK = 5.0 MHz fSCK = 6.5 MHz Min. Max. Min. Max. Min. Max. 1.5 2.0 2.5 mA Table 13 Item Symbol Current consumption ICC2 (write) Condition No load at SO pin VCC = 2.5 V to 3.0 V fSCK = 3.5 MHz Min. Max. Ta = -40C to +125C VCC = 3.0 V to 4.5 V VCC = 4.5 V to 5.5 V Unit fSCK = 5.0 MHz fSCK = 6.5 MHz Min. Max. Min. Max. 2.0 2.5 3.0 mA Table 14 Item Standby current consumption Input leakage current Output leakage current Low level output voltage High level output voltage Symbol Condition ISB CS = VCC, SO = Open Other inputs are VCC or GND ILI ILO VOL1 VOL2 VOH1 VOH2 VIN = GND to VCC VOUT = GND to VCC IOL = 2.0 mA IOL = 1.5 mA IOH = -2.0 mA IOH = -0.4 mA Ta = -40C to +125C VCC = 2.5 V to 4.5 V VCC = 4.5 V to 5.5 V Min. Max. Min. Max. Unit 8.0 10.0 A 0.8 x VCC 2.0 2.0 0.4 0.8 x VCC 0.8 x VCC 2.0 2.0 0.4 0.4 A A V V V V Seiko Instruments Inc. 7 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B 2. Rev.4.0_00 S-25A080B/160B/320B Table 15 Item Symbol Ta = -40C to +125C VCC = 4.5 V to 5.5 V VCC = 2.5 V to 4.5 V fSCK = 6.5 MHz fSCK = 6.5 MHz Min. Max. Min. Max. Condition Current consumption ICC1 (read) No load at SO pin 2.0 2.5 Unit mA Table 16 Item Current consumption (write) Symbol ICC2 Ta = -40C to +125C VCC = 2.5 V to 5.5 V fSCK = 6.5 MHz Min. Max. Condition No load at SO pin 4.0 Unit mA Table 17 Item Standby current consumption Input leakage current Output leakage current Low level output voltage High level output voltage 8 Symbol Condition ISB CS = VCC, SO = Open Other inputs are VCC or GND ILI ILO VOL1 VOL2 VOH1 VOH2 VIN = GND to VCC VOUT = GND to VCC IOL = 2.0 mA IOL = 1.5 mA IOH = -2.0 mA IOH = -0.4 mA Ta = -40C to +125C VCC = 2.5 V to 4.5 V VCC = 4.5 V to 5.5 V Min. Max. Min. Max. Unit 8.0 10.0 A 0.8 x VCC 2.0 2.0 0.4 0.8 x VCC 0.8 x VCC 2.0 2.0 0.4 0.4 A A V V V V Seiko Instruments Inc. 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 AC Electrical Characteristics 1. S-25A080A/160A/320A Table 18 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 19 SCK clock frequency Ta = -40C to +125C Symbol VCC = 2.5 V to 5.5 V VCC = 3.0 V to 5.5 V VCC = 4.5 V to 5.5 V Unit Min. Max. Min. Max. Min. Max. fSCK 3.5 5.0 6.5 MHz CS setup time during CS falling tCSS.CL 90 90 65 ns CS setup time during CS rising tCSS.CH 90 90 65 ns CS deselect time tCDS 160 140 110 ns CS hold time during CS falling tCSH.CL 90 90 65 ns 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 tCSH.CH 90 90 65 ns tHIGH tLOW tRSK tFSK tDS tDH 125 125 20 30 1 1 95 95 20 30 1 1 65 65 20 30 1 1 ns ns s s ns ns SCK "L" hold time during HOLD rising tSKH.HH 70 70 45 ns SCK "L" hold time during HOLD falling tSKH.HL 40 40 30 ns SCK "L" setup time during HOLD falling tSKS.HL 0 0 0 ns 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 tSKS.HH 0 0 0 ns tOZ tOD tOH tRO tFO 0 100 120 80 80 0 100 90 80 80 0 75 60 50 50 ns ns ns ns ns Disable time of SO output during HOLD falling*2 tOZ.HL 100 100 75 ns Delay time of SO output during HOLD rising*2 tOD.HH 80 80 60 ns WP setup time tWS1 0 0 0 ns WP hold time tWH1 0 0 0 ns WP release / setup time tWS2 0 0 0 ns tWH2 150 150 100 Item ns WP release / hold time *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. Table 20 Item Write time Symbol tPR Ta = -40C to +125C VCC = 2.5 V to 5.5 V Min. Max. 4.0 Seiko Instruments Inc. Unit ms 9 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B 2. Rev.4.0_00 S-25A080B/160B/320B Table 21 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 22 Item Symbol Ta = -40C to +125C VCC = 2.5 V to 5.5 V Min. Max. SCK clock frequency fSCK CS setup time during CS falling tCSS.CL tCSS.CH CS setup time during CS rising tCDS CS deselect time Unit 6.5 MHz 65 ns 65 ns 65 ns ns CS hold time during CS falling tCSH.CL 65 CS hold time during CS rising tCSH.CH 65 ns SCK clock time "H" 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 tHIGH tLOW tRSK tFSK tDS tDH 65 65 15 20 1 1 ns ns s s ns ns SCK "L" hold time during HOLD rising tSKH.HH 45 ns ns *1 SCK "L" hold time during HOLD falling tSKH.HL 30 SCK "L" setup time during HOLD falling tSKS.HL 0 ns SCK "L" setup time during HOLD rising tSKS.HH 0 ns tOZ tOD tOH tRO tFO 0 75 50 30 30 ns ns ns ns ns tOZ.HL 75 ns Delay time of SO output during HOLD rising tOD.HH 50 ns WP setup time tWS1 0 ns WP hold time tWH1 0 ns WP release / setup time tWS2 0 ns WP release / hold time tWH2 20 ns *2 Disable time of SO output 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 *2 *1. *2. 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. These are values of sample and not 100% tested. Table 23 Item Write time 10 Symbol tPR Ta = -40C to +125C VCC = 2.5 V to 5.5 V Min. Max. 5.0 Seiko Instruments Inc. Unit ms 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 tCDS CS tCSH.CL tCSS.CH tCSH.CH tCSS.CL SCK tDS SI SO tDH tRSK MSB IN tFSK LSB IN High-Z Figure 5 Serial Input Timing CS tSKS.HL tSKH.HL tSKH.HH SCK tSKS.HH SI tOZ.HL tOD.HH SO HOLD Figure 6 Hold Timing Seiko Instruments Inc. 11 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 tSCK CS tOZ tHIGH SCK tLOW ADDR SI LSB IN tOD tOH tOD tOH SO LSB OUT tRO tFO Figure 7 Serial Output Timing tWS1 tWH1 CS WP Figure 8 Valid Timing in Write Protect tWS2 tWH2 CS WP Figure 9 12 Invalid Timing in Write Protect Seiko Instruments Inc. Rev.4.0_00 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B 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, this IC is in the non-select status and its output is "High-Z". This IC is in standby as long as it is not in write inside. This IC 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 during falling edge of clock. 5. WP (write protect input) pin Write protect is purposed to protect the area size against the write instruction (BP1, BP0 in the status register). 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 this IC in the non-select status. In the hold status, the serial output goes in "High-Z", the serial input and the serial clock go in "Don't care". During the hold operation, be sure to set this IC 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. * * * SRWD = 0 BP1 = 0 BP0 = 0 Seiko Instruments Inc. 13 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 Instruction Set Table 24 is the list of instruction for This IC. 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 This IC receives any invalid instruction code, this IC goes in the non-select status. Table 24 Instruction Set Instruction Code Instruction Operation SCK Input Clock 1 to 8 0000 0110 0000 0100 WREN WRDI Address SCK Input Clock 9 to 16 Data SCK Input Clock 17 to 24 SCK Input Clock 25 to 32 Write enable Write disable Read the status *1 b7 to b0 output RDSR 0000 0101 register Write in the status WRSR 0000 0001 b7 to b0 input register A15 to A8*2 READ Read memory data 0000 0011 A7 to A0 A15 to A8*2 WRITE Write memory data 0000 0010 A7 to A0 *1. Sequential data reading is possible. *2. In the S-25A080A and the S-25A080B, the higher addresses A15 to A10 = Don't care. In the S-25A160A and the S-25A160B, the higher addresses A15 to A11 = Don't care. In the S-25A320A and the S-25A320B, the higher addresses A15 to A12 = Don't care. *3. After outputting data in the specified address, data in the following address is output. D7 to D0 output*3 D7 to D0 input 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 SRWD 0 0 0 BP1 BP0 WEL WIP Status Register Write Disable Block Protect Write Enable Latch Write In Progress Figure 10 Organization of Status Register The status / control bits of the status register are as follows. 1. 1 SRWD (b7) : Status Register Write Disable Bit SRWD operates in conjunction with the write protect signal ( WP ). With a combination of bit SRWD and signal WP (SRWD = "1", WP = "L"), this IC goes in Hardware Protect status. In this case, the bits composed of the nonvolatile memory in the status register (SRWD, BP1, BP0) go in read only, so that the WRSR instruction is not be performed. 14 Seiko Instruments Inc. 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 1. 2 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. Refer to " Protect Operation" for details of Block Protect. 1. 3 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 this IC does not receive the WRITE or WRSR instruction. Bit WEL is reset after these operations; * * * * * 1. 4 The power supply voltage is dropping At 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 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 11 shows the usage example. CS WRITE or WRSR instruction RDSR instruction D2 D1 D0 SI RDSR instruction RDSR RDSR S R W D SO RDSR instruction RDSR S R W D BB PP 1 0 000 000 11 S R W D BB PP 1 0 11 WEL, WIP WEL, WIP BB PP 1 0 000 00 WEL, WIP tPR Figure 11 2. Usage Example of WEL, WIP Bits during Write 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 this IC by the chip select ( CS ), input the instruction code from serial data input (SI). To set bit WEL, set this IC 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". Seiko Instruments Inc. 15 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 CS WP High / Low SCK 1 2 3 4 5 6 7 8 Instruction SI High-Z SO Figure 12 3. WREN Operation Write disable (WRDI) The WRDI instruction is one of ways to reset bit Write Enable Latch (WEL). After selecting this IC by the chip select ( CS ), input the instruction code from serial data input (SI). To reset bit WEL, set this IC 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 At 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 CS WP SCK High / Low 1 2 3 4 5 Instruction SI High-Z SO Figure 13 16 WRDI Operation Seiko Instruments Inc. 6 7 8 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 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 SRWD, 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. CS WP SCK High / Low 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Instruction SI Outputs Data in the Status Register SO High-Z b7 Figure 14 5. b6 b5 b4 b3 b2 b1 b0 b7 RDSR Operation Write in the status register (WRSR) The values of status register (SRWD, BP1, BP0) can be rewritten by inputting the WRSR instruction. But b6, b5, b4, b1, b0 of status register cannot be rewritten. b6 to 4 are always data "0" 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. Besides bit SRWD can be set or reset by the WRSR instruction depending on the status of write protect ( WP ). With a combination of bit SRWD and write protect ( WP ), this IC can be set in Hardware Protect mode (HPM). In this case, the WRSR instruction is not be performed (Refer to " Protect Operation"). Bit SRWD and 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 = 16 clock) while CS is in "L". Seiko Instruments Inc. 17 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 CS WP High / Low SCK 1 2 3 4 5 6 7 9 8 10 Instruction 12 13 14 15 16 Inputs Data in the Status Register b7 SI b6 b5 b4 b3 b2 b1 b0 High-Z SO Figure 15 6. 11 WRSR Operation 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 High / Low SCK 1 2 3 4 5 6 Instruction 7 8 9 10 11 21 23 24 25 26 27 28 29 30 31 32 16-bit Address A15 A14 A13 SI 22 A3 A2 A1 A0 Outputs the First Byte High-Z SO Remark D7 In the S-25A080A and the S-25A080B, the higher addresses A15 to A10 = Don't care. In the S-25A160A and the S-25A160B, the higher addresses A15 to A11 = Don't care. In the S-25A320A and the S-25A320B, the higher addresses A15 to A12 = Don't care. Figure 16 18 D6 D5 D4 D3 D2 D1 D0 READ Operation Seiko Instruments Inc. Outputs the Second D7 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 7. Write memory data (WRITE) Figure 17 shows 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 and WEL are reset to "0" when write has completed. This IC can Page write of 32 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 18. 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). 5 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 32 bytes, the higher bits in the address do not change. And 5 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 operation The address to be written is in the protect area by BP1 and BP0 To cancel the WRITE instruction, input the clock different from a specified value (n = 24 + m x 8 clock) while CS is in "L". CS WP High / Low SCK 1 2 3 4 5 6 7 8 9 10 11 22 23 24 25 16-bit Address Instruction A15 A14 A13 SI 21 26 27 28 29 30 31 32 Data Byte 1 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 High-Z SO Remark In the S-25A080A and the S-25A080B, the higher addresses A15 to A10 = Don't care. In the S-25A160A and the S-25A160B, the higher addresses A15 to A11 = Don't care. In the S-25A320A and the S-25A320B, the higher addresses A15 to A12 = Don't care. Figure 17 WRITE Operation (1 Byte) Seiko Instruments Inc. 19 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 CS WP High / Low 1 2 3 4 5 6 7 8 9 10 11 22 23 24 25 26 27 28 29 30 31 32 SCK Instruction A15 A14 A13 SI Data Byte (n) 16-bit Address (n) A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 Data Byte (n + x) D4 D3 D2 D1 D0 High-Z SO Remark In the S-25A080A and the S-25A080B, the higher addresses A15 to A10 = Don't care. In the S-25A160A and the S-25A160B, the higher addresses A15 to A11 = Don't care. In the S-25A320A and the S-25A320B, the higher addresses A15 to A12 = Don't care. Figure 18 WRITE Operation (Page) Protect Operation Table 25 shows the block settings of write protect. Table 26 shows the protect operation for this IC. As long as bit SRWD, the Status Register Write Disable bit, in the status register is reset to "0" (it is in reset before the shipment), the value of status register can be changed. These are two statues when bit SRWD is set to "1". * Write in the status register is possible; write protect ( WP ) is in "H". * Write in the status register is impossible; write protect ( WP ) is in "L". Therefore the write protect area which is set by protect bit (BP1, BP0) in the status register cannot be changed. These operations are to set Hardware Protect (HPM). * After setting bit SRWD, set write protect ( WP ) to "L". * Set bit SRWD completed setting write protect ( WP ) to "L". The timing during the cycle write to the status register is showed in "Figure 8 "Figure 9 Invalid Timing in Write Protect". Valid Timing in Write Protect" and By inputting "H" to write protect ( WP ), Hardware Protect (HPM) is released. If the write protect ( WP ) is "H", Hardware Protect (HPM) does not function, Software Protect (SPM) which is set by the protect bits in the status register (BP1, BP0) only works. 20 Seiko Instruments Inc. 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 Table 25 Block Settings of Write Protect Status Register BP1 BP0 0 0 1 1 0 1 0 1 Area of Write Protect S-25A080A, S-25A080B None 300h to 3FFh 200h to 3FFh 000h to 3FFh 0% 25% 50% 100% Table 26 Mode Software Protect (SPM) Hardware Protect (HPM) Address of Write Protect Block S-25A160A, S-25A160B None 600h to 7FFh 400h to 7FFh 000h to 7FFh S-25A320A, S-25A320B None C00h to FFFh 800h to FFFh 000h to FFFh Protect Operation WP Pin 1 1 X X 0 Bit SRWD Bit WEL Write Protect Block General Block Status Register X X 0 0 1 0 1 0 1 0 0 1 1 Write disable Write disable Write disable Write disable Write disable Write disable Write disable Write enable Write disable Write enable Write disable Write enable Write disable Write enable Write disable Write enable Write disable Write disable Remark X = Don't care Hold Operation The hold operation is used to pause serial communications without setting this IC in the non-select status. In the hold status, the serial data output goes in "High-Z", 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 this IC in the select status during the hold status. Generally, during the hold status, this IC holds the select status. But if setting this IC in the non-select status, the users can finish the operation even in progress. Figure 19 shows the hold operation. These are two statuses when the serial clock (SCK) is set to "L". * If setting hold ( HOLD ) to "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. These are two statuses when the serial clock (SCK) is set to "H". * If setting hold ( HOLD ) to "L", 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 19 Hold Operation Seiko Instruments Inc. 21 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 Write Protect Function during the Low Power Supply Voltage This IC has a built-in detection circuit which operates with the low power supply voltage. This IC 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. 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. In the S-25A080A/160A/320A, the detection voltage is 1.20 V typ., the release voltage is 1.35 V typ., and its hysteresis is approx. 0.15 V (Refer to Figure 20). In the S-25A080B/160B/320B, the detection and the release voltages are 1.20 V typ. (Refer to Figure 21). Hysteresis approx. 0.15 V Power supply voltage Detection voltage (-VDET) 1.20 V typ. Release voltage (+VDET) 1.35 V typ. Cancel the write instruction Set in write protect (WRDI) automatically Figure 20 Operation during the Low Power Supply Voltage (S-25A080A/160A/320A) 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 21 Operation during the Low Power Supply Voltage (S-25A080B/160B/320B) Input Pin and Output Pin 1. Connection of input pin All input pins in this IC have the CMOS structure. Do not set these pins in "High-Z" during operation when you design. Especially, set the CS input pin 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 pin Figure 22 and Figure 23 show the equivalent circuits of input pins in this IC. 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 24 shows the equivalent circuit of the output pin. This pin has the tri-state output of "H" / "L" / "High-Z". 22 Seiko Instruments Inc. 125C OPERATION SPI SERIAL E2PROM FOR AUTOMOTIVE S-25A080A/160A/320A, S-25A080B/160B/320B Rev.4.0_00 2. 1 Input pin CS, SCK Figure 22 CS , SCK Pin SI, WP, HOLD Figure 23 2. 2 SI, WP , HOLD Pin Output pin VCC SO Figure 24 SO Pin Precautions * 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 this IC's pins may occur malfunction by short-circuit between pins. Especially, in occasions like picking this IC up from low temperature tank during the evaluation. Be sure that not remain frost on this IC's pins to prevent malfunction by short-circuit. Also attention should be paid in using on environment, which is easy to dew for the same reason. * 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. 23 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-S2-1.0 TITLE SOP8J-D-Reel No. FJ008-D-R-S2-1.0 SCALE UNIT mm Seiko Instruments Inc. +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-S2-1.0 TITLE TSSOP8-E-Reel FT008-E-R-S2-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 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. 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.