SLX24C164 SIEMENS | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 22
Technical content
16 Kbit (2048· 8b i t )
I2C Synchronous 2-Wire Bus Data Sheet 1998-07-27
Purchase of SiemensI2C components conveys the license under the PhilipsI2C patent to use the components in theI2C system provided the system conforms to theI2C specifications defined by Philips. Edition 1998-07-27 Published by Siemens AG, Bereich Halbleiter, Marketing- Kommunikation, Balanstraße 73,
81541 München
© Siemens AG 1998. All Rights Reserved. Attention please! As far as patents or other rights of third parties are concerned, liability is only assumed for components, not for applications, processes and circuits implemented within components or assemblies. The information describes the type of component and shall not be considered as assured characteristics. Terms of delivery and rights to change design reserved. For questions on technology, delivery and prices please contact the Semiconductor Group Offices in Germany or the Siemens Companies and Representatives worldwide (see address list). Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Siemens Office, Semiconductor Group. Siemens AG is an approved CECC manufacturer. Packing Please use the recycling operators known to you. We can also help you – get in touch with your nearest sales office. By agreement we will take packing material back, if it is sorted. You must bear the costs of transport. For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for any costs in- curred. Components used in life-support devices or systems must be expressly authorized for such purpose! Critical components 1 of the Semiconductor Group of Siemens AG, may only be used in life-support devices or systems2 with the express written approval of the Semiconductor Group of Siemens AG. 1 A critical component is a component used in a life-support device or system whose failure can reasonably be expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that device or system. 2 Life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sustain hu- man life. If they fail, it is reasonable to assume that the health of the user may be endangered. SLx 24C164 Revision History: Current Version: 1998-07-27 Previous Version: 06.97 Page (in previous Version) Page (in current Version) Subjects (major changes since last revision) 3 3 Text was changed to “Typical programming time 5 ms for up to 16 bytes”. 55 W P = VCC protects the upper halfentire memory. 11, 12 11, 12 The erase/write cycle is finished latest after 108m s . 15 15 Figure 11: second command byte is a CSR and not CSW. 19 19 “Capacitive load …” were added. 20 20 Some timings were changed. 20 20 The line “erase/write cycle” was removed. 20 20 Chapter 7.4 “Erase and Write Characteristics” has been added.
16 Kbit (2048· 8b i t )S e r i a lC M O S
EEPROMs, I2C Synchronous 2-Wire Bus SLx 24C164 Semiconductor Group 3 1998-07-27
Features
- Data EEPROM internally organized as 2048 bytes and 128 pages· 16 bytes
- Low power CMOS
- V CC = 2.7 to 5.5 V operation
- Two wire serial interface bus,I2C-Bus compatible
- Three chip select pins to address 8 devices
- Filtered inputs for noise suppression with Schmitt trigger
- Clock frequency up to 400 kHz
- High programming flexibility – Internal programming voltage – Self timed programming cycle including erase – Byte-write and page-write programming, between 1 and 16 bytes – Typical programming time 5 ms for up to 16 bytes
- High reliability – Endurance 10 6 cycles1) – Data retention 40 years1) – ESD protection 4000 V on all pins
- 8 pin DIP/DSO packages
- Available for extended temperature ranges – Industrial: - 40 °C to + 85 °C – Automotive: - 40 °C to + 125 °C 1) Values are temperature dependent, for further information please refer to your Siemens Sales office.
Semiconductor Group 4 1998-07-27
Ordering Information
Other types are available on request – Temperature range (– 55 °C … + 150 °C) – Package (die, wafer delivery)
1 Pin Configuration
Pin Configuration(top view) Pin Definitions and Functions Type Ordering Code Package Temperature Voltage Table 1 Pin No. Symbol Function 1, 2, 3 CS0, CS1, CS2 Chip select inputs VSS Ground
5 SDA Serial bidirectional data bus
6 SCL Serial clock input
7 WP Write protection input
V SCL63 SDA54SS CS2 CS0 P-DIP-8-4
Semiconductor Group 5 1998-07-27 Pin Description Serial Clock (SCL) The SCL input is used to clock data into the device on the rising edge and to clock data out of the device on the falling edge. Serial Data (SDA) SDA is a bidirectional pin used to transfer addresses, data or control information into the device or to transfer data out of the device. The output is open drain, performing a wired AND function with any number of other open drain or open collector devices. The SDA bus requires a pull-up resistor to VCC . Chip Select (CS0, CS1, CS2) The CS0, CS1 and CS2 pins are chip select inputs either hard wired or actively driven toVCC orVSS . These inputs allow the selection of one of eight possible devices sharing ac o m m o nb u s . Write Protection (WP) WP switched toVSS allows normal read/write operations. WP switched toVCC protects the entire EEPROM against changes (hardware write protection).
Semiconductor Group 6 1998-07-27
2 Description
The SLx 24C164 device is a serial electrically erasable and programmable read only m emory (EEPROM), organized as 2048· 8 bit. The data memory is divided into 128 pages. The 16 bytes of a page can be programmed simultaneously. The device conforms to the specification of the 2-wire serialI2C-Bus. Three chip select pins allow the addressing of 8 devices on theI2C-Bus. Low voltage design permits operation down to 2.7 V with low active and standby currents. All devices have a minimum endurance of 106 erase/write cycles. The device operates at 5.0 V– 10% with a maximum clock frequency of 400 kHz and at type (VCC = 4.5 … 5.5 V) with two temperature ranges for industrial and automotive applications and as 3 V type (VCC = 2.7 … 5.5 V) for industrial applications. The EEPROMs are mounted in eight-pin DIP and DSO packages or are also supplied as chips. Figure 2 Block Diagram DEC X EEPROM Y DEC Dout/ACK SDA SCL IEB02145 Logic Stop Start/ Control Chip Address Logic H.V. Pump Programming Control Control Serial Logic Logic Address Page Logic CS0 CS1 CS2SSV CCV WP
Semiconductor Group 7 1998-07-27
3 I2C-Bus Characteristics
The SLx 24C164 devices support a master/slave bidirectional bus oriented protocol in which the EEPROM always takes the role of a slave. Figure 3 Bus Configuration Master Device that initiates the transfer of data and provides the clock for both transmit and receive operations. Slave Device addressed by the master, capable of receiving and transmitting data. Transmitter The device with the SDA as output is defined as the transmitter. Due to the open drain characteristic of the SDA output the device applying a low level wins. Receiver The device with the SDA as input is defined as the receiver. Slave 1 Slave 2 Slave 3 Slave 4 Slave 8Slave 5 Slave 6 Slave 7 Master V CC CCV IES02183 SCL SDA
Semiconductor Group 9 1998-07-27
4 Device Addressing and EEPROM Addressing
After a START condition, the master always transmits a Command Byte CSW or CSR. After the acknowledge of the EEPROM a Control Byte follows, its content and the transmitter depend on the previous Command Byte. The description of the Command and Control Bytes is shown intable 2. The device has an internal address counter which points to the current EEPROM address. The address counter is incremented – after a data byte to be written has been acknowledged, during entry of further data byte – during a byte read, thus the address counter points to the following address after reading a data byte. Command Byte Selects one of the 8 addressable devices:the chip select bits c2, and c0 (bit positions b6 to b4) are compared to their corresponding hard wired input pins CS2, CS1 and CS0, respectively (c1 is the complement of CS1 pin). Selects operation:the least significant bit b0 is low for a write operation (Chip Select Write Command Byte CSW) or set high for a read operation (Chip Select Read Command Byte CSR). Contains address information:in the CSW Command Byte, the bit positions b3 to b1 are decoded for the three uppermost EEPROM address bits A10, A9, A8 (in the CSR Command Byte, the bit positions b3 to b1 are left undefined). Control Byte Following CSW (b0 = 0): contains the eight lower bits of the EEPROM address (EEA) bit A7 to A0. Following CSR (b0 = 1):contains the data read out, transmitted by the EEPROM. The EEPROM data are read as long as the master pulls down SDA after each byte in order to acknowledge the transfer. The read operation is stopped by the master by releasing SDA (no acknowledge is applied) followed by a STOP condition. Table 2 Command and Control Byte forI 2C-Bus Addressing of Chip and EEPROM Definition Function b7 b6 b5 b4 b3 b2 b1 b0 CSW 1 c2 c1 c 0 A 1 0A 9A 80 C h i p S e l e c t f o r W r i t e CSR 1 c2 c1 c0 x x x 1 Chip Select for Read EEA A7 A6 A5 A4 A3 A2 A1 A0 EEPROM address
Semiconductor Group 11 1998-07-27
5 Write Operations
Changing of the EEPROM data is initiated by the master with the command byte CSW. Depending on the state of the Write Protection pin WP either one byte (Byte Write) or up to 16 byte (Page Write) are modified in one programming procedure.
5.1 Byte Write
The erase/write cycle is finished latest after 8 ms. Acknowledge polling may be used for speed enhancement in order to indicate the end of the erase/write cycle (refer to chapter 5.3Acknowledge Polling). Address Setting After a START condition the master transmits the Chip Select Write byte CSW. The EEPROM acknowledges the CSW byte during the ninth clock cycle. The following byte with the EEPROM address (A0 to A7) is loaded into the address counter of the EEPROM and acknowledged by the EEPROM. Transmission of Data Finally the master transmits the data byte which is also acknowledged by the EEPROM into the internal buffer. Programming Cycle Then the master applies a STOP condition which starts the internal programming procedure. The data bytes are written in the memory location addressed in the EEA byte (A0 to A7) and the CSW byte (A8 to A10). The programming procedure consists of an internally timed erase/write cycle. In the first step, the selected byte is erased to “1”. With the next internal step, the addressed byte is written according to the contents of the buffer. Command Byte CSW S P C K A C K A S T A R T T P O S EEPROM Address EEA Data ByteBus Activity Master SDA Line Bus Activity EEPROM IED02129 C K A
Semiconductor Group 12 1998-07-27
5.2 Page Write
Those bytes of the page that have not been addressed are not included in the programming. Figure 8 Page Write Sequence The erase/write cycle is finished latest after 8 ms. Acknowledge polling may be used for speed enhancement in order to indicate the end of the erase/write cycle (refer to chapter 5.3Acknowledge Polling). Address Setting T h ep a g ew r i t ep r o c e d u r ei st h es a m ea st h eb y t ew r i t e procedure up to the first data byte. In a page write instruction however, entry of the EEPROM address byte EEA is followed by a sequence of one to maximum sixteen data bytes with the new data to be programmed. These bytes are transferred to the internal page buffer of the EEPROM. Transmission of Data The first entered data byte will be stored according to the EEPROM address n given by EEA (A0 to A7) and CSW (A8 to A10). The internal address counter is incremented automatically after the entered data byte has been acknowledged. The next data byte is then stored at the next higher EEPROM address. EEPROM addresses within the same page have common page address bits A4 through A10. Only the respective four least significant address bits A0 through A3 are incremented, as all data bytes to be programmed simultaneously have to be within the same page. Programming Cycle The master stops data entry by applying a STOP condition, which also starts the internally timed erase/write cycle. In the first step, all selected bytes are erased to “1”. With the next internal step, the addressed bytes are written according to the contents of the page buffer. Command Byte CSW S P C K A S T A R T T P O S EEPROM Address EEA n Data Byte n Data Byte n+1 Data Byte n+15Bus Activity Master SDA Line Bus Activity EEPROM IED02140 C K A C K A C K A C K A
Semiconductor Group 13 1998-07-27
5.3 Acknowledge Polling
During the erase/write cycle the EEPROM will not respond to a new command byte until the internal write procedure is completed. At the end of active programming the chip returns to the standby mode and the last entered EEPROM byte remains addressed by the address counter. To determine the end of the internal erase/write cycle acknowledge polling can be initiated by the master by sending a START condition followed by a command byte CSR or CSW (read with b0 = 1 or write with b0 = 0). If the internal erase/ write cycle is not completed, the device will not acknowledge the transmission. If the internal erase/write cycle is completed, the device acknowledges the received command byte and the protocol activities can continue. Figure 9 Flow Chart “Acknowledge Polling” Internal Programming Procedure Send Start Send CS-Byte from EEPROM Acknowledge received? Next Operation No Yes IED02131
Semiconductor Group 14 1998-07-27 Figure 10 Principle of Acknowledge Polling CSR SSDA IED02166 1P S 1 S CSR S 1 P CSR STOP from Master initiates erase/write cycle START from Master Acknowledge of EEPROM indicates complete erase/ write cycle P S CSW SDA 0 S CSW
0 S S 0 P
e.g. STOP condition STOP from Master initiates erase/write cycle START from Master indicates complete erase/ Acknowledge of EEPROM write cycle
Semiconductor Group 15 1998-07-27
6 Read Operations
Reading of the EEPROM data is initiated by the Master with the command byte CSR.
6.1 Random Read
Random read operations allow the master to access any memory location. Figure 11 Random Read Address Setting The master generates a START condition followed by the command byte CSW. The receipt of the CSW-byte is acknowledged by the EEPROM with a low on the SDA line. Now the master transmits the EEPROM address (EEA) to the EEPROM and the internal address counter is loaded with the desired address. Transmission of CSR After the acknowledge for the EEPROM address is received, the master generates a START condition, which terminates the initiated write operation. Then the master transmits the command byte CSR for read, which is acknowledged by the EEPROM. Transmission of EEPROM Data During the next eight clock pulses the EEPROM transmits the data byte and increments the internal address counter. STOP Condition from Master During the following clock cycle the masters releases the bus and then transmits the STOP condition. Command Byte CSW S P A C K C K A S T A R T T P O S EEPROM Address EEA n Bus Activity Master SDA Line Bus Activity EEPROM IED02133 C K A Data Byte 10 S T R A T S CSR Command Byte
Semiconductor Group 16 1998-07-27
6.2 Current Address Read
The EEPROM content is read without setting an EEPROM address, in this case the current content of the address counter will be used (e.g. to continue a previous read operation after the Master has served an interrupt). Figure 12 Current Address Read Transmission of CSR For a current address read the master generates a START condition, which is followed by the command byte CSR (c hip select read). The receipt of the CSR-byte is acknowledged by the EEPROM with a low on the SDA line. Transmission of EEPROM Data During the next eight clock pulses the EEPROM transmits the data byte and increments the internal address counter. STOP Condition from Master During the following clock cycle the masters releases the bus and then transmits the STOP condition. Command Byte CSR S P A C K S T A R T T P O S Bus Activity Master SDA Line Bus Activity EEPROM IED02132 Data Byte
Semiconductor Group 17 1998-07-27
6.3 Sequential Read
A sequential read is initiated in the same way as a current read or a random read except that the master acknowledges the data byte transmitted by the EEPROM. The EEPROM then continues the data transmission. The internal address counter is incremented by one during each data byte transmission. A sequential read allows the entire memory to be read during one read operation. After the highest addressable memory location is reached, the internal address pointer “rolls over” to the address 0 and the sequential read continues. The transmission is terminated by the master by releasing the SDA line (no acknowledge) and generating a STOP condition (seefigure 13). Figure 13 Sequential Read Data Byte n EEPROM Bus Activity SDA Line Master Bus Activity S R T A T S CSW Command Byte C K A C K A Data Byte n+xData Byte n+1 A K C C K A P IED02134 S O P T
Semiconductor Group 18 1998-07-27
7 Electrical Characteristics
The listed characteristics are ensured over the operating range of the integrated circuit. Typical characteristics specify mean values expected over the production spread. If not otherwise specified, typical characteristics apply at TA =2 5°C and the given supply voltage.
7.1 Absolute Maximum Ratings
Stresses above those listed here may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational section of this data sheet is not implied. Exposure to absolute maximum ratings for extended periods may affect device reliability. Parameter Limit Values Units Operating temperature range 1 (industrial) range 2 (automotive) –4 0t o+8 5 –4 0t o+1 2 5 Storage temperature – 65 to + 150 °C Supply voltage – 0.3 to + 7.0 V All inputs and outputs with respect to ground – 0.3 to VCC +0 . 5 V ESD protection (human body model) 4000 V
7.2 DC Characteristics
Parameter Symbol Limit Values Units Test Condition min. typ. max. Supply voltage VCC 4.5 5.5 V 5 V type VCC 2.7 5.5 V 3 V type Supply current1) (write) ICC 13 m A VCC =5V ;fc = 100 kHz Standby current2) ISB 50 mA Inputs at VCC orVSS Input leakage current ILI 0.1 10 mA VIN = VCC orVSS Output leakage current ILO 0.1 10 mA VOUT = VCC orVSS Input low voltage VIL –0 . 3 0 . 3 · VCC V
Semiconductor Group 19 1998-07-27 1) The values forICC are maximum peak values 2) Valid over the whole temperature range 3) This parameter is characterized only Input high voltage VIH 0.7· VCC VCC +0 . 5 V Output low voltage VOL 0.4 V IOL =3m A ;VCC =5V IOL =2 . 1m A ;VCC =3V Input/output capacitance (SDA) C I/O 83) pF VIN =0V ;VCC =5V Input capacitance (other pins) C IN 63) pF VIN =0V ;VCC =5V Capacitive load for each bus line C b 400 pF
7.2 DC Characteristics (cont’d)
Parameter Symbol Limit Values Units Test Condition min. typ. max.
Semiconductor Group 20 1998-07-27 1) T h em i n i m u mr i s ea n df a l lt i m e sc a nb ec a l c u l a t e da sf o l l o w s :2 0+( 0 . 1 / p F )· C b [ns] Example:C b = 100 pFfi tR =2 0+0 . 1· 100 [ns] = 30 ns
7.3 AC Characteristics
Parameter Symbol Limit Values V CC = 2.7-5.5 V Limit Values V CC = 4.5-5.5 V Units min. max. min. max. SCL clock frequency fSCL 100 400 kHz Clock pulse width low tlow 4.7 1.2 ms Clock pulse width high thigh 4.0 0.6 ms SDA and SCL rise time tR 1000 1) 300 ns SDA and SCL fall time tF 300 1) 300 ns Start set-up time tSU.STA 4.7 0.6 ms Start hold time tHD.STA 4.0 0.6 ms Data in set-up time tSU.DAT 200 100 ns Data in hold time tHD.DAT 00 ms SCL low to SDA data out validtAA 0 . 14 . 5 0 . 10 . 9 ms Data out hold time tDH 100 50 ns Stop set-up time tSU.STO 4.0 0.6 ms Time the bus must be free before a new transmission can start tBUF 4.7 1.2 ms SDA and SCL spike suppression time at constant inputs tl 50 100 50 100 ns
7.4 Erase and Write Characteristics
Parameter Symbol Limit Values V CC = 2.7-5.5 V Limit Values V CC = 4.5-5.5 V Units typ. max. typ. max. Erase + write cycle (per page)tWR 58 58 m s E r a s ep a g ep r o t e c t i o nb i t 2 . 5 4 2 . 5 4 m s Write page protection bit 2.5 4 2.5 4 ms
Semiconductor Group 21 1998-07-27 Figure 14 Bus Timing Data tF Rt HD.STAt SU.STAt LOWt HD.DATt tSU.DAT tHIGH tSU.STO BUFt DHttAA IED02127 SCL SDA In SDA Out Start Condition Stop Condition
Semiconductor Group 22 1998-07-27
8 Package Outlines
Package outlines for tubes, trays etc. are contained in our Data Book “Package Information”. SMD = Surface Mounted Device Dimensions in mm GPD05583 P-DIP-8-4 (Plastic Dual In-line Package) GPS09032 P-DSO-8-3 (Plastic Dual Small Outline Package)