ATC AM24LC16 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM General Description Features • State- of- the- Art Architecture - Non-volatile data storage - Full range Vcc = 2.7V to 5.5V • 2 wire I2C serial interface - Provides bi-directional data transfer protocol • Hard-ware Write Protection - With WP PIN to disable programming command • 16 bytes page write mode - Minimizes total write time per word • Self-timed write-cycle(including auto-erase) • Durable and Reliable - 40 years data retention - Minimum of 1M write/erase cycles per word - Unlimited read cycles - ESD protection • Low standby current • Package: PDIP-8L, SOP-8L The AM24LC16 is a non-volatile, 16384-bit serial EEPROM with enhanced security device and conforms to all specifications in I2C 2 wire protocol. The whole memory can be disabled (Write Protected) by connecting the WP pin to Vcc. This section of memory then becomes unalterable unless WP is switched to Vss. The AM24LC16's communication protocol uses CLOCK (SCL) and DATA I/O (SDA) lines to synchronously clock data between the master (for example: a microcomputer)and the slave EEPROM devices (s). Anachip EEPROMs are designed and tested for application requiring high endurance, high reliability, and low power consumption. Pin Assignments Connection Diagram NC 1 8 VCC NC 2 7 WP NC 3 6 SCL VSS 4 5 SDA Name NC VSS SDA SCL WP VCC Description No connect Ground Data I/O Clock input Write protect Power pin PDIP / SOP Ordering Information AM 24 LC 16 X X X Operating Voltage Type LC: 2.7~5.5V, CMOS 16 =16K Temp. grade o o Blank : 0 C ~ +70 C I : − 40 o C ~ +85 o C V : − 40 o C ~ +125 o C Package Packing S : SOP-8L N: PDIP-8L Blank : Tube A: Taping This datasheet contains new product information. Anachip Corp. reserves the rights to modify the product specification without notice. No liability is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product. Rev.A1 Oct 1/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Block Diagrams WP SCL start cycle CONTROL LOGIC START STOP LOGIC SDA ck load SLAVE ADDRESS REGISTER & COMPARATOR H.V. GENERATION TIMING & CONTROL inc WORD ADDRESS COUNTER EEPROM ARRAY 128x16x8 XDEC YDEC R/W ~ , device address bit A0 VCC VSS DATA REGISTER Din DOUT ACK Dout Absolute Maximum Ratings Characteristics Storage Temperature Voltage with Respect to Ground Symbol TS Values -65 to + 125 -0.3 to + 6.5 Unit °C V NOTE: These are STRESS rating only. Appropriate conditions for operating these devices given elsewhere may permanently damage the part. Prolonged exposure to maximum ratings may affect device reliability. Operating Conditions Temperature under bias AM24LC16 AM24LC16I AM24LC16V Values 0 to + 70 -40 to + 85 -40 to +125 Anachip Corp. www.anachip.com.tw Unit °C °C °C Rev. A1 Oct 2/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Electrical Characteristics DC Electrical Characteristics (Vcc =2.7~5.5V, Ta = 25oC ) Parameter Symbol Operating Current (Program) ** Operating Current (Read) ** Standby Current Standby Current Input Leakage Output Leakage Input Low Voltage** Input High Voltage** Output Low Voltage Output Low Voltage ICC1 ICC2 ISB1 ISB2 IIL IOL VIL VIH VOL1 VOL2 VCC Lockout Voltage VLK AM24LC16 Units Min Max SCL = 100KHZ CMOS Input Levels — 3 mA SCL = 100KHZ CMOS Input Levels — 200 µA SCL=SDA=0V, Vcc=5V — 10 µA SCL=SDA=0V, Vcc=3V — 1 µA VIN = 0 V to VCC -1 +1 µA VOUT = 0 V to Vcc -1 +1 µA -0.1 Vcc x 0.3 V Vcc x 0.7 VCC+ 0.2 V IOL = 2.1mA TTL — 0.4 V IOL = 10uA CMOS — 0.2 V Programming Command Can Be Default — V Executed Conditions Note ** : ICC1, ICC2, VIL min and VIH max are for reference only and are not tested. Switching Characteristics (Under Operating Conditions) AC Electrical Characteristics (Vcc =2.7~5.5V) Parameter Symbol Clock frequency Clock high time Clock low time SDA and SCL rise time** SDA and SCL fall time** START condition hold time START condition setup time Data input hold time Data input setup time STOP condition setup time Output valid from clock Bus free time ** Data out hold time Write cycle time 5V, 25ºC, Byte Mode Fscl Thigh Tlow Tr Tf Thd:Sta Tsu:Sta Thd:Dat Tsu:Dat Tsu:Sto Taa Tbuf Tdh Twr Endurance** AM24LC16 Min 0 4000 4700 — — 4000 4700 0 250 4000 300 4700 300 — 1M Max 100 — — 1000 300 — — — — — 3500 — — 10 — Units kHz ns ns ns ns ns ns ns ns ns ns ns ns ms write cycles Note **: This parameter is characterized and is not 100% tested. Capacitance TA= 25°C , f=250KHz Parameter Output capacitance Input capacitance AC. Conditions of Test Input Pulse Levels Input Rise and Fall times Input and Output Timming level Output Load Symbol COUT CIN Max 5 5 Units pF pF Vcc x 0.1 to Vcc x 0.9 10 ns Vcc x 0.5 1 TTL Gate and Anachip Corp. www.anachip.com.tw CL = 100pf Rev. A1 Oct 3/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Pin Descriptions Table A Device A0 A1 A2 AM24LC02 ADR ADR ADR AM24LC04 XP ADR ADR AM24LC08 XP XP ADR AM24LC16 XP XP XP ADR indicates the device address pin. XP indicates that device address pin don’t care but refers to an internal PAGE BLOCK memory segment. Serial Clock (SCL) The SCL input is used to clock all data into and out of the device. Serial Data (SDA) SDA is a bidirection pin used to transfer data or security bit into and out of the device. It is an open drain output and may be wire-ORed with any number of open drain or open collector outputs. Thus, the SDA bus requires a pull-up resistor to Vcc (typical 4.7KΩ for 100KHz, 1 KΩ for 400KHz). Write Protection (WP) If WP is connected to Vcc, PROGRAM operation onto the whole memory will not be executed. READ operations are possible. If WP is connected to Vss, normal memory operation is enabled, READ/WRITE over the entire memory is possible. Device Address Inputs (A0, A1, A2) The following table (Table A) shows the active pins across the AM24LCXX device family. Functional Description are reserved for indicating start and stop conditions. (Shown in Figures 1 and 2) Applications ATC’s electrically erasable programmable read only memories (EEPROMs) offer valuable security features including write protect function , two write modes ,three read modes, and a wide variety of 2 memory size. Typical applications for the I C bus and AM24LCXX memories are included in SANs(small-area-networks), stereos, televisions, automobiles and other scaled-down systems that don't require tremendous speeds but instead cost efficiency and design simplicity. Start Condition A HIGH to LOW transition of the SDA line while the clock (SCL) is HIGH determines a START condition. All commands must be preceded by a START condition. (Shown in Figure 2) Stop Condition A LOW to HIGH transition of the SDA line while the clock (SCL) is HIGH determines a STOP condition. All operations must be ended with a STOP condition. (Shown in Figure 2) Endurance and Data Retention The AM24LC16 is designed for applications requiring up to 1KK programming cycles (BYTE WRITE and PAGE WRITE). It provides 40 years of secure data retention without power. Acknowledge Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte. The master device must generate an extra clock pulse which is associated with this acknowledge bit. The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse. Of course, setup and hold times must be taken into account. A master must signal an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to generate the STOP condition. (Shown in Figure 3) Device Operation The AM24LC16 supports a bidirectional bus oriented protocol. The protocol defines any device that sends data onto the bus as a transmitter and the receiving device as the receiver. The device controlling the transfer is the master and the device that is controlled is the slave. The master will always initiate data transfers and provide the clock for both transmit and receive operations. Therefore, the AM24LC16 is considered a slave in all applications. Clock and Data Conventions Data states on the SDA line can change only during SCL LOW. SDA state changes during SCL HIGH Anachip Corp. www.anachip.com.tw Rev. A1 Oct 4/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Functional Description (Continued) The AM24LC16 monitors the bus for its corresponding slave address all the time. It generates an acknowledge bit if the slave address was true and it is not in a programming mode. Devices Addressing After generating a START condition, the bus master transmits the slave address consisting of a 4-bit device code (1010) for the AM24LC16, 3-bit page address (A2 A1 A0) and 1-bit value indicating the read or write mode. All I2C EEPROMs use and internal protocol that defines a PAGE BLOCK size of 16K bits. The eighth bit of slave address determines if the master device wants to read or write to the AM24LC16. (Refer to table B). Table B Operation Control Code Read 1010 Write 1010 A0, A1, A2 is no connect Chip Select A2 A1 A0 A2 A1 A0 R/W 1 0 Write Operations Byte Write Following the start signal from the master, the slave address is placed onto the bus by the master transmitter. This indicates to the addressed slave receiver that a byte with a word address will follow after it has generated an acknowledge bit during the ninth clock cycle. Acknowledge Polling Since the device will not acknowledge during a write cycle, this can be used to determine when the cycle is complete (this feature can be used to maximize bus throughout). Once the stop condition for a write command has been issued from the master, the device initiates the internally timed write cycle. ACK polling can be initiated immediately. This involves the master sending a start condition followed by the control byte for a write command (R/W = 0). If the device is still busy with the write cycle, then no ACK will returned. If the cycle is complete then the device will return the ACK and the master can then proceed with the next read or write commands. Therefore the next byte transmitted by the master is the word address and will be written into the address pointer of the AM24LC16. After receiving another acknowledge signal from the AM24LC16 the master device will transmit the data word to be written into the addressed memory location. The AM24LC16 acknowledges again and the master generates a stop condition. This initiates the internal write cycle, and during this period the AM24LC16 will not generate acknowledge signals. (Shown in Figure 4) Page Write The write control byte, word address and the first data byte are transmitted to the AM24LC16 in the same way as in a byte write. But instead of generating a stop condition the master transmit up to 16 data bytes to the AM24LC16 which are temporarily stored in the on-chip page buffer and will be written into the memory after the master has transmitted a stop condition. If the master transmits more than 16 bytes prior to generating the stop condition, the address counter will roll over and the previously received data will be overwritten. As with the byte write operation, once the stop condition is received an internal write cycle will begin. (Shown in Figure 5). Write Protection Programming will not take place if the WP pin of the AM24LC16 is connected to Vcc. The AM24LC16 will accept slave and byte addresses; but if the memory accessed is write protected by the WP pin, the AM24LC16 will not generate an acknowledge after the first byte of data has been received, and thus the programming cycle will not be started when the stop condition is asserted. Read Operations Read operations are initiated in the same way as write operations with the exception that the R/W bit of the slave address is set to one. There are three basic types of read operations: current address read, random read, and sequential read. Anachip Corp. www.anachip.com.tw Rev. A1 Oct 2/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Write Operations (Continued) Then the master issues the control byte again but with R/W bit set to a one. The AM24LC16 will then issue an acknowledge and transmit the eight bit data word. The master will not acknowledge the transfer but does generate a stop condition and the AM24LC16 discontinues transmission. (Shown in Figure 7) Current Address Read The AM24LC16 contains an address counter that maintains the address of the last accessed word, internally incremented by one. Therefore if the previous access (either a read or write operation ) was to address n, the next current address read operation would access data from address n + 1. Upon receipt of the slave address with R/W bit set to one, the AM24LC16 issues an acknowledge and transmits the eight bit data word . The master will not acknowledge the transfer but does generate a stop condition and the AM24LC16 discontinues transmission. (Shown in Figure 6) Sequential Read Sequential read is initiated in the same way as a random read except that after the AM24LC16 transmits the first data byte, the master issues an acknowledge as opposed to a stop condition in a random read. This directs the AM24LC16 to transmit the next sequentially addressed 8 bit byte (Shown in Figure 8). To provide sequential read the AM24LC16 contains an internal address pointer which is incremented by one at the completion of each operation. Random Read Random read operations allow the master to access any memory location in a random manner. To perform this type of read operation, first the word address must be set. This is done by sending the word address to the AM24LC16 as part of a write operation. After the word address is sent, the master generates a start condition following the acknowledge. This terminates the write operation, but not before the internal address pointer is set. Noise Protection The SCL and SDA inputs have filter circuits which suppress noise spikes to assure proper device operation even on a noisy bus. Anachip Corp. www.anachip.com.tw Rev. A1 Oct 6/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Timing Diagram Bus Timing Thigh Tf Tr Tlow Tlow SCL Thd:Sta SDA IN Tsu:Sta Tsu:Dat Thd:Dat Tsu:Sta Tbuf Taa Tdh SDA OUT SDA SCL DATA STABLE DATA CHANGE Figure 1. Data Validity SDA SCL START BIT STOP BIT Figure 2. Definition of Start and Stop Anachip Corp. www.anachip.com.tw Rev. A1 Oct 7/10 20, 2003 ATC AM24LC16 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM SCL FROM MASTER 1 8 9 DATA OUTPUT FROM TRANSMITTER DATA OUTPUT FROM RECEIVER ACKNOWLEDGE START Figure 3. Acknowledge Response from Receiver BUS ACTIVITY MASTER SLAVE ADDRESS START SDA LINE BYTE ADDRESS DATA n STOP S P A C K BUS ACTIVITY SLAVE A C K A C K Figure 4. Byte Write for Data BUS ACTIVITY START MASTER SDA LINE SLAVE ADDRESS BYTE ADDRESS n DATA n DATA n+15 STOP S P A C K A C K BUS ACTIVITY SLAVE A C K A C K Figure 5. Page Write for Data START BUS ACTIVITY MASTER SDA LINE SLAVE ADDRESS STOP s P NO A C K BUS ACTIVITY SLAVE A C K DATA Figure 6. Current Address Read for Data BUS ACTIVITY START MASTER SDA LINE SLAVE ADDRESS BYTE ADDRESS n START S SLAVE ADDRESS STOP S A C K BUS ACTIVITY SLAVE P A C K A C K NO DATA n A C K Figure 7. Random Read for Data BUS ACTIVITY MASTER SDA LINE BUS ACTIVITY SLAVE START SLAVE ADDRESS A C K A C K STOP S P A C K NO DATA n+1 DATA n Figure 8. Sequential Read for Data Anachip Corp. www.anachip.com.tw DATA n+x A C K Rev. A1 Oct 8/10 20, 2003 ATC 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM AM24LC16 Package Diagrams (1)Plastic Dual-in-line package: PDIP-8L D E1 E-PIN O0.118 inch E 15 (4X) PIN #1 INDENT O0.025 DEEP 0.006-0.008 inch C 7 (4X) A1 L A A2 eB B S Symbol A A1 A2 B B1 B2 C D E E1 e L eB S e B1 B2 Dimensions in millimeters Min. Nom. Max. 5.33 0.38 3.1 3.30 3.5 0.36 0.46 0.56 1.4 1.52 1.65 0.81 0.99 1.14 0.20 0.25 0.36 9.02 9.27 9.53 7.62 7.94 8.26 6.15 6.35 6.55 2.54 2.92 3.3 3.81 8.38 8.89 9.40 0.71 0.84 0.97 Anachip Corp. www.anachip.com.tw Dimensions in inches Min. Nom. Max. 0.210 0.015 0.122 0.130 0.138 0.014 0.018 0.022 0.055 0.060 0.065 0.032 0.039 0.045 0.008 0.010 0.014 0.355 0.365 0.375 0.300 0.313 0.325 0.242 0.250 0.258 0.100 0.115 0.130 0.150 0.330 0.350 0.370 0.028 0.033 0.038 Rev. A1 Oct 9/10 20, 2003 ATC AM24LC16 2-Wire Serial 16K-bits (2048 x 8) CMOS Electrically Erasable PROM H E (2) JEDEC Small Outline Package: SOP-8L L VIEW "A" D 0.015x45 C A1 B e 7 (4X) A A2 7 (4X) VIEW "A" y Dimensions In Millimeters Min. Nom. Max. 1.40 1.60 1.75 0.10 0.25 1.30 1.45 1.50 0.33 0.41 0.51 0.19 0.20 0.25 4.80 5.05 5.30 3.70 3.90 4.10 1.27 5.79 5.99 6.20 0.38 0.71 1.27 0.10 8O 0O Symbol A A1 A2 B C D E e H L y θ Dimensions In Inches Min. Nom. Max. 0.055 0.063 0.069 0.040 0.100 0.051 0.057 0.059 0.013 0.016 0.020 0.0075 0.008 0.010 0.189 0.199 0.209 0.146 0.154 0.161 0.050 0.228 0.236 0.244 0.015 0.028 0.050 0.004 0O 8O Marking Information Top view Part Number & grade X = Blank ( 0 ~ + 70 o C ) = I ( - 40 ~ + 85 o C ) = V ( - 40 ~ + 125 o C ) ATC 24LC16 X XX XX X Logo ID code: internal Nth week: 01~52 Year: "01" = 2001 "02" = 2002 PDIP/SOP Anachip Corp. www.anachip.com.tw Rev. A1 Oct 10/10 20, 2003