MICROCHIP DATA\ BOOK ® Microchip Microchip Microchip Data Book Second Edition For Military devices, please refer to the "MILITARY DATA BOOK" © 1990 Microchip Technology Inc. DS00018C Microchip "Information contained in this publication regarding device applications DEC, VAX, VMS, and ULTRIX are trademarks of Digital Equipment and the like is intended through suggestion only and may be super- Corp. MACINTOSH is a trademark of Apple Computer, Inc. seded by updates. No representation or warranty is given and no IBM and IBM PC are trademarks of IBM Corp. liability is assumed by Microchip Technology Inc. with respect to the SMC is a trademark of Standard Microsystems Corp. accuracy or use of such information, or infringement of patents arising PICPAK, PIC-ICE, PICPRO, PICALC, and PICSIM are trademarks of from such use or otherwise. Use of Microchip's products as critical Microchip Technology Inc. PIC is· a registered trademark of Microchip Technology Inc. components in life support systems is not authorized except with The Microchip logo and name is a registered trademark of Microchip express written approval by Microchip. No licenses are conveyed, Technology Incorporated. implicitly or otherwise, under any int{lilectual property rights." All rights reserved. Copyright © 1990, Microchip Technology Inc. DS00018C © 1990 Microchip Technology Microchip Table of Contents SECTION 1 SERIAL EEPROM PRODUCT SPECIFICATIONS 24C01A 1K (128 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 1 24C01 A Dice 1K (128 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 9 24C02A 2K (256 X 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 17 24C02A Dice 2K (256 X 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 25 24C04A 4K (512 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 33 24C04A Dice 4K (512 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 41 59C11 1K (128 x 8 or 64 x 16) CMOS Serial Electrically Erasable PROM .......................... 1- 49 59C11 Dice 1K (128 x 8 or 64 x 16) CMOS Serial Electrically Erasable PROM Die Form .......... 1- 57 85C72 1K (128 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 65 85C72 Dice 1K (128 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 73 85C82 2K (256 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 81 85C82 Dice 2K (256 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 89 85C92 4K (512 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 97 85C92 Dice 4K (512 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1-105 93C06 256 Bits (16 x 16) CMOS Serial Electrically Erasable PROM ................................... 1-113 93C06 Dice 256 Bits (16 x 16) CMOS Serial Electrically Erasable PROM Die Form ................... 1-121 93C46 1K (64 x 16) CMOS Serial Electrically Erasable PROM ........................................... 1-129 93C46 Dice 1K (64 x 16) CMOS Serial Electrically Erasable PROM Die Form ........................... 1-137 24CXX/85CXX 24CXX/85CXX To Microcontroller Communication .................................................. 1-145 ER59256/93C06 ER59256/93C06 And NMC9306/NMC93C06 Compatibility Issue ............................ 1-155 24C01A 24C01A Compatibility Issue And Its Mobility For Memory Upgrade ......................... 1-159 SECTION 2 EEPROM PRODUCT SPECIFICATIONS 28C04A 4K (512 x 8) CMOS Electrically Erasable PROM ..................................................... 2- 1 28C16A 16K (2K x 8) CMOS Electrically Erasable PROM ..................................................... 2- 9 28C17A 16K (2K x 8) CMOS Electrically Erasable PROM ..................................................... 2- 17 28C17A Dice 16K (2K x 8) CMOS Electrically Erasable PROM Die Form ..................................... 2- 25 28C64A 64K (8K x 8) CMOS Electrically Erasable PROM ..................................................... 2- 33 28C64A Dice 64K (8K x 8) CMOS Electrically Erasable PROM Die Form ..................................... 2- 41 SECTION 3 EPROM PRODUCT SPECIFICATIONS 27C64 64K (8K x 8) CMOS UV Erasable PROM ................................................................. 3- 27C128 128K (16K x 8) CMOS UV Erasable PROM ............................................................. 3- 9 27C256 256K (32K x 8) CMOS UV Erasable PROM ............................................................. 3- 17 27C512 512K (64K x 8) CMOS UV Erasable PROM ............................................................. 3- 25 27HC64 64K (8K x 8) High Speed CMOS UV Erasable PROM ............................................. 3- 33 27HC256 256K (32K x 8) High Speed CMOS UV Erasable PROM ... ,..................................... 3- 41 27HC1616 256K (16K x 16) High Speed CMOS UV Erasable PROM ....................................... 3- 49 27HC641 64K (8K x 8) High Speed CMOS UV Erasable PROM ............................................. 3- 57 27Cxxx 27Cxxx EPROM Family Programming Algorithm ..................................................... 3- 65 © 1990 Microchip Technology Inc. DS00018C iii Microchip DS00018C © 1990 Microchip Technology iv Microchip Table of Contents SECTION 4 MICROCONTROLLER PRODUCT SPECIFICATIONS PIC PIC 16xxx Series Microcontroller Family .................................................................. 4- 1 PIC16C5X EPROM-Based 8-Bit CMOS Microcontroller Series ................................................ .4- 5 PIC1654S 8-Bit Microcontroller .................................................................................................. 4- 35 PIC1655 8-Bit Microcontroller .................................................................................................. 4- 51 PIC1670 8 Bit Microcontroller .................................................................................................. 4- 67 SECTION 5 LOGIC PRODUCT SPECIFICATIONS AY2661 Enhanced Programmable Communication Interface ................................................ 5- AY3-1015D UARIT: Universal Asynchronous ReceiverITransmitter ........................................... 5- 17 AY58116/36 Dual Baud Rate Generator ....................................................................................... 5- 29 AY58126/46 Single Baud Rate Generator ..................................................................................... 5- 37 AY38910Al12A Programmable Sound Generator .............................................................................. 5- 45 AY8930 Enhanced Programmable Sound Generator ............................................................. 5- 61 AY0438-1 32-Segment CMOS LCD Driver ................................................................................ 5- 81 SECTION 6 DIGITAL SIGNAL PROCESSING PRODUCT SPECIFICATIONS DSP Product Portfolio ....................................................................................................... 6- 1 DSP320C10 CMOS Digital Signal Processor (B Version) ............................................................. 6- 5 DSP320C10 Development Tools ................................................................................................... 6- 23 SECTION 7 QUALITY AND RELIABILITY QA Quality Without Compromise .................................................................................... 7- 27Cxxx EPROM Plastic Package Reliability Bulletin ............................................................. 7- 11 SECTIONS PACKAGING Packaging Outlines and Dimensions .......................................................................................... 8- 1 APPENDIX OFFICE LOCATIONS Factory Representatives ........................................................................................................................A- 1 Distributors .................................................................................................................................. A- 5 Field Offices ..................................................................................................................................A- 12 © 1990 Microchip Technology Inc. DS00018C v Microchip DS00018C © 1990 Microchip Technology vi ~. MICROCHIP TECHNOLOGY Microchip INCORPORATED Company Profile FEATURES BUSINESS SCOPE Fully integrated manufacturing Microchip Technology manufactures and markets very A global network of plants and facilities large scale integrated circuits (VLSI). The Company's A history of innovation strong experience in CMOS nonvolatile memories, Strategic marketing focus programmable microcontrollers and peripheral devices • A prOduct family of shared strengths has positioned the firm as a leading supplier to manufac- Quality without compromise turers of computer peripheral, automotive, consumer, Research and development of high performance military and telecommunication products. products Performance alliance with customers • A solid executive team with an eye towards innovation Company headquarters in Chandler, Arizona; executive offices, R&D, and two wafer fabrication units occupy this 142,000 square-foot facility. © 1990 Microchip Technology Inc. DS00027D-1 vii Microchip Technology Incorporated DS00027D-2 © 1990 Microchip Technology Inc. viii Microchip Technology Incorporated MICROCHIP: A FULLY INTEGRATED COMPANY SERVING A GLOBAL MARKET Propelled by customer "Microchip Technology draws its impetus from the technology expectations of a large base of longstanding customers. Micro- requirements .... chip is small enough to respond quickly with technology to equate the customer's need. Moreover, as a fully integrated IC Manufac- turer, Microchip deploys its panoply of resources to act timely and efficiently, and on a worldwide scale: Design, Technology Devel- opment, Mask Shop, Wafer Fabrication, Assembly and Test, Customer Support. ... and powered by continuous "World-wide competition leaves no room for divergence or medi- ocrity. Therefore, Microchip Technology is committed to focus improvement. .. and to continuously improve all the vital aspects of its business. To improve performance, our employees are encouraged to analyze their methods continually. Personal empowerment trespasses the limits of personal responsibility to act in anticipa- tion . ... upfront the wave of "Our industry's life-line is innovation. The fast pace of technologi- cal change is inherent in our industry. Microchip Technology has technological change. accelerated the rate of change of its technology and products to the forefront of the eConomical feasibility. "Change is our ally. Driving and managing change is our winning strategy." President © 1990 Microchip Technology Inc. DS00027D-3 ix Microchip Technology Incorporated A PRODUCT FAMIL V OF Microchip's product focus is CMOS nonvolatile memories and programmable microcontrollers. These product lines include SHARED STRENGTHS EEPROMs, High Speed EPROMs, Flash EPROMs, and PIC® microcontrollers in a broad range of product densities, speeds and packages. Microchip is quick to capitalize on advances in one product line by incorporating those breakthroughs into other product families. The possibility of enhancing the performance levels of each Microchip product family is explored with every innovation. MICROCONTROLLERS Microcontrollers from Microchip combine high performance, low cost, and small package size. They offer the best price/performance ratio in the industry. Large numbers of these devices are used in computer peripherals, data entry, office automation, automotive control systems, security, and cost-sensitive consumer products, such as remote controls and appliances. The widely accepted PIC16XX (over 75 million shipped) and PIC16CXX series are the industry's only 8-bit based microcon- trollers using a high speed RISC architecture. Microchip pioneered the use of RISC architecture to obtain high speed and instruction efficiency. The CMOS PIC16CXX is in volume production, and has achieved over one thousand design wins. The PIC family is supported by a range of user-friendly development systems, including simulators and in-circuit emulators. Future CMOS PIC generations will include advanced features, such as higher speed, additional I/O, sophisticated timers, em- bedded AID, extended instruction/data memory and inter-pro- cessor communication, SERIAL EEPROMs Serial EEPROM devices are available in 256 bit, 1K, 2K, 4K, and 16K bit densities. Endurance is greater than 100,000 erase/write cycles. These EEPROMs are ESD protected for greater than 4 kV and operate over a temperature range from -40 ac to +85 ac. They are available in SOIC packages conforming to JEDEC and Japanese standards. The main markets are automotive and consumer products, such as entertainment and telecommunica- tion electronics and appliances. EEPROMs The 1.2* micron CMOS EEPROM devices from Microchip are available in 4K, 16K, and 64K densities. The manufacturing process used for these EEPROMs ensures 10,000 to 100,000 write and erase cycles. Data retention is over 10 years. Short write times are less than 200 I1sec. These EEPROMs work reliably under demanding conditions and have been proven to operate efficiently at temperatures from -55 ac to + 125 ac. * All EEPROMs 4K and greater utilize a 1.2 micron CMOS process. D800027D-4 © 1990 Microchip Technology Inc. x Microchip Technology Incorporated Common applications include computer peripherals, engine con- trol, pattern recognition and telecommunications. EPROMs Microchip's CMOS EPROM devices are produced in densities from 64K to 512K. High Speed EPROMs have access times range as low as 45 nano-seconds. Microchip's process flow uniqueness lies in its simplicity. A minimum number of steps allow to offer a reliable family of commodity EPROMs, single metal EPROMs, and double metal EPROMs. Typical applications in- clude computer peripheral, military, instrumentation, and automo- tive devices. Microchip's expertise in Plastic Packaging, combined with its previous leadership in the ROM market, led to the development of the Plastic OTP EPROM market where Microchip the #1 supplier today. MILITARY PRODUCTS Microchip delivers military devices that conscientious engineers can use with confidence. Our 883C compliant parts cover all quality fronts: DESC standard military drawing approval, high speed performance and quick turn availability. Microchip's military products include CMOS memories, CMOS/ NMOS digital signal processors and microcontrollers - all with high reliability, fast access times and proven retention. Endurance is guaranteed in both dual in-line cerdip packages and leadless chip carriers. OTHER MICROCHIP Other Microchip products, such as DSPs, ICs for serial data communications and sound generation, are mature products with PRODUCTS proven track record, and a large, repeat customer base. Microchip provides a wide package selection of single-chip DSPs that can be programmed for a wide variety of applications. Several variants of the industry standard 32010 and 320Cl 0 are offered at speeds up to 25 MHz. The 320 DSP family is often found in commercial and military applications were medium and high performance parts are required. The Company's reputation as a quality supplier of DSPs is evidenced by a license agreement with Texas Instruments to second-source the TMS 32010 and TMS 320Cl0. © 1990 Microchip Technology Inc. DS00027D-5 xi Microchip Technology Incorporated FULLY INTEGRATED Microchip delivers fast turnaround through total control over all phases of production. Design, product development, mask mak- MANUFACTURING ing, wafer fabrication, assembly and quality assurance testing are conducted at facilities owned and operated by Microchip. Our integrated approach to manufacturing along with rigorous use of statistical process control, continuous improvement and imple- mentation of root cause fixes, has brought forth tight product consistency levels and high yields which enable Microchip to compete successfully in world markets. A GLOBAL NETWORK OF Microchip is a global competitor providing local service to the world's technology centers. The Company's focal point is the PLANTS AND FACILITIES design and technology advancementfacility in Chandler, Arizona. Most military and high performance parts emanate from here, as well as front end wafer fabrication and electrical probing. Microchip's assembly and test facility in Kaohsiung, Taiwan houses the technology and modern assembly methods neces- sary for plastic and ceramic packaging. Select quality conscious firms who fabricate wafers in the Pacific Rim use our Kaohsiung plant for assembly. Sales and application offices are located in key cities throughout the Western Hemisphere, Pacific Rim and Europe. Offices are staffed to meet the high quality expectations of our customers, and can be accessed for technical support, purchasing informa- tion and failure analysis. A HISTORY OF INNOVATION Microchip's history of innovation in the semiconductor industry is as old as the industry itself. For over a quarter century Microchip and its former parent company General Instruments have been developers of cost-effective logic and memory technology and products. Microchip is credited with a number of firsts: The Metal-Oxide- Silcon (MOS) Integrated Circuit, DRAM, serial EEPROM, Re- duced Instruction Set Computer (RISC) microcontroller product family, UART, CMOS 64K EEPROM, and CMOS single chip DSP are all innovations that were originally developed and introduced by our engineers. STRATEGIC Microchip targets selected markets where our advanced designs, progressive process technology and industry leading operating MARKETING FOCUS speeds enable us to deliver decidedly superior performance. The firm has recently positioned itself to playa dominant role as a supplier of high performance reprogrammable microcontrollers, and CMOS nonvolatile memories. FUTURE PRODUCTS New process technology is constantly being developed for EEPROM, High Speed EPROM, and microcontroller products. Many advanced process technology modules are being devel- oped that will be integrated into our present product lines to achieve a range of compatible processes. Current production technology is attaining 1.2 micron densities. Substantial progress DS00027D-6 © 1990 Microchip Technology Inc. xli Microchip Technology Incorporated toward 1 micron and submicron technologies are under develop- ment, as well as new CMOS EEPROM, High Speed CMOS EPROM and advanced CMOS RISC-based microcontroller prod- ucts. QUALITY WITHOUT Product reliability is designed into Microchip products at the outset. Design margins are established to guarantee that every COMPROMISE product can be produced easily, error-free and within the tolerances of the manufacturing process. All our quality assurance tests are run tighter than customer specifications. Products are tested at least two machine toler- ances higher than those specified by the customer. Every new product is measured under accelerated stress testing. Test samples encompass the full range of processed tolerances at each step. Data sheets detailing these processes enable customers to reach accurate decisions based on known quantita- tive values. To determine whether a process is within normal manufacturing variation, statistical techniques are put to work at each process step. In-process controls are performed by operators in the wafer fabrication division and immediate corrective action is taken if they deem a process is out of control. Products are also sampled weekly through a variety of carefully monitored stress and accel- erated life tests. Microchip's positive documentation control program assures the correct document is always available at the point of use. Active documents are serialized and stamped to eliminate the possibility of performing a job from obsolete or incorrect instructions. Individuals in all departments are required to analyze the methods employed at their positions and formulate plans to improve performance. The evaluation process is never exhausted. Screening efforts alone are never considered enough. In all areas of our business, everyone is expected to make continuous im- provement. RESEARCH AND Microchip's research and development activities, include explor- ing new process technologies and products that have industry DEVELOPMENT OF leadership potential. Particular emphasis is placed on products PERFORMANCE PRODUCTS that can be put to work in high performance niche markets. Equipment is continually updated to bring the most sophisticated process, CAD and testing tools on line. Cycle times for new technology development are continuously reduced by using a pilot line within the manufacturing facility. Microchip works in tangent with customers to establish mutual FORMING A programs to improve the performance of our products in their PERFORMANCE ALLIANCE systems. We go beyond the incoming inspection level and speci- WITH CUSTOMERS fication by extending our quality responsibility to the point where the customer ships the system. Microchip's quality programs ensure that our products can be used with such impunity, a customer can implement improvement programs centered on us as a supplier. © 1990 Microchip Technology Inc. DS00027D-7 xiii Microchip Technology Incorporated NOTES: D5000270-8 © 1990 Microchip Technology Inc. xlv Microchip SECTION 1 SERIAL EEPROM PRODUCT SPECIFICATIONS 24C01A 1K (128 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 1 24C01A Dice 1 K (128 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 9 24C02A 2K (256 X 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 17 24C02A Dice 2K (256 X 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 25 24C04A 4K (512 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 33 24C04A Dice 4K (512 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 41 59C11 1K (128 x 8 or 64 x 16) CMOS Serial Electrically Erasable PROM .......................... 1- 49 59C11 Dice 1K (128 x 8 or 64 x 16) CMOS Serial Electrically Erasable PROM Die Form .......... 1- 57 85C72 1K (128 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 65 85C72 Dice 1K (128 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 73 85C82 2K (256 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 81 85C82 Dice 2K (256 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1- 89 85C92 4K (512 x 8) CMOS Serial Electrically Erasable PROM ........................................... 1- 97 85C92 Dice 4K (512 x 8) CMOS Serial Electrically Erasable PROM Die Form ........................... 1-105 93C06 256 Bits (16 x 16) CMOS Serial Electrically Erasable PROM ................................... 1-113 93C06 Dice 256 Bits (16 x 16) CMOS Serial Electrically Erasable PROM Die Form ................... 1-121 93C46 1K (64 x 16) CMOS Serial Electrically Erasable PROM ........................................... 1-129 93C46 Dice 1K (64 x 16) CMOS Serial Electrically Erasable PROM Die Form ........................... 1-137 24CXXl85CXX 24CXXl85CXX To Microcontroller Communication .................................................. 1-145 ER59256/93C06 ER59256/93C06 And NMC9306/NMC93C06 Compatibility Issue ............................ 1-155 24C01A 24C01A Compatibility Issue And Its Mobility For Memory Upgrade ......................... 1-159 © 1990 Microchip Technology Inc. DS00018C 1-i Microchip DS00018C © 1990 Microchip Technology 1-ii ~. Microchip 24C01A lK (128 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc 24C01A is a 1K bit Elec- • Organized as one block of 128 bytes (128 x 8) trically Erasable PROM. The device is organized as 128 • Two wire serial interface bus x 8 bit memory with a two wire serial interface. Advanced • S volt only operation CMOS technology allows a significant reduction in power • Self-timed write cycle (including auto-erase) over NMOS serial devices. Up to eight 24COI As may be • Page-write butter for up to 2 bytes connected to the two wire bus. The 24COI A is available • 1ms write cycle time for single byte in the standard 8-pin DIP and a surface mount SOIC • 100,000 eraselwrite cycles package. • Data retention >10 years • 8-pin DIP or SOIC package • Available for extended temperature ranges: -Commercial: O'C to +70'C -Industrial: -40'C to +8S'C -Automotive: -40'C to +12S'C PIN CONFIGURATION BLOCK DIAGRAM DIP Package AO Vee A1 NF A2 SCL Vss SDA SDA SO Package SCL AO Vee A1 NF AO A1 A2 A2 SCL Vss SDA © 1990 Microchip Technology Inc. 1-1 DS11133B-1 24C01A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function All inputs and outputs w.r.t. Vss .................... -0.3 V to +7 V Storage temperature ........................ -65'C to + 150'C AO,A1,A2 Chip Address Inpu's Ambient temp. with power applied ....... -65'C to + 125'C Vss Ground Soldering temperature 01 leads (10 seconds) .... +300'C SDA Serial Address/Data I/O ESD protection on all pins ..................................... .4 kV SCl Serial Clock *Notice: Stresses above those listed under "Maximum ratings" may cause NF No Function permanent damage to the device. This is astress rating only and functional Vcc +5 V Power Supply operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial (C): Tamb = O'C to +70'C Industrial (I): Tamb = -40'C to +85'C Automotive lEi: Tamb - -40'C to +125'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCl and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V low level input voltage VIL -0.3 Vee x 0.3 V low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, A1 & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V low level input voltage VIL -0.3 0.5 V Input leakage current III 10 J,tA VIN = 0 V to Vcc Output leakage current ILO 10 j.!A VOUT = 0 V to Vcc Internal capacitance CINT 7.0 pF VINNoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25'C, 1 = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz. program cycle time = 2 ms, Vee = 5 V, Tamb = O'C to 70'C 4.25 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = (I) and (E) program cycle lecw 7.0 mA Vee = 5 V, Tamb = O'C to +70'C 8.5 mA Vee = 5 V, Tamb= (I) and (E) read cycle leeR 750 j.!A Vee=5 V, Tamb= (C), (I) and (E) Standby current Ices 100 j.!A SDA = SCl = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP seL--~ SDA -----r..1 DS111338-2 © 1990 Microchip Technology Inc. 1-2 24C01A AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time TSU:STO 4700 ns Bus free time TBUF 4700 ns Time the bus must be free before a new transmission can start Input filter time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL SDA _TBUF FUNCTIONAL DESCRIPTION The 24C01 A supports a bidirectional two wire bus and mitter or receiver but the master device determines data transmission protocol. A device that sends data which mode is activated. onto the bus is defined as transmitter, and a device Up to eight 24C01 As can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, A1 and A2 chip address inputs. by a master device which generates the serial clock Other devices can be connected to the bus but require (SCl), controls the bus access, and generates the different device codes than the 24C01 A (refer to sec- START and STOP conditions, while the 24C01 A works tion Slave Address). as slave. Both, master and slave can operate as trans- © 1990 Microchip Technology Inc. DS111338-3 1-3 24C01A BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW - Data transfer may be initiated only when the bus is not period olthe clock signal. There is one clock pulse ~r bit busy. of data. During data transfer, the data line must remain stable Each data transfer is initiated with a START condition and whenever the clock line is HIGH. Changes in the data terminatedwithaSTOPcondition. Thenumberofthedata line while the clock line is HIGH will. be interpreted as a bytes transferred between the START and STOP condi- START or STOP condition. tions is determined by the master device and is theoreti- cally unlimited. Accordingly, the following bus conditions have been de- fined (see Figure 1): Acknowledge Bus not Bysy (A) Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte. Both data and clock lines remain HIGH. The master device must generate an extra clock pulse Start Data Transfer (B) which is associated with this acknowledge bit. Note: The 24C01A does not generate any acknowledge A HIGH to LOW transition of the SDA line while the clock bits if an internal programming cycle is in progress. (SCL) is HIGH determines a START condition. All com- mands must be preceded by a START condition. The device that acknowledges, has to pull down the SDA lineduringtheacknowledgeclockpulse in such a way that Stop Data Transfer (C) the SOA line is stable lOW during the HIGH period of the acknowledge related clock pulse. Of course, setup and A lOW to HIGH transition of the SDA line while the clock hold times must be taken into account. A master must (SCl) is HIGH determines a STOP condition. All opera- signal an end of data to the slave by not generating an tions must be ended with a STOP condition. acknowledge bit on the last byte that has been clocked out Data Valid (D) olthe slave. In this case, the slave must leave the data line HIGH to enable the master to generate the STOP condi- The state olthe data line represents valid data when, after tion. a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1 - DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) SCl --+--t-"'" SDA START CONDITION ADDRESS DATA AllOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS111338'4 © 1990 Microchip Technology Inc. 1-4 24C01A SLAVE ADDRESS The chip address inputs AO, A1 and A2. of each 24C01 A word address and will be written into the address pointer must be externally connected to either Vee or ground ofthe24C01 A. The most significant bitofthewordaddress (Vss), assigning to each 24C01A a unique 3-bit address. is a "Do Not Care" value for the 24C01 A. After receiving Up to eight 24C01 As may be connected to the bus. Chip the 'acknowledge of the 24C01 A, the master device trans- selection is then accomplished through software by setting mits the data word to be written into the addressed memory the bits AO, A1 and A2 of the slave address to the corre- location. The 24C01A acknowledges again and the sponding hardwired logic levels of the selected 24C01 A. master generates a STOP condition. This initiates the internal programming cycle of the 24C01 A. (See Figure Aftergenerating a START condition, the bus master trans- 3). mits the slave address consisting of a 4-bit device code (1010) for the 24C01 A, followed by the chip address bits AO, A1 and A2. PAGE PROGRAM MODE The eighth bit of slave address determines if the master To program the 24C01 A, the mastersends addresses and devicewantsto read or writeto the 24C01A. (See Figure2.) data tothe 24C01 A which is the slave, (see Figure 3). This The 24C01 A monitors the bus for its corresponding slave is done by supplying a START condition followed by the 4- address all the time. It generates an acknowledge bit ifthe bit device code, the 3-bit slave address, and the RiW bit slave address was true and it is not in a programming which is defined as a logic LOW for a write. This indicates mode. to the addressed slave that a word address will follow so the slave outputs the acknowledge pulse to the master during the ninth clock pulse. When the word address is FIGURE 2 - SLAVE ADDRESS received by the 24C01 A, it places it in the lower a bits olthe address pointer defining which memory location is to be ALLOCATION written. (One do not care bit and seven address bits.) The START READIWRITE 24C01 A will generate an acknowledge after every a-bits / '-..... received and store them consecutively in a 2-byte RAM I : / until a STOP condition is detected which initiates the internal programming cycle. If more than 2 bytes are transmitted by the master, the 24C01 A will terminate the I I write cycle. Th is does not affect erase/write cycles of the ( o o EEPROM array. If the master generates a STOP condition after transmit- tingthefirstdataword (Point 'P' on Figure3), byte program- ming mode is entered. The internal, completely self-timed PROGRAM cycle BYTE PROGRAM MODE starts after the STOP condition has been generated by the In this mode the master sends addresses and one data master and all received (up to two) databyteswill be written byte to the 24C01 A. in a serial manner. Following the START condition, the device code (4-bit), The PROGRAM cycle takes N milliseconds, whereby N is the slave address (3-bit), and the RiW bit, which is logic the number of received data bytes (N max = 2). LOW, are placed onto the busby the master. This indicates to the addressed 24C01 A that a byte with a word address will follow after it has generated an acknowledge bit. Therefore, the next byte transmitted by the master is the FIGURE 3 - PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE © 1990 Microchip Technology Inc. DSll1338-5 1-5 24C01A READ MODE This mode illustrates master device reading data from the from the addressed location on tothe SDA pin, increments 24C01A. the address pointer and, if it receives an acknowledge from As can be seen from Figure 4, the master first sets up the the master, will transmit the next consecutive byte. This slave and word addresses by doing a write. (Note: autoincrement sequence is only aborted when the master Although this is a read mode, the address pointer must be sends a STOP condition instead of an acknowledge. written to.) During this period the 24C01 A generates the Note: If the master knows where the address pointer is, it necessary acknowledge bits as defined in the appropriate can begin the read sequence at point 'R' indicated on section. Figure 4 and save time transmitting the slave and word The master now generates another START condition and addresses. transmits the slave address again, except this time the In all modes, the address pointer will automatically incre- read/write bit is set into the read mode. After the slave ment from the end olthe memory block (128 byte) back to generates the acknowledge bit, it then outputs the data the first location in that block. FIGURE 4 " READ MODE R/W R AUTO INCREMENT WORD ADDRESS PIN DESCRIPTION AQ, A1 and A2 Chip Address Inputs SCL Serial Clock The levels on these inputs are compared with the corre- This input is used to synchronize the data transfer from sponding bits in the slave address. The chip is selected if and to the device. the compare is true. NF No Function Up to eight 24C01 As can be connected to the bus. Must be connected to either Vss or Vcc. These inputs must be connected to either vss or Vcc. SDA Serial Address/Data Input/Output Notes: This is a bidirectional pin used to transfer addresses and 1) A "page" is defined as the maximum number of bytes data into and data out of the device. It is an open drain that can be programmed in a single write cycle. The terminal. 24C01A page is 2 bytes long. For normal data transfer, SDA is allowed to change only 2) A "block" is defined as a continuous area of memory during SCL LOW. Changes during SCL HIGH are re- with distinct boundaries. The address pointer can not served for indicating the START and STOP conditions. cross the boundary from one block to another. It will however, wrap around from the end of a block to the first location in the same block. The 24C01A has only one block (128 bytes). 05111338-6 © 1990 Microchip Technology Inc. 1-6 24C01A NOTES: © 1990 Microchip Technology Inc. D5111338-7 1-7 24C01A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: J CERDIP P Plastic DIP SN Plastic SOIC (0. t 50 mil Body) SM Plastic SOIC (0.207 mil Body) I TEMPERATURE RANGE: Blank E I 0' C to +70' C -40' C to +85' C -40' C to +125' C I DEVICE: 24COtA 24C01AT 1K CMOS Serial EEPROM 1K CMOS Serial EEPROM (in Tape & Reel) 0511133B-8 © 1990 Microchip Technology Inc, 1-8 24C01A Microchip DICE FORM lK (128 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION Low power CMOS technology The Microchip Technology Inc. 24C01A is a 1K bit • Organized as one block of 128 bytes (128 x 8) Electrically Erasable PROM. The device is organized as Two wire serial interface bus 128 x 8 bit memory with a two wire serial interface. 5 volt only operation Advanced CMOS technology allows a significant reduc- Self-timed write cycle (including auto-erase) tion in power over NMOS serial devices. Up to eight Page-write buffer for up to 2 bytes 24C01 As may be connected to the two wire bus. The • 1ms write cycle time for single byte 24C01 A dice are available in wafer or waffle pack • Available in wafer or wafflepack package. • Temperature range: -Commercial: O'C to +70'C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 106 x 76 mils Data Vcc --- Buffer Vss ___ 2xB (FIFO) AP do Memory Slave di r n Array e t AOto 128 x 8 s e A6 s r SCL Increment 1- AO 8. Vcc 2. AI 7. NF 3. A2 6. SCL AO AI A2 4. Vss 5. SDA © 1990 Microchip Technology Inc. 1-9 DS11141C-l 24C01A DICE FORM ELECTRICAL CHARACTERISTICS PAD FUNCTION TABLE Maximum Ratinas* Name Function All inputs and outputs w.r.t. vss ................... -0.3V to +7V Storage temperature ....................... -65'C to +150'C AO, A1, A2 Chip Address Inputs Ambient temp. with power applied ..... -65'C to + 125'C Vss Ground Soldering temperature of leads (10 seconds) .. +300'C SDA Serial Address/Data I/O ESD protection on all pins ................................... .4 kV SCL Serial Clock NF No Function "Notice: Stresses above those listed under "Maximum ratings" may cause permanent damage to the device. This is a stress rating only and Vcc +5 V Power Supply functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to n;aximum rating conditions for extended periods may affect device reliability. DC CHARACTERISTICS Vee = +5V (±10%) Commercial (C): Tamb = O'C to +70'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vcex 0.7 Vce+ 1 V Low level input voltage VIL -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOL =3.2 mA (SDA only) AO, A1 & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage VIL -0.3 0.5 V Input leakage current III 10 IlA VIN = 0 V to Vcc Output leakage current ILO 10 IlA VOUT = 0 V to Vcc Internal capacitance CINT 7.0 pF VINlVoUT =0 V (Note 1) (all inputs/outputs) T amb = +25'C, f = 1 MHz Operating current leeo 3.5 mA FeLK=o 100 kHz,program cycle time = 2 ms, Vee = 5 V, program cycle leew 7.0 mA Vee=5 V read cycle leeR 750 IlA Vee=5 V Standby current Ices 100 IlA SDA = SCL =Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP SCL _ _- - J SDA - - - - - - ; - , 1 START STOP DS11141C-2 © 1990 Microchip Technology Inc. 1-10 24C01 A DICE FORM AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock Frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time Tsu:sTo 4700 ns Bus free time TBUF 4700 ns Time the bus must be free before a new transmission can start Noise suppression time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL ....-..- THD:DAT (receiver) T PO (transmitter) FUNCTIONAL DESCRIPTION The 24COI A supports a bidirectional two wire bus and transmitter or receiver but the master device determines data transmission protocol. A device that sends data which mode is activated. onto the bus is defined as transmitter, and a device Up to eight 24C01As can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, Al and A2 chip apdress inputs. by a master device which generates the serial clock Other devices can be connected to the bus but require (SCl), controls the bus access, and generates the different device codes than the 24COI A (refer to section START and STOP conditions, while the 24COI A works Slave Address). as slave. Both, master and slave can operate as ©1990 Microchip Technology Inc. DSll141C-3 1-11 24C01 A DICE FORM BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the LOW - Data transfer may be initiated only when the bus is not period of the clock signal. There is one clOCk pulse per busy. bit of data. During data transfer, the data line must remain stable Each data transfer is initiated with a START condition wheneverthe clock line is HIGH. Changes in the data and terminated with a STOP condition. The number of line while the clock line is HIGH will be interpreted as the data bytes transferred between the START and a START or STOP condition. STOP conditions is determined by the master device and is theoretically unlimited. Accordingly, the following bus conditions have been defined (see Figure 1): Acknowledge Bus not Busy CAl Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Both data and clock lines remain HIGH. byte. The master device must generate an extra clock Start Data Transfer CBl pulse which is associated with this acknowledge bit. Note: The 24C01 A does not generate any acknowledge A HIGH to LOW transition olthe SDA line while the clock bits if an internal programming cycle is in progress. (SCL) is HIGH determines a START condition. All commands must be preceded by a START condition. The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way Stop Data Transfer Cel that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse. Of course, A LOW to HIGH transition of the SDA line while the clock setup and hold times must be taken into account. A (SCL) is HIGH determines a STOP condition. All opera- master must signal an end of data to the slave by not tions must be ended with a STOP condition. generating an acknowledge bit on the last byte that has Data Valid COl been clocked out olthe slave. In this case the slave must leave the data line HIGH to enable the master to gener- The state of the data line represents valid data when, ate the STOP condition. after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1· DATA TRANSFER ON THE SERIAL BUS (A) (8) (A) SCl --+--t~ SDA START CONDITION ADDRESS DA fA N lOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS11141C·4 © 1990 Microchip Technology Inc. 1-12 24C01 A DICE FORM SLAVE ADDRESS The chip address inputs AO, A1 and A2 of each 24C01A indicates to the addressed 24C01A that a byte with a must be externally connected to either Vee or ground word address will follow after it has generated an ac- (Vss) , assigning to each 24C01 A a unique 3-bit address. knowledge bit. Therefore the next byte transmitted by Uptoeight24C01As may be connected to the bus. Chip the master is the word address and will be written into selection is then accomplished through software by the address pOinter of the 24C01 A. The most significant setting the bits AO, A1 and A2 of the slave address to the bit of the word address is a "Do Not Care" value for the corresponding hardwired logic levels of the selected 24C01 A. After receiving the acknowledge of the 24C01 A, 24C01A. the master device transmits the data word to be written After generating a START condition, the bus master into the addressed memory location. The 24C01A transmits the slave address consisting of a 4-bit device acknowledges again and the master generates a STOP code (1010) for the 24C01A, followed by the chip ad- condition. This initiates the internal programming cycle of the 24C01 A. (See Figure 3.) dress bits AO, A1 and A2. The eighth bit of slave address determines if the master PAGE PROGRAM MODE device wants to read orwrite to the 24C01 A. (See Figure 2.) To program the 24C01A, the master sends addresses The 24C01 A monitors the bus for its corresponding and data to the 24C01 A which is the slave (see Figure slave address all the time. It generates an acknowledge 3). This is done by supplying a START condition bit if the slave address was true and it is not in a pro- followed by the 1jlit device code, the 3-bit slave ad- gramming mode. dress, and the RIW bit which is defined as a logic LOW for a write. This indicates to the addressed slave that a word address will follow so the slave outputs the ac- knowledge pulse to the master during the ninth clock FIGURE 2 - SLAVE ADDRESS pulse. When the word address is received by the ALLOCATION 24C01A, it places it in the lower a bits of the address pointer defining which memory location is to be written. START READIWRITE (One do not care bit and seven address bits.) The /' :'"(Ami 24C01 A will generate an acknowledge after every a-bits 1 : s:LAV~ / AD9RES:S A received and store them consecutively in a 2- byte RAM until a STOP condition is detected which initiates the I \ internal programming cycle. If more than 2 bytes are I \ I \ transmitted by the master, the 24C01A will terminate the 0 0 A2 A1 AO ~I write cycle. This does not affect erase/Write cycles of the EEPROM array. r Ifthe master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte programming mode is entered. The internal, completely self-timed PROGRAM cycle BYTE PROGRAM MODE starts after the STOP condition has been' generated by In this mode, the master sends addresses and one data the master and all received (up to two) data bytes will be byte to the 24C01 A. written in a serial manner. Following the START condition, the device code (4-bit), The PROGRAM cycle takes N milliseconds, whereby N the slave address (3-bit), and the Rm bit, which is logic is the number of received data bytes (N max = 2). LOW, are placed onto the bus by the master. This FIGURE 3 - PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE p © 1990 Microchip Technology Inc. DS11141C-5 1-13 24C01 A DICE FORM READ MODE This mode illustrates master device n~ading data from slave generates the acknowledge bit, it then outputs the the 24C01A. data from the addressed location on to the SDA pad, As can be seen from Figure 4, the master first sets up the increments the address pointer and, if it receives an slave and word addresses by doing a write. (Note: acknowledge from the master, will transmit the next consecutive byte. This autoincrement sequence is only Although this is a read mode, the address pOinter must be written to.) During this period the 24C01 A generates aborted when the master sends a STOP condition instead of an acknowledge. the necessary acknowledge bits as defined in the appro- priate section. Note: If the master knows where the address pointer is, it can begin the read sequence at point 'R' indicated on The master now generates another START condition Figure 4 and save time transmitting the slave and word and transmits the slave address again, except this time addresses. the readlwrite bit is set into the read mode. After the FIGURE 4 - READ MODE AUTO INCREMENT WORD ADDRESS PAD DESCRIPTION AQ, A1 and A2 ChiD Address Inputs For normal data transfer, SDA is allowed to change only during SCl lOW. Changes during SCl HIGH are re- The levels on these inputs are compared with the served for indicating the START and STOP conditions. corresponding bits in the slave address. The chip is selected if the cOmpare is true. SCL Serial Clock Up to eight24C01 As can be connected to the bus. This input is used to synchronize the data transfer from These inputs must be connected to either Vss or Vcc. and to the device. SDA Serial Address/Data Input/Output NF No Function This is a bidirectional pad used to transfer addresses Must be (;onnected to either Vss or Vcc. and data into and data out of the device. It is an open drain terminal. DS11141C-6 © 1990 Microchip Technology Inc. 1-14 24C01 A DICE FORM NOTES: © 1990 Microchip Technology Inc. DSll141C-7 1-15 24C01 A DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS W DICE in WAFER S DICE in WAFFLEPACK O' Cto 70' C I TEMPERATURE RANGE: DEVICE: 24COIA lK CMOS SERIAL EEPROM DS11141C·8 © 1990 Microchip Technology Inc. 1-16 ~. Microchip 24C02A 2K (256 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 24C02A is a 2K bit Elec- • Organized as one block of 256 bytes (256 x 8) trically Erasable PROM. The device is organized as 256 • Hardware write protect for upper 1K (128 x 8) x 8 bit memory with a two wire serial interface. Advanced • Two wire serial interface bus CMOS technology allowsasignificant reduction in power • 5 volt only operation over NMOS serial devices. A special feature allows a • Self-timed write cycle (including auto-erase) write protection for the upper 1K (128 x 8). The 24C02A • Page-write buffer for up to 2 bytes also has a page-write capability for up to 2 bytes of data. • 1ms write cycle time for single byte Up to eight 24C02As may be connected to the two wire • 100,000 erase/write cycles bus. The 24C02A is available in the standard 8-pin DIP • Data retention >10 years and a surface mount SOIC package. • 8-pin DIP or SOIC package • Available for extended temperature ranges: - Commercial: O·C to +70·C - Industrial: -40·C to +SS·C - Automotive: -40·C to +125·C PIN CONFIGURATION BLOCK DIAGRAM DIP Package AO Vee Al wp A2 SCl Vss SOA SOA SO Package AO Vee SCL Al wp AOA1 A2WP A2 SCl Vss SOA © 1990 Microchip Technology Inc. 1-17 OS111398-1 24C02A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings* Name Function All inputs and outputs w.r.t. Vss ................ -0.3 V to +7 V Storage temperature ....................... -65"C to +150"C AO,Al,A2 Chip Address Inputs Ambient temp. with power applied ..... -65"C to + 125"C Vss Ground Soldering temperature 01 leads (10 seconds) .. +300"C SDA Serial Address/Data I/O ESD protection on all pins ................................... .4 kV SCL Serial Clock "Notice: Stresses above those listed under "Maximum ratings" may WP Write Protect Input cause permanent damage to the device. This is a stress rating only and Vcc +5 V Power Supply functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating CQnditions for extended periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial (C): Tamb = O"C to +70"C Industrial (I): Tamb = -40"C to +85"C Automotive (E): Tamb = -40"C to +12S"C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage VIL -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, Al & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage VIL -0.3 0.5 V , Input leakage current III 10 ~ VIN = 0 V to Vcc Output leakage current ILO 10 ~ VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINlVoUT = 0 V (Note 1) (all inputS/outputs) TAMS = 25"C, 1 = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = O"C to 70"C 4.25 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = (I) and (E) program cycle leew 7.0 mA Vce = 5 V, Tamb = O"C to +70"C 8.5 mA Vee = 5 V, Tamb = (I) and (E) read cycle leeR 750 ~ Vee = 5 V, Tamb = (C), (I) and (E) Standby current Ices 100 ~ SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP I I I I I I SCL~ I I \ .I I I Tsu,sTA --i-- + I I I THD:sTA Tsu,sro ~ I I I I I SOA I /1I I I / \ I -START ., I I -STOP I I DSll1399-2 © 1990 Microchip Technology Inc. 1-18 24C02A AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time Tsu:sTA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time Tsu:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time Tsu:sTo 4700 ns Bus free time TSUF 4700 ns Time the bus must be free before a new transmission can start Input filter time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter, the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL SOA FUNCTIONAL DESCRIPTION The 24C02A supports a bidirectional two wire bus and mitter or receiver but the master device determines data transmission protocol. A device that sends data which mode is activated. onto the bus is defined as transmitter, and a device Up to eight 24C02As can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, AI and A2 chip address inputs. by a master device which generates the serial clock Other devices can be connected to the bus, but require (SCl), controls the bus access, and generates the different device codes than the 24C02A (refer to section START and STOP conditions, while the 24C02A works Slave Address). as slave. Both, master and slave can operate as trans- © 1990 Microchip Technology Inc. OS111398-3 1-19 24C02A BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW Data transfer may be initiated only when the bus is period of the clock signal. There is one clock pulse per not busy. bit of data. During data transfer, the data line must remain Each data transfer is initiated with a STARTcondition stable whenever the clock line is HIGH. Changes and terminated with a STOP condition. The number of in the data line while the clock line is HIGH will be the data bytes transferred between the START and interpreted as a START or STOP condition. STOP conditions is determined by the master device Accordingly, the following bus conditions have been and is theoretically unlimited. defined (see Figure 1): Acknowledge Bus not Busy (A) Each receiving device, when addressed, is obliged to Both data and clock lines remain HIGH. generate an acknowledge after the reception of each byte. The master device must generate an extra clock Start Data Transfer (B) pulse which is associated with this acknowledge bit. A HIGH to lOW transition of the SDA line while the clock Note: The 24C02A does not generate any acknowledge (SCl) is HIGH determines a STARTcondition. All com- bits if an internal programming cycle is in progress. mands must be preceded by a START condition. The device that acknowledges, has to pull down the SDA Stop Data Transfer (C) line during the acknowledge clock pulse in such a way that the SDA line is stable lOW during the HIGH period A lOW to HIGH transition of the SDA line while.the clock of the acknowledge related clock pulse. Of course, (SCl) is HIGH determines a STOP condition. All opera- setup and hold times must be taken into account. A tions must be ended with a STOP condition. master must signal an end of data to the slave by not Data Valid (D) generating an acknowledge bit on the last byte that has been clocked out of the slave. In this case, the slave The state of the data line represents valid data when, must leave the data line HIGH to enable the master to after a START condition, the. data line is stable for the generate the STOP condition. duration of the HIGH period of the clock signal. FIGURE·1 - DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) (A) SCL --t---j-, SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID 08111398-4 © 1990 Microchip Technology Inc. 1-20 24C02A SLAVE ADDRESS The chip address inputs AO, A 1 and A2 of each 24C02A indicates to the addressed 24C02A that a byte with a must be externally connected to either Vee or ground word address will follow after it has generated an ac- (Vss), assigning to each 24C02A a unique 3-bit address. knowledge bit. Therefore, the next byte transmitted by Up to eight 24C02As may be connected to the bus. Chip the master is the word address and will be written into the selection is then accomplished through software by address pointer of the 24C02A. After receiving the setting the bits AO, A 1 and A2 of the transmitted slave acknowledge of the 24C02A, the master device trans- address to the corresponding hardwired logic levels of mits the data word to be written into the addressed the selected 24C02A. memory location. The 24C02A acknowledges again After generating a START condition, the bus master and the master generates a STOP condition. This transmits the slave address consisting of a 4-bit device initiates the internal programming cycle of the 24C02A. code (1010) for the 24C02A, followed by the chip ad- (See Figure 3.) dress bits AO, A 1 and A2. The eighth bit of slave address determines if the master PAGE PROGRAM MODE device wants to read or write to the 24C02A. (See Figure To program the 24C02A, the master sends addresses 2.) and data to the 24C02A which is the slave. (See Figure The 24C02A monitors the bus for its corresponding 3.) This is done by supplying a START condition slave address all the time. It generates an acknowledge followed by the 4-bit device code, the 3-bit slave ad- bit if the slave address was true and it is not in a dress, and the RiW bit which is defined as a logic LOW programming mode. for a write. This indicates to the addressed slave that a word address will follow so the slave outputs the ac- knowledge pulse to the master during the ninth clock FIGURE 2 - SLAVE ADDRESS pulse. When the word address is received by the ALLOCATION 24C02A, it places it in the lower 8 bits of the address pointer defining which memory location is to be written. The 24C02A will generate an acknowledge after every 8 bits received and store them consecutively in a 2-byte RAM until a STOP condition is detected which initiates / / I ,, the internal programming cycle. If more than 2 bytes are transmitted by the master, the 24C02A will terminate the (1 I 11 I I I IAO'l 0 0 A2 Al write cycle. This does not affect erase/write cycles olthe EEPROM array. lithe master generates a.STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte pro- BYTE PROGRAM MODE gramming mode is entered. The internal, completely self-timed PROGRAM cycle In this mode the master sends addresses and one data starts after the STOP condition has been generated by byte to the 24C02A. the master and all received (up to two) data bytes will be Following the START condition, the device code (4-bit), written in a serial manner. the slave address (3-bit), and the RiW bit, which is logic The PROGRAM cycle takes N milliseconds, whereby N LOW, are placed onto the bus by the master. This is the number of received data bytes (N max = 2). FIGURE 3 - PROGRAM MODE (ERASEIWRITE) ACKNOWLEOGES FROM SLAVE © 1990 Microchip Technology Inc. D5111398-5 1-21 24C02A WRITE PROTECTION Programming of the upper half of the memory will not The master now generates another START condition take place if the WP pin of the 24C02A is connected to and transmits the slave address again, except this time Vee (+5 V). The 24C02A will accept slave and word ad- the read/write bit is set into the read'mode. After the dresses but ifthe memory accessed is write protected by slave generates the acknowledge bit, it then outputs the the WP pin, the 24C02A will not generate an acknowl- data from the addressed location on to the SDA pin, in- edge after the first byte of data has been received, and crements the address pointer and, if it receives an ac- thus the program cycle will not be started when th~ stop knowledge from the master, will transmit the next con- condition is asserted. secutive byte. This autoincrement sequence is only aborted when the master sends a STOP condition READ MODE instead of an acknowledge. Note: If the master knows where the address pointer is, This mode illustrates master device reading data from the 24C02A. it can begin the read sequence at point 'R' indicated on Figure 4 and save time transmitting the slave and word As can be seen from Figure4, the master first sets up the addresses. slave and word addresses by doing a write. (Note: although this is a read mode the address pOinter must be Note: In all modes, the address pointer will automatically written to.) During this period the 24C02A generates the increment from the end of the memory block (256 byte) necessary acknowledge bits as defined in the appropri- back to the first location in that block. ate section. FIGURE 4 • READ MODE RIW R AUTO INCREMENT WORD ADDRESS PIN DESCRIPTION AO. A1 and A2 Chip Address Inputs of memory (addresses OaQ-OFF) will not be executed. Read operations are possible. The levels on these inputs are compared with the corresponding bits in the slave address. The chip is Iflied to Vss, normal memory operation is enabled (read/ selected if the compare is true. write the entire memory OOQ-OFF). Up to eight 24C02As can be connected to the bus. This feature allows the user to assign the upper half of These inputs must be connected to either Vss or Vee, the memory as ROM which can be protected against accidental programming. When write is disabled, slave SDA Serial Address/Data Input/Output address and word address will be acknowledged but data will not be acknowledged. This is a bidirectional pin used to transfer addresses and data into and data out of the device. It is an open drain terminal. Notes: For normal data transfer SDA is allowed to change only 1) A "page" is defined as the maximum number of bytes during SCl lOW. Changes during SCl HIGH are re- that can be programmed in a single write cycle. The served for indicating the START and STOP conditions. 24C02A page is 2 bytes long. SCL Serial Clock 2) A "block" is defined as a continuous area of memory with distinct bOundaries. The address pointer can not This input is used to synchronize the data transfer from cross the boundary from one block to another. It will and to the device. however, wrap around from the end of a block to the first WP Write Protection location in the same block. The 24C02A has only one block (256 bytes). This pin must be connected to either Vss or Vee. Iflied to Vee, PROGRAM operations onto the upper half D5111399-6 © 1990 Microchip Technology Inc. 1-22 24C02A NOTES: © 1990Microchip Technology Inc. 08111398-7 1-23 24C02A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: J CERDIP P PLASTIC DIP SN PLASTIC SOIC (0.150 mil Body) SM PLASTIC SOIC (0.207 mil Body) I TEMPERATURE RANGE: Blank E I 0' C to +70' C -40' C to +85' C -40' C to +125' C I DEVICE: 24C02A 24C02AT 2K CMOS Serial EEPROM 2K CMOS Serial EEPROM (in Tape & Reel) 08111398-8 © 1990 Microchip Technology Inc. 1-24 24C02A Microchip DICE FORM 2K (256 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc 24C02A is a 2K bit Organized as one block of 256 bytes (256 x 8) Electrically Erasable PROM. The device is organized as Hardware write protect for upper 1k (128 x 8) 256 x 8 bit memory with a two wire serial interface. Two wire serial interface bus Advanced CMOS technology allows a significant re- • 5 volt only operation duction in power over NMOS serial devices. A special Self-timed write cycle (including auto-erase) feature allows a write protection for the upper 1k (128 x • Page-write buffer for up to 2 bytes 8). The 24C02A also has a page-write capability for up • 1ms write cycle time for single byte to 2 bytes of data. Up to eight 24C02As may be • Available in wafer or wafflepack connected to the two wire bus. The 24C02A dice are • Temperature range: available in wafer or wafflepack package. -Commercial: O·C to +70·C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 106 x 76 mils Data Vee ..... Buffer Vss ..... 2x8 (FIFO) SDA Memory Array AOto 256 x8 A7 © 1990 Microchip Technology Inc. 1-25 DS11142C-1 24C02A DICE FORM ELECTRICAL CHARACTERISTICS PAD FUNCTION TABLE MAXIMUM RATINGS· Name Function All inputs and outputs W.r.t. vss ................... -0.3V to +7V Storage temperature ....................... -65·C to +150'C AO, AI, A2 Chip Address Inputs Ambient temp. with power applied ..... -65'C to + 125'C Vss Ground Soldering temperature 01 leads (10 seconds) .. +300'C SDA Serial Address/Data I/O ESD protection on all pins ................................... .4 kV SCL Serial Clock "Notice: Stresses above those listed under "Maximum ratings" may WP Write Protect Input cause permanent damage to the device. This is a stress rating only and Vee +5 V Power Supply functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial (C): Tamb = O'C to +70'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage VIL -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, AI & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage VIL -0.3 0.5 V Input leakage current III 10 J.lA VIN = 0 V to Vcc Output leakage current ILO 10 J.lA VOUT = 0 V to Vcc Internal capacitance CINT 7.0 pF VINNoUT = 0 V (Note 1) (all inputs/outputs) T amb = +25'C, 1 = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, program cycle leew 7.0 mA Vee=5 V read cycle leeR 750 J.lA Vee=5 V Standby current Ices 100 J.LA SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP SCL _ _ _J SDA -----n.1 START STOP DS11142C-2 ©1990 Microchip Technology Inc. 1-26 24C02A DICE FORM AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time TSU:STO 4700 ns Bus free time TBUF 4700 ns Time the bus must be free before a new transmission can start Noise suppression time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL THD:DAT (receiver) T PO (transmitter) SDA FUNCTIONAL DESCRIPTION The 24C02A supports a bidirectional two wire bus and transmitter or receiver but the master device determines data transmission protocol. A device that sends data which mode is activated. onto the bus is defined as transmitter, and a device Up to eight 24C02As can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, A1 and A2 chip address inputs. by a master device which generates the serial clock Other devices can be connected to the bus but require (SCl), controls the bus access, and generates the different device codes than the 24C02A (refer to section START and STOP conditions, while the 24C02A works Slave Address). as slave. Both, master and slave can operate as ©1990 Microchip Technology Inc. DS11142C-3 1-27 24C02A DICE FORM BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW Data transfer may be initiated only when the bus is not period of the clock signal. There is one clock pulse per busy. bit of data. During the data transfer, the data line must remain Each data transfer is initiated with a START condition stable whenever the clock line is HIGH. Changes in and terminated with a STOPp condition. The number of the data line while the clock line is HIGH will be the data bytes transferred between the START and interpreted as a START or STOP condition. STOP conditions is determined by the master device and is theoretically unlimited. Accordingly, the following bus conditions have been defined (see Figure 1): Acknowledge Bus not busy CA) Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Both data and clock lines remain HIGH. byte. The master device must generate an extra clock Start Data Transfer (B) pulse which is associated with this acknowledge bit. Note: The 24C02A does not generate any acknowledge A HIGH to lOW transition of the SDA line while the clock bits if an internal programming cycle is in progress. (SCl) is HIGH determines a START condition. All commands must be preceded by a START condition. The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way Stop Data Transfer (C) that the SDA line is stable lOW during the HIGH period of the acknowledge related clock pulse. Of course, A lOW to HIGH transition of the SDA line while the clock setup and hold times must be taken into account. A (SCl) is HIGH determines a STOP condition. All opera- master must signal an end of data to the slave by not tions must be ended with a STOP condition. generating an acknowledge bit on the last byte that has Data Valid CD) been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to The state of the data line represents valid data when, generate the STOP condition. after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1 • DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) SCL --+---If--.. SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DSl1142C-4 ©1990 Microchip Technology Inc. 1-28 24C02A DICE FORM SLAVE ADDRESS The chip address inputs AO, A 1 and A2 of each 24C02A word address will follow after it has generated an ac- must be externally connected to either Vee or ground knowledge bit. Therefore, the next byte transmitted by (VSS) , assigning to each 24C02A a unique 3-bit address. the master is the word address and will be written into the Up to eight 24C02As may be connected to the bus. Chip address pointer of the 24C02A. After receiving the selection is then accomplished through software by acknowledge of the 24C02A, the master device trans- setting the bits AO, A1 and A2 of the transmitted slave mits the data word to be written into the addressed address to the corresponding hardwired logic levels of memory location. The 24C02A acknowledges again the selected 24C02A. and the master generates a STOP condition. This After generating a START condition, the bus master initiates the internal programming cycle of the 24C02A. transmits the slave address consisting of a 4-bit device (See Figure 3.) code (1010) for the 24C02A, followed by the chip ad- dress bits AO, A1 and A2. PAGE PROGRAM MODE The eighth bit of slave address determines if the master To program the 24C02A, the master sends addresses device wants to read or write to the 24C02A. (See Figure and data to the 24C02A which is the slave (see Figure 2.) 3). This is done by supplying a START condition The 24C02A monitors the bus for its corresponding followed by the 4-bit device code, the 3-bit slave ad- slave address all the time. It generates an acknowledge dress, and the RIW bit which is defined as a logic LOW bit if the slave address was true and it is not in a pro- for a write. This indicates to the addressed slave that a gramming mode. word address will follow so the slave outputs the ac- knowledge pulse to the master during the ninth clock pulse. When the word address is received by the FIGURE 2· SLAVE ADDRESS 24C02A, it places it in the lower 8 bits of the address pointer defining which memory location is to be written. ALLOCATION The 24C02A will generate an acknowledge after every START READIWRITE 8-bits received and store them consecutively in a 2-byte /' ~ RAM until a STOP condition is detected which initiates : ~LAV~ the internal programming cycle. If more than 2 bytes are AD9RES:S : , IRIWI A transmitted by the master, the 24C02Awili terminate the / I ,, write cycle. This does not affect erase/write cycles ofthe I I I , EEPROM array. I' 0 0 A2 A1 AD ~I If the master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte programming mode is entered. The internal, completely self-timed PROGRAM cycle starts after the STOP condition has been generated by BYTE PROGRAM MODE the master and all received (up to 2) data bytes will be written in a serial manner. In this mode, the master sends addresses and one data byte to the 24C02A. The PROGRAM cycle takes N milliseconds, whereby N is the number of received data bytes (N max = 2). Following the START condition, the device code (4-bit), the slave address (3-bit), and the Rm bit, which is logic LOW, are placed onto the bus by the master. This indicates to the addressed 24C02A that a byte with a FIGURE 3 . PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE ©1990 Microchip Technology Inc. DS11142C-5 1-29 24C02A DICE FORM WRITE PROTECTION Programming of the upper half of the memory will not The master now generates another START condition take place if the WP pad of the 24C02A is connected to and transmits the slave address again, except this time Vcc (+5 V). The 24C02A will accept slave and word the read/write bit is set into the read mode. After the addresses but if the memory accessed is write protected slave generates the acknowledge bit, it then outputs the by the WP pad, the 24C02A will not generate an ac- data from the addressed location on to the SDA pad, knowledge after the first byte of data has been received, increments the address pointer and, if it receives an and thus the program cycle will not be started when the acknowledge from the master, will transmit the next STOP condition is asserted. consecutive byte. This autoincrement sequence is only aborted when the master sends a STOP condition READ MODE instead of an acknowledge. Note: If the master knows where the address pointer is, This mode illustrates master device reading data from it can begin the read sequence at point 'R' indicated on the 24C02A. Figure 4 and save time transmitting the slave and word As can be seen from Figure 4, the master first sets up the addresses. slave and word addresses by doing a write. (Note: Note: In all modes, the address pointer will automatically Although this is a read mode, the address pointer must increment from the end of the memory block (256 bytes) be written to.) During this period the 24C02A generates back to the first location in that block. the necessary acknowledge bits as defined in the appro- priate section. FIGURE 4 • READ MODE R/W R AUTO INCREMENT WORD ADDRESS PAD DESCRIPTION AD. A1 and A2 Chip Address Inputs SCL Serial Clock The levels on these inputs are compared with the This input is used to synchronize the data transfer from corresponding bits in the slave address. The chip is and to the device. selected if the compare is true. WP Write Protection Up to eight 24C02As can be connected to the bus. These inputs must be connected to either Vss or Vcc. This pad must be connected to either VCC or VSS. If tied to Vcc, PROGRAM operations onto the upper SDA Serial Address/Data Input/Output memory page (addresses 080-0FF) will not be exe- This is a bidirectional pad used to transfer addresses cuted. READ operations are possible. and data into and data out of the device. It is an open If tied to Vss, normal memory operation is enabled (readl drain terminal. write the entire memory OOO-OFF). For normal data transfer, SDA is allowed to change only This feature allows the user to assign the upper half of during SCL LOW. Changes during SCL HIGH are re- the memory as ROM which can be protected against served for indicating the START and STOP conditions. accidental programming. When write is disabled, slave address and word address will be acknowledged but data will not be acknowledged. DS11142C-6 ©1990 Microchip Technology Inc. 1-30 24C02A DICE FORM NOTES: ©1990 Microchip Technology Inc. DSll142C-7 1-31 24C02A DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS W DICE in WAFER S DICE in WAFFLEPACK O' C to 70' C I TEMPERATURE RANGE: DEVICE: 24C02A 2K CMOS SERIAL EEPROM DS11142C-8 ©1990 Microchip Technology Inc. 1-32 Microchip 24C04A 4K (512 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 24C04A is a 4K bit Elec- • Organized as two blocks of 256 bytes (2 x 256 x 8) trically Erasable PROM. The device is organized as two • Hardware write protect for upper block blocks of 256 x 8 bit memory with a two wire serial Two wire serial interface bus interface. Advanced CMOS technology allows a signifi- • 5 volt only operation cant reduction in power over NMOS serial devices. A • Self-timed write cycle (including auto-erase) special feature allows a write protection for the upper Page-write buffer for up to 8 bytes 256 byte block. The 24C04A also has a page-write ca- 1ms write cycle time for single byte pability for up to 8 bytes of data. Up to four 24C04As may 100,000 erase/write cycles be connected to the two wire bus. The 24C04A is Data retention> 10 years available in the standard a-pin DIP and a surface mount 8-pin DIP or SOIC package SOIC package. Available for extended temperature ranges: -Commercial: O·C to +70·C -Industrial: -40·C to +85·C -Automotive: -40·C to +85·C PIN CONFIGURATION BLOCK DIAGRAM DIP Package AO Vee Al wp A2 SCL Vss SDA SOA SO Package AO Vee SCL Al WP A2 SCL AO A1 A2WP Vss SDA © 1990 Microchip Technology Inc. 1-33 OSll1408-1 24C04A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings* Name Function All inputs and outputs w.r.t. Vss ................ -0.3 V to +7 V Storage temperature ....................... -65'C to +150'C AO No Function, Must he Ambient temp. with power applied ..... -65'C to + 125'C connected to Vee or Vss Soldering temperature 01 leads (10 seconds) .. +300'C Al,A2 Chip Address Inputs ESD protection on all pins ................................... .4 kV Vss Ground *Notice: Stresses above those listed under "Maximum ratings" may SDA Serial Address/Data I/O cause permanent damage to the device. This is a stress rating only SCL Serial Clock and functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is WP Write Protect Input not implied. Exposure to maximum rating conditions for extended Vee +5 V Power Supply periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial (C): Tamb = O'C to +70'C Industrial (I): Tamb = -40'C to +85'C Automotive: (E): Tamb = -40'C to +125'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage Vil -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOl = 3.2 mA (SDA only) Al & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage Vil -0.3 0.5 V Input leakage current III 10 I!A VIN = 0 V to Vcc Output leakage current IlO 10 I!A VOUT = 0 V to Vcc Internal capacitance CINT 7.0 pF VINlVoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25'C, 1 = 1 MHz Operating current leeo 3.5 rnA FelK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = O'C to +70'C 4.25 mA FelK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = (I) and (E) program cycle Iccw 7.0 mA Vee = 5 V, Tamb = O'C to +70'C 8.5 mA Vee = 5 V, Tamb= (I) and (E) read cycle leeR 750 !!A Vee = 5 V, Tamb= (C), (I) and (E) Standby current Ices 100 I!A SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP SCl SDA -----+,1 START, STOP D8111408-2 ©1990 Microchip Technology Inc. 1-34 24C04A AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FeLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time TSU:STO 4700 ns Bus free time TBUF 4700 ns Time the bus must be free before a new transmission can start Input filter time constant TI 100 ns (SDA and SCl pins) Program cycle time Twe .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL SDA _TBUF FUNCTIONAL DESCRIPTION The 24C04A supports a bidirectional two wire bus and mitter or receiver but the master device determines data transmission protocol. A device that sends data which mode is activated. onto the bus is defined as transmitter, and a device Up to four 24C04As can be connected to the bus, se- receiving data as receiver. The bus has to be controlled lected by the A 1 and A2 chip address inputs. AO must by a master device which generates the serial clock be tied to Vee or Vss. Other devices can be connected (SCl), controls the bus access, and generates the to the bus but require different device codes than the START and STOP conditions, while the 24C04A works 24C04A (refer to section Slave Address). as slave. Both, master and slave can operate as trans- ©1990 Microchip Technology Inc. DS11140B-3 1-35 24C04A BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW Data transfer may be initiat'3d only when the bus is not period of the clock signal. There is one clock pulse per busy. bit of data. During data transfer, the data line must remain stable Each data transfer is initiated with a START condition whenever the clock line is HIGH. Changes in the data and terminated with a STOP condition. The number of line while the clock line is HIGH will be interpreted as the data bytes transferred between the START and a START or STOP condition. STOP conditions is determined by the master device and is theoretically unlimited. Accordingly, the following bus conditions have been de- fined (see Figure 1): Acknowledge Bus not Busy (A) Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Both data and clock lines remain HIGH. byte. The master device must generate an extra clock pulse which is associated with this acknowledge bit. Start Data Transfer (B) Note: The 24C04A does not generate any acknowledge A H IG H to lOW transition olthe SDA line while the clock bits if an internal programming cycle is in progress. (SCl) is HIGH determines a START condition. All com- mands must be preceded by a START condition. The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way Stop Data Transfer eC) that the SDA line is stable lOW during the HIGH period of the acknowledge related clock pulse. Of course, A lOW to HIGH transition olthe SDA line while the clock setup and hold times must be taken into account. A (SCl) is HIGH determines a STOP condition. All opera- master must signal an end of data to the slave. by not tions must be ended with a STOP condition. generating an acknowledge bit on the last byte that has Data Valid (D) been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to The state of the data line represents valid data when, generate the STOP condition. after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1 - DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) SCL ---+----1h SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS111408-4 ©1990 Microchip Technology Inc. 1- 36 24C04A SLAVE ADDRESS The chip address inputs Aland A2 of each 24C04A word address will follow after it has generate' an ac- must be externally connected to either Vee or ground knowledge bit. Therefore the next byte tran"mltted by (Vss), assigning to each 24C04A a unique2-bit address. the master is the word address and will be writt ..m into the Up to four 24C04As may be connected to the bus. Chip address pointer of the 24C04A. After rece 'Jing the selection is then accomplished through software by acknowledge of the 24C04A, the master devil.e trans- setting the bits A 1 and A2 of the slave address to the mits the data word to be written into the addressed corresponding hardwired logic levels of the selected memory location. The 24C04A acknowledges again 24C04A. AO is not used and must be connected to either and the master generates a STOP condition. This Vee or Vss. initiates the internal programming cycle of the 24C04A. (See Figure 3.) After generating a START condition, the bus master transmits the slave address consisting of a 4-bit device code (1010) for the 24C04A, followed by the chip ad- PAGE PROGRAM MODE dress bits A 1 and A2. The seventh bit of that byte (BA) To program the 24C04A, the master sends addresses is used to select the upper block (addresses 100-1 FF) and data to the 24C04A which is the slave (see Figure or lower page (addresses OOO-OFF) of the 24C04A. 3). This is done by supplying a START condition fol- The eighth bit of slave address determines if the master lowed by the 4-bit device code, the 3-bit slave address, device wants to read or write tothe 24C04A. (See Figure and the RiW bit which is defined as a logic LOW for a 2.) write. This indicates to the addressed slave that a word The 24C04A monitors the bus for its corresponding address will follow so the slave outputs the acknowledge pulse to the master during the ninth clock pulse. When slave address all the time. It generates an acknowledge bit if the slave address was true and it is not in a the word address is received by the 24C04A, it places it in the lower 8 bits of the address pointer defining which programming mode. memory location is to be written. (The BA bit transmitted with the slave address is the ninth bit of the address FIGURE 2 • SLAVE ADDRESS pOinter.) The 24C04A will generate an acknowledge ALLOCATION after every 8-bits received and store them consecutively in an 8-byte RAM until a STOP condition is detected START READIWRITE which initiates the internal programming cycle. If more /' ~ than 8 by1es are transmitted by the master, the 24C04A 1 / : S:LAV~ AD~RES:S : , IRiWl A will roll over and overwrite the data beginning with the first received byte. This does not affect erase/write / / \ , \ cycles of the EEPROM array and is accomplished as a result of only allowing the address registers bottom 3 / ~I bits to increment while the upper 5 bits remain un- I 1 I 0 0 A2 A1 BA changed. If the master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), by1e pro- BYTE PROGRAM MODE gramming mode is entered. The internal, completely self-timed PROGRAM cycle In this mode, the master sends addresses and one data starts after the STOP condition has been generated by byte to the 24C04A. the master and all received (up to eight) data bytes will Following the START condition, the device code (4-bit), be written in a serial manner. the slave address (3-bit), and the Rm bit, which is logic The PROGRAM cycle takes N milliseconds, whereby N LOW, are placed onto the bus by the master. This is the number of received data by1es (N max = 8). indicates to the addressed 24C04A that a by1e with a FIGURE 3 • PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE RiW p ©1990 Microchip Technology Inc. DS11140B-5 1-37 24C04A WRITE PROTECTION Programming of the upper half of the memory will not The master now generates another START condition take place if the WP pin of the 24C04A is connected to and transmits the slave address again, except this time Vce (+5 V). The 24C04A will accept slave and word ad- the read/write bit is set into the read mode. After the dresses but if the memory accessed is write protected by slave generates the acknowledge bit, it then outputs the the WP pin, the 24C04A will not generate an acknowl- data from the addressed location on to the SDA pin, in- edge after the first byte of data has been received, and crements the address pointer and, if it receives an ac- thus the program cycle will not be started when the knowledge from the master, will transmit the next con- STOP condition is asserted. secutive byte. This autoincrement sequence is only aborted when the master sends a STOP condition READ MODE instead of an acknowledge. Note: If the master knows where the address pointer is, This mode illustrates master device reading data from it can begin the read sequence at point 'R' indicated on the 24C04A. Figure 4 and save time transmitting the slave and word As can be seen from Figure 4, the master first sets up the addresses. slave and word addresses by doing a write. (Note: Note: In all modes, the address pointer will not incre- Although this is a read mode, the address pOinter must ment through a block (256 byte) boundary, but will rotate be written to.) During this period the 24C04A generates back to the first location in that block. the necessary acknowledge bits as defined in the appro- priate section. FIGURE 4 - READ MODE R/W R R/W AUTO INCREMENT WORD ADDRESS PIN DESCRIPTION WP Write Protection This pin must be connected to either Vee or Vss. This pin must be connected to either Vcc or Vss. A1. A2 Chip Address Inputs If tied to Vcc, PROGRAM operations onto the upper memory block (addresses 100-1 FF) will not be exe- The levels on these inputs are compared with the cuted. Read operations are possible. corresponding bits in the slave address. The chip is If tied to Vss, normal memory operation is enabled (read/ selected if the compare is true. write the entire memory 000-1 FF). Up to four 24C04As can be connected to the bus. This feature allows the user to assign the upper half of These inputs must be connected to either Vss or Vcc. the memory as ROM which can be protected against ac- cidental programming. When write is disabled, slave SDA Serial Address/Data Input/Output address and word address will be acknowledged but This is a bidirectional pin used to transfer addresses and data will not be acknowledged. data into and data out of the device. It is an open drain terminal. Notes: For normal data transfer, SDA is allowed to change only 1) A "page" is defined as the maximum number of bytes during SCL LOW. Changes during SCL HIGH are re- that can be programmed in a single write cycle. The served for indicating the START and STOP conditions. 24C04A page is 8 bytes long. SCL Serial Clock 2) A "block" is defined as a continuous area of memory with distinct boundaries. The address pointer can not This input is used to synchronize the data transfer from cross the boundary from one block to another. It will and to the device. however, wrap around from the end of a block to the first location in the same block. The 24C04A has two blocks, 256 bytes each. D8111408-6 ©1990 Microchip Technology Inc. 1-38 24C04A NOTES: ©1990 Microchip Technology Inc. 08111408-7 1-39 24C04A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: J CERDIP P Plastic DIP SN Plastic SOIC (0.150 mil Body) SM Plastic SOIC (0.207 mil Body) O' C to 70' C I ~~~~~~ATURE _40' C to 85' C I DEVICE: 24C04A 24C04AT 4K CMOS Serial EEPROM 4K CMOS Serial EEPROM (in Tape & Reel) DS111408-8 ©1990 Microchip Technology Inc. 1-40 ~. Microchip 24C04A DICE FORM 4K (512 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 24C04A is a 4K bit Organized as two blocks of 256 bytes (2 x 256 x 8) Electrically Erasable PROM. The device is organized as • Hardware write protect for upper block two blocks of 256 x 8 bit memory with a two wire serial • Two wire serial interface bus interface. Advanced CMOS technology allows a signifi- • 5 volt only operation cant reduction in power over NMOS serial devices. A Self-timed write cycle (including auto-erase) special feature allows a write protection for the upper • Page-write buffer for up to 8 bytes 256 byte block. The 24C04A also has a page-write • 1ms write cycle time for single byte capability for up to 8 bytes of data. Up to four 24C04As Available in wafer or wafflepack may be connected to the two wire bus. The 24C04A dice Temperature range: are available in wafer or wafflepack package. -Commercial: O·C to +70·C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 113 x 76 mils Data + Vcc Vss - __- Buffer .... ~RIWAmpl 8x8 (FIFO) .- Data Reg . SDA-- f-- ~ do d i Memory Slave r n r-- 512 Array ~ Address e t ACto x8 s e A7 s~ ! SCL-q ~ Control Logic Increment AS 1. AO 8. Vcc 2. 3. 4. A1 A2 Vss 7. 6. 5. WP SCL SDA 10 t 12!p © 1990 Microchip Technology Inc. 1-41 DS11143C-1 24C04A DICE FORM ELECTRICAL CHARACTERISTICS PAD FUNCTION TABLE Maximum Ratings* Name Function All inputs and outputs W.r.t. Vss .......... -0.3 V to +7 V Storage temperature ....................... -65'C to + 150'C AO, A1, A2 Chip Address Inputs Ambient temp. with power applied ..... -65'C to + 125'C Vss Ground Soldering temperature 01 leads (10 seconds) .. +300'C ESD protection on all pins ................................... .4 kV SDA Serial Address/Data I/O SCL Serial Clock *Notice: Stresses above those listed under "Maximum ratings" may WP Write Protect Input cause permanent damage to the device. This is a stress rating only and Vee +5 V Power Supply functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. DC CHARACTERISTICS Vee = +5 V (±10%) Commercial (C): Tamb = O'C to +70'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage VIL -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, A1 & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage VIL -0.3 0.5 V Input leakage current III 10 IlA VIN = 0 V to Vcc Output leakage current ILO 10 IlA VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINlVoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25'C, 1 = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, program cycle leew 7.0 mA Vee=5 V read cycle leeR 750 IlA Vee=5 V Standby current Ices 100 IlA SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP SCL _ _-..J soA - - - - - ; , . 1 START STOP OS11143C-2 ©1990 Microchip Technology Inc. 1-42 24C04A DICE FORM AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time TSU:STO 4700 ns Bus free time TSUF 4700 ns Time the bus must be free before a new transmission can start Noise suppression time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL SDA _TBUF FUNCTIONAL DESCRIPTION The 24C04A supports a bidirectional two wire bus and transmitter or receiver but the master device determines data transmission protocol. A device that sends data which mode is activated. onto the bus is defined as transmitter, and a device Up to four 24C04A can be connected to the bus, se- receiving data as receiver. The bus has to be controlled lected by the A1 and A2 chip address inputs. AO must by a master device which generates the serial clock be tied to Vcc or Vss. Other devices can be connected (SCl). controls the bus access, and generates the to the bus but require different device codes than the START and STOP conditions, while the 24C04A works 24C04A (refer to section Slave Address). as slave. Both, master and slave can operate as ©1990 Microchip Technology Inc. DS11143C-3 1-43 24C04A DICE FORM BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW period of the clock signal. There is one clock pulse per Data transfer may be initiated only when the bus is not busy. bit of data. Each data transfer is initiated with a START condition During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data and terminated with a STOP condition. The number of the data bytes transferred between the START and line while the clock line is HIGH will be interpreted as a START or STOP condition. STOP conditions is determined by the master device and is theoretically unlimited. Accordingly, the following bus conditions have been defined (see Figure 1): Acknowledge Bus not Busy CAl Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Both data and clock lines remain HIGH. byte. The master device must generate an extra clock pulse which is associated with this acknowledge bit. Start Data Tansfer CBl Note: The 24C04A does not generate any acknowledge A HIGH to lOW transition of the SDA line while the clock bits if an internal programming cycle is in progress. (SCl) is HIGH determines a START condition. All commands must be preceded by a START condition. The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way Stop Data Transfer (C) that the SDA line is stable lOW during the HIGH period of the acknowledge related clock pulse. Of course, A lOW to HIGH transition olthe SDA line while the clock setup and hold times must be taken into account. A (SCl) is HIGH determines a STOP condition. All opera- master must signal an end of data to the slave by not tions must be ended with a STOP condition. generating an acknowledge bit on the last byte that has been clocked out of the slave. In this case, the slave Data Valid (D) must leave the data line HIGH to enable the master to The state of the data line represents valid data when, generate the STOP condition. after a start condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1· DATA TRANSFER SEQUENCE ON THE (A) (8) SCL - - j . -__h SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS11143C-4 ©1990 Microchip Technology Inc. 1-44 24C04A DICE FORM SLAVE ADDRESS The chip address inputs A 1 and A2 of each 24C04A indicates to the addressed 24C04A that a by1e with a must be externally connected to either Vee or ground word address will follow after it has generated an ac- (Vss), assigning to each 24C04A a unique 2-bit address. knowledge bit. Therefore, the next byte transmitted by Up to four 24C04As may be connected to the bus. Chip the master is the word address and will be written into the selection is then accomplished through software by address pOinter of the 24C04A. After receiving the setting the bits A 1 and A2 of the slave address to the acknowledge of the 24C04A, the master device trans- corresponding hardwired logic levels of the selected mits the data word to be written into the addressed 24C04A. AO is not used and must be connected to Vee memory location. The 24C04A acknowledges again or Vss. and the master generates a STOP condition. This initiates the internal programming cycle of the 24C04A. After generating a START condition, the bus master (See Figure 3.) transmits the slave address consisting of a 4-bit device code (1010) for the 24C04A, followed by the chip ad- dress bits A1 and A2. The seventh bit of that by1e (PA) PAGE PROGRAM MODE is used to select the upper page (addresses 100-1 FF) To program the 24C04A, the master sends addresses or lower page (addresses OOO-OFF) of the 24C04A. and data to the 24C04A which is the slave (see Figure The eighth bit of slave address determines if the master 3). This is done by supplying a START condition device wants to read or write to the 24C04A. (See Figure followed by the 4-iJit device code, the 3-bit slave ad- 2.) dress, and the RiW bit which is defined as a logic LOW The 24C04A monitors the bus for its corresponding for a write. This indicates to the addressed slave that a slave address all the time. It generates an acknowledge word address will follow so the slave outputs the ac- bit if the slave address was true and it is not in a knowledge pulse to the master during the ninth clock programming mode. pulse. When the word address is received by the 24C04A, it places it in the lower 8 bits of the address pointer defining which memory location is to be written. (The PA bit transmitted with the slave address is the FIGURE 2 • SLAVE ADDRESS ninth bit of the address pointer.) The 24C04A will ALLOCATION generate an acknowledge after every 8-bits received START READIWRITE and store them consecutively in an 8-byte RAM until a /' ~ STOP condition is detected which initiates the internal programming cycle. If more than 8 bytes are transmitted 1 / : S~AV~ AD~RES:S : lR1W1 A by the master, the 24C04A will roll over and overwrite the data beginning with the first received byte. This does not / '\ / '\ affect erase/write cycles of the EEPROM array and is / '\ , accomplished as a result of only allowing the address I' 0 I 1 0 A2 A1 PA I registers bottom 3 bits to increment while the upper 5 bits remain unchanged. If the master generates a STOP condition aftertransmit- ting the first data word (Point 'P' on Figure 3), byte BYTE PROGRAM MODE programming mode is entered. The internal, completely self-timed PROGRAM cycle In this mode the master sends addresses and one data starts after the STOP condition has been generated by byte to the 24C04A. the master and all received (up to eight) data bytes will Following the START condition, the ~vice code (4-bit), be written in a serial manner. the slave address (3-bit), and the RIW bit, which is logic The PROGRAM cycle takes N milliseconds, whereby N LOW, are placed onto the bus by the master. This is the number of received data by1es (N max; 8). FIGURE 3 . PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE R/W P ©1990 Microchip Technology Inc. DS11143C-5 1-45 24C04A DICE FORM WRITE PROTECTION Programming of the upper half of the memory will not The master now generates another START condition take place if the WP pad of the 24C04A is connected to and transmits the slave address again, except this time Vcc (+5 V). The 24C04A will accept slave and word the read/write bit is set into the read mode. After the addresses but if the memory accessed is write protected slave generates the acknowledge bit, it then outputs the by the WP pad, the 24C04A will not generate an ac- data from the addressed location on to the SDA pad, knowledge after the first byte of data has been received, increments the address pointer and, if it receives an and thus the program cycle will not be started when the acknowledge from the master, will transmit the next STOP condition is asserted. consecutive byte. This autoincrement sequence is only aborted when the master sends a STOP condition READ MODE instead of an acknowledge. Note: .If the master knows where the address pointer is, This mode illustrates master device reading data from it can begin the read sequence at pOint 'R' indicated on the 24C04A. Figure 4 and save time transmitting the slave and word As can be seen from Figure 4, the master first sets up the addresses. slave and word addresses by doing a write. (Note: Note: In all modes, the address pointer will never Although this is a read mode, the address pointer must automatically increment through a block (256 byte) be written to.) During this period the 24C04A generates boundary but will rotate back to the first location in that the necessary acknowledge bits as defined in the appro- block. priate section. FIGURE 4 - READ MODE R RIW AUTO INCREMENT WORD ADDRESS PAD DESCRIPTION SCl Serial Clock This pad must be connected to either Vcc or Vss. This input is used to synchronize the data transfer from and to the device. A1. A2 Chip Address Inputs WP Write Protection The levels on these inputs are compared with the corresponding bits in the slave address. The chip is This pad must be connected to either Vcc or Vss. selected if the compare is true. If tied to Vcc, PROGRAM operations onto the upper Up to four 24C04As can be connected to the bus. memory block (addresses 100-1FF) will not be exe- cuted. Read operations are possible. These inputs must be connected to either vss or Vcc. If tied to Vss, normal memory operation is enabled (read/ SDA Serial Address/Data Input/Output write the entire memory 000-1 FF). This is a bidirectional pad used to transfer addresses This feature allows the user to assign the upper half of and data into and data out of the device. It is an open the memory as ROM which can be protected against drain terminal. accidental programming. When write is disabled,slave address and word address will be acknowledged but For normal data transfer SDA is allowed to change only data will not be acknowledged. during SCL LOW. Changes during SCL HIGH are re- served for indicating the START and STOP conditions. DS11143C-6 ©1990 Microchip Technology Inc. 1-46 24C04A DICE FORM NOTES: ©1990 Microchip Technology Inc. DS11143C-7 1-47 24C04A DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS W DICE in WAFER S DICE in WAFFLEPACK TEMPERATURE O' C to 70' C I RANGE: DEVICE: 24C04 4K CMOS SERIAL EEPROM I DS11143C-8 ©1990 Microchip Technology Inc. 1-48 ~. Microchip 59C11 lK (128 x 8 or 64 x 16) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION Low power CMOS technology The Microchip Technology Inc. 59Cll is a 1K bit Elec- • Pin selectable memory organization trically Erasable PROM. The device is configured as - 128 x 8 or 64 x 16 bit organization 128 x 8 or 64 x 16, selectable externally by means of the • Single 5 volt only operation control pin ORG. Advanced CMOS technology makes • Self timed WRITE, ERAL and WRAL cycles this device ideal for low power non-volatile memory ap- Automatic erase before WRITE plications. The 59C 11 is available in the standard 8-pin • RDY/BSY status information during WRITE DIP and a surface mount SOIC package. • Power on/off data protection circuitry • 100,000 ERASEIWRITE cycles • Data Retention> 10 Years 8-pin DIP or SOIC package Available for extended temperature ranges: - Commercial: O·C to +70·C -Industrial: -40·C to +85·C - Automotive: -40·C to + 125·C PIN CONFIGURATION BLOCK DIAGRAM esOs DIP Package Vee Vas Vee elK 2 7 RDYfBSY eRG 013 SORG DO 4 5 Vss esOs elK 01 SO Package 2 3 7 SORG Vee ADY/BSY es DI elK DO 4 5 Vss © 1990 Microchip Technology Inc. 1-49 DS20040C-1 59C11 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings* Name Function All inputs and outputs w.r.t. Vss ............. -0.3 V to +7.0 V Storage temperature ............................ -65"C to. + 150"C CS Chip Select Ambient temperature with ClK Serial Clock power applied ........................................ 65·C to +125·C DI Data In Soldering temperature 01 leads (10 seconds) .... +300·C DO Data Out ESD protection on all pins ..................................... .4 kV Vss Ground *Notice: Stresses above those listed under "Maximum ratings" may ORG Memory Array Organization cause permanent damage to the device. This is a stress rating only and RDY/BSY Ready/Busy Status functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not Vee +5 V Power Supply implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee; +5 V (±10%) Commercial: Tamb; O°C to +70°C DC CHARACTERISTICS Industrial: Tamb ; -40°C to +85°C Automotive: Tamb; -40°C to +125°C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V High level input voltage VIH 2.0 Vee + 1 V low level input voltage Vil -0.3 0.8 V High level output voltage VOH 2.4 V IOH ; -400 IlA low level output voltage VOL 0.4 V IOl; 3.2 mA Input leakage current III 10 IlA VIN ; 0 V to Vee (Note 1) Output leakage current ILO 10 IlA VOUT ; 0 V to Vee (Note 1) Internal capacitance CINT 7 pF VINlVoUT ; OV (Note 2) (all inputs/outputs) Tamb ; 25"C, 1 ; 1 MHz Operating current leeo 4 mA FelK ; 1 MHz, Vec ;5.5 V (all modes) Standby current Ices 100 f.lA CS; 0 V, Vee; 5.5 V Note 1: Internal resister pull-up at Pin 6. Active output at Pin 7. Note 2: This parameter is periodically sampled and not 100% tested. SYNCHRONOUS DATA TIMING elK 01 cs DO DS20040C-2 © 1990 Microchip Technology Ihc. 1-50 59C11 AC CHARACTERISTICS Parameter Symbol Min Max Units Conditions Clock frequency FCLK 1 MHz Clock high time TCKH 500 ns Clock low time TCKL 500 ns Chip select setup time Tcss 50 ns Chip select hold time TCSH 0 ns Chip select low time Tcs 100 ns Data input setup time To IS 100 ns Data input hold time TOIH 100 ns Data output delay time Tpo 400 ns Cl = 100pF Data output disable time (from CS = low) Tcz 0 100 ns Cl=100pF Data output disable time (from last clock) Tooz 0 400 ns Cl = 100 pF RDY/BSY delay time TRBO 400 ns -, Program cycle time (Auto Erase & Write) Twc 1 ms for 8-bit mode 15 ms for ERAl and WRAl in 8/16-bit modes PIN DESCRIPTION Chip Select (CS) A HIGH level selects the device. A lOW level deselects ClK cycles are not required during the self-timed WRITE the device and forces it into standby mode. However, a (I.e., auto erase/write) cycle. WRITE cycle which is already initiated and/or in prog- Alter detection of a START condition the specified num- ress will be completed, regardless of the CS input signal. ber of clock cycles (respectively lOW to HIGH transi- If CS is brought lOW during a WRITE cycle, the device tions of ClK) must be provided. These clock cycles are will go into standby mode as soon as the WRITE cycle required to clock in all required opcode, address, and is completed. data bits before an instruction is executed (see instruc- CS must be lOW for 100 ns (TCSL) minimum between tion set truth table). When that limit has been reached, consecutive instructions. If CS is lOW, the internal ClK and 01 become "Don't Care" inputs until CS is control logic is held in a RESET status. brought lOW for at least chip select low time (TCSL) and brought HIGH again and a WRITE cycle (if any) is com- Serial Clock (ClK) pleted. The Serial Clock is used to synchronize the communi- Data In (01) cation between a master device and the 59C11. Op- code, address, and data bits are clocked in on the Data In is used to clock in START bit, opcode, address positive edge of ClK. Data bits are also clocked out on and data synchronously with the ClK input. the positive edge of ClK. Data Out (~O) ClK can be stopped anywhere in the transmission sequence (at HIGH or lOW level) and can be continued Data Out is used in the READ mode to output data anytime (with respectto clock high time (TCKH) and clock synchronously with the ClK input (Tpo alter the positive low time (TCKL)). This gives freedom in preparing edge of ClK). This output is in HIGH-Z mode except if opcode, address and data for the controlling master. data is clocked out as a result of a READ instruction. ClK is a "Don't Care" if CS is lOW (device deselected). 01 and DO can be connected together to perform a 3- If CS is HIGH, but a START condition has not been wire interface (CS, ClK, 01/00). detected, any number of clock cycles can be received by Care must be taken with the leading dummy zero which the device without changing its status (I.e., waiting for is output alter a READ command has been detected. START condition). Also, the controlling device must not drive the DI/DObus during WRITE cycles. © 1990 Microchip Technology Inc. DS20040C-3 1-51 59C11 Organization (ORG> DATA PROTECTION This input selects the memory array organization. When During power-up, all modes of operation are inhibited the ORG pin is connected to +5 V the 64 x 16 organiza- until Vee has reached a level of between 2.8 V and 4.5 tion is selected. When it is connected to ground, the 128 V. During power-down, the source data protection cir- x 8 organization is selected. If the ORG pin is left uncon- cuitry acts to inhibit all modes when VCC has fallen nected, then an internal pullup device will select the 64 below the voltage range of 2.8 V to 4.5 V. x 16 organization. The EWEN and EWDS commands give additional pro- Ready/Busy (ROY/BSY) tection against accidentally programming during normal operation. Pin 7 provides RDY/BSY status information. RDY/BSY is low if the device is performing a WRITE, ERAl, or After power-up, the device is automatically in the EWDS WRAl operation. When it is HIGH the internal, self- mode. Therefore, EWEN instruction must be performed timed WRITE, ERAl or WRAl operation has been com- before any WRITE, ERAl or WRAl instruction can be pleted and the device is ready to receive a new instruc- executed. tion. INSTRUCTION SET 64 X 16 MODE, ORG=1 Start Number of Instruction Bit Opcode Address Data In Data Out Req. ClK Cycles READ 1 1 0 X X AS A4 A3 A2 A1 AO - D1S- DO 27 WRITE 1 X 1 X X AS A4 A3 A2 A1 AD D1S-DO High-Z 27 EWEN 1 0 0 1 1 X X X X X X - High-Z 11 EWDS 1 0 0 0 0 X X X X X X - High-Z 11 ERAL 1 0 0 1 0 X X X X X X - High-Z 11 WRAL 1 0 0 0 1 X X X X X X D1S- DO High·Z 27 128 X 8 MODE, ORG=O Start Number of Instruction Bit Opcode Address Data In Data Out Req. ClK Cycles READ 1 1 0 X X A6 AS A4 A3 A2 A1 AO - 07-00 20 WRITE 1 X 1 X X A6 AS A4 A3 A2 AI AO 07 -DO High-Z 20 EWEN 1 0 0 1 1 X X X X X X X - High-Z 12 EWDS 1 0 0 0 0 X X X X X X X - High-Z 12 ERAL 1 0 0 1 0 X X X X X X X - High-Z 12 WRAL 1 0 0 0 1 X X X X X X X D1S - DO High-Z 20 FUNCTIONAL DESCRIPTION START Condition last required address or data bit) ClK and 01 become The START bit is detected by the device if CS and 01 are don't care bits until a new start condition is detected. both High with respect to the positive edge of ClK for the Note: CS must go lOW between consecutive instruc- first time. tions. Before a START condition is detected, CS, ClK, and 01 01/00 Pins may change in any combination (except to that of a START condition) without resulting in any device opera- It is possible to connect the Data In and Data Out pins tion (READ, WRITE, EWEN, EWDS, ERAl, and WRAl). together. However, with this configuration it is possible As soon as CS is HIGH, the device is no longer in the for a "bus conflict" to occur during the "dummy zero" that standby mode. precedes the READ operation, if AO is a logic high level. Under such a condition the voltage level seen at Data An instruction following a START condition will only be Out is undefined and will depend upon the relative executed if the required amount of opcode, address and impedances of Data Out and the signal source driving data bits for any particular instruction is clocked in. AO. The higher the current sourcing capability of AO, the After execution of an instruction (i.e. clock in or out of the higher the voltage at the Data Out pin. DS20040C-4 © 1990 Microchip Technology Inc. 1-52 59C11 READ Mode The READ instruction outputs the serial data of the DO will go into HIGH-Z mode with the positive edge of addressed memory location on the DO pin. A dummy bit the next ClK cycle. This follows the output of the last (logical 0) precedes the 8- or 1S-bit output string. The data bit DO orthe negative edge of CS, whichever occurs output data changes during the high state of the system first. DO remains stable between ClK cycles for an un- clock (ClK). The dummy bit is output TPD after the limited time as long as CS stays HIGH. positive edge of ClK, which was used to clock in the last address bit (AO). Therefore, care must be taken if 01 and The most significant data bit (015 or 07) is always output DO are connected together as a bus contention will first, followed by the lower significant bits (014 - DO or OS occur for one clock cycle if AO is a one. - DO). READ MODE CLK ~ IIJ sr-LT 01_ cs Sf I OPCODE AN I AO I ISB\ J \ ! &IlK wr mj'(' ~_~ / 1 o x x X Ix ~I TPD~ r-- ~TDDZ~ DO - - - - - - - - - - HIGH·Z ~I 0 ro;=x:J"~ I I NOTE: r-~~--+~~~-I NEW INSTRUCTION OR STANDBY (CS 0 0) WRITE The WRITE instruction is followed by 8 or 1S bits of data performs an automatic erase cycle on the specified which are written into the specified address. The most address before the data are written. The WRITE cycle significant data bit (015 or 07) has to be clocked in first is completely self timed and commences automatically followed by the lower significant data bits (014 - DO or after the rising edge oflhe ClK signal for the last data bit OS - DO). If a WRITE instruction is recognized by the (~O). device and all data bits have been clocked in, the device The WRITE cycle takes 1 ms max for S-bit mode and 2 ms max for 1S-bit mode. WRITE MODE CLK """""",ow......J Tcs,~ ~ ~ -~--7n----------------~~~.----~~~:~~~~ 4== SB OPCODE AN AO ON I DO DI _ _ ~£>m---'{ I Twc NOTE: r-~~-_+~4_~ NEW INSTRUCTION OR STANDBY (CS. 0) © 1990 Microchip Technology Inc. DS2004OC-5 1-53 59C11 ERASEIWRITE Enable/Disable (EWEN, EWDS) The device is automatically in the ERASEIWRITE Dis- instruction has to be performed before any WRITE, able mode (EWDS) after power-up. Therefore, EWEN ERAL, or WRAL instruction is executed by the device. ERASEIWRITEENABLE ClK ~ ~ ~ L AND DISABLE ---l ~ TCSL cs =-zz; --~~------------------------~~------~ ~, ~ SB AO SB DI Y=---=---=~~""""---~ Ewes x EWEN x DO - - - - - - - - - - - - - - - - HIGH· Z - - - - - - - ' ; - - - - - - - - - - - - - - - - - , - - - - - NOTE: f-'-c-::::---::---+-:-:-l NEW INSTRUCTION OR STANDBY ICS" 0) ERASE All (ERAl) The entire chip will be erased to logical "1 s" if this in- mode. The ERAL cycle is completely self-timed and struction is received by the device and it is in the EWEN commences after the rising edge of the eLK signal for the last dummy address bit. ERAL takes 15 ms max. ERASE ALL ClK .L.tl<=lL..J ~,m1j~in&0~01 I TCSH ----..I l.--.- -.J I...- TCSL (CHIP ERASE) CS =--zz; ~:~~ )- S8 OPCOoE Ao I, I I I SB x mx~~/ 01 o I DO - - - - - - - - - - - - - - - - - HIGH· Z -----is I Jf I ~ ~TR8D RDY/BSY ---------------------------ff~ -¥ I 0-----i}---/1 I.. ., Twc NEW INSTRUCTION 64 x 16 A5 OR STANDBY ICS " 0) WRITE All (WRAL) The entire chip will be written with the data specified in Note: The WRAL does not include an automatic ERASE that command. The WRAL cycle is completely self- cycle for the chip. Therefore, the WRAL instruction must timed and commences after the last data bit (DO) has be preceded by an ERAL instruction and the chip must been clocked in. WRAL takes 15 ms max. be in the EWEN status in both cases. The WRAL instruc- tion is used for testing and/or device initialization. WRITE ALL ClK ~Lr1JLrlSL~IUl~'" TCSH ~I ~ ____I .;.- TCSl I I I CS ~ fi ~ : f@;§_t- S8 OPCOOE AN AD DN 100 I ~;mm;@; _~ x x x I x DO - - - - - - - - - - - - - - - HIGH· Z --------------)(~5---L1----_;\_~- - - - - , '- TRBO~ ~ I I _ RDYiBSY--------,~~ ,.., ~: ..I - -____- - I. . I NOTE: ORGANIZATION AN ON Twc 1 128 x 8 A6 07 NEW INSTRUCTION 64 x 16 A5 015 OR STANDBY (CS = 0) ~~--------------- DS20040C-6 © 1990 Microchip Technology Inc. 1-54 59C11 NOTES: © 1990 Microchip Technology Inc. DS20040C-7 1-55 59C11 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS Package: J CERDIP P Plastic DIP SN Plastic SOIC (0.150 mil Body) SM Plastic SOIC (0.207 mil Body) '1 Temperature Blank O°Cto +70° C Range: I -40° C to +85° C E -40° C to +125° C I Device: 59CII 59CI1T I K CMOS Serial EEPROM I K CMOS Serial EEPROM (In Tape &.Reel) DS20040C·8 © 1990 Microchip Technology Inc. 1·56 59C11 Microchip DICE FORM 1K (128 x 8 or 64 x 16) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 59Cll is a 1K bit Elec- • Pad selectable memory organization trically Erasable PROM. The device is configured as - 128 x 8 or 64 x 16 bit organization 128 x 8 or 64 x 16, selectable externally by means of the • Single 5 volt only operation control pad ORG. Advanced CMOS technology makes • Self-timed write, ERAL and WRAL cycles this device ideal for low power non-volatile memory ap- • Automatic erase before write plications. The 59Cll dice are available in wafer or RDY/BSY status information during write wafflepack. • Power on/off data protection circuitry • Available in wafer or wafflepack • Temperature range: - Commercial: O'C to +70'C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 88 x 78 mils. Vee Vss 1. CS 6. Vee 2. ClK 7. ROY/BSY 3.01 6.0RG 4.00 5. Vss © 1990 Microchip Technology Inc. 1-57 OS20043C-1 59C11 DICE FORM ELECTRICAL CHARACTERISTICS PAD FUNCTION TABLE Maximum Ratlngs* Name Function All inputs and outputs w.r.t. Vss .............. -0.3 V to +7.0 V Storage temperature ............................ -6S'C to +1S0'C CS Chip Select Ambient temperature with ClK Serial Clock power applied ...................................... -6S'C to +12S'C DI Data In Soldering temperature of leads (10 seconds) .... +300·C DO Data Out ESD protection on all pins ..................................... .4 kV vss Ground 'Notice: Stresses above those listed under "Maximum ratings' may ORG Memory Array Organization cause permanent damage to the device. This is a stress rating only and RDY/BSY Ready/Busy Status lunctional operation 01 the device at those or any other conditions above those indicated in the operational listings 01 this specification is not Vee +S V Power Supply implied. Exposure to maximum rating conditions lor extended periods may affect device reliability. DC CHARACTERISTICS Vee = +S V (±10%) Commercial: Tamb = O°C to +70°C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.S V High level input voltage VIH 2.0 Vee + 1 V low level input voltage VIL -0.3 0.8 V High level output voltage VOH 2.4 V IOH = -400 i!A low level output voltage VOL 0.4 V IOL= 3.2 mA Input leakage current III 10 i!A VIN = 0 V to Vee (Note 1) Output leakage current ILO 10 i!A VOUT = 0 V to Vee (Note 1) Internal capacitance CINT 7 pF VINIVOUT = 0 V (Note 2) (all inputS/outputs) Tamb = 2S'C, f = 1 MHz Operating current (all modes) leeo 4 mA FeLK = 1 MHz, Vee = S.S V Standby current Ices 100 uA CS = 0 V, Vee = S.S V Note 1: Internal resistor pull-up at Pin 6. Active output at Pin 7. Note 2: This parameter is periodically sampled and not 100% tested. SYNCHRONOUS DATA TIMING CLK 01 cs DO OS20043C-2 © 1990 Microchip Technology Inc. 1-58 59C11 DICE FORM AC CHARACTERISTICS Parameter Symbol Min Max Units Conditions Clock frequency FClK 1 MHz Clock high time TCKH 500 ns Clock low time TCKl 500 ns Chip select setup time Tcss 50 ns Chip select hold time TCSH 0 ns Chip select low time Tcs 100 ns Data input setup time TOls 100 ns Data input hold time TOIH 100 ns Data output delay time Tpo 400 ns Cl = 100 pF Data output disable time (from CS = low) Tcz 0 100 ns Cl = 100 pF Data output disable time (from last clock) Tooz 0 400 ns Cl = 100 pF RDY/BSY delay time TRBO 400 ns Program cycle time (Auto Erase & Write) Twc 1 ms for 8-bit mode 15 ms for ERAl and WRAl in 8/16-bit modes PAD DESCRIPTION the device without changing its status (i.e., waiting for START condition). Chip Select (CS) ClK cycles are not required during the self-timed WRITE A HIGH level selects the device. A lOW level deselects (i.e. auto erase/write) cycle. the device and forces it into standby mode. However, a After detection of a START condition the specified num- WRITE cycle which is already initiated and/or in prog- ber of clock cycles (respectively lOW to HIGH transi- ress will be completed, regardless olthe CS input signal. tions of ClK) must be provided. These clock cycles are If CS is brought lOW during a WRITE cycle, the device required to clock in all required opcode, address, and will go into standby mode as soon as the WRITE cycle data bits before an instruction is executed (see instruc- is completed. tion set truth table). When that limit has been reached, CS must be lOW for 100 ns (TCSl) minimum between ClK and 01 become don't care inputs until CS is brought consecutive instructions. If CS is lOW, the internal lOW for at least chip select low time (Tcsl) and brought control logic is held in a RESET status. HIGH again and a WRITE cycle (if any) is completed. Serial Clock (ClK> Data In (Oil The Serial Clock is used to synchronize the communi- Data In is used to clock in START bit, opcode, address cation between a master device and the 59Cll. Op- and data synchronously with the ClK input. code, address, and data bits are clocked in on the Data Out (DO) positive edge of ClK. Data bits are also clocked out on the positive edge of ClK. Data Out is used in the READ mode to output data synchronously with the ClK input (Tpo after the positive ClK can be stopped anywhere in the transmission edge of ClK). This output is in HIGH-Z mode except if sequence (at HIGH or lOW level) and can be continued anytime (with respect to clock HIGH time (TCKH) and a data is clocked out as result of a READ instruction. clock lOW time (TCKl)). This gives freedom in prepar- DI and DO can be connected together to perform a 3- ing opcode, address and data for the controlling master. wire interface (CS, ClK, DilDO). ClK is a "Don't Care" if CS is lOW (device deselected). Care must be taken with the leading dummy zero which If CS is HIGH, but a start condition has not been is output after a READ command has been detected. detected, any number of clock cycles can be received by Also, the controlling device must not drive the DilDO bus during WRIT.E cycles. © 1990 Microchip Technology Inc. DS20043C-3 1-59 59C11 DICE FORM Organization (ORG> DATA PROTECTION This input selects the memory array organization. When During power-up all modes of operation are inhibited the ORG pad is connected to +5 V the 64 x 16 organiza- until Vee has reached a level of between 2.8 Vand 4.5 V. tion is selected. When it is connected to ground, the 128 During power-down the source data protection circuitry x 8 organization is selected. If the ORG pad is left uncon- acts to inhibit all modes when Vee has fallen below the nected, then an internal pullup device will select the 64 voltage range of 2.8 V to 4.5 V. x 16 organization. The EWEN and EWDS commands give additional pro- Ready/Busy (ROY/BSY) tection against accidentally programming during normal operation. Pad 7 provides RDY/BSY status information. RDY/BSY is low if the device is performing a WRITE, ERAL, or After power-up the device is automatically in the EWDS WRAL operation. When it is HIGH, the internal self- mode. Therefore, EWEN instruction must be performed timed WRITE, ERAL orWRAL operation has been com- before any WRITE, ERAL or WRAL instruction can be pleted and the device is ready to receive a new instruc- executed. tion. INSTRUCTION SET 64 X 16 MODE, ORG=1 -- Start Number of Instruction Bit Opcode Address Data In Data Out Rei!. ClK Cycles READ 1 1 0 X X AS A4 A3 A2 AI AO - DIS-DO 27 WRITE 1 X 1 X X AS A4 A3 A2 AI AO D1S- DO High-Z 27 EWEN 1 0 0 1 1 X X X X X X - High·Z 11 EWDS 1 0 0 0 0 X X X X X X - High-Z 11 ERAL 1 0 0 1 0 X X X X X X - High-Z 11 WRAL 1 I 0 0 0 1 X X X X X X DIS-DO High-Z 27 128 X 8 MODE, ORG=O r-- Start Number of Instruction Bit Opcode Address Data In Data Out Req. ClK Cycles READ 1 1 0 X X AS AS A4 A3 A2 AI AD - D7-DO 20 l WRITE ~N EWDS ERAL WRAL 1 1 1 1 1 X 1 X X 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 1 AS AS A4 A3 A2 AI X X X X X X X X X X X X X X X X X X X X X X X X AO X X X X D7 -DO - - - D7-DO High-Z High-Z High-Z High-Z High-Z 20 12 12 12 20 FUNCTIONAL DESCRIPTION After execution of an instruction (i.e. clock in or out of the last required address or data bit) CLK and DI become START Condition "don't care" bits until a new start condition is detected. Note: The START bit is detected by the device if CS and DI are both HIGH with respect to the positive edge of CLK for CS must go LOW between consecutive instructions. the first time. Before a START condition is detected, CS, ClK and DI 01/00 Pads may change in any combination (except to that of a It is possible to connect the Data In and Data Out pads START condition) without resulting in any device opera- together. However, with this configuration it is possible tion (READ, WRITE, EWEN, EWDS, ERAL, and WRAL). for a "bus conflict" to occur during the "dummy zero" that As soon as CS is HIGH, the device is no longer in the precedes the READ operation, if AO is a logic HIGH standby mode. level. Under such a condition the voltage level seen at An instruction following a START condition will only be Data Out is undefined and will depend upon the relative executed if the required amount of opcQde, address and impedances of Data Out and the signal source driving data bits for any particular instruction is clocked in. AO. The higher the current sourcing capability of AO, the higher the voltage at the Data Out pad. DS20043C-4 © 1990 Microchip Technology Inc. 1-60 59C11 DICE FORM READ Mode The READ instruction outputs the serial data of the DO will go into HIGH-Z mode with the positive edge of addressed memory location on the DO pad. A dummy the next ClK cycle. This follows tile output of the last bit (logical 0) precedes the 8/16-bit output string. The data bit DO or the low going edge of CS, whichever oc- output data changes during the HIGH state olthe system curs first. DO remains stable between ClK cycles for an clock (ClK). The dummy bit is output TPD after the unlimited time as long as CS stays HIGH. positive edge of ClK, which was used to clock in the last The most significant data bit (015 or 07) is always output address bit (AO). Therefore, care must betaken if 01 and first, followed by the lower significant bits (014 - DO or 06 DO are connected together as a bus contention will -~O). occur for one clock cycle if AO is a one. ~ READ MODE ClK I ~ !II ~ 01_ cs Sfl SB OPCODE AN I AO I ' I\.r\ o I x m:m: ~~ ]i§l8888888888!§Wll~ x X ~I Ix / TPD _ _ t-- ~TDDZ~ DO----------HGH·Z ~~IO~~ I I NEW INSTRUCTION OR STANDBY (CS - 0) WRITE Mode The WRITE instruction is followed by 8 or 16 bits of data performs an automatic erase cycle on the specified which are written into the specified address. The most address before the data are written. The WRITE cycle is significant data bit (015 or 07) has to be clocked in first completely self timed and commences automatically followed by the lower significant data bits (014 - DO or after the last data bit (~O) has been clocked in. 06 - ~O). If a WRITE instruction is recognized by the The WRITE cycle takes 1 ms for 8-bit mode and 2 ms for device and all data bits have been clocked in, the device 16-bit mode max. WRITE MODE' ClK 1>AOl!I.16IlOO"---J ~ CS -~-'TTT------------:\ss>---~ss--1----o<>W~-~ TcsL.....-l L I I I SB OPCOOE AN AD ON _ DO Ola r\D/\I\/\a$~m~ _~ , X 1 X X X xx x . I DO - - - - - - - - - HIGH· Z - - - - , l l f f - - ' - - - - - ! S S I l - - . I - - : - - - - - - - __I TRso t.- I 11 I \'-----lIS~-.{ ROY/BSY "I NEW INSTRUCTION OR STANDBY (CS = 0) © 1990 Microchip Technology Inc. 0520043C-5 1-61 59C11 DICE FORM ERASEIWRITE Enable/Disable (EWEN,EWDSl The device is automatically in the ERASE/WRITE Dis- instruction has to be performed before any WRITE, able mode (EWOS) after power-up. Therefore, EWEN ERAL, or WRAL instruction is executed by the device. ERASEIWRITE ENABLE AND DISABLE ~ f.4- TCSL cs -==zJ-'~----------------~--~~ SB OPCODE AN t;:m07W"",A0Vcm""""", SB 01~tC0CU_~ ~ 10000 EWDS 1 1 EWEN DO - - - - - - - - HIGH-Z -~i---------.--- NOTE: ORGANIZATION AN 128 x8 AS NEW INSTRUCTION 64x 16 A5 OR STANDBY (CS. 0) ERASE All (ERALl The ERAL cycle is completely self-timed and com- mences after the last dummy address bit has been The entire chip will be erased to logical "1 s" ifthis instruc- clocked in. ERAL takes 15 ms max in both 8-bit and 16- tion is received by the device and it is in the EWEN mode_ bit modes. ERASE ALL ~~II TeSH ~ 1.- r--- (CHIP ERASE) --~------------~M~~I~~~~~ --.-I 4-- TeSL AO I I I SB o x mx~~/ I ~I 1-0- TR! HIGH-Z I ---------------------~~~~~ I.. "I Twe NEW INSTRUCTION OR STANDBY (CS "" 0) WRITE All (WRALl Note: The WRAL does not include an automatic erase The entire chip will be written with the data specified in cycle forthe chip. Therefore, the WRAL instruction must be preceded by an ERAL instruction and the chip must that command. The WRAL cycle is completely self- timed and commences after the last data bit (~O) has be in the EWEN status in both cases. been clocked in. WRAL takes 15 ms max in both a-bit The WRAL instruction is used for testing and/or device and 16-bit modes. initialization. WRITE ALL ClK :~.ILfLILnIU4rUl_1f_J___~ I I' TCSH ~! ~ ---I f4'- TCSL CS =--zz; SB OPCODE AN 5 AO ON ~: 100 •• c I 01 '-="""----' @:~;mm: _~ x x x I x I DO - - - - - - - - HIGH-Z -------,f,5--'-1---~\l_--,_, ROY/BSY _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _T_RB-1D~- !c-L- II~: NOTE: f--;-;;;;-::-;;--+-=-If-;;;:;-i I'" Twc "I NEW INSTRUCTION 64x 16 A5 015 OR STANDBY (CS = 0) DS20043C-6 © 1990 Microchip Technology Inc_ 1-62 59C11 DICE FORM NOTES: © 1990 Microchip Technology Inc. DS20043C-7 1-63 59C11 DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS Package: W Dice in Wafer S Dice in Wafflepack I Temperature Range: Blank 0° Cto+70° C ' - - - - - - - - 11 Device: 59C11 1K CMOS Serial EEPROM DS20043C-8 © 1990 Microchip Technology Inc. 1-64 ~. Microchip 85C72 lK (128 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 8SC72 is a 1K bit Elec- • Organized as one block of 128 bytes (128 x 8) trically Erasable PROM. The device is organized as 128 • Two wire serial interface bus x 8 bit memory with a two wire serial interface. Advanced • S volt only operation CMOS technology allows a significant reduction in power • Self-timed write cycle (including auto-erase) over NMOS serial devices. Up to eight 8SC72s may be • Page-write buffer for up to 2 bytes connected to the two wire bus. The 8SC72 is available • 1ms write cycle time for single byte in the standard 8-pin DIP and a surface mount SOIC • 100,000 eraselwrite cycles package. • Data retention >10 years • 8-pin DIP or SOIC package • Available for extended temperature ranges: -Commercial: O·C to +70·C -Industrial: -40·C to +8S·C -Automotive: -40·C to +12S·C PIN CONFIGURATION BLOCK DIAGRAM MOe DIP Package Vee A1 2 7 NC A23 6SCL Vss 4 5 SOA SO Package M ....-I~--"""!'h-Vcc A1 NC SCL AO A1 A2 Vss SOA © 1990 Microchip Technology Inc. 1-65 08111378-1 85C72 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings" Name Function All inputs and outputs w.r.t. Vss ................ -0.3 V to +7 V Storage temperature ....................... -65'C to +150'C AO, A1, A2 Chip Address Inputs Ambient temp. with power applied ..... -65'C.to +125'C VSS Ground Soldering temperature of leads (10 seconds) .. +300'C SDA Serial Address/Data I/O ESD protection on all pins ................................ .4.0 kV SCl Serial Clock 'Notice: Stresses above those listed under "Maximum ratings" may NC No Connect cause permanent damage to the device. This is a stress rating onty and VCC +5 V Power Supply functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial (C): Tamb = O'C to +70'C Industrial (I): Tamb = -40'C to +85'C Automotive (E): Tamb = -40'C to +125'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCl and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V low level input voltage VIL -0.3 Vee x 0.3 V low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, A1 & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V low level input voltage VIL -0.3 0.5 V Input leakage current III 10 IlA VIN = 0 V to Vee Output leakage current ILO 10 IlA VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINNoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25'C, f = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time=2ms, Vee=5V, Tamb = O'C to +70'C 4.25 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = (I) and (E) Program cycle leew 7.0 mA Vec = 5 V, Tamb = O'C to +70'C 8.5 mA Vee = 5 V, Tamb= (I) and (E) Read cycle leeR 750 IlA Vec=5 V, Tamb= (C), (I) and (E) Standby current Ices 100 IlA SDA = SCl = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP sel _ _- J SOA -----""1 START STOP 05111378-2 © 1990 Microchip Technology Inc. 1-66 85C72 AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time Tsu:sTA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time Tsu:DAT 250 ns Data output delay time TpD 300 3500 ns See Note 1 STOP condition setup time Tsu:sTo 4700 ns Bus free time TSUF 4700 ns Time the bus must be free before a new transmission can start Input filter time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter, the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. SUS TIMING DATA FUNCTIONAL DESCRIPTION Both, master and slave can operate as transmitter or receiver but the master device determines which mode The 85C72 supports a bidirectional two wire bus and is activated. data transmission protocol. A device that sends data Up to eight 85C72s can be connected to the bus, onto the bus is defined as transmitter, and a device selected by the AO, A 1 and A2 chip address inputs. receiving data as receiver. The bus has to be controlled Other devices can be connected to the bus, but require by a master device which generates the serial clock different device codes than the 85C72 (refer to section (SCl), controls the bus access, and generates the start Slave Address). and STOP conditions, while the 85C72 works as slave. © 1990 Microchip Technology Inc. DS111378-3 1-67 85C72 BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed dloring the lOW Data transfer may be initilited only when the bus is period of the clock signal. There is one clock pulse per not busy. bit of data. During data transfer, the data line must remain stable Each data transfer is initiated with a START condition whenever the clock line is HIGH. Changes in the and terminated with a STOP condition. The number of data line while the clock line is HIGH will be inter- the data bytes transferred between the START and preted as a START or STOP condition. STOP conditions is determined by the master device and is theoretically unlimited. Accordingly, the following bus conditions have been defined (see Figure 1): Acknowledge Bus not Busy (A) Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Both data and clock lines remain HIGH. byte. The master device must generate an extra clock Start Data Transfer (B) pulse which is associated with this acknowledge bit. Note: The 85C72 does not generate any acknowledge A HIGH to lOW transition of the SOA line while the clock bits if an internal programming cycle is in progress. (SCl) is HIGH determines a START condition. All com- mands must be preceded by a START condition. The device that acknowledges, has to pull down the SOA line during the acknowledge clock pulse in such a way Stop Data Transfer (C) that the SOA line is stable lOW during the HIGH period of the acknowledge related clock pulse. Of course, A lOWto HIGH transition olthe SOA line while the clock setup and hold times must be taken into account. A (SCl) is HIGH determines a STOP condition. All opera- master must Signal an end of data to the slave by not tions must be ended with a STOP condition. generating an acknowledge bit on the last byte that has Data Valid (D) been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to The state of the data line represents valid data when, generate the STOP condition. after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1 • DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (9) (A) SCl ~--I-"":"";'--I-..... SDA START CO~mITlON ADDRESS DATA AllOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS111379-4 © 1990 Microchip Technology Inc. 1-68 85C72 SLAVE ADDRESS The chip address inputs AO, A1 and A2 of each 85C72 indicates to the addressed 85C72 that a byte with a word must be externally connected to either Vcc or ground address will follow after it has generated an acknowl- (Vss), assigning to each 85C72 a unique 3-bit address. edge bit. Therefore the next byte transmitted by the Up to eight 85C72s may be connected to the bus. Chip master is the word address and will be written into the selection is then accomplished through software by address pointer of the 85C72. The most significant bit of setting the bits AO, A1 and A2 ofthe slave address to the the word address is a "Do Not Care" value for the 85C72. corresponding hardwired logic levels of the selected After receiving the acknowledge of the 85C72, the 85C72. master device transmits the data word to be written into After generating a START condition, the bus master the addressed memory location. The 85C72 acknowl- edges again and the master generates a STOP condi- transmits the slave address conSisting of a 4-bit device tion. This initiates the internal programming cycle of the code (1 01 0) for the 85C72, followed by the chip address 85C72. (See Figure 3.) bits AO, A1 and A2. The eighth bit of slave address determines if the master PAGE PROGRAM MODE device wants to read or write to the 85C72. (See Figure 2.) To program the 85C72, the master sends addresses The 85C72 monitors the bus for its corresponding slave and data to the 85C72 which is the slave. (See Figure address all the time. It generates an acknowledge bit if 3.) This is done by supplying a START condition fol- the slave address was true and it is not in a programming lowed by the 4-bit device code, the 3-bit slave address, mode. and the R!W bit which is defined as a logic LOW for a write. This indicates to the addressed slave that a word address will follow so the slave outputs the acknowledge FIGURE 2 • SLAVE ADDRESS pulse to the master during the ninth clock pulse. When ALLOCATION , READIWRITE the word address is received by the 85C72, it places it in the lower 8 bits of the address pointer defining which memory location is to be written. (One" Do Not Care" bit and seven address bits.) The 85C72 will generate an ac- I : / ,, knowledge after every 8 bits received and store them consecutively in a 2-byte RAM until a STOP condition is I detected which initiates the internal programming cycle. I If more than 2 bytes are transmitted by the master, the ( o o A2 A1 lAO') 85C72 will terminate the write cycle. This does not affect eraselwrite cycles of the EEPROM array. Ifthe master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte pro- BYTE PROGRAM MODE gramming mode is entered. The internal, completely self-timed PROGRAM cycle In this mode, the master sends addresses and one data byte to the 85C72. starts after the STOP condition has been generated by the master and all received (up to two) data bytes will be Following the START condition, the device code (4-bit), written in a serial manner. the slave address (3-bit), and the Rfii bit, which is logic The PROGRAM cycle takes N milliseconds, whereby N LOW, are placed onto the bus by the master. This is the number of received data bytes (N max = 2). FIGURE 3 • PROGRAM MODE (ERASElWRITE) ACKNOWLEDGES FROM SLAVE p © 1990 Microchip Technology Inc. DS11137B-5 1-69 85C72 READ MODE This mode illustrates master device reading data from slave generates the acknowledge bit, it then outputs the theB5C72. data from the addressed location on to the SDA pin, in- crements the address pointe .. and, if it receives an ac- As can be seen from Figure 4, the master first sets up the knowledge from the master, will transmit the next con- slave and word addresses by doing a write. (Note: secutive byte. This autoincrement sequence is only Although this is a read mode the address pointer must be aborted .when the master sends a STOP condition in- written to.) During this period the 85C72 generates the stead of an acknowledge. necessary acknowledge bits as defined in the appropri- ate section. ' Note: If the master knows where the address pOinter is, it can begin the read sequence atpoint 'R' indicated on The master now generates another START condition Figure 4 and save time transmitting the slave and word and transmits the slave address again, except this time addresses. the read/write bit is set into the read mode. After the In all modes, the address pointer will automatically increment from the end olthe memory block (128 bytes) back to the first location in that block. FIGURE 4 - READ MODE R!W R RIW AUTO INCREMENT WORD ADDRESS PIN DESCRIPTION AD. A1 and A2 Chip Address Inputs NC No Connect The levels on these inputs are compared with the This pin can be left open or used as a tie point. corresponding bits in the slave address. The chip is selected if the compare is true. Up to eight 85C72s can be connected to the bus. Notes: These inputs must be connected to either Vss or VCC. 1) A "page" is defined as the maximum number of bytes SDA Serial Address/Data InputlOutput that can be programmed in a single write cycle. The 85C72 page is 2 bytes long. This is a bidirectional pin used to transfer addresses and 2) A "block" is defined as a continuous area of memory data into and data out of the device. It is an open drain with distinct boundaries. The address pointer can not terminal. cross the boundary from one block to another. It will For normal data transfer SDA is allowed to change only however, wrap around from the end of a block to the first during SCL LOW. Changes during SCL HIGH are re- location in the same block. The 85C72 has only one served for indicating the START and STOP conditions. block (128 bytes). SCl Serial Clock This input is used to synchronize the data transfer from and to the device. DS11137B,6 © 1990 Microchip Technology Inc. 1-70 85C72 NOTES: © 1990 Microchip Technology Inc. D8111379-7 1-71 85C72 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: J CER:':,P P Plastic DIP SM Plastic SOIC (0.207 mil Body) O' C to +70' C I TEMPERATURE RANGE: Blank E I -40' C to +85' C ·40' C to +125' C I DEVICE: 85C72 85C72T 1K CMOS SERIAL EEPROM 1K CMOS SERIAL EEPROM (in Tape & Reel) D8111379-8 © 1990 Microchip Technology Inc. 1-72 85C72 Microchip DICE FORM lK (128 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 85C72 is a 1 K bit Elec- • Organized as one block of 128 bytes (128 x 8) trically Erasable PROM. The device is organized as 128 Two wire serial interface bus x 8 bit memory with a two wire serial interface. Advanced 5 volt only operation CMOS technology allows a significant reduction in power Self-timed write cycle (including auto-erase) over NMOS serial devices. Up to eight 85C72s may be • Page-write buffer for up to 2 bytes connected to the two wire bus. The 85C72 dice are 1 ms write cycle time for single byte available in wafer or wafflepack. • Available in wafer or waffle pack Temperature range: -Commercial: O·C to +70·C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 106 x 76 mils Data + Vcc -_ Vss Buffer 2x8 """ ~R/wAmp - (FIFO) Data Reg. SDA- ..... Slave A- do di Memory r n I AD:' Array Address e t 128 x 8 s e A6 .!~ l SCL-~ ~ Increment Control 1. AD 8. Vcc Logic 2. Al 7. NF 3. 4. A2 Vss 6. 5. SCL SDA 10 tt © 1990 Microchip Technology Inc. 1-73 DS11147C-l 85C72 DICE FORM ELECTRICAL CHARACTERISTICS Maximym Ratings· PAD FUNCTION TABLE All inputs and outputs w.r.t. Vss ................ -0.3 V to +7 V Storage temperature ....................... -6S'C to +150'C Name Function Ambient temp. with power applied ..... -65'C to + 125'C Soldering temperature 01 leads (10 seconds) .. +300·C AO, A1, A2 Chip Address Inputs ESD protection on all pins ................................... .4 kV Vss Ground 'Notice: Stresses above those listed under "Maximum ratings" may SDA Serial Address/Data I/O cause permanent damage to the device. This is astress rating only and SCl Serial Clock functional operation of the device at those or any other conditions above NF No Function thOSe indicated in the operational listings of this specification is not Vee +5 V Power Supply implied. Exposure to maximum rating conditions for extended periods may affect device reliability. DC CHARACTERISTICS Vee = +5 V (±10%) Commercial (C): Tamb = O'C to +70'C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCl and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V low level input voltage Vil -0.3 Vee x 0.3 V low level output voltage VOL 0.4 V IOl = 3.2 mA (SDA only) AO, A1 & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V low level input voltage Vil -0.3 0.5 V Input leakage current III 10 ItA VIN = 0 V to Vcc Output leakage current IlO 10 J.1A VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINIVoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25'C, 1= 1 MHz Operating current leeo 3.5 mA FelK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, program cycle leew 7.0 mA Vee=5V read cycle leeR 750 ItA Vee=5V Standby current Ices 100 ItA SDA = SCl = Vee,. 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP sel _ _- . J SOA ...,....----;-"'1 START STOP © 1990 Microchip Technology Inc. 1-74 85C72 DICE FORM AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition.setup time TSU:STO 4700 ns Bus free time TBUF 4700 ns Time the bus must be free before a new transmission can start Noise suppression time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA THD:DAT (receiver) T PO (transmitter) FUNCTIONAL DESCRIPTION The 85C72 supports a bidirectional two wire bus and ter or receiver but the master device determines which data transmission protocol. A device that sends data mode is activated. onto the bus is defined as transmitter, and a device Up to eight 85C72s can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, A1 and A2 chip address inputs. by a master device which generates the serial clock Other devices can be connected to the bus but require (SCl), controls the bus access, and generates the different device codes than the 85C72 (refer to section START and STOP conditions, while the 85C72 works as Slave Address). slave. Both, master and slave can operate as transmit- © 1990 Microchip Technology Inc. DS11147C-3 1-75 85C72 DICE FORM BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW period of the clock signal. There is one clock pulse per Data transfer may be initiated only when the bus is not bit of data. busy. Each data transfer is initiated with a STARTcondition During data transfer, the data line must remain stable and terminated with a STOP condition. The number of whenever the clock line is HIGH. Changes in the data the data bytes transferred between the START and line while the clock line is HIGH will be interpreted as STOP conditions is determined by the master device a START or STOP condition. and is theoretically unlimited. Accordingly, the following bus conditions have been defined (see Figure 1): Acknowledge Bus not Busy (A) Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Both data and clock lines remain HIGH. byte. The master device must generate an extra clock pulse which is associated with this acknowledge bit. Start Data Transfer (B) A HIGH to lOW transition of the SDA line while the clock Note: The 85C72 does not generate any acknowledge (SCl) is HIGH determines a START condition. All bits if an internal programming cycle is in progress. commands must be preceded by a START condition. Stop Data Transfer (Cl The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way A lOW to HIGH transition of the SDA line while the clock that the SDA line is stable LOW during the HIGH period (SCl) is HIGH determines a STOP condition. All opera- of the acknowledge related clock pulse. Of course, tions must be ended with a STOP condition. setup and hold times must be taken into account. A master must signal an end of data to the slave by not Data Valid (D) generating an acknowledge bit on the last byte that has The state of the data line represents valid data when, been clocked out of the slave. In this case, the slave after a start condition, the data line is stable for the must leave the data line HIGH to enable the master to duration of the HIGH period of the clock signal. generate the STOP condition. FIGURE 1 - DATA TRANSFER SEQUENCE ON THE SERIAL (A) (8) (D) (D) (C) (A) SCL --+-__ ____ SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS11147C-4 © 1990 Microchip Technology Inc. 1-76 85C72 DICE FORM SLAVE ADDRESS The chip address inputs AO, A1 and A2 of each 85C72 the slave address (3-bit), and the RIW bit, which is logic must be externally connected to either Vee or ground LOW, are placed onto the bus by the master. This (Vss), assigning to each 85C72 a unique 3-bit address. indicates to the addressed 85C72 that a byte with a word Up to eight 85C72s may be connected to the bus. Chip address will follow after it has generated an acknowl- selection is then accomplished through software by edge bit. Therefore, the next byte transmitted by the setting the bits AO, A1 and A2 of the slave address to the master is the word address and will be written into the' corresponding hardwired logic levels of the selected address pointer of the 85C72. The most significant bit of 85C72. the word address is a "Do Not Care" value forthe 85C72. After generating a START condition, the bus master After receiving the acknowledge of the 85C72, the transmits the slave address consisting of a 4-bit device master device transmits the data word to be written into code (1 01 0) for the 85C72, followed by the chip address the addressed memory location. The 85C72 acknowl- bits AO, A1 and A2. edges again and the master generates a STOP condi- tion. This initiates the internal programming cycle olthe The eighth bit of slave address determines if the master 85C72. (See Figure 3.) device wants to read or write to the 85C72. (See Figure 2.) PAGE PROGRAM MODE The 85C72 monitors the bus for its corresponding slave address all the time. It generates an acknowledge bit if To program the 85C72, the master sends addresses the slave address was true and it is not in a programming and data to the 85C72 which is the slave (see Figure 3). mode. This is done by supplying a start condition followed by the 4-bit device code, the 3-bit slave address, and the RIW bit which is defined as a logic LOW for a write. This indicates to the addressed slave that a word address will FIGURE 2 - SLAVE ADDRESS follow so the slave outputs the acknowledge pulse to the ALLOCATION master during the ninth clock pulse. When the word address is received by the 85C72, it places it in the lower READ,E 8 bits of the address pointer defining which memory location is to be written. (One do not care bit and seven I I : address bits) The 85C72 will generate an acknowledge after every 8 bits received and store them consecutively I in a 2-byte RAM until a stop condition is detected which I initiates the internal programming cycle. If more than 2 ( o o bytes are transmitted by the master, the 85C72 will terminate the write cycle. This does not affect erasel write cycles of the EEPROM array. If the master generates a STOP condition after transmit- ting the first data word (Point 'po on Figure 3), byte BYTE PROGRAM MODE programming mode is entered. The internal, completely self-timed PROGRAM cycle In this mode, the master sends addresses and one data starts after the STOP condition has been generated by byte to the 85C72. the master and all received (up to 2) data bytes will be Following the START condition, the device code (4-bit), written in a serial manner. I FIGURE 3 - PROGRAM MODE (ERASElWRITE) ACKNOWLEDGES FROM SLAVE © 1990 Microchip Technology Inc. DS11147C-5 1-77 85C72 DICE FORM READ MODE This mode illustrates master device reading data from generates the acknowledge bit, it then outputs the data the 85C72. from the addressed location on to the SDA pad, incre- As can be seen from Figure 4, the master first sets up the ments the address pointer and, if it receives an acknowl- slave and word addresses by doing a write. (Note: edge from the master, will transmit the next consecutive Although this is a read mode the address pointer must be byte. This autoincrement sequence is only aborted written to.) During this period the 85C72 generates the whim the master sends a stop condition instead of an necessary acknowledge bits as defined in the appropri- acknowledge. ate section. ' Note: If the master knows where the address pointer is, The master now generates another start condition and it can begin the read sequence at point 'R' indicated on transmits the slave address again, except this time the Figure 4 and save time transmitting the slave and word read/write bit is set into the read mode. After the slave addresses. FIGURE 4 - READ MODE AUTO INCREMENT WORD ADDRESS PAD DESCRIPTION AQ, A 1 and A2 Chip Address Inputs For normal data transfer SDA is allowed to change only during SCl lOW. Changes during SCl HIGH are re- The levels on these inputs are compared with the served for indicating the START and STOP conditions. corresponding bits in the slave address. The chip is selected if the compare is true. SCLSerial Clock Up to eight 85C72s can be connected to the bus. This input is used to synchronize the data transfer from These inputs must be connected to either Vss or VCC. and to the device. SDA Serial Address/Data InputlOutput NF No Function This is a bidirectional pad used to transfer addresses Thi,s pad must be connected to Vss for normal operation. and data into and data out of the device. It is,an open drain terminal. DSll147C~6 © 1990 Microchip Technology Inc. 1-78 85C72 DICE FORM NOTES: © 1990 Microchip Technology Inc. DS11147C-7 1-79 85C72 DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: W DICE in WAFER S DICE in WAFFLE PACK I TEMPERATURE RANGE: O' C to 70' C DEVICE: 85C72 1K CMOS SERIAL EEPROM DS11147C·8 © 1990 Microchip Technology Inc. 1-80 ~. Microchip 85C82 2K (256 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 85C82 is a 2K bit Elec- • Organized as one block of 256 bytes (256 x 8) trically Erasable PROM. The device is organized as 256 • Two wire serial interface bus x 8 bit memory with a two wire serial interface. Advanced • 5 volt only operation CMOS technology allows asignificant reduction in power • Self-timed write cycle (including auto-erase) over NMOS serial devices. The 85C82 also has a page- • Page-write buffer for up to 2 bytes write capability for up to 2 bytes of data. Up to eight • 1ms write cycle time for single byte 85C82s may be connected to the two wire bus. The • 100,000 eraselwrite cycles 85C82 is available in standard 8-pin DIP and surface • Data retention >10 years mount SOIC package. • 8-pin DIP or SOIC package • Available for extended temperature ranges: -Commercial: O'C to +70'C -Industrial: -40'C to +85'C -Automotive: -40'C to +125'C PIN CONFIGURATION BLOCK DIAGRAM DIP Package AO Vee A1 NC A2 SCL Vss SDA SO Package AO Vee A1 NC AOA1 A2 A2 SCL Vss SOA © 1990 Microchip Technology Inc. 1-81 OS11136C-1 85C82 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings* Name Function All inputs and outputs w.r.t. Vss ................ -0.3 V to +7 V Storage temperature ....................... -65"C to + 150"C AO"Al, A2 Chip Address Inputs Ambient temp. with power applied ..•.. -65"C to + 125"C Vss Ground Soldering temperature 01 leads (10 seconds) .. +300"C SDA Serial Address/Data Input/Output ESD protection on all pins ................................... .4 kV SCl Serial Clock NC No Connect "Notice: Stresses above those listed under "Maximum ratings" may Vee +5 V Power Supply cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial (C): Tamb = O"C to+70"C Industrial (I): Tamb = -40"C to +85"C Automotive lEi: Tamb=-40"Cto+125"C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCl and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V low level input voltage VIL -0.3 Vee x 0.3 V low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, Al & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V low level input voltage VIL -0.3 0.5 V Input leakage current III 10 IlA VIN = 0 V to Vcc Output leakage current ILO 10 IlA VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINIVoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25"C, 1 = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = O"C to +70"C 4.25 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = (I) and (E) program cycle leew 7.0 mA Vee = 5 V, Tamb = O"C to +70"C 8.5 mA Vee=5 V, Tamb= (I) and (E) read cycle leeR 750 I1A Vee = 5 V, Tamb= (C), (I) and (E) Standby current Ices 100 I1A SDA = SCl = Vee = 5 V(no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP seL _ _- J SOA - - - - - ; , . 1 START STOP D811136C-2 © 1990 Microchip Technology Inc. 1-82 85C82 AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLow 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time Tsu:sTA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time Tsu:sTo 4700 ns Bus free time TBuF 4700 ns Time the bus must be free before a new transmission can start Input filter time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N ; # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA FUNCTIONAL DESCRIPTION slave. Both, master and slave can operate as transmit- ter or receiver, but the master device determines which The 85C82 supports a bidirectional two wire bus and mode is activated. data transmission protocol. A device that sends data onto the bus is defined as transmitter, and a device Up to eight 85C82s can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, Aland A2 chip address inputs. by a master device which generates the serial clock Other devices can be connected to the bus, but require (SCl), controls the bus access, and generates the different device codes than the 85C82 (refer to section START and STOP conditions, while the 85C82 works as Slave Address). © 1990 Microchip Technology Inc. DSll136C-3 1-83 85C82 BUS CHARACTERISTICS Data Valid (Ql The following bus protocol has been defined: The state of the data line represents valid data when, after a start condition, the data line is stable for the - Data transfer may be initiated only when the bus is not duration of the HIGH period of the clock signal. busy. The data on the line must be changed during the lOW During data transfer, the data line must remain stable period of the clock signal. There is one clock pulse per whenever the clock line is HIGH. Changes in the data bit of data. line while the clock line is HIGH will be interpreted as a START or STOP condition. Each data transfer is initiated with a START condition and terminated with a STOP condition. The number of Accordingly, the following bus conditions have been the data bytes transferred between the START and defined (see Figure 1): STOP conditions is determined by the master device Bus not Busy (Al and is theoretically unlimited. Both data and clock lines remain HIGH. Acknowledge Start Data Transfer (Bl· Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each A HIGH to lOW transition of the SDA line while the clock byte. The master device must generate an extra clock (SCL) is HIGH determines a START condition. All com- pulse which is associated with this acknowledge bit. mands must be preceded by a START condition. Note: The 85C82 does not generate any acknowledge Stop Data Transfer (Cl bits if an internal programming cycle is in progress. A lOW to HIGH transition of the SDA line while the clock The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way (SCl) is HIGH determines a STOP condition. All opera- that the SDA line is stable lOW during the HIGH period tions must be ended with a STOP condition. 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 ofthe slave. In this case the slave must leave the data line HIGH to enable the master to gener- ate the STOP condition. FIGURE 1 - DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) (C) (A) SCL -+-+. . . SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DSll136C-4 © 1990 MicrOchip Technology Inc. 1-84 85C82 SLAVE ADDRESS The chip address inputs AO, A 1 and A2 of each 85C82 LOW, are placed onto the bus by the master. This must be externally connected to either Vee or ground indicates to the addressed 85C82 that a byte with a word (Vss), assigning to each 85C82 a unique 3-bit address. address will follow after it has generated an acknowl- Up to eight 85C82s may be connected to the bus. Chip edge bit. Therefore, the next by1e transmitted by the selection is then accomplished through software by master is the word address and will be written into the setting the bits AO, A 1 and A2 of the transmitted slave address pointer of the 85C82. After receiving the ac- address to the corresponding hardwired logic levels of knowledge of the 85C82, the master device transmits the selected 85C82. the data word to be written into the addressed memory location. The 85C82 acknowledges again and the After generating a START condition, the bus master master generates a STOP condition. This initiates the transmits the slave address consisting of a 4-bit device internal programming cycle of the 85C82. (See Figure code (1010) forthe 85C82, followed by the chip address 3.) bits AO, A1 and A2. The eighth bit of slave address determines if the master PAGE PROGRAM MODE device wants to read or write to the 85C82. (See Figure 2.) To program the 85C82, the master sends addresses The 85C82 monitors the bus for its corresponding slave and data to the 85C82 which is the slave (see Figure 3). address all the time. It generates an acknowledge bit if This is done by supplying a START condition followed by the slave address was true and it is not in a programming thl:!..4-bit device code, the 3-bit slave address, and the mode. RIW bit which is defined as a logic LOW for a write. This indicates to the addressed slave that a word address will follow so the slave outputs the acknowledge pulse to the FIGURE 2· SLAVE ADDRESS master during the ninth clock pulse. When the word ALLOCATION address is received by the 85C82, it places it in the lower START 8 bits of the address pointer defining which memory READIWRITE /"" location is to be written. The 85C82 will generate an / / / I : ~LAV~ AD9RES:S "'" : (RIWI \ \ \ A acknowledge after every 8 bits received and store them consecutively in a 2-by1e RAM until a stop condition is detected which initiates the internal programming cycle. If more than 2 by1es are transmitted by the master, the / 85C82 will terminate the write cycle. This does not affect erase/write cycles of the EEPROM array. D 0 A2 A1 AD I' '1 If the master generates a STOP condition after transmit- ting the first data word (Point 'po on Figure 3). byte pro- gramming mode is entered. BYTE PROGRAM MODE The internal. completely self-timed PROGRAM cycle In this mode the master sends addresses and one data starts after the STOP condition has been generated by by1e to the 85C82. the master and all received (up to two) data by1es will be written in a serial manner. Following the START condition, the device code (4-bit), the slave address (3-bit), and the RNii bit, which is logic The PROGRAM cycle takes N milliseconds. whereby N is the number of received data bytes (N max = 2). FIGURE 3 • PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE © 1990 Microchip Technology Inc. DS11136C-5 1-85 85C82 READ MODE This mode illustrates master device reading data from data from the addressed location on to the SDA pin, in- the 85C82. . crements the address pointer and, if it receives an ac- knowledge from the master, will transmit the next con- As can be seen from Figure 4, the master first sets upthe secutive byte. This autoincrement sequence is only slave and word addresses by doing a write. (Note: aborted \' :,en the master sends a STOP condition Although this is a read mode, the address pointer must instead of an acknowledge. be written to.) During this period the 85C82 generates the necessary acknowledge bits as defined in the appro- Note: If the master knows where the address pointer is, priate section. it can begin the read sequence at point 'R' indicated on Figure 4 and save time transmitting the slave and word The master now generates another START condition addresses. and transmits the slave address again, except this time the read/write bit is set into the read mode. After the Note: In all modes, the address pointer will automatically slave generates the acknowledge bit, it then outputs the increment from the end of the memory block (256 byte) back to the first location in that block. FIGURE 4 • READ MODE R AUTO INCREMENT WORD ADDRESS PIN DESCRIPTION AO. A1 and A2 Chip Address Inputs SCl Serial Clock The levels on these inputs are compared with the This input is used to synchronize the data transfer from corresponding bits in the slave address. The chip is and to the device. selected if the compare is true. NC No Connect Up to eight 85C82s can be connected to the bus. This pin can be left open or used as a tie point. These inputs must be connected to either Vss or Vcc. SDA Serial Address/Data Input/Output Notes: This is a bidirectional pin used to transfer addresses and 1) A "page" is defined as the maximum number of bytes data into and data out of the device. It is an open drain that can be programmed in a single write cycle. The terminal. For normal data transfer SDA is allowed to 85C82 page is 2 bytes long. change only during SCL LOW. Changes during SCL HIGH are reserved for indicating the START and STOP 2) A "block" is defined as a continuous area of memory conditions. with distinct boundaries. The address pointer can not cross the boundary from one block to another. It will however, wrap around from the end of a block to the first location in the same block. The 85C82 has only one block (256 bytes). DSll136C-6 © 1990 Microchip Technology Inc. 1-86 85C82 NOTES: © 1990 Microchip Technology Inc. DS11136C-7 1-87 85C82 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: J CERDIP P Plastic DIP SM Plastic SOIC (0.207 mil Body) TEMPERATURE Blank 0' C to +70' C I RANGE: E I -40' C to +85' C -40' C to +125' C DEVICE: 85C82 2K CMOS Serial EEPROM I 85C82T 2K CMOS Serial EEPROM (in Tape & Reel) DS11136C-8 © 1990 Microchip Technology Inc. 1-88 85C82 Microchip DICE FORM 2K (256 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 85C82 is a 2K bit Elec- • Organized as one block of 256 bytes (256 x 8) trically Erasable PROM. The device is organized as 256 Two wire serial interface bus x 8 bit memory with a two wire serial interface. Advanced • 5 volt only operation CMOS technology allows asignificant reduction in power Self-timed write cycle (including auto-erase) over NMOS serial devices. The 85C82 also has a page- • Page-write buffer for up to 2 bytes write capability for up to 2 bytes of data. Up to eight • 1ms write cycle time for single byte 85C82s may be connected to the two wire bus. The • Available in wafer or wafflepack 85C82 dice are available in wafer or wafflepack. • Temperature range: -Commercial: O'C to +70'C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 106 x 76 mils Memory Array AOto 256 x 8 A7 © 1990 Microchip Technology Inc. 1-89 DS11148C-1 85C82 DICE FORM ELECTRICAL CHARACTERISTICS Maximum Ratings* PAD FUNCTION TABLE All inputs and outputs w.r.t. vss ................ -0.3 V to +7 V Storage temperature ....................... -65·C to + 150·C Name Function Ambient temp. with power applied ..... -65·C to + 125·C Soldering temperature of leads (10 seconds) .. +300·C AQ,A1,A2 Chip Address Inputs ESD protection on all pins ................................... .4 kV Vss Ground "'Notice: Stresses above those listed under "Maximum ratings" may SDA Serial Address/Data I/O cause permanent damage to the device. This is a stress rating only and SCL Serial Clock functional operation of the device at those or any other conditions above NF No Function those indicated in the operational listings of this specification is not implied, Exposure to maximum rating conditions for extended periods Vee +5 V Power Supply may affect device reliability. DC CHARACTERISTICS Vee = +5 V (±10%) Commercial (C): Tamb = O·C to +70·C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage VIL -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, A1 & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage VIL -0.3 0.5 V Input leakage current III 10 /lA VIN = 0 V to Vcc Output leakage current ILO 10 /lA VOUT = 0 V to Vcc Internal capacitance CINT 7.0 pF VINNoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25"C, f = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, program cycle leew 7.0 mA Vec=5 V read cycle leeR 750 flA Vee=5V Standby current lees 100 /lA SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP SCL---J SOA ------;-,1 START STOP DSl1148C-2 © 1990 Microchip Technology Inc. 1-90 85C82 DICE FORM AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLow 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time Tsu:sTA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time Tsu:sTo 4700 ns Bus free time TBuF 4700 ns Time the bus must be free before a new transmission can start Noise suppression time constant TI 100 ns (SDA and SCl pins) Program cycle time Twc .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL SDA FUNCTIONAL DESCRIPTION The 85C82 supports a bidirectional two wire bus and ter or receiver but the master device determines which data transmission protocol. A device that sends data mode is activated. onto the bus is, defined as transmitter, and a device Up to eight 85C82S can be connected to the bus, receiving data as receiver. The bus has to be controlled selected by the AO, A1 and A2 chip address inputs. by a master device which generates the serial clock Other devices can be connected to the bus but require (SCl), controls the bus access, and generates the different device codes than the 85C82 (refer to section START and STOP conditions, while the 85C82 works as Slave Address). slave. Both, master and slave can operate as transmit- © 1990 Microchip Technology Inc. DS11148C-3 1-91 85C82 DICE FORM BUS CHARACTERISTICS The following bus protocol has been defined: Each data transfer is initiated with a START condition - Data transfer may be initiated only when the bus is not and terminated with a STOP condition. The number of busy. the data bytes transferred between the START and STOP conditions is determined by the master device During data transfer, the data line must remain stable and is theoretically unlimited. whenever the clock line is HIGH. Changes in the data line while the clock line is HIGH will be interpreted as Acknowledge a START or STOP condition. Each receiving device, when addressed, is obliged to Accordingly, the following bus conditions have been generate an acknowledge after the reception of each defined (see Figure 1): byte. The master device must generate an extra clock pulse which is associated with this acknowledge bit. Bus not Busy (Al Note: The 85C82 does not generate any acknowledge Both data and clock lines remain HIGH. bits if an internal programming cycle is in progress. Start Data Transfer (B) The device that acknowledges, has to pull down the SDA line during the acknowledge clock pulse in such a way A HIGH to lOW transition of the SDA line while the clock that the SDA line is stable lOW during the HIGH period (SCl) is HIGH determines a START condition. All of the acknowledge related clock pulse. Of course, commands must be preceded by a START condition. setup and hold times must be taken into account. A master must signal an end of data to the slave by not Stop Data Transfer (C) generating an acknowledge bit on the last byte that has A lOW to HIGH transition of the SDA line while the clock been clocked out ofthe slave. In this case the slave must (SCl) is HIGH determines a STOP condition. All opera- leave the data line HIGH to enable the master to gener- tions must be ended with a STOP condition. ate the STOP condition. Data Valid (D) The state of the data line represents valid data when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. The data on the line must be changed during the lOW period of the clock Signal. There is one clock pulse per bit of data. FIGURE 1· DATA TRANSFER SEQUENCE ON THE SERIAL BUS BUS (A) (8) SCL - - I - - h SDA START CONDITION ADDRESS DATA ALLOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID DS11148C-4 © 1990 Microchip Technology Inc. 1-92 85C82 DICE FORM SLAVE ADDRESS The chip address inputs AO, A 1 and A2 of each 85C82 Following the START condition, thesLevice code (4-bit), must be externally connected to either Vee or ground the slave address (3-bit), and the R, W bit, which is logic (Vss), assigning to each 85C82 a unique 3-bit address. LOW, are placed onto the bus by the master. This Up to eight 85C82s may be connected to the bus. Chip indicates to the addressed 85C82 that a byte with a word selection is then accomplished through software by address will follow after it has generated an acknowl- setting the bits AO, A 1 and A2 of the transmitted slave edge bit. Therefore, the next byte transmitted by the address to the corresponding hardwired logic levels of master is the word address and will be written into the the selected 85C82. address pointer of the 85C82. After receiving the acknowledge of the 85C82, the master device transmits After generating a START condition, the bus master the data word to be written into the addressed memory transmits the slave address consisting of a 4-bit device location. The 85C82 acknowledges again and the code (1 01 0) for the 85C82, followed by the chip address master generates a STOP condition. This initiates the bits AO, A1 and A2. internal programming cycle of the 85C82. (See Figure The eighth bit of slave address determines if the master 3.) device wants to read or write to the 85C82. (See Figure 2.) PAGE PROGRAM MODE The 85C82 monitors the bus for its corresponding slave address all the time. It generates an acknowledge bit if To-program the 85C82, the master sends addresses the slave address was true and it is not in a programming and data to the 85C82 which is the slave (see Figure 3). mode. This is done by supplying a start condition followed by the 4-bit device code, the 3-bit slave address, and the RIW bit which is defined as a logic LOW for a write. This indicates to the addressed slave that a word address will FIGURE 2· SLAVE ADDRESS follow so the slave outputs the acknowledge pulse to the ALLOCATION master during the ninth clock pulse. When the word START READ/WRITE address is received by the 85C82, it places it in the lower /" """ 8 bits of the address pointer defining which memory location is to be written. The 85C82 will generate an acknowledge after every 8 bits received and store them consecutively in a 2-byte RAM until a STOP condition is detected which initiates the internal programming cycle. If more than 2 bytes are transmitted by the master, the 85C82 will terminate the write cycle. This does not affect erase/write cycles of the EEPROM array. If the master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte programming mode is entered. BYTE PROGRAM MODE The internal, completely self-timed PROGRAM cycle In this mode the master sends addresses and one data starts after the STOP condition has been generated by byte to the 85C82. the master and all received (up to 2) data bytes will be FIGURE 3 • PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE © 1990 Microchip Technology Inc. DS11148C-5 1-93 85C82 DICE FORM READ MODE This mode illustrates master device reading data from increments the address pointer and, if it receives an the 85C82. acknowledge from the master, will transmit the next consecutive byte. This autoincrement sequence is only As can be seen from Figure 4, the master first sets up the aborted when the master sends a STOP condition slave and word addresses by doing a write. (Note: instead of an acknowledge. although this is a read mode the address pOinter must be written to.) During this period the 85C82 generates the Note: If the master knows where the address pointer is, necessary acknowledge bits as defined in the appropri- it can begin the read sequence at point 'R' indicated on ate section. Figure 4 and save time transmitting the slave and word addresses. The master now generates another START condition and transmits the slave address again, except this time Note: In all modes, the address pointer will automati- the read/write bit is set into the read mode. After the cally increment from the end of the memory block (256 slave generates the acknowledge bit, it then outputs the bytes) back to the first location in that block. data from the addressed location on to the SDA pad, FIGURE 4 • READ MODE R RIW AUTO INCREMENT WORD ADDRESS PAD DESCRIPTION AO. A1 and A2 Chip Address Inputs The levels on these inputs are compared with the For normal data transfer SDA is allowed to change only corresponding bits in the slave address. The chip is during SCL LOW. Changes during SCL HIGH are re- selected if the compare is true. served for indicating the START and STOP conditions. Up to eight 85C82s can be connected to the bus. SCL Serial Clock These inputs must be connected to either Vss or Vcc. This input is used to synchronize the data transfer from SDA Serial Address/Data Input/Output and to the device. This is a bidirectional pad used to transfer addresses NF No Function and data into and data out of the device. It is an open This pad must be connected to Vss for normal operation. drain terminal. DSll148C-6 © 1990 Microchip Technology Inc. 1-94 85C82 DICE FORM NOTES: © 1990 Microchip Technology Inc. DSll148C-7 1-95 ~-~- - ~~-~~------- 85C82 DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS W DICE in WAFER S DICE In WAFFLEPACK I TEMPERATURE RANGE: O' C1070' C DEVICE: 85C82 2K CMOS SERIAL EEPROM DS11148C-8 © 1990 MicroChip Technology Inc. 1-96 ~. Microchip 85C92 4K (512 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 85C92 is a 4K bit Elec- • Organized as two blocks of 256 bytes (2 x 256 x 8) trically Erasable PROM. The device is organized as two • Two wire serial interface bus blocks of 256 x 8 bit memory with a two wire serial • 5 volt only operation interface. Advanced CMOS technology allows a signifi- • Self-timed write cycle (including auto-erase) cant reduction in power over NMOS serial devices. The • Page-write buffer for up to 8 bytes 85C92 also has a page-write capability for up to 8 bytes • 1ms write cycle time for single byte of data. Up to four 85C92s may be connected to the two 100,000 erase/write cycles wire bus. The 85C92 is available in the standard 8-pin Data retention> 10 years DIP and a surface mount SOIC package. 8-pin DIP or SOIC package • Available for extended temperature ranges: -Commercial: O"C to +70"C -Industrial: -40"C to +85"C -Automotive: -40"C to + 125"C PIN CONFIGURATION BLOCK DIAGRAM DIP Package AD Vee A1 NC A2 SCL Vss SOA SDA SO Package AD Vee SCL Al NC AO A1 A2 A2 SCL Vss SOA © 1990 Microchip Technology Inc. 1-97 DS11146B-1 85C92 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function All inputs and outputs w:r.t. Vss ................ -0.3 V to +7 V AO No function. Must be conner.ted to Storage temperature ....................... -65·C to +150·C Vee orVss Ambient temp. with power applied ..... -65·C to +125·C Al, A2 Chip address Inputs Soldering temperature of leads (10 seconds) .. +300·C ESD protection on all pins ................................... .4 kV Vss Ground SDA Serial Address/Data 1/0 "Notice: Stresses above those listed under "Maximum ratings" may cause permanent damage to the device. This is II stress rating only and SCL Serial Clock functional operation of the device at those or any other conditions above those indicated in the operational listings of this specijication is not NC No Connect implied. Exposure to maximum rating conditions for extended periods Vee +5 V Power Supply may affect device reliability. r Vee = + 5 V (±10%) Commercial (C): Tamb = O"Cto +70"C DC CHARACTERISTICS Industrial (I): Tamb = -40"C to +85"C Automotive (Ei: Tamb = -40"C to +125"C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage Vil -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOl = 3.2 mA (SDA only) Al & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage Vil -0.3 0.5 V Input leakage current III 10 j.1A VIN = 0 V to Vcc Output leakage current IlO 10 j.1A VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINNoUT = 0 V (Note 1) (all inputS/outputs) TAMB = 25"C, f = 1 MHz Operating current leeo 3.5 mA FelK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = O"C to +70"C 4.25 mA FelK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, Tamb = (I) and (E) program cycle leew 7.0 mA Vee=5 V, Tamb =O"C to +70"C 8.5 mA Vee = 5 V, Tamb= (I) and (E) read cycle leeR 750 j.1A Vee = 5 V, Tamb= (C), (I) and (E) Standby current Ices 100 j.1A SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: ThiS parameter IS periodically sampled and not 100% tested. BUS TIMING START/STOP sel _ _-oJ SDA-----.;....,. START STOP OSll1468-2 © 1990 Microchip Technology Inc. 1-98 85C92 AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FCLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time Tsu:sTA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time TSU:STO 4700 ns Bus free time TBUF 4700 ns Time the bus must be free before a new transmission can start Input filter time constant TI 100 ns (SDA and SCl pins) Program cycle time Twe .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. SUS TIMING DATA FUNCTIONAL DESCRIPTION The 85C92 supports a bidirectional two wire bus and ter or receiver but the master device determines which data transmission protocol. A device that sends data mode is activated. onto the bus is defined as transmitter. and a device receiving data as receiver. The bus has to be controlled Up to four 85C92s can be connected to the bus. selected by a master device which generates the serial clock by the Aland A2 chip address inputs. AO must be tied (SCl). controls the bus access. and generates the to Vee or Vss. Other devices can be connected to the START and STOP conditions. while the 85C92 works as bus but require different device codes than the 85C92 slave. Both. master and slave can operate as transmit- (refer to section Slave Address). © 1990 Microchip Technology Inc. D8111468-3 1-99 85C92 BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW period of the clock signal. There is one clock pulse per Data transfer may be initiated only when the bus is not bit of data. busy. Each data transfer is initiated with a START condition During data transfer, the data line must remain stable and terminated with a STOP condition. The number of whenever the clock line is HIGH. Changes in the data the data bytes transferred between the START and line while the clock line is HIGH will be interpreted as STOP conditions is determined by the master device a START or STOP condition. and is theoretically unlimited. Accordingly, the following bus conditions have been de- Acknowledge fined (see Figure 1l: Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Bus not Busy CAl byte. The master device must generate an extra clock Both data and clock lines remain HIGH. pulse which is associated with this acknowledge bit. Note: The 85C92 does not generate any acknowledge Start Data Transfer CBl bits if an internal programming cycle is in progress. A HIGH to lOW transition of the SDA line while the clock (SCll is HIGH determines a START condition. All com- The device that acknowledges, has to pull down the SDA mands must be preceded by a START condition. line during the acknowledge clock pulse in such a way that the SDA line is stable lOW during the HIGH period Stop Data Transfer (Cl of the acknowledge related clock pulse. Of course, setup and hold times must be taken into account. A A lOW to HIGH transition olthe SDA line while the clock master must signal an end of data to the slave by not (SCll is HIGH determines a STOP condition. All opera- generating an acknowledge bit on the last byte that has tions must be ended with a STOP condition. been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to Data Valid (D) generate the STOP condition. the state of the data line represents valid data when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1 - DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) (A) SCl --+---+-'"'- SOA START CONDITION ADDRESS DATA AllOWED STOP OR TO CHANGE CONDITION ACKNOWLEDGE VALID 08111468-4 © 1990 Microchip Technology Inc. 1-100 85C92 SLAVE ADDRESS The chip address inputs A1 and A2 of each 85C92 must LOW, are placed onto the bus by the master. This be externally connected to either Vee or ground (Vss), indicates to the addressed 85C92 that a byte with a word assigning to each 85C92 a unique 2-bit address. Up to address will follow after it has generated an acknowl- four 85C92s may be connected to the bus. Chip selec- edge bit. Therefore the next byte transmitted by the tion is then accomplished through software by setting master is the word address and will be written into the the bits A1 and A2 of the slave address to the corre- address pOinter of the 85C92. After receiving the ac- sponding hardwired logiC levels of the selected 85C92. knowledge of the 85C92, the master device transmits AO is not used and must be connected to either Vee or the data word to be written into the addressed memory Vss. location. The 85C92 acknowledges again and the master generates a STOP condition. This initiates the After generating a start condition, the bus master trans- internal programming cycle of the 85C92. (See Figure mits the slave address consisting of a 4-bit device code 3.) (1010) for the 85C92, followed by the chip address bits A1 and A2. The seventh bit of that byte (BA) is used to PAGE PROGRAM MODE select the upper block (addresses 10D-1FF) or lower To program the 85C92, the master sends addresses page (addresses OOO-OFF) of the 85C92. and data to the 85C92 which is the slave (see Figure 3). This is done by supplying a START condition followed by The eighth bit of slave address determines if the master th~4-bit device code, the 3-bit slave address, and the device wants to read or write to the 85C92. (See Figure RIW bit which is defined as a logic LOW for a write. This 2.) indicates to the addressed slave that a word address will follow so the slave outputs the acknowledge pulse to the The 85C92 monitors the bus for its corresponding slave master during the ninth clock pulse. When the word address all the time. It generates an acknowledge bit if address is received by the 85C92, it places it in the lower the slave address was true and it is not in a programming 8 bits of the address pointer defining which memory lo- mode. cation is to be written. (The BA bit transmitted with the slave address is the ninth bitofthe address pointer.) The FIGURE 2· SLAVE ADDRESS 85C92 will generate an acknowledge after every 8 bits received and store them consecutively in an 8-byte RAM ALLOCATION until a STOP condition is detected which initiates the START READIWRITE internal programming cycle. If more than 8 bytes are /' :'"(Ami transmitted by the master, the 85C92 will roll over and ) I : S~V~ AD9RES:S A overwrite the data beginning with the first received byte. This does not affect eraselwrite cycles of the EEPROM I \ array and is accomplished as a result of only allowing I \ I \ the address registers bottom 3 bits to increment while the upper 5 bits remain unchanged. I' 0 0 A2 A1 9A 1 If the master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte pro- gramming mode is entered. BYTE PROGRAM MODE The internal, completely self-timed PROGRAM cycle In this mode the master sends addresses and one data starts after the STOP condition has been generated by byte to the 85C92. the master and all received (up to 8) data bytes will be written in a serial manner. Following the START condition, theQ.evice code (4-bit), the slave address (3-bit), and the RIW bit, which is logic The PROGRAM cycle takes N milliseconds, whereby N is the number of received data bytes (N max = 8). FIGURE 3 • PROGRAM MODE (ERASE/WRITE) ACKNOWLEDGES FROM SLAVE © 1990 Microchip Technology Inc. OS111469-5 1-101 85C92 READ MODE This mode illustrates master device reading data from data from the addressed location on to the SDA pin, in- the 85C92. crements the address pointer and, if it receives an ac- knowledge from the master, will transmit the next con- As can be seen from Figure 4, the master first sets up the secutive byte. This autoincrement sequence is only slave and word addresses by doing a write. (Note: aborted when the master sends a STOP condition Although this is a read mode, the address pOinter must instead of an acknowledge. be written to.) During this period the 85C92 generates the necessary acknowledge bits as defined in the appro- Note: If the master knows where the address pointer is, priate section. it can begin the read sequence at point 'R' indicated on Figure 4 and save time transmitting the slave and word The master now generates another START condition addresses. and transmits the slave address again, except this time In all modes, the address pointer will not increment the read/write bit is set into the read mode. After the through a block (256 byte) boundary but will wraparound slave generates the acknowledge bit, it then outputs the to the first location in that block. FIGURE 4 - READ MODE R/W R R/W AUTO INCREMENT WORD ADDRESS PIN DESCRIPTION AQ SCL Serial Clock This pin must be connected to either vcc or Vss. This input is used to synchronize the data transfer from and to the device. A1. A2 Chip AddresS Inputs NC No Connect The levels on these inputs are compared with the corresponding bits in the slave address. The chip is This pin can be left open or used as a tie point. selected if the compare is true. Up to four 85C92s can be connected to the bus. Notes: 1) A "page" is defined as the maximum number of These inputs must be connected to either Vssor Vcc. bytes that can be programmed in a single write cycle. The 85C92 page is 8 bytes long. SDA Serial Address/Data Input[Qutput This isa bidirectional pin used to transfer addresses and 2) A "block" is defined as a continuous area of data into and data out of the device. It is an open drain memory with distinct boundaries. The address pointer terminal. can not cross the boundary from one block to another. It will however, wrap around from the end of a block to For normal data transfer SDA is allowed to change only the first location in the same block. The 85C92 has during SCl lOW. Changes during SCl HIGH are re- two blocks, 256 bytes each. served for indicating the START and STOP conditions. 0811146B-6 © 1990 Microchip Technology Inc. H02 85C92 NOTES: © 1990 Microchip Technology Inc. OSll146B-7 1-103 85C92 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PACKAGE: J eERDIP P Plastic DIP SM Plastic sOle (0.207 mil Body) TEMPERATURE Blank 0' C to +70' C I RANGE: E I -40' C to +85' e -40' C to +125' e DEVICE: 85C92 4K CMOS Serial EEPROM I 85C92T 4K CMOS Serial EEPROM (in Tape & Reel) DS11146B-8 © 1990 Microchip Technology Inc. 1-104 85C92 Microchip DICE FORM 4K (512 X 8) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 85C92 is a 4K bit Elec- • Organized as two blocks of 256 bytes (2 x 256 x 8) trically Erasable PROM. The device is organized as two • Two wire serial interface bus blocks of 256 x 8 bit memory with a two wire serial • 5 volt only operation interface. Advanced CMOS technology allows a signifi- • Self-timed write cycle (including auto-erase) cant reduction in power over NMOS serial devices. The • Page-write buffer for up to 8 bytes 85C92 also has a page-write capability for up to 8 bytes • 1ms write cycle time for single byte of data. Up to four 85C92s may be connected to the two • Available in wafer or wafflepack wire bus. The 85C92 dice are available in wafer or • Temperature range: wafflepack package. -Commercial: O·C to +70·C DIE CONFIGURATION BLOCK DIAGRAM Die Size: 113 x 76 mils Vcc- Vss _ AP do Slave di r n Address e t se s r Increment ~~~F=- _ _ _...... A8 1. AO 8. Vcc 2. A1 7. NF AO A1 A2 3. A2 6. SCL 4. Vss 5. SDA © 1990 Microchip Technology Inc. 1-105 DSll149C-1 85C92 DICE FORM ELECTRICAL CHARACTERISTICS PAD FUNCTION TABLE Maximum Ratings' Name Function All inputs and outputs w.r.t. Vss ................ -0.3 V to +7 V Storage temperature ....................... -65'C to + 150'C AO,A1,A2 Chip Address Inputs Ambient temp. with power applied ..... -65'C to + 125'C Soldering temperature 01 leads (10 seconds) .. +300'C Vss Ground ESD protection on all pins ................................... .4 kV SDA Serial Address/Data I/O *Notice: Stresses above those listed under "Maximum ratings" may SCL Serial Clock cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions NF No Function above those indicated in the operational Ilstings of this specification is Vee +5 V Power Supply not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5V (±10%) DC CHARACTERISTICS Commercial: Tamb = O' C to +70' C Parameter Symbol Min Max Units Conditions Vee detector threshold VTH 2.8 4.5 V SCL and SDA pins: High level input voltage VIH Vee x 0.7 Vee + 1 V Low level input voltage VIL -0.3 Vee x 0.3 V Low level output voltage VOL 0.4 V IOL = 3.2 mA (SDA only) AO, AI & A2 pins: High level input voltage VIH Vee - 0.5 Vee + 0.5 V Low level input voltage VIL -0.3 0.5 V Input leakage current III 10 l!A VIN = 0 V to Vcc Output leakage current ILo 10 l!A VOUT = 0 V to Vee Internal capacitance CINT 7.0 pF VINlVoUT = 0 V (Note 1) (all inputs/outputs) Tamb = +25'C, 1 = 1 MHz Operating current leeo 3.5 mA FeLK = 100 kHz, program cycle time = 2 ms, Vee = 5 V, program cycle leew 7.0 mA Vee=5 V read cycle leeR 750 itA Vee=5 V Standby current Ices 100 IlA SDA = SCL = Vee = 5 V (no PROGRAM active) Note 1: This parameter is periodically sampled and not 100% tested. BUS TIMING START/STOP SCL _ _- - f S D A - - - - - i..... START STOP DS11149C-2 © 1990 Microchip Technology Inc. 1-106 85C92 DICE FORM AC CHARACTERISTICS Parameter Symbol Min Typ Max Units Remarks Clock frequency FeLK 100 kHz Clock high time THIGH 4000 ns Clock low time TLOW 4700 ns SDA and SCl rise time TR 1000 ns SDA and SCl fall time TF 300 ns START condition hold time THD:STA 4000 ns After this period the first clock pulse is generated START condition setup time TSU:STA 4700 ns Only relevant for repeated START condition Data input hold time THD:DAT 0 ns Data input setup time TSU:DAT 250 ns Data output delay time TPD 300 3500 ns See Note 1 STOP condition setup time TSU:STO 4700 ns Bus free ti me TSUF 4700 ns Time the bus must be free before a new transmission can start Noise suppression time constant TI 100 ns (SDA and SCl pins) Program cycle time Twe .7N N ms Byte or Page mode N = # of bytes to be written Note 1: As transmitter the device must provide this internal minimum delay time to bridge the undefined region (min 300 ns) of the falling edge of SCl to avoid unintended generation of START or STOP conditions. BUS TIMING DATA SCL THD:DAT (receiver) TPD (transmitter) SDA FUNCTIONAL DESCRIPTION The 85C92 supports a bidirectional two wire bus and ter or receiver but the master device determines which data transmission protocol. A device that sends data mode is activated. onto the bus is defined as transmitter, and a device receiving data as receiver. The bus has to be controlled Up to four 85C92s can be connected to the bus, selected by a master device which generates the serial clock by the A 1 and A2 chip address inputs. AO must be tied (SCl), controls the bus access, and generates the to Vee or Vss. Other devices can be connected to the START and STOP conditions, while the 85C92 works as bus but require different device codes than the 85C92 slave. Both, master and slave can operate as transmit- (refer to section Slave Address). © 1990 Microchip Technology Inc. DS11149C-3 1-107 85C92 DICE FORM BUS CHARACTERISTICS The following bus protocol has been defined: The data on the line must be changed during the lOW period of the clock signal. There is one clock pulse per Data transfer may be initiated only when the bus is bit of data. not busy. Each data transfer is initiated with a start condition and During data transfer, the data line must remain terminated with a stop condition. The number olthe data stable whenever the clock line is HIGH. Changes bytes transferred between the start and stop conditions in the data line while the clock line is HIGH will be is determined by the master device and is theoretically interpreted as a START or STOP condition. unlimited. Accordingly, the following bus conditions have been Acknowledge defined (see Figure 1): Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each Bus not Busy CA) byte. The master device must generate an extra clock Both data and clock lines remain HIGH. pulse which is associated with this acknowledge bit. Note: The 85C92 does not generate any acknowledge Start Data Transfer CB) bits if an internal programming cycle is in progress. A HIGH to lOW transition ofthe SDA line while the clock (SCl) is HIGH determines a START condition. All The device that acknowledges, has to pull down the SDA commands must be preceded by a START condition. 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, Stop Data Transfer (C) setup and hold times must be taken into account. A A lOW to HIGH transition of the SDA line while the clock master must signal an end of data to the slave by not (SCl) is HIGH determines a STOP condition. All opera- generating an acknowledge bit on the last byte that has tions must be ended with a STOP condition. been clocked outofthe slave. In this case the slave must leave the data line HIGH to enable the master to gener- ate the STOP condition. Data Valid (D) The state of the data line represents valid data when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. FIGURE 1" DATA TRANSFER SEQUENCE ON THE SERIAL BUS (A) (8) (C) (A) SCL --+---+____ SDA START CONDITION ADDRESS DATA ALLOWED STOP CONDITION ACKNOWLEDGE TO CHANG~ VALID DS11149C-4 © 1990 Microchip Technology Inc. H08 85C92 DICE FORM SLAVE ADDRESS The chip address inputs A 1 and A2 of each 85C92 must indicates to the addressed 85C92 that a byte with a word be externally connected to either Vee or ground (Vss), address will follow after it has generated an acknowl- assigning to each 85C92 a unique 2-bit address. Up to edge bit. Therefore, the next byte transmitted by the four 85C92s may be connected to the bus. Chip selec- master is the word address and will be written into the tion is then accomplished through software by setting address pointer of the 85C92. After receiving the the bits A 1 and A2 of the slave address to the corre- acknowledge of the 85C92, the master device transmits sponding hardwired logic levels of the selected 85C92. the data word to be written into the addressed memory AO is not used and must be connected to Vee or Vss. location. The 85C92 acknowledges again and the master generates a STOP condition. This initiates the After generating a START condition, the bus master internal programming cycle of the 85C92. (See Figure transmits the slave address consisting of a 4-bit device 3.) code (1 01 0) for the 85C92, followed by the chip address bits A 1 and A2. The seventh bit of that byte (PA) is used to select the upper page (addresses 100-1 FF) or lower PAGE PROGRAM MODE page (addresses OOO-OFF) of the 85C92. To program the 85C92, the master sends addresses The eighth bit of slave address determines if the master and data to the 85C92 which is the slave (see Figure 3). device wants to read or write to the 85C92. (See Figure This is done by supplying a start condition followed by 2.) the 4-bit device code, the 3-bit slave address, and the RIW bit which is defined as a logic LOW for a write. This The 85C92 monitors the bus for its corresponding slave indicates to the addressed slave that a word address will address all the time. It generates an acknowledge bit if follow so the slave outputs the acknowledge pulse to the the slave address was true and it is not in a programming master during the ninth clock pulse. When the word mode. address is received by the 85C92, it places it inthe lower 8 bits of the address pointer defining which memory location is to be written. (The PA bit transmitted with the FIGURE 2 - SLAVE ADDRESS slave address is the ninth bitofthe address pointer.) The ALLOCATION 85C92 will generate an acknowledge after every 8 bits START READIWRITE received and store them consecutively in an 8-byte RAM /"" ~ until a STOP condition is detected which initiates the internal programming cycle. If more than 8 bytes are / I : S~V~ AD~RES:S : IRiWl A transmitted by the master, the 85C92 will roll over and '\ overwrite the data beginning with the first received byte. / '\ / '\ This does not affect erase/write cycles of the EEPROM / '\ array and is accomplished as a result of only allowing r 1 I I I 0 1 0 A2 A1 PA '1 the address registers bottom 3 bits to increment while the upper 5 bits remain unchanged. If the master generates a STOP condition after transmit- ting the first data word (Point 'P' on Figure 3), byte BYTE PROGRAM MODE programming mode is entered. The internal, completely self-timed PROGRAM cycle In this mode the master sends addresses and one data starts after the STOP condition has been generated by byte to the 85C92. the master and all received (up to 8) data bytes will be written in a serial manner. Following the START condition, the ~vice code (4-bit), the slave address (3-bit), and the RIW bit, which is logic The PROGRAM cycle takes N milliseconds, whereby N LOW, are placed onto the bus by the master. This is the number of received data bytes (N max = 8). FIGURE 3 - PROGRAM MODE (ERASEIWRITE) ACKNOWLEDGES FROM SLAVE START A DATA BYTE 1 A STOP P © 1990 Microchip Technology Inc. DS11149C-5 1-109 85C92 DICE FORM READ MODE data from the addressed location on to the SDA pad, increments the address pointer and, if it receives an This mode illustrates master device reading data from acknowledge from the master, will transmit the next the 85C92. consecutive byte. This autoincrement sequence is only As can beseen from Figure 4, the master first sets up the aborted when the master sends a STOP condition slave and word addresses by doing a write. (Note: instead of an acknowledge. although this is a read mode the address pointer must be Note: If the master knows where the address pointer is, written to.) During this period the 85C92 generates the it can begin the read sequence at point 'R' indicated on necessary acknowledge bits as defined in the appropri- Figure 4 and save time transmitting the slave and word ate section. addresses. The master now generates another START condition Note: In all modes, the address pOinter will never and transmits the slave address again, except this time automatically increment through a block (256 byte) the read/write bit is set into the read mode. After the boundary but will rotate back to the first location in that slave generates the acknowledge bit, it then outputs the block. FIGURE 4 - READ MODE R AUTO INCREMENT WORD ADDRESS PAD DESCRIPTION SCL Serial Clock This pad must be connected to either Vee or Vss. This input is used to synchronize the data transfer from and to the device. A1. A2 Chip Address Inputs NF No Function The levels on these inputs are compared with the corresponding bits in the slave address. The chip is This pad must be connected to Vss for normal operation. selected if the compare is true. Up to four 85C92s can be connected to the bus. These inputs must be connected to either Vee or Vss. SDA Serial Address/Data Input/Output This is a bidirectional pad used to transfer addresses and data into and data out of the device. It is an open drain terminal. For normal data transfer SDA is allowed to change only during SCL LOW. Changes during SCL HIGH are re- served for indicating the START and STOP conditions. DSll149C-6 © 1990 Microchip Technology Inc. 1-110 85C92 DICE FORM NOTES: © 1990 Microchip Technology Inc. DS11149C-7 1-111 85C92 DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS W DICE in WAFER S DICE in WAFFLEPACK O' C to 70' C I TEMPERATURE RANGE: DEVICE: 85C92 4K CMOS SERIAL EEPROM DS11149C-8 © 1990 Microchip Technology Inc. 1-112 ~. Microchip 93C06 256 Bits (16 X 16) CMOS Serial Electrically Erasable PROM FEATURES DESCRIPTION • Low power CMOS technology The Microchip Technology Inc. 93C06 is a 256 bit serial • 16 x 16 bit memory organization Electrically Erasable PROM. The device memory is con- • Single 5 volt only operation figured as 16 x 16 bits. Advanced CMOS technology • Self-timed ERASE and WRITE cycles makes this device ideal for low power non-volatile memory • Automatic ERASE before WRITE applications. The 93C06 is available in the standard 8- • Power on/off data protection circuitry pin DIP and a surface mount SOIC package. • 100,000 ERASElWRITE cycles • Data Retention> 10 Years • 8-pin DIP or SOIC package • Available for extended temperature ranges: - Commercial: O'C to +70'C - Industrial: -40'C to +85'C - Automotive: -4O'C to +125'C PIN CONFIGURATION BLOCK DIAGRAM DIP Package Vee Vas cs Vee NU 01 NU Vss 00 DI SO Package os cs Vee CLK NU ClJ( 01 NU QO v•• © 1990 Microchip Technology Inc. 1-113 DS11150C-1 93C06 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings* Name Function All inputs and outputs W.r.t. Vss .............. -0.3 V to +7.0 V Storage temperature ............................ -65°C to + 150°C CS Chip Select Ambient temperature with ClK Serial Clock power applied ...................................... -65°C to + 125°C DI Data In Soldering term perature of leads (10 seconds) ... +300°C DO Data Out ESD protection on all pins ..................................... .4 kV Vss Ground "'Notice: Stresses above those listed under "Maximum ratings" may NU Not Utilized. No Connection cause permanent damage to the device. This is a stress rating only and Vee +5 V Power Supply functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5 V (±10%) DC CHARACTERISTICS Commercial: Tamb= O°C to +70°C Industrial: Tamb = -40°C to +85°C Automotive: Tamb = -40°C to +125°C Parameter Symbol Min Max Units Conditions Vce detector threshold VTH 2.8 4.5 V - High level input voltage VIH 2.0 Vee + 1 V 1-- low level input voltage VIL -0.3 0.8 V Hlgh level output voltage VOH 2.4 V 10H = -400 /lA low level output voltage VOL 0.4 V 10L = 3.2 mA Input leakage current III 10 J.LA VIN = 0 V to Vee (Note 1) Output leakage current ILO 10 /lA VOUT = 0 V to Vee (Note 1) Internal capacitance CINT 7 pF VINNoUT = 0 V~Note 2) (all inputs/outputs) T amb = +25'C, = 1 MHz Operating current leeo 4 mA FeLK = 1 MHz, Vee = 5.5 V (all modes) Standby current Ices 100 J.LA CS = Vss, Vee = 5.5 V ~- Note 1: Internal resistor pull-up at Pin 6. Note 2: This parameter is periodically sampled and not 100% tested. SYNCHRONOUS DATA TIMING eLK 01 cs DO DS11150C-2 ©1990 Microchip Technology Inc. 1-114 93C06 AC CHARACTERISTICS Parameter Symbol Min Max Units Conditions Clock frequency FCLK 1 MHz Clock high time TCKH 500 ns Clock low time TCKL 500 ns Chip select setup time Tcss 50 ns Chip select hold time TCSH 0 ns Chip select low time TCSL 100 ns Data input setup time To IS 100 ns Data input hold time TOIH 100 ns Data output delay time Tpo 400 ns Cl = 100 pF Data output disable time (from CS = low) Tcz 0 100 ns Cl = 100 pF Data output disable time (from last clock) Tooz 0 400 ns Cl = 100 pF Status valid time Tsv 100 ns Cl - 100 pF Program cycle time (Auto Erase & Write) Twc 2 ms 15 ms for ERAl and WRAl Erase cycle time TEC 1 ms I PIN DESCRIPTION Chip Select (CS) A HIGH level selects the device. A lOW level deselects ClKcycles are not required during the self·timed WRITE the device and forces it into standby mode. However, a (i.e,. auto ERASEIWRITE) cycle. programming cycle which is already initiated and/or in After detection of a START condition, the specified progress will be completed, regardless of the CS input number of clock cycles (respectively lOW to HIGH tran· signal. If CS is brought lOW during a program cycle, the sitions of ClK) must be provided. These clock cycles are device will go into standby mode as soon as the pro· required to clock in all required opcode, address, and gramming cycle is completed. data bits before an instruction is executed (see instruc· CS must be lOW for 100 ns minimum (TCSL) between tion set truth table). ClK and 01 then become "Don't consecutive instructions. If CS is lOW, the internal Care" inputs waiting for a new start condition to be control logic is held in a RESET status. detected. Serial Clock (ClK) Note: CS must go lOW between consecutive instruc· tions. The Serial Clock is used to synchronize the communi· cation between a master device and the 93C06. Op· Data In (On code, address, and data bits are clocked in on the Data In is used to clock in a Start bit, opcode, address, positive edge of ClK. Data bits are also clocked out on and data synchronously with the ClK input. the positive edge of ClK. ClK can be stopped anywhere in the transmission Data Out (DO) sequence (at HIGH or lOW level) and can be continued Data Out is used in the READ mode to output data anytime (with respect to clock HIGH time (TCKH) and synchronously with the ClK input (Tpo after the positive clock lOW time (TCKL). This gives the controlling master edge of ClK). freedom in preparing opcode, address and data. This pin also provides READY/BUSY status information ClK is a "Don't Care" if CS is lOW (device deselected). during ERASE and WRITE cycles. READY/BUSY status If CS is HIGH, but START condition has not been de· information is available on the DO pin if CS is brought tected, any number of clock cycles can be received by high after being low for minimum chip select lOW time the device without changing its status. (i.e., waiting for (TCSL) from the falling edge of the ClK which clocked in START condition). the last 01 bit (DO for WRITE, AO for ERASE) and an ERASE or WRITE operation has been initiated. ©1990 Microchip Technology Inc. DSll150C·3 1·115 93C06 The status signal is not available on DO, if CS is held Care must be taken with the leading dummy zero which LOW or HIGH during the entire WRITE or ERASE cycle. is outputted after a READ command has been detected. In all other cases DO is in the HIGH-Z mode. If status is Also, the controlling device must not drive the 01/00 bus checked after the WRITE/ERASE cycle, a pull-up resis- during ERASE and WRITE cycles if the READY/BUSY tor on DO is required to read the READY signal. status information is output by the 93COS. 01 and DO can be connected together to perform a 3- wire interface (CS, ClK, 01/00). INSTRUCTION SET Start Opcode Humber of Instruction BIT OP10P2 Address Data In Data Out Req. elK Cycles READ 1 1 0 0 0 A3 A2 A1 AO - 015-00 25 WRITE 1 0 1 0 0 A3 A2 A1 AO 015-00 (RDY/BSY) 25 ERASE 1 1 1 0 0 A3 A2 A1 AO - (RDY/BSY) 9 EWEN 1 0 0 1 1 X X X X - High-Z 9 EWDS 1 0 0 0 0 X X X X - High·Z 9 ERAL 1 0 0 1 0 X X X X - (RDY/BSY) 9 WRAl 1 0 0 0 1 X X X X 015-00 (RDY/BSY) 25 FUNCTIONAL DESCRIPTION START Condition During power-down, the source data protection circuitry acts to inhibit all modes when Vee has fallen below the The start bit is detected by the device if CS and 01 are range of 2.8 V to 4.5 V. both HIGH with respect to the positive edge of ClK for the first time. The EWEN and EWDS commands give additional pro- tection against accidentally programming during normal Before a START condition is detected, CS, ClK, and 01 operation. may change in any combination (except to that of a START condition), without resulting in any device opera· After power-up, the device is automatically in the EWDS tion (READ, WRITE, ERASE, EWEN, EWDS, ERAl, mode. Therefore, an EWEN instruction must be per· and WRAl). As soon as CS is High, the device is no formed before any ERASE, or WRITE instruction can be longer in the standby mode. executed. An instruction following a START condition will only be READ Mode executed if the required amount of opcode, address and The READ instruction outputs the serial data of the data bits for any particular instruction is clocked in. addressed memory location on the DO pin. A dummy bit After execution of an instruction (Le., clock in or out of (logical 0) precedes the 1S-bit output string. The output the last required address ordata bit) ClKand 01 become data changes during the high state of the system clock don't care bits until a new START condition is detected. (ClK). The dummy bit is output TPD after the positive edge of ClK, which was used to clock in the last address bit (AO). Therefore, care must be taken if 01 and DO are It is possible to connect the Data In and Data Out pins connected together as a bus contention will occur for together. However, with this configuration it is possible one clock cycle if AO has been a "1". for a "bus conflict" to occur during the "dummy zero" that DO will go into HIGH-Z mode with the positive edge of precedes the READ operation, if AO is a logic HIGH the next ClK cycle. This follows the output of the last level. Under such a condition the voltage level seen at data bitDO orthe negative edge of CS, whichever occurs Data Out is undefined and will depend upon the relative first. impedances of Data Out and the signal source driving AO. The higher the current sourcing capability of AO, the DO remains stable between ClK cycles for an unlimited higher the voltage at the Data Out pin. time as long as CS stays HIGH. The most significant data bit (015) is always output first, Data Protection and Noise Immunity followed by the lower significant bits (014 . DO). During power-up, all modes of operation are inhibited until Vee has reached a level of between 2.8 Vand 4.5 V. DS11150C·4 ©1990 Microchip Technology Inc. 1-116 93C06 READ MODE CLK I" ~I ~"r-------------------~~~~------------~~ ThSL ~ CS III I~I SB OP1 OP2 A3 lAO I DI_ ~'--_~----La_,m""""l-~__ II __ Tooz ~ I TPo __ 1t4- I I DO - - - - - - - - - - - - - - - - - - - - - HIGH-Z ~ ''I; 0 ~~ NEW INSTRUCTION _ OR STANDBY (CS = 0) WRITE Mode The WRITE instruction is followed by 16 bits of data automatic ERASE cycle on the specified address before which are written into the specified address. The most the data are written. The WRITE cycle is completely self- significant data bit (015) has to be clocked in first, timed and commences automatically after the rising followed by the lower significant data bits (014 - ~O). If edge of the elK signal for the last data bit (~O). a WRITE instruction is recognized by the device and all The WRITE cycle takes 2 ms max. data bits have been clocked in, the device performs an WRITE MODE CLK _ _ I TeSL 14- ~ TeSL ~ cs ~r'-~--------------------~~~-----------+:~~~~ I I CHECK I SB OP1 OP2 A3 AD D15 DO I DI ~----:---f-a~;;~~;m;~E9fol\U"l---L---l--1i--1i---L---_ 1 0 II ...-J ~ Tooz ~~Tsv I I II DO HIGH -Z -------------~~i--i----~JiRoY~ I _ Twe _ _ I I I NEW INSTRUCTION OR STANDBY (CS = 0) ERASE Mode The ERASE instruction forces all the data bits of the after the last address bit has been clocked in. specified address to logical "1s". The ERASE cycle is The ERASE cycle takes 1 ms max. completely self-timed and commences automatically ERASE MODE ~I TeSL ~I ~ _ _I TesL 1___ ,-,r---------------------------~~I I I I cs -.ill I '\ : ~i ~.:r­ i'--.l' CHECK SB OP1 OP2 A3 '1f::A~;nvn I I DI~ /'----,\'--_~~~~ I - I I ~ I_Tooz I T8v __ 1 ~ I 'I - - DO HIGH - Z --------l-----1f---..,... BSY I ROY I ~......- TEe ~~ NEW INSTRUCTION OR STANDBY (CS =0) ©1990 Microchip Technology Inc. DS11150C-5 93C06 ERASEIWRITE Enable/Disable (EWEN. EWDS) The device is automatically in the ERASEIWRITE Dis- instruction has to be performed before any ERASE, able mode (EWOS) after power-up. Therefore, an EWEN WRITE, ERAL, WRAL instruction is executed by the device. ERASEIWRITE ClK ~~~J ENABLE/DISABLE I '7",..._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _~I- Tesl -.-1 _ _ __ cs ~ ,-----+--' SB OP1 OP2 SB DI mo, ;\ ~~ o 0 (EWDS) Ji ; 1 1 X X X X (EWEN) I NEW INSTRUCTION OR STANDBY (CS = 0) ERASE All (ERAL) The entire chip will be erased to logical "1 s" if this instruc- mences after the last dummy address bit has been tion is received by the device and it is in the EWEN mode. clocked in. The ERAL cycle is completely self-timed and com- ERAL takes 15 ms max. ERASE ALL DO - - - - - - - - - - - - HIGH·Z - - - - - j - - - j ) - - - - i BSY I I ~Twe~ . I j NEW INSTRUCTION OR STANDBY ICS - 0) WRITE All (WRAL) cycle forthe chip. Therefore, the WRAL instruction must The entire chip will be written with the data specified in be preceded by an ERAL instruction and the chip must that command. The WRAL cycle is completely self- be in the EWEN status in both cases. timed and commences after the last data bit (~O) has been clocked in. WRAL takes 15 ms max. The WRAL instruction is used for testing and/or device initialization. Note: The WRAL does not include an automatic erase WRITE ALL CLK~LflSLflSLJLJLrL~~ ~ TesL 1_._ ~ TeSL ~ ~------------------------~Ii ~ cs ~ I~/I STATUS Lt- S8 OP1 QP2 015 I DO I CHECK DI ~~-=------=-~/'1'~"""""'X=""x=""'x"""'WW 10 years 8-pin DIP or SOIC package • Available for extended temperature ranges: - Commercial: O·C to +70·C - Industrial: -40·C to +8S·C - Automotive: -40·C to + 12S·C PIN CONFIGURATION BLOCK DIAGRAM DIP Package Vee Vss esO'· CLK2 013 7NU 6NU Vee 004 SVss eso. DO es 01 S:ePaCka9:SO. NU elK 2 7 NU Vee 2 7 Vss 013 6NU eS3 600 004 5vss CLK4 50t elK 93C46 93C46X © 1990 Microchip Technology Inc. 1-129 DS20041C-1 93C46 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings' All inputs and outputs w.r.t. Vss .............. -0.3 V to +7.0 V Name Function Storage temperature ............................ -65°C to +150°C Ambient temperature with CS Chip Select power applied ........................................ -65°C to + 125C ClK Serial Clock Soldering termperature of leads (10 seconds) ... +300°C 01 Data In ESO protection on all pins ..................................... .4 kV DO Data Out Vss Ground *Notice: Stresses above those listed under "Maximum ratings" may cause permanent damage to the device. This is a stress rating only and NU Not Utilized. No Connection functional operation of the device at those or any other conditions above Vee +5 V Power Supply those indicated in the operational listings of this specification is not L_.. _ _ implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5 V (±10%) Commercial: Tamb= O°C to +70°C DC CHARACTERISTICS Industrial: Tamb = -40°C to +85°C Automotive: Tamb = -40°C to + 125°C Parameter Symbol Min Max Units Conditions Vec detector threshold VTH 2.8 4.5 V High level input voltage VIH 2.0 Vce + 1 V low level input voltage VIL -0.3 0.8 V High level output voltage VOH 2.4 V IOH = -400 IJA low level output voltage VOL 0.4 V IOL =3.2 mA Input leakage current III 10 IJA VIN = 0 V to Vee (Note 1) Output leakage current ILO 10 j.lA VOUT = 0 V to Vec (Note 1) Internal capacitance CINT 7 pF VINlVoUT = 0 V INote 2~ (all inputs/outputs) Tamb = +25°C, = 1 M z Operating current Iceo 4 mA FeLK = 1 MHz, Vee = 5.5 V (all modes) Standby current Ices 100 IJA CS = 0 V, Vee = 5.5 V Note 1: Internal resistor pull-up at Pin 6. Note 2: This parameter is periodically sampled and not 100% tested. SYNCHRONOUS DATA TIMING ClK DI cs DO DS20041C-2 ©1990 Microchip Technology Inc. 1-130 93C46 AC CHARACTERISTICS Parameter Symbol Min Max Units Conditions Clock frequency FCLK 1 MHz Clock high time TCKH 500 ns Clock low time TCKL 500 ns Chip select setup time Tcss 50 ns Chip select hold time TcsH 0 ns Chip select low time TCSL 100 ns Data input setup time TOls 100 ns Data input hold time TOIH 100 ns Data output delay time Tpo 400 ns Cl = 100 pF -~~ Data output disable time (from CS = low) Tcz 0 100 ns Cl = 100pF Data output disable time (from last clock) Tooz 0 400 ns Cl = 100pF Status valid time Tsv 100 ns Cl = 100pF Program cycle time (Auto Erase & Write) Twc 2 ms 15 ms for ERAl and WRAl Erase cycle time TEC 1 ms PIN DESCRIPTION Chip Select (CS) A HIGH level selects the device. A lOW level deselects ClKcycles are not required during the self-timed WRITE the device and forces it into standby mode. However, a (i.e., autoERASE/WRITE) cycle. programming cycle which is already initiated and/or in After detection of a start condition, the specified number progress will be completed, regardless of the CS input of clock cycles (respectively lOW to HIGH transitions of signal. If CS is brought lOW during a program cycle, ClK) must be provided. These clock cycles are required the device will go into standby mode as soon as the pro- to clock in all required opcode, address, and data bits gramming cycle is completed. before an instruction is executed (see instruction set CS Irlust be lOW for 100 ns minimum (TCSL) between truth table). ClK and 01 then become "Don't Care" consecutive instructions. If CS is lOW, the internal inputs waiting for a new start condition to be detected. control logic is held in a RESET status. Note: CS must go lOW between consecutive instruc- tions. Serial Clock (ClK) Data In (On The Serial Clock is used to synchronize the communi- cation between a master device and the 93C46. Op- Data In is used to clock in a START bit, opcode, address, code, address, and data bits are clocked in on thE" and data synchronously with the ClK input. positive edge of ClK. Data bits are also clocked out 0 I the positive edge of ClK. Data Out (DO) ClK can be stopped anywhere in the transmission Data Out is used in the READ mode to output data sequence (at HIGH or lOW level) and can be continued synchronously with the ClK input (TpDafter the positive anytime (with respect to clock HIGH time (TCKH) and edge of ClK). clock lOW time (TCKL). This gives the controlling master This pin also provides READY/BUSY status information freedom in preparing opcode, address and data. during ERASE and WRITE cycles. READY/BUSY status ClK is a "Don't Care" if CS is lOW (device deselected). information is available on the DO pin if CS is brought If CS is HIGH, but STARTcondition has not been de- HIGH after being lOW for minimum chip select lOW tected, any number of clock cycles can be received by time (TcsL) from the falling edge of the ClK which the device without changing its status. (i.e., waiting for clocked in the last 01 bit (DO for WRITE, AO for ERASE) START condition). and an ERASE or WRITE operation has been initiated. ©1990 Microchip Technology Inc. DS20041C-3 1-131 93C46 The status signal is not available on DO, if CS is held Care must be taken with the leading dummy zero which lOW or HIGH during the entire WRITE or ERASE cycle. is outputted after a READ command has been detected. In all other cases DO IS in the HIGH-Z mode. If status is Also, the controlling device must not drive the 01/00 bus checked after the WRITE/ERASE cycle, a pull-up resis- during Erase and Write cycles if the. READY/BUSY tor on DO is required to read the READY signal. status information is outputted by the 93C46. 01 and DO can be connected together to perform a 3- wire interface (CS, ClK, 01/00). INSTRUCTION SET Start Opcode Number of Instruction BIT OP10P2 Address Data In Data Out Req. elK Cycles READ 1 1 0 A5 A4 A3A2 A1 AO - 015-00 25 WRITE 1, 0 1 AS A4 A3 A2 A1 AO 015-00 (ROYIBSY) 25 ERASE 1 1 1 A5 A4 A3 A2 A1 AO - (ROY/BSY) 9 EWEN 1 0 0 1 1 X X X X - High-Z 9 EWOS 1 0 0 0 0 X X X X - High-Z 9 ERAL 1 0 0 1 0 X X X X - (ROY/BSY) 9 WRAL 1 0 0 0 1 X X X X 015-00 (ROY/BSy) 25 FUNCTIONAL DESCRIPTION START Condition The START bit is detected by the device if CS and 01 are acts to inhibit all modes when Vee has fallen below the both HIGH with respect to the positive edge of ClK for range of 2.8 V to 4.5 V. the first time. The EWEN and EWDS commands give additional pro- Before a START condition is detected, CS, ClK, and 01 tection against accidentally programming during normal may change in any combination (except to that of a operation. START condition), without resulting in any device opera- After power-up, the device is automatically in the EWDS tion (READ, WRITE, ERASE, EWEN, EWDS, ERAl, mode. Therefore, an EWEN instruction must be per- and WRAl). As soon as CS is HIGH, the device is no formed before any ERASE or WRITE instruction can be longer in the standby mode. executed. An instruction following a START condition will only be executed if the required amount of opcode, address and data bits for any particular instruction is clocked in. READ Mode After execution of an instruction (I.e., clock in or out of the last required address or data bit) ClK and 01 The READ instruction outputs the serial data of the become don't care bits until a new start condition is addressed memory location on the DO pin. A dummy bit detected. (logical 0) precedes the 16-bit output string. The output data changes during the HIGH state of the system clock ~ (ClK). The dummy bit is output TPD after the positive It is possible to connect the Data In and Data Out pins edge of ClK, which was used to clock in the last address together. However, with this configuration it is possible bit (AO). Therefore, care must be taken if 01 and DO are for a "bus conflict" to occur during the "dummy zero" that connected together as a bus contention will occur for precedes the READ operation, if AO is a logic HIGH one clock cycle if AO has been a one. level. Under such a condition the voltage leyel seen at DO will go into HIGH-Z mode with the positive edge of Data Out is undefined and will depend upon the relative the next ClK cycle. This follows the output of the last impedances of Data Out and the signal source driving data bit DO or the low going edge of CS, which ever AO. The higher the current sourcing capability oIAO, the occurs first. higher the voltage at the Data Out pin. DO remains stable between ClK cycles for an unlimited Data protection time as long as CS stays HIGH. The most significant data bit (015) isalways'output first, During power-up, all modes of operation are inhibited followed by the lower significant bits (014 - DO). until Vee has reached a level of between 2.8 Vand 4.5 V. During power-down, the source data protection circuitry DS20041C-4 ©1990 Microchip Technology Inc. 1-132 93C46 READ MODE ClK I" _I ~~'---------------------~~--T---------------~ ThSl ~ CS /77 I~I SB OP1 OP2 A5 A4 A3 lAO I DID ;---\ Ii l& m: 2&~ ~~ I Tooz ~ Tpo __ l~ I DO - - - - - - - - - - - - - - - - - - - - HIGH - Z ----~1lT_--", 0 rw=x:::J~ NEW INSTRUCTION OR STANDBY (CS = 0) WRITE Mode The WRITE instruction is followed by 16 bits of data automatic ERASE cycle on the specified address before which are written into the specified address. The most the data are written. The WRITE cycle is completely self- significant data bit (015) has to be clocked in first, timed and commences automatically after the rising followed by the lower significant data bits (014 - ~O). If edge of the elK for the last data bit (~O). a WRITE instruction is recognized by the device and all The WRITE cycle takes 2 ms max. data bits have been clocked in, the device performs an WRITE MODE ~I TeSl ~ -------' TeSl ~ r,-,---------------------~~~----------~I ~ $-- i cs ---.-LV I I~ STATUS I~ SB OP1 OP2 AS A4 A3 AO 015 I DO I CHECK I DI~ '<&: :m: »Z m! zm< 2ijU I ~ I II ~ ~Tooz ~_Tsv • I II 00------------------- HIGH - Z -------------~~T-:----~,ifoY':--- I_Twc 1 - - I, NEW INSTRUCTION t OR STANDBY (CS 0) ERASE Mode The ERASE instruction forces all the data bits of the completely self-timed and commences automatically specified address to logical "1s". The ERASE cycle is after the last address bit has been clocked in. The ERASE cycle takes 1 ms max. ERASE MODE CLK =X"U~<=""""""lll!I----,1 ~I TeSL ~ ~ Tesl I~ cs Ii! ,.,.,----------------------------r----,I -------'--LI I I t '\~; CHECK I ~-r- I ;"---11 I SB OP1 OP2 A5 A4 A3 lAO ~ 01!lQl& / ~m~~ I ~ I_Tooz Tsv __ l~ I DO - - - - - - - - - - - - - - - - - - - HIGH - Z ------~~---%----I_e.1 BSY I ROY NEW INSTRUCTION OR STANDBY (CS • 0) ©1990 Microchip Technology Inc. DS20041C-5 1-133 93C46 ERASE/WRITE Enable/Disable (EWEN. EWDS) The device is automatically in the ERASEIWRITE Dis- EWEN instruction has to be performed before any able mode (EWDS) after power-up. Therefore, an ERASE, WRITE, ERAL, WRAL instruction is executed by the device. ERASEIWRITE ClK ~~~J ENABLE/DISABLE ~TCSl~ ~--------------------~{.''-----If---/'~,---- cs -----.iZ/ i S8 OP1 OP2 S8 DI mo, I\~----L~""----\'i--~;- o 0 (EWDS) § 1 1 X X X X (EWEN) NEW INSTRUCTION OR STAND8Y (CS = 0) ERASE All (ERAL) The entire chip will be erased to logical "1 s" if this instruc- mences after the last dummy address bit has been tion is received by the device and it is in the EWEN mode. clocked in. The ERAL cycle is completely self-timed and com- ERAL takes 15 ms max. ERASE ALL ClK """'''''''''''''''_...J ~Ir ~ TcsL ~ -.-I TcsL ~ CS /~/n-/------------------------------~1--4 ~;r- -----LLI I ~!1 ';;';~~~ 1"-/1 S8 OP1 OP2 mv.....'fY'I''''''''--c>S----+I-----!''-- -"""~ I I I ITDDz~ ~ Tsv....., r--- D O - - - - - - - - - - - - - - - - - - - - - - - HIGH - z ----------jf----+-----i NEW INSTRUCTION OR STAND8Y (CS 0) j WRITE All (WRAL) The entire chip will be written with the data specified in cycle forthe chip. Therefore, the WRAL instruction must that command. The WRAL cycle is completely self- be preceded by an ERAL instruction and the chip must timed and commences after the rising edge of the eLK be in the EWEN status in both cases. for the last data bit (DO). WRAL takes 15 ms max. The WRAL instruction is used for testing and,or device Note: The WRAL does not include an automatic ERASE initialization. WRITE ALL ~ TCSL ~ ~TCSL ~ ~------------------------~I~ ~ ¥- cs ---.l1l I '---JI I LJ STATUS CHECK S8 OP1 OP2 r---;""""""",ww="""""",ow;;~D",15,,=- I DO I DI ~0~-,:---:----;:--I/ 1 ~ $~/!C't--'-~'---- f (0) 0229 0115 SKPNC 0230 0115 3003 + BTFSC 3,0 0230 0116 2425 BSF RXBUF,O 0231 0117 4434 CALL BITIN 0232 0120 3352 BTFSC EEPROM,DI 0233 0121 2425 BSF RXBUF,O Input bit =1 0234 0122 1366 DECFSZ COUNT 8 bits? 0235 0123 5112 GOTO RXLP 0236 0124 2712 BSF EEPROM,DO Set acknowledge bit = 0237 0125 4454 CALL BITOUT to STOP further input 0238 0126 4000 RETLW 0 0239 0240 ;END SUB 0241 0242 ;---------------------------------------------------- 0243 TRANSMIT DATA subroutine 0244 i---------------------------------------------------- 0245 Input TXBUF 0246 Output Data X'mitted to EEPROM device 0247 i---------------------------------------------------- 0248 0249 TX 0250 0127 6010 MOVLW .8 0251 0130 0066 MOVWF COUNT 0252 0253 TXLP 0254 0131 2312 BCF EEPROM, DO Shift data bit out. 0255 0132 3364 BTFSC TXBUF,7 If shifted bit=O, data bit = 0 0256 0133 2712 BSF EEPROM,DO Otherwise data bit = 1 0257 0134 4454 CALL BITOUT Serial data out 0258 0135 1564 RLF TXBUF Rotate TXBUF left 0259 0136 SKPC f(6) ---> f(7) 0260 0136 3403 + BTFSS 3,0 0260 0137 2024 BCF TXBUF, 0 f (7) ---> carry 0261 0140 SKPNC carry ---> f (0) 0262 0140 3003 + BTFSC 3,0 0262 0141 2424 BSF TXBUF,O 0263 0142 1366 DECFSZ COUNT 8 bits done? 0264 0143 5131 GOTO TXLP No. 0265 0144 4434 CALL BITIN Read acknowledge bit 0266 0145 6003 MOVLW 3 0267 0146 3352 BTFSC EEPROM,DI Check for acknowledgement 0268 0147 4400 CALL ERR No acknowledge from device 0269 0150 4000 RETLW o 0270 0271 ;END SUB 0273 0274 i---------------------------------------------------- 0275 BYTE-WRITE, write one byte to EEPROM device 0276 ;---------------------------------------------------- 0277 Input DATAO = data to be written 0278 ADDR = destination address 0279 SLAVE = device address t1010xxxO) 0280 Output Data written to EEPROM device 0281 i---------------------------------------------------- 0282 DS00515A·8 © 1990 Microchip Technology Inc. 1-152 COMMUNICATING WITH TWO WIRE/12C BUS 0283 0200 ORG 200 The location for BYTE- WRITE routine can be 0284 assigned anywhere between (377- 777) octal. 0285 WRBYTE 0286 0200 1023 MOVF SLAVE,W Get SLAVE address 0287 0201 0064 MOVWF TXBUF to TX buffer 0288 0202 4404 CALL BSTART Generate START bit 0289 0203 4527 CALL TX Output SLAVE address 0290 0204 1020 MOVF ADDR,W Get WORD address 0291 0205 0064 MOVWF TXBUF into buffer 0292 0206 4527 CALL TX Output WORD address 0293 0207 1022 MOVF DATAO,W Move DATA 0294 0210 0064 MOVWF TXBUF into buffer 0295 0211 4527 CALL TX Output DATA and detect acknowledgement 0296 0212 4420 CALL BSTOP Generate STOP bit 0297 0298 0299 0300 ;---------------------------------------------------- 0301 BYTE-READ, read one byte from serial EEPROM device 0302 0 ______ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0303 Input ADDR source address 0304 SLAVE = device address (1010xxxO) 0305 Output DATAl = data read from serial EEPROM 0306 ;--~------------------------------------------------ 0307 0308 0300 ORG 300 The location for BYTE- READ routine can be assigned anywhere 0309 between (377-777) octal. 0310 RDBYTE 0311 0300 1023 MOVF SLAVE,W Move SLAVE address 0312 0301 0064 MOVWF TXBUF into buffer (R/W = 0) 0313 0302 4404 CALL BSTART Generate START bit 0314 0303 4527 CALL TX Output SLAVE address. Check ACK. 0315 0304 1020 MOVF ADDR,W Get WORD address 0316 0305 0064 MOVWF TXBUF 0317 0306 4527 CALL TX Output WORD address. Check ACK. 0318 0307 4404 CALL BSTART START READ (if only one device 0319 0310 1023 MOVF SLAVE,W is connected to the 12C bus) 0320 0311 0064 MOVWF TXBUF 0321.0312 2424 BSF TXBUF,O Specify READ mode (R/W = 1) 0322 0313 4527 CALL TX Output SLAVE address 0323 0314 4507 CALL RX READ in data and acknowledge 0324 0315 4420 CALL BSTOP Generate STOP bit 0325 0316 1065 MOVF RXBUF Save data from buffer 0326 0317 0061 MOVWF DATAl to DATAl file. 0327 0328 0329 0330 END %ASM-I, No Errors, No Warnings © 1990 Microchip Technology Inc. DS00515A-9 1-153 COMMUNICATING WITH TWO WIRE/12C BUS NOTES: DS00515A'-10 © 1990 Microchip Technology Inc. 1-154 _Microchip APPLICATION NOTES ERS92S6/93C06 AND NMC9306/NMC93C06 COMPATIBILITY ISSUE Introduction The ER59256 and 93C06 are 256 bits (16 x 16) serial EEPROM currently offered by Microchip. ER59256 is fabricated in N-channel SNOS technology and 93C06 in advanced CMOS. There are some uncertainties in the field regarding the compatibility between Microchip's 256 bits serial EEPROM and National. Namely NMC9306 and NMC93C06. This report highlights the differences. Software Differences Microchip ER59256 Microchip 93C06 National NMC9306/NMC93C06 I~SIBUQIIQ~ sa~ ~ ll8IA sa~ ~ ll8IA sa QEQ.QQl;. ~ READ 1 1000 A3A2A1AO 1 1000 A3A2A1AO 10XX A3A2A1AO WRITE 1 0100 A3A2A1AO D15 - DO 1 0100 A3A2A1AO D15 - DO 1 a 1 xx A3A2A1AO 015- DO ERASE 1 1100 A3A2A1AO 1 1100 A3A2A1AO 11 XX A3A2A1AO EWEN 1 0011 00 0 0 1 0011 XXXX 1 0011 XXXX EWDS 1 0000 o0 0 a 1 0000 XXXX 1 0000 XXXX ERAL 1 0010 o0 0 0 1 0010 XXXX 1 0010 XXXX WRAL NOT SPECIFIED 1 0001 XXXX D15- 00 1 0001 XXXX 015-00 Note: EWEN ..... EraseIWrite Enable ERAL ..... Erase All EWDS ..... EraseIWrite Disable WRAL .... Write All From the instruction sets shown, the address bits on EWEN, EWOS, ERAL and WRAL are "don't care" for 9306/93C06 and all logical O's for ER59256. The WRAL instruction is not specified for ER59256. The two LSB of the opcode are "0 0" for Microchip's ER59256/93C06 and "don't care" for National's NMC9306/NMC93C06. In order to make software fully compatible to all parts, it is recommended to design program with all logical O's in place of the "don't care" bits. Polling is available on the 93C06 and NMC93C06. The soft polling can be done by checking the status signal on the DO line (pin 4). A low busy signal (BSY) indicates the device is still in the programming mode and a high level (ROY) represents the device is ready to receive new instruction. ER59256 and NMC9306 however, do not provide this feature. © 1990 Microchip Technology Inc. DS00516A-1 1-155 ER59256/93C06 AND NMC9306/NMC93C06 Hardware Differences Microchip National PARAMETER ~ ~ ~ tlIMQaaQQIl PIN6 NC NC NC NC PIN 7 TEST NC NC NC ClOCKFREQ 250 KHZ 1 MHZ 250 KHZ 1 MHZ ClK DUTY CYCLE 25%-75% not specified not specified not specified ClK HIGH TIME min. not specified 500 ns 1 us 250 ns ClK lOW TIME min. not specified 500 ns 1 us 250 ns CS lOW TIME min. not specified 100 ns 1 us 250 ns ENDURANCE 10K 100K 40K 40K ESDRATING 1.0KV 4.0KV 2.0KV 2.0KV ElWTIME 10 - 30 ms 2ms 10-30ms 10ms ACTIVE CURRENT 10mA 4mA 10mA 3mA STANDBY CURRENT 3mA 100 uA 3mA 50 uA Pin 6 and 7 configuration - Microchip uses the pin 6 and 7 of ER59256 for factory internal test purposes. Pin 6 is used to monitor the on-Chip charge pump which generates the required internal high programming voltage (>20 volts) during the ERASE and WRITE cycles. Any circuitry connects to this pin will force to reduce the data retention of the device or even no programming will take place. Signal on pin 7 can force the device into its internal test modes resulting in overprogramming all memory locations. It is therefore recommended that pin 6 should be left open and pin 7 tied to Vss for normal operation. Microchip's 93C06 and National's NMC9306/NMC93C06 have their pin 6 and 7 physically not utilized. To make ER59256 compatible, the TEST pin (pin 7) can be left floating but must be kept "clean" (noise-free). Clock high time, clock low time - For a clock frequency of 250 kHz, both ER59256 and NMC9306 specify the same electrical parameters: 250 kHz equals 4 us clock cycle time 25% of the clock period (4 us) = 1 us (clock high time) 75% of the clock period (4 us) = 3 us (clock low time = 4 - 3 us =1 us) For slower clock frequencies, the ER59256 spec would restrict the user regarding clock low and high times: . A clock frequency of 100 k Hz = 10 us cycle time would result in clock low = 75% of 10 us = 7.5 us and clock high = 25% of 10 us = 2.5 us. In reality, Microchip'S ER59256 can fulfill National's NMC9306 spec regarding SK low and SK high equal to 1 usec over all operating frequencies as 250 kHz is the maximium allowable frequency and is therefore the worst case. DS00516A-2 © 1990 Microchip Technology Inc. 1-156 ER59256/93C06 AND NMC9306/NMC93C06 Chip select low tlme- All parts require a chip select (CS) input goes low between any two instructions. Programming of the part (ER59256, NMC9306,NMC93C06) begins at the falling edge of the CS. Microchip's 93C06 however, starts self-programming at the rising edge of the last data clocked bit. CS goes low and high with a minimium of chip select low time (Tcsl) during programming can be used for polling purpose as discribed in 2. © 1990 Microchip Technology Inc. DS00516A-3 1-157 ER59256/93C06 AND NMC9306/NMC93C06 NOTES: © 1990 Microchip Technology Inc. DS00516A-4 1-158 _ ~. Microchip APPLICATION NOTES 24COIA COMPATIBILITY ISSUE AND ITS MOBILITY FOR MEMORY UPGRADE Introduction The 24C01 is a 1K (128 x 8) serial EEPROM which is currently offered by Microchip and Xicor. There are several important differences between the two devices which are discussed in this report. This report refers to the Microchip part as the 24C01A and the Xicor part as the X24C01. It is intended to assist in designing a board which is compatible with either device. Compatibility Issues There are three major differences between Microchip 24C01A and Xicor X24C01 as detailed in the following paragraphs. 2.1 PAGE MODE DIFFERENCES The 24C01A was originally designed to work in the same socket as the PCD8572 which has a two-byte page mode. Its page is therefore two bytes deep. The X24C01 has a page mode of four bytes depth. If more than two bytes are transmitted to the 24C01 A during a page programming cycle, the 24C01A will terminate the write cycle. In many applications where serial EEPROMs are used and speed is not a key issue, the byte write mode can be used without any loss of system performance. If only the byte write mode is used, there is no compatibility problem (other than the slave address software differences discussed in 2.2). If the page write feature must be used,two different page mode algorithms can be transmitted by the master depending upon whose device is being used. The master will have to first do a polling routine to determine if it is interfacing with a 24C01 A or X24C01. This polling technique is discussed in 2.2. © 1990 Microchip Technology Inc. DS00517A-1 1-159 24C01A COMPATIBILITY ISSUE Interestingly, the 24C01A actually updates faster in the page mode even though it has one-half the page depth of the X24C01. This is due to the faster write cycle time of the 24C01 A. The two devices are compared below: Microchip Xicor Max byte program time 1 ms 10 ms Max page program time 2 ms (2 bytes) 10 ms (4 bytes) Max time to program 4 bytes 4ms 10 ms Max time to rewrite device 128 ms 320 ms 2.2 SOFTWARE DIFFERENCES Microchip's 24C01 A is designed to share a 2-wire bus on which it resides with other devices. To support this, the first byte of each command sequence from the master to the 24C01 A must be a slave address. The 24C01 A monitors the 2-wire bus for its slave address and "wakes-up" from standby mode if the address tr2.;I~mitted matches its address as defined by the voltage level (Vss or Vcc) on pins 1, 2 and 3. X24C01 does not support a multiple device bus and will always "wake-up" if a start condition is detected. A slave address must be transmitted to the 24C01A at certain points during reading and writing. This slave address is not required by the X24C01. Transmitting a slave address to X24C01 will result in erroneous operation. This problem can be solved by having the master transmit the the proper serial bit pattern to the slave, but first the master has to be ascertained which 24C01 it is communicating with. The master can do a simple polling routine before beginning serial communication with 24C01 A or X24C01 to determine which device it is working with. The proper serial protocol for both devices must be contained in the master controller's firmware. Once the master knows which 24C01 is on the bus, it can execute the proper serial commands. The polling consists of the pattern like the one shown below: SDA LINE: I START BIT I 00000001 I ACKNOWLEDGE BIT I DATA 7 ... 0 IfaX24C01 is used on the 2-wire bus, an acknowledge bit and eight data bits will be returned whereas 24C01 A will issue no response and will ignore the command. 2.3 HARDWARE DIFFERENCES As described earlier, the 24C01 A is designed to share a 2-wire bus with other devices while the X24C01 is not. Chip address bits are ·included in the slave address for the 24C01 A, and are incorporated into pins 1, 2 and 3 of the device. They must be connected to Vcc or Vss for proper operation. Since pins 1, 2 and 3 of the Xicor part are NC (no connect) pins and they are not internally connected, they can be tied high or low. DS00517A-2 © 1990 Microchip Technology Inc. 1-160 24C01A COMPATIBILITY ISSUE Another hardware difference involves pin 7 which MUST be connected to Vss on X24C01. The 24C01 A can have pin 7 connected to Vss or Vcc. If only one device is planned for the 2-wire bus, the board can be made compatible for either device by connecting pins 1, 2 and 3 to either Vss or Vcc and tieing pin 7 to Vss. Mobility For Memory Upgrade And Expansion In system applications where the master device needs to address more than one serial EEPROM on a 2-wire bus, Microchip's 24C01 A offers the flexibility. Up to eight 24C01 As can be connected to the 2-wire bus. More than one Xicor X24C01 connecting to the bus may result in bus contention. If memory upgrade is required, Microchip's 24C01 A can be upgraded to 24C02A (256 x 8) or 24C04A (512 x 8) on the same IC socket with NO change in hardware. Using Xicor X24C01 will have to reconfigure both software and hardware to accomodate the changes. © 1990 Microchip Technology Inc. DS00517A-3 1-161 24C01A COMPATIBILITY ISSUE NOTES: DSOOS17A-4 © 1990 Microchip Technology Inc. 1-162 ~. Microchip SECTION 2 EEPROM PRODUCT SPECIFICATIONS 28C04A 4K (512 x 8) CMOS Electrically Erasable PROM ..................................................... 2- 1 28C16A 16K (2K x 8) CMOS Electrically Erasable PROM ..................................................... 2- 9 28C17A 16K (2K x 8) CMOS Electrically Erasable PROM ..................................................... 2- 17 28C17A Dice 16K (2K x 8) CMOS Electrically Erasable PROM Die Form ..................................... 2- 25 28C64A 64K (8K x 8) CMOS Electrically Erasable PROM ..................................................... 2- 33 28C64A Dice 64K (8K x 8) CMOS Electrically Erasable PROM Die Form ..................................... 2- 41 ©1990 Microchip Technology Inc. DS00018C 2-i DS00018C © 1990 Microchip Technology 2-ii ~. Microchip 28C04A 4K (512 X 8) CMOS Electrically Erasable PROM FEATURES DESCRIPTION • Fast Read Access Time-1S0ns Maximum The Microchip Technology Inc 28C04A is a CMOS 4K • CMOS Technology for Low Power Dissipation non-volatile electrically Erasable and Programmable -30mA Active Read Only Memory. The 28C04A is accessed like a -100).lA Standby static RAM for the read or write cycles without the need • Fast Byte Write Time-200lls or 1ms of external components. During a "byte write", the • Data Retention> 10 years address and data are latched internally, freeing the • High Endurance 104 Erase/Write Cycles microprocessor address and data bus for other opera- • Automatic Write Operation tions. Following the initiation of write cycle, the device -Internal Control Timer will go to a busy state and automatically clear and write -Auto-Clear Before Write Operation the latched data using an internal control timer. To -On-Chip Address and Data Latches determine when a write cycle is complete, the 28C04A • Data Polling uses nata polling. oata polling allows the user to read • Chip Clear Operation the location last written to when the write operation is • Enhanced Data Protection complete. CMOS design and processing enables this -Vce Detector part to be used in systems where reduced power con- -Pulse Filter sumption and reliability are required. A complete family -Write Inhibit of packages is offered to provide the utmost flexibility in • S-Volt-Only Operation applications. • Organized S12x8 JEDEC standard pinout -24 Pin Dual-In-Line Package -32 Pin Chip Carrier (Leadless or Plastic) • Available for Extended Temperature Ranges: -Commercial: O· C to 70· C -Industrial: -40· C to 8S· C PIN CONFIGURATION BLOCK DIAGRAM 000······· U07 Top View ~""- Data Protectton Vcc_ Circuitry CE- Chip Enable! Output Enable DE_ Control Logic WE_ Auto EraseiWrite Data Input/Output Timing Poll Buffers Program Voltage Generation I I :- -~jD~der D AO_ YGating ::: - I- a t e - ::: • I h e X Decoder 4Kbit Cell Matrix .Pln 1 indlca1ot' on PLCC on lop of package :.a:: I-- - © 1990 Microchip Technology Inc. 2-1 05111268-1 28C04A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE MAXIMUM RATINGS* Name FUnction Vcc and input voltages w.r.t. Vss .;.; .... -0.6V to+ 6.25V AO-A8 Address Inputs Voltage on OE w.r.t. Vss ........................... -0.6V to +13.5V CE Chip Enable Output Voltage w.r.t. Vss .................... -0.6V to Vcc+0.6V OE Output Enable Storage temperature .................... ,..... -65· C to 125· C WE Write Enable Ambient temp. with power applied ........ -50· C to 95· C 1/00- 1107 Data Inputs/Outputs Vcc +5V Power Supply "Notice: Stresses above those listed under "Maximum Rat- Vss Ground ings" may cause permanent damage to the device. This is a NC No Connect; No Internal stress rating only and functional operation of the device at ConneCtion those or any other conditions above those indicated in the NU Not Used; No External operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect Connection is Allowed device reliability. READ I WRITE OPERATION Vcc= +5V ±10% DC Characteristics Commercial (C): Tamb= O· Cto 70· C Industrial (I): Tamb= -40· Cto 85· C Parameter Status Symbol Min Max Units Conditions Input Voltages logic "1" VIH 2.0 Vcc+1 V logic "0" Vil -0.1 0.8 V Input leakage III -10 10 ItA VIN= -0.1V to Vcc+1 Input Capacitance CIN 10 pF VIN= OV; Tamb = 25· C; f", 1 MHz Output Voltages logic "1" VOH 2.4 V IOH", -4001tA logic "0" VOL 0.45 V IOl= 2.1mA Output leakage IlO -10 10 ItA . VOUT= -0.1Vto VcC+0.1V Output CapaCitance CoUT 12 pF VIN", OV; Tamb = 25· C; f = 1 MHz' Power Suppy Current, Active TTL input Icc 30 mA f = 5 MHz (Note 1) Vcc= 5.5V; .TTl input IcC(S)TIl 2 mA -CE = VIH (0· C to 70· C) Power Supply Current, Standby TTL input ICC(S)TIl 3 mA CE = VIH (-40· C to 85· C) CMOS input IcC(S)CMOS 100 ItA CE = Vcc-0.3.. to Vcc+ 1 Note: (1) AC power supply current above 5 MHz: 1 mA/MHz © 1990 Microchip Technology Inc. 2-2 28C04A READ OPERATION AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH = 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise and Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = O· C to 70· C Industrial (I): Tamb = -40· C to 85· C Parameter Sym 28C04A·15 28C04A·20 28C04A·25 Units Conditions Min Max Min Max Min Max Address to Output Delay lAce 150 200 250 ns OE = CE = VIL CE to Output Delay teE 150 200 250 ns OE = VIL OE to Output Delay toE 70 80 100 ns CE = VIL • CE or OE High to Output Float toFF 0 50 0 55 0 70 ns Output Hold from Address, CE toH 0 0 0 ns or OE, whichever occurs first. READ WAVEFORMS Address VIH VIL x ~ Address Valid ~ ~ X VIH ~ CE ~ ~ _"7' Z VIL teE(2) - VIH OE ~ Z ~ Data VIL VOH High Z ~ tOE(2) -- IIIII - Valid Output -- toFF(1.3) toH I-- 1\\\ ~ High Z VOL \\\\ IVI/ lAce Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on teE (3) This parameter is sampled. and is not 100% tested © 1990 Microchip Technology Inc. 05111268-3 2-3 28C04A AC Testing Waveform: VIH = 2.4V; VIL = O.4SV; VOH = 2.0V; VOL = 0.8V BYTE WRITE Output Load: 1 TTL Load + 100 pF AC Characteristics Input Rise/Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = O· C to 70· C Industrial (I): Tamb = -40· C to 85" C Parameter Symbol Min Max Units Remarks Address Set-Up Time lAs 10 ns Address Hold Time IAH 50 ns Data Set-Up Time tos 50 ns Data Hold Time toH 10 ns Write Pulse Width twPL 100 ns Note 1 Write Pulse High Time twPH 50 ns OE Hold Time toEH 10 ns OE Set-Up Time toES 10 ns Data Valid Time tov 1000 ns Note 2 Write Cycle Time (28C04A) twe 1 ms 0.5 ms typical Write Cycle Time (28C04AF) twe 200 /ls 1OO/lS typical Note: (1 ) A write cycle can be initiated CE or WE going low, whichever occurs last. The data is latched on the positive edge of CE or WE, whichever occurs first. (2) Data must be valid within 1000ns max. after a write cycle is initiated and must be stable at least until tOH after the positive edge of WE or CE, whichever occurs first. PROGRAMMING Waveforms Address CE,WE V'"=t VIL VIH tAS ",=1tWPL VIL VIH Data In VIL VIH OE VIL OS111266-4 © 1990 Microchip Technology Inc. 2-4 28C04A DATA POLLING Waveforms Address V1H=X VIL Address Valid X " ff ~"_ _ _ _-'" '-__ _ _ 2$ Last Written Address Valid tACC - - >C tWPH VIH WE VIL tOE __ VIH OE VIL VIH ----+-... Data True Data Out VIL CHIP CLEAR Waveforms VIH - - - - - - - - - - . . CE VIL 1,\ / VH '\ 1\'----_ _- I~ 1..... 0---- tw ----l~ ~ VIH - - - - - - - - - - - - - J WE VIL \ v tw = 10ms ts =tH = 1~s VH = 12.0V ±O.5V © 1990 Microchip Technology Inc. DS111268-5 2-5 28C04A DEVICE OPERATION Write Mode The Microchip Technology Inc 28C04A has four basic The 28C04A has a write cycle similar to that of a Static modes of operation-read, standby, write inhibit, and RAM. The write cycle is completel~elf-timed and byte write-as outlined in the following table. initiated by a low going pulse on the WE pin. On the falling edge of WE, the address information is latched. OE - 1/0 On rising edge, the data and the control pins (CE and Operation Mode CE WE OE) are latched. Read L L H DouT Data Polling Standby H X X HighZ Write Inhibit H X X HighZ The 28C04A features Data polling to signal the comple- Write Inhibit X L X High Z tion of a byte write cycle. During a write cycle, an Write Inhibit X X H HighZ attempted read of the last byte written results in the data Byte Write L H L DIN complement of 1/07 (IIOO to 1/06 are indeterminable). Byte Clear Automatic Before Each "Write" After completion olthe write cycle, true data is available. Data polling allows a simple readlcompare operation to X = Any TTL level. determine the status of the chip eliminating the need for Read Mode external hardware. The 28C04A has two control functions, both of which must be logically satisfied in order to obtain data at the Optional Chip Clear outputs. Chip enable (CE) is the power control and should be used for device selection. Output Enable All data may be cleared to l's in a chi£.Elear c~le by (OE) is the output control and is used to gate data to the raising OE to 12 volts and bringing the WE and CE low. output pins independent of device selection. Assuming This procedure clears all data. that addresses are stable, address access time (lAcC) is equal to the delay from CE to output (tCE). Data is available at the output tOE after the falling edge of OE, assuming that CE has been low and addresses have been stable for at least tAcc-tOE. Standby Mode The 28C04A is placed in the standby mode by applying ahigh signaltotheCE input. When in the standby mode, the outputs are in a high impedance state, independent of the OE input. Data Protection In orderto ensure data integrity, especially during critical power-up and power-down transitions, the following enhanced data protection circuits are incorporated: First, an internal Vcc detect (3.3 volts typical) will inhibit the initiation of non-volatile programming operation when Vcc is less than the Vcc detect circuit trip. Second, there is a WE filtering circuit that prevents WE pulses of less than IOns duration from initiating a write cycle. Third, holding WE or CE high or OE low, inhibits a write cycle during power-on and power-off (Vcc). D811126B-6 © 1990 Microchip Technology Inc. 2-6 28C04A NOTES: © 1990 Microchip Technology Inc. OS11126B-7 2-7 28C04A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS J Cerdip K Ceramic Leadless Chip Carrier (LCC) L Plastic Leaded Chip Carrier (PLCC)) P Plastic DIP Temperature Blank O' C to 70' C Range: I ·40' C to 85' C I Access Time: 15 20 150 nsec 200 nsec 25 250 nsec I Option: = twc= lms F = twc = 200~s ~-------I Device: 4K (512 x 8) CMOS EEPROM DS11126B·8 © 1990 Microchip Technology Inc. 2-8 ~. Microchip 28C16A 16K (2K X 8) CMOS Electrically Erasable PROM FEATURES DESCRIPTION • Fast Read Access Time-150ns Maximum The Microchip Technology Inc 28C16A is a CMOS 16K • CMOS Technology for Low Power Dissipation non-volatile electrically Erasable and Programmable -30mA Active Read Only Memory. The 28C16A is accessed like a -100JlA Standby static RAM for the read or write cycles without the need • Fast Byte Write Time-200!1s or 1ms of external components. During a "byte write", the • Data Retention> 10 years address and data are latched internally, freeing the • High Endurance 104 Erase/Write Cycles microprocessor address and data bus for other opera- • Automatic Write Operation tions. Following tre initiation of write cycle, the device -Internal Control Timer will go to a busy state and automatically clear and write -Auto-Clear Before Write Operation the latched data using an internal control timer. To -On-Chip Address and Data Latches determine when a write cycle is complete, the 28C 16A • Data polling uses Data polling. Data polling allows the user to read • Chip Clear Operation the location last written to when the write operation is • Enhanced Data Protection complete. CMOS design and processing enables this -Vee Detector part to be used in systems where reduced power con- -Pulse Filter sumption and reliability are required. A complete family -Write Inhibit of packages is offered to provide the utmost flexibility in • Electronic Signature for Device Identification applications. • 5-Volt-Only Operation • Organized 2Kx8 JEDEC Standard Pinout * See military data sheet DS60036. -24 Pin Dual-In-Line Package -32-Pin Chip Carrier (Leadless or Plastic) • Available for Extended Temperature Ranges: -Commercial: 0' C to 70' C -Industrial: -40' C to 85' C -Military *: -55' C to 125' C PIN CONFIGURATION BLOCK DIAGRAM voo ....... V07 Top View Vs,,- Vcc_ Data Protection Circuitry Vee CE- Chip Enablel Output Enable AI! A6 5-' l~Jl~Jl~!"":l~Jl~Jl~J '.._. r29 AS DE_ Control Logic §~j r~ A9 A9 WE_ InpuVOutput AS • Auto EraselWrite Data WE Timing Poll Buffers i5E A4 IJ fgj NC A3 j] fg§ NC I I Al0 Program Voltage A2 j] fg§ OE Generation BE 1/07 1/06 1/05 1/04 A1 3jlJ AO j3] NC jg] - 1100 jjj f~lr~f~f~:~:~r-:I f?~ Ai0 fij CE f~ 1107 fiS IIOG ::: AO_ ::: L a t oDe~er D r- ..-- YGating 1103 ~~~2~~g I- e h 1- .- DIP PLCC/LCC e X 16K bit I- s Decoder Cell Matrix I- .Pin 1 indicator on PLCC on top of package Al0_ f- ..-- © 1990 Microchip Technology Inc. 2-9 D511125B-1 28C16A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE MAXIMUM RATINGS· Name Function Vcc and input voltages w.r.t. Vss ........ -0.6V to + 6;25V AO -Al0 Address Inputs Voltage on OE w.r.t. Vss ........................... -0.6V to +13.5V CE Chip Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to + 13.5V OE Output Enable Output Voltage w.r.t. Vss .................... -0.6V to Vcc+0.6V - WE Write Enable Storage temperature .......................... -65" C to 125" C 1/00 -1/07 Data InputslOutputs Ambient temp. with power applied ........ -50" C to 95" C vcc +5V Power Supply Vss Ground 'Notice: Stresses above those listed under "Maximum Rat- NC No Connect; No Internal ings" may cause permanent damage to the device. This is a Connection stress rating only and functional operation of the device at NU Not Used; No External those or any other conditions above those indicated in the Connection is Allowed operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. READ / WRITE OPERATION Vcc = +5V ±1 0% DC Characteristics Commercial (C): Tamb= 0' Cto 70' C Industrial (I): Tamb= -40" C to 85" C Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vcc+l V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 ~ VIN= -O.lV to Vcc+l Input Capacitance CIN 10 pF VIN = OV; Tamb = 25" C; f = 1 MHz Output Voltages Logic "1" VOH 2.4 V IOH= -400~ Logic "0" VOL 0.45 V IOL= 2.1mA Output Leakage ILO -10 10 ~ VOUT= -O.lV to Vcc+0.1V Output Capacitance GoUT 12 pF VIN= OV; Tamb = 25" C; f = 1 MHz Power Suppy Current, Active TTL input Icc 30 mA f = 5 MHz (Note 1) VCC=5.5V; - Power Supply Current, Standby TTL input ICC(S)TTL 2 mA CE = VIH (0' C to 70' C) TTL input ICC(S)TTL 3 mA CE = VIH (-40" C to 85' C) " CMOS input ICC(S)CMOS 100 itA CE = Vcc-0.3 to Vcc+ 1 Note: (1) AC power supply current above 5 MHz: 1 mA/MHz DS111258-2 © 1990 Microchip Technology Inc. 2-10 28C16A READ OPERATION AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH = 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise and Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = 0" C to 70' C Industrial (I): Tamb = -40' C to 85' C Parameter Sym 28C16A·15 28C16A-20 28C16A-25 Units Conditions Min Max Min Max Min Max Address to Output Delay lAcc 150 200 250 ns OE = CE = VIL CE to Output Delay tCE 150 200 250 ns OE = VIL OE to Output Delay toE 70 80 100 ns CE = VIL CE or OE High to Output Float toFF 0 50 0 55 0 70 ns Output Hold from Address. CE toH 0 0 0 ns or OE. whichever occurs first. READ WAVEFORMS Address VIH VIL x ~ Address Valid ~ ~ X VIH CE VIL ~ ~ ~ l?"'" tCE(2) VIH OE ~ ZL. - -- ~ VIL -- toFF(1.3) - - - tOE(2) - - toH VOH Data High Z ////; Valid Output \\ High Z VOL \\\\\ ; '/1 lAcc Notes: (1) toFF is specified for OE or CEo whichever occurs first (2) OE may be delayed up to tE - toE after the falling edge of CE without impact on tE (3) This parameter is sampled and is not 100% tested © 1990 Microchip Technology Inc. D811125B-3 2-11 28C16A AC Testing Waveform: VIH = 2.4V; VIL = 0.45V; VOH =2.0V; VOL = 0.8V BYTE WRITE Output Load: 1 TTL Load + 100 pF AC Characteristics Input Rise/Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = O' C to 70' C Industrial (I): Tamb = -40' C to 85' C Parameter Symbol Min Max Units Remarks Address Set-Up Time tAS 10 ns Address Hold Time tAH 50 ns Data Set-Up Time tos 50 ns Data Hold Time toH 10 ns Write Pulse Width twPL 100 ns Note 1 Write Pulse High Time twPH 50 ns OE Hold Time toEH 10 ns OE Set-Up Time toES 10 ns Data Valid Time tov 1000 ns Note 2 Write Cycle Time (28C16A) twe 1 ms 0.5 ms typical Write Cycle Time (28C16AF) twe 200 J.ls 100J.lS typical Note: (1 ) A write cycle can be initiated CE or WE going low, whichever occurs last. The data is latched on the positive edge of CE or WE, whichever occurs first. (2) Data must be valid within 1000ns max. after a write cycle is initiated and must be stable at least until tOH after the positive edge of WE or CE, whichever occurs first. PROGRAMMING Waveforms Address CE,WE V'"=t----~:====-t-AH--------~:f<~ VIL VIH tAS ~1~-------twPL----~~ ----------------------- VIL VIH Data In -- VIL tOES VIH OE VIL OSll1256-4 © 1990 Microchip Technology Inc. 2-12 28C16A DATA POLLING Waveforms Address VIH VIL =>< Address Valid X ({ '-_ _ _ _~)L)_ _ _ ~ Last Written !lddress Valid >C tACC - - CE VIH~ VIL _ _ _ _ _ _ _ _-L-...&-L....~:..._<.~ "'-''-''--'-''''-----+----------- -"-'>-.:. tWPH VIH WE VIL tOE __ VIH OE VIL VIH ----1---.. Data True Data Out VIL ----1-..../ CHIP CLEAR Waveforms VIH - - - - - - - - - - - , . CE VIL ~~ ___________________J/ VH V OE VIH _ _ _ _ _ _- J/ I~ I~.. _ - - tw ----i~ VIH WE VIL \ v tw = 10ms ts =tH = 11.ls VH = l2.0V ±O.5V SUPPLEMENTARY CONTROL Mode CE OE WE A9 Vee 1/01 Chip Clear VIL VH VIL X Vee Extra Row Read Extra Row Write . VIL VIL VIH VIH . A9=VH A9=VH Vee Vee Data Out Data In Note: VH = l2.0V ±O.5V • Pulsed per programming waveforms. © 1990 Microchip Technology Inc. D511125B-5 2-13 28C16A DEVICE OPERATION Second, there is a WE filtering circuit that prevents WE pulses of less than 10ns duration from initiating a write The Microchip Technology Inc 28C16A has four basic cycle. modes of operation-read, standby, write inhibit, and byte write-as outlined in the following table. Third, holding WE or CE high or DE low, inhibits a write cycle during power-on and power-off (Vce). - - - I/O Operation Mode CE DE WE Write Mode Read L L H DoUT The 28C 16A has a write cycle similar to that of a Static Standby H X X HighZ RAM. The write cycle is completely self-timed and Write Inhibit H X X HighZ initiated by a low going pulse on the WE pin. On the Write Inhibit X L X HighZ falling edge of WE, the address information is latched. Write Inhibit X X H HighZ On rising edge, the data and the control pins (CE and Byte Write L H L DIN DE) are latched. Byte Clear Automatic Before Each "Write" X = Any TTL level. Data POlling Read Mode The 28C16A features Data polling to signal the comple- The 28C16A has two control functions, both of which tion of a byte write cycle. During a write cycle, an must be logically satisfied in order to obtain data at the attempted read of the last byte written results in the data outputs. Chip enable (CE) is the power control and complement of 1/07 (1/00 to 1/06 are indeterminable). should be used for device selection. Output Enable After completion of the write cycle, true data is available. (DE) is the output control and is used to gate data to the Data polling allows a simple read/compare operation to output pins independent of device selection. Assuming determine the status of the chip eliminating the need for that addresses are stable, address access time (tACC) is external hardware. equal to the delay from CE to output (teE). Data is available at the output tOE after the falling edge of DE, assuming that CE has been low and addresses have Electronic Signature for Device Identification been stable for at least tACC-tOE. An extra row of 32 bytes of EEPROM memory is avail- Standby Mode able to the user for device identification. By raising A9 to 12V ±0.5V and using address locations 7EO to 7FF, The 28C16A is placed in the standby mode by applying the additional bytes can be written to or read from in the a high signal to the CE input. When in the standby mode, same manner as the regular memory array. the outputs are in a high impedance state, independent of the DE input. Optional Chip Clear Data Protection All data may be cleared to 1's in a chip clear cycle by In order to ensyre data integrity, especially during critical raising DE to 12 volts and bringing the WE and CE low. power-up and power-down transitions, the following This procedure clears all data, except for the extra row. enhanced data protection circuits are incorporated: First, an internal Vcc detect (3.3 volts typical) will inhibit the initiation of non-volatile programming operation when Vce is less than the Vce detect circuit trip. 0811125B-6 © 1990 Microchip Technology Inc. 2-14 28C16A NOTES: © 1990 Microchip Technology Inc. 05111259-7 2-15 28C16A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~.1!AF ·15 II P - Package: J Cerdip K Ceramic Leadless Chip Carrier (LCC) L Plastic Leaded Chip Carrier (PLCC)) P Plastic DIP I Temperature Blank O· C to 70· C Range: I -40· C to 85· C I Access Time: 15 20 150 nsec 200 nsec 25 250 nsec I Option: - =\Wc= 1ms F = \We = 200115 Device: 16K (2K x 8) CMOS EEPROM DS11125B-8 © 1990 Microchip Technology Inc. 2·16 ~. Microchip 28C17A 16K (2K X 8) CMOS Electrically Erasable PROM FEATURES DESCRIPTION • Fast Read Access Time--150ns Maximum The Microchip Technology Inc 28C17A is a CMOS 16K CMOS Technology for Low Power Dissipation non-volatile electrically Erasable and Programmable -30mA Active Read Only Memory. The 28C17A is accessed like a -1001lA Standby static RAM for the read or write cycles without the need • Fast Byte Write Time--2001lS or 1ms of external components. During a "by1e write", the • Data Retention> 10 years address and data are latched internally, freeing the High Endurance 10' EraselWrite Cycles microprocessor address and data bus for other opera- • Automatic Write Operation tions. Following the initiation of write cycle, the device -Internal Control Timer will go to a busy state and automatically clear and write -Auto-Clear Before Write Operation the latched data using an internal control timer. To -On-Chip Address and Data Latches determine when the write cycle is complete, the user has • Data Polling a choice of monitoring the Ready/Busy output or using • Ready/Busy Data polling. The Ready/Busy pin is an open drain • Chip Clear Operation output, which allows easy configuration in wired-or • Enhanced Data Protection systems. Alternatively, Data polling allows the user to -Vee Detector read the location last written to when the write operation -Pulse Filter is complete. CMOS design and processing enables this -Write Inhibit part to be used in systems where reduced power con- • Electronic Signature for Device Identification sumption and reliability are required. A complete family • 5-Volt-Only Operation of packages is offered to provide the utmost flexibility in Organized 2Kx8 JEDEC Standard Pinout applications. -28 Pin Dual-In-Line Package -32-Pin Chip Carrier (Leadless or Plastic) * See military data sheet DS60036. Available for Extended Temperature Ranges: -Commercial: O' C to 70' C -Industrial: -40' C to 85' C -Military *: -55' C to 125' C PIN CONFIGURATION BLOCK DIAGRAM 1/00·······1/07 Top View V",,- Data Protection Vee . . . Circuitry BE... Chip Enablel Output Enable OE'" Control Logic WE_ Auto EraselWrite Data Input/Output Timing Poll Buffers Rdy!_ !lUSy Program Vohage Generation I I AO_ :::: :::: L a t oDe~der D YGating e l- t--- I- 1- h e X 16K bit I- s Decoder Cell Matrix DIP/SOle PlCClLCC 1- .Pin 1 Indicator on PLCC on top of package A~O::: f- ~ © 1990 Microchip Technology Inc. DSl1127B-l 2-17 28C17A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE MAXIMUM RATINGS' Name Function VCC and input voltages w.r.t. Vss ........ -0.6V to + 6.25V AO-Al0 Address Inputs Voltage on OE w.r.t. Vss ........................... -0.6V to +13.5V CE Chip Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to +13.5V OE Output Enable Output Voltage W.r.t. Vss .................... -0.6V to Vcc+0.6V WE Write Enable Storage temperature .......................... -65' C to 125' C 1/00 -1/07 Data Inputs/Outputs Ambient temp. with power applied ........ -50' C to 95' C -- RDY/Busy Ready/Busy Vcc +5V Power Supply 'Notice: Stresses above those listed under "Maximum Rat- Vss Ground ings" may cause permanent damage to the device. This is a NC No Connect; No Internal stress rating only and functional operation of the device at Connection those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure NU Not Used; No External to maximum rating conditions for extended periods may affect Connection is Allowed device reliability. READ / WRITE OPERATION Vcc = +5V ±1 0% DC Characteristics Commercial (C): Tamb= 0' C to 70' C Industrial (I): Tamb= -40' C to 85' C Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vcc+l V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 flA VIN = -O.W to Vcc+ 1 Input Capacitance CIN 10 pF VIN = OV; Tamb = 25' C; f = 1 MHz Output Voltages Logic "1" VOH 2.4 V IOH= -400flA Logic "0" VOL 0.45 V IOL= 2.1mA Output Leakage ILO -10 10 flA VOUT= -O.W to Vcc+0.1V Output Capacitance GoUT 12 pF VIN = OV; Tamb = 25' C; f = 1 MHz Power Suppy Current, Active TIL input Icc 30 mA f = 5 MHz (Note 1) Vcc = 5.5V; Power Supply Current, Standby TIL input ICC(S)TTL 2 mA CE = VIH (0' C to 70' C) TIL input ICC(S)TTL 3 mA CE = VIH (-40' C to 85' C) CMOS input ICC(S)CMOS 100 flA CE = Vcc-0.3 to Vcc+ 1 Note: (1) AC power supply current above 5 MHz: 1 mA/MHz DS11127B-2 © 1990 Microchip Technology Inc. 2-18 28C17A READ OPERATION AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH = 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise and Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = 0' C to 70' C Industrial (I): Tamb = -40' C to 85' C Parameter Sym 28C17A·15 28C17A·20 28C17A·25 Units Conditions Min Max Min Max Min Max Address to Output Delay lAcc 150 200 250 ns OE = CE =VIL - - CE to Output Delay teE 150 200 250 ns OE = VIL - OE to Output Delay toE 70 80 100 ns CE = VIL CE or OE High to Output Float toFF 0 50 0 55 0 70 ns - Output Hold from Address, CE toH 0 0 0 ns or OE, whichever occurs first. READ WAVEFORMS Address VIH VIL x ~ ~ Address Valid ~ X VIH "-- CE ~ --,.. Z VIL "" tCE(2) VIH c... OE ~ Z Data VIL VOH HighZ - - toE(2) - - IIIII - Valid Output - - toFF(1,3) f.- toH I-- \1\\\1\ High Z VOL \\\\\ III IIV lAcc Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on teE (3) This parameter is sampled and is !lot 100% tested © 1990 Microchip Technology Inc. D5111278-3 2-19 28C17A AC Testing Waveform: VIH = 2.4V; VIL = 0.45V; VOH = 2.0V; VOL = 0.8V BYTE WRITE 1 TTL Load + 100 pF Output Load: AC Characteristics Input Rise/Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = 0' C to 70' C Industrial (I): Tamb = -40' C to 85' C Parameter Symbol Min Max Units Remarks Address Set-Up Time tAS 10 ns Address Hold Time tAH 50 ns Data Set-Up Time IDs 50 ns Data Hold Time IDH 10 ns Write Pulse Width twPL 100 ns Note 1 Write Pulse High Time twPH 50 ns OEHold Time toEH 10 ns OE Set-Up Time toES 10 ns Data Valid Time IDv 1000 ns Note 2 Time to Device Busy IDB 50 ns Write Cycle Time (28C17A) twc 1 ms 0.5 ms typical Write Cycle Time (28C17AF) twc 200 IlS 1OOIlS typical Note: (1 ) A write cycle can be initiated CE or WE going low, whichever occurs last. The data is latched on the positive edge of CE or WE, whichever occurs first. (2) Data must be valid within 1000ns max. after a write cycle is initiated and must be stable at least until tOH after the positive edge of WE or CE, whichever occurs first. PROGRAMMING Waveforms Add~ CE,WE ::: VIH VIL =1---------:¥<------------ . tAS.. .. tAH tWPL f..-tov_- t o s - !! VIH Data In 7' ->K VIL ':::,~ .."k( OE VIH --7IL tOES ~ -' VIL VOH '" 1- tOEH Rdy/Busy VOL LIDB'i ~adY Busy Re • twc DS11127B-4 © 1990 Microchip Technology Inc. 2-20 28C17A DATA POLLING Waveforms Address VIH VIL :=x A ddress Valid X ff '-_ _ _ _-1 4 _ _ _ ~ Last Written Address Vahd tACC . - - CE VIH ~ VIL _~-"-"--"~ _ _ _ _ _...L......L....L..-L....L.L"-LJ."--'''--''--->''':''-_ _ _ + __________ tWPH VIH WE VIL tOE .-- VIH OE VIL VIH ----t--... Data VIL ----t---/ CHIP CLEAR Waveforms VIH - - - - - - - - - - . . . CE VIL ~~--------------------~/ VH ~--- tw ----I~ VIH - - - - - - - - - - - - - - J WE 1,\ / VIL tw = 10ms ts =tH = 1~s VH = 12.0V ±O.5V SUPPLEMENTARY CONTROL Mode CE OE WE A9 Vee 1/01 Chip Clear VIL VH VIL X Vee Extra Row Read Extra Row Write . VIL VIL VIH VIH . A9=VH A9 = VH Vee Vee Data Out Data In Note: VH = 12.0V ±O.5V • Pulsed per programming waveforms. © 1990 Microchip Technology Inc. DS11127B-5 2-21 28C17A DEVICE OPERATION Second, there is a WE filtering circuit that prevents WE pulses of less than 10ns duration from initiating a write The Microchip Technology Inc 28C17A has four basic cycle. modes of operation-read, standby, write inhibit, and byte write-as outlined in the following table. Third, holding WE or CE high or OE low, inhibits a write cycle during power-on and power-off (Vcc). Operation Mode CE OE WE I/O Rdy/8usY(1 ) Write Mode Read L L H DoUT H Standby H X X HighZ H The 28C 17A has a write cycle similar to that of a Static Write Inhibit H X X HighZ H RAM. The write cycle is completely self-timed and Write Inhibit X L X HighZ H initiated by a low going pulse on the WE pin. On the Write Inhibit X X H HighZ H falling edge of WE, the address information is latched. By1e Write L H L DIN L On rising edge, the data and the control pins (CE and 8y1e Clear Automatic Before Each "Write" OE) are latched. The Ready/Busy pin goes to a logic low level indicating that the 28C17A is in a write cycle which Note: (1) Open drain output. signals the microprocessor host that the system bus is (2) X = Any TTL level. free for other activity. When Ready/Busy goes back to Read Mode a high, the 28C17A has completed writing and is ready to accept another cycle. The 28C17A has two control functions, both of which must be logically satisfied in order to obtain data at the outputs. Chip enable (CE) is the power control and Data Polling should be used for device selection. Output Enable (OE) is the output control and is used to gate data to the output The 28C17A features Data polling to signal the comple- pins independent of device selection. Assuming that tion of a by1e write cycle. During a write cycle, an addresses are stable, address access time (tACC) equal attempted read of the last by1e written results in the data to the delay from CE to output (tCE). Data is available at complement of 1/07 (1/00 to 1/06 are indeterminable). the output tOE after the falling edge of OE, assuming that After completion of the write cycle, true data is available. CE has been low and addresses have been stable for at Data polling allows a simple read/compare operation to least lACC-tOE. determine the status of the chip eliminating the need for external hardware. Standbv Mode The 28C 17A is placed in the standby mode by applying Electronic Signature for Device Identification a high signal to the CE input. When in the standby mode, the outputs are in a high impedance state, independent An extra row of 32 by1es of EEPROM memory is avail- of the OE input. able to the user for device identification. By raising A9 to 12V ±O.5V and using address locations 7EO to 7FF, Data Protection the additional by1es can be written to or read from in the same manner as the regular memory array. In order to ensure data integrity, especially during critical power-up and power-down transitions, the following enhanced data protection circuits are incorporated: Optional Chip Clear First, an internal Vcc detect (3.3 volts typical) will inhibit All data...!!!ay be cleared to 1's in a chip clear cycle by the initiation of non-volatile programming operation when raising OE to 12 volts and bringing the WE and CE low. Vcc is less than the vcc detect circuit trip. This procedure clears all data, except for the extra row. DS111279-6 © 1990 Microchip Technology Inc. 2-22 28C17A NOTES: © 1990 Microchip Technology Inc. D8111278-7 2-23 28C17A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~,.!!AF -15 liP - Package: J Cerdip K Ceramic Leadless Chip Carrier (LCC) L Plastic Leaded Chip Carrier (PLCC)) P Plastic DIP SO Plastic Small Outline IC I 'Temperature I Range: Blank I 0' C to 70' C -40' C to 85' C I Access TIme: 15 20 150 nsec 200 nsec 25 250 nsec jOPllon: = twc= lms F = twc = 200~s 1-.-------1. Device: 28C17A (2K x 8) CMOS EEPROM D811127B-8 © 1990 Microchip Technology Inc. 2-24 28C17A Microchip DICE FORM 16K (2K X 8) CMOS Electrically Erasable PROM FEATURES DESCRIPTION • 250ns Access Time The Microchip Technology Inc 28C 17A is a CMOS 16K CMOS Technology for Low Power Dissipation non-volatile electrically Erasable and Programmable -30mA Active Read Only Memory. The 28C17A is accessed like a -1001lA Standby static RAM for the read or write cycles without the need • Fast Byte Write Time-1 ms of external components. During a "byte write", the • Automatic Write Operation address and data are latched internally, freeing the -Intemal Control Timer microprocessor address and data bus for other opera- -Auto-Clear Before Write Operation tions. Following the initiation of write cycle, the device -On-Chip Address and Data Latches will go to a busy state and automatically clear and write • Data Polling the latched data using an internal control timer. To Ready/Busy determine when the write cycle is complete, the user has • Chip Clear Operation a choice of monitoring the Ready/Busy output or using • Enhanced Data Protection Data polling. The Ready/Busy pin is an open drain -Vee Detector output, which allows easy configuration in wired-or -Pulse Filter systems. Alternatively, Data polling allows the user to -Write Inhibit read the location last written to when the write operation Electronic Signature for Device Identification is complete. CMOS design and processing enables this 5-Volt-Only Operation part to be used in systems where reduced power con- • Commercial Temperature Range: sumption and reliability are required. -0' Ct070' C • Available in Wafer Form or Waffle Pack DIE CONFIGURATION BLOCK DIAGRAM Die Size: 137 x 117 sq. mils 1100 .... ···1/07 ~~~~~~ ~~~~< vss--r.=o;:a=ta::;p;=ro=te=c::tio=n:::::;----jffirHrHH-. Vee...... Circuitry CE CE-- Chip Enable/ A10 A2 OE__ ~~~~F~;~~ WE...... Auto EraselWrite Data InpuUOutput Rdy!_ Timing Poll Buffers IlUSy AO __ .--- Program Voltage Generation I I ::: l =l oec~der D YGating A3 ::: 1-- a t c -- I-- 1-- h e X 16K bit 1-- s Decoder Cell Matrix 1-- Iw~ ~ >- A\O::~__ ==~--=====~I__-!========~ Q C/) I~ © 1990 Microchip Technology Inc. 2-25 D8111348-1 28C17 A DICE FORM ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function Vcc and input voltages w.r.t. Vss ........ -0.6V to + 6.2SV AD - Al0 Address Inputs Voltage on OE w.r.t. Vss ........................... -0.6V to +13.SV CE Chip Enable Voltage on A9 W.r.t. Vss ............................ -0.6V to +13.SV OE Output Enable Output Voltage w.r.t. Vss .................... -0.6V to Vcc+0.6V WE Write Enable Storage temperature .......................... -6S" C to 12S" C 1100-1/07 Data Inputs/Outputs Ambient temp. with power applied ........ -SO" C to 9S" C ROY/Busy Ready/Busy Vce +SV Power Supply 'Notice: Stresses above those listed under "Maximum Rat- Vss Ground ings" may cause permanent damage to the device. This is a NC No Connect; No Internal stress rating only and functional operation of the device at Connection those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. READ / WRITE OPERATION Vcc = +5V ±1 0% DC Characteristics Commercial: Tamb= 0" C to 70" C Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vcc+l V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 JJ.A VIN =. -0.1V to Vcc+ 1 Input Capacitance CIN 10 pF VIN= OV; Tamb = 25" C; f = 1 MHz Output Voltages Logic "1" VOH 2.4 V IoH = -4OOIlA Logic "0" VOL 0.45 V IoL= 2.1mA Output Leakage ILO -10 10 JJ.A VOUT= -O.IV to Vcc+O.1V Output Capacitance CoUT 12 pF VIN= OV; Tamb = 25" C; f = 1 MHz Power Suppy Current. Active TTL input Icc 30 mA f = 5 MHz (Note 1) Vcc = 5.5V; Power Supply Current. Standby TTL input ICC(S)TTL 2 mA CE =VIH CMOS input IcC(S)CMOS 100 IlA CE= Vcc-0.3 to Vcc+ 1 Note: (1) AC power supply current above S MHz: 1 mA/MHz OSl11349-2 ©.1990 Microchip Technology Inc. 2-26 28C17 A DICE FORM READ OPERATION AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH = 2.0V; VOL = O.BV Output Load: 1 TTL Load + 100 pF AC Characteristics Input Rise and Fall Times: 20 nsec Ambient Temperature: Commercial: Tamb = O' C to 70' C Parameter Sym 28C17A·25 Units Conditions Min Max - - Address to Output Delay tAcC 250 ns OE = CE = VIL - - CE to Output Delay tCE 250 ns OE = VIL - - OE to Output Delay tOE 100 ns CE = VIL CE or OE High to Output Float tOFF 0 70 ns - Output Hold from Address, CE tOH 0 ns or OE, whichever occurs first. READ WAVEFORMS VIH X r- ~ Address VIL k- Address Valid ~ k< VIH ~ 1-=- ~ CE VIL =' k? tCE(2) VIH "'-- OE ~ l2" Data VIL VOH High Z - - tOE(2) - - ////1 - Valid Output ... toFF(1.3) I-- tOH ~ \1\\ 1\ High Z VOL \\\\\ /1//11/ tACC Notes: (1) toFF is specified for OE or CE, whichever occurs first _ (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on tE (3) This parameter is sampled and is not 100% tested © 1990 Microchip Technology Inc. 08111346-3 2-27 28C17A DICE FORM BYTE WRITE AC Testing Waveform: VIH = 2.4V; VIL = 0.45V; VOH = 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise/Fall Times: 20 nsec Ambient Temperature: Commercial: Tamb = O·C to 70·C Parameter Symbol Min Max Units Remarks Address Set-up Time tAS 50 ns Address Hold Time tAH 100 ns Data Set-Up Time tos 100 ns Data Hold Time toH 50 ns Write Pulse Width twPL 100 ns Note 1 Write Pulse High Time twPH 50 ns OE Hold Time toEH 10 ns OE Set-Up Time tOES 10 ns Data Valid Time tov - 1000 ns Note 2 Time to Device Busy tos - 50 ns Write Cycle Time (28C17A) twe - 1 ms 0.5 ms typical Note: (1 ) A write cycle can be initiated CE or WE going low, whichever occurs last. The data is latched on the positive edge of CE or WE, whichever occurs first. (2) Data must be valid within 1000ns max. after a write cycle is initiated and must be stable at least until toH after the positive edge of WE or CE, whichever occurs first. PROGRAMMING Waveforms Address v'"=>{--",3---- VIL tAS VIH CE,WE 1-----:--- tWPL ----I~;f" VIL VIH Data In VIL tOES VIH OE VIL VOH Rdy/Busy VOL I~"----- twc L _~J'__B_'u:fieady tOB ~ D811134B-4 © 1990 Microchip Technology Inc. 2-28 28C17A DICE FORM DATA POLLING Waveforms V1H=X Address VIL CE VIH~ tCE VIL _ -"-'......". _ _ _ _ _ _ _£.-,~__L..L..L....LJ"_".._"_._"_""__ _ _ _ +_--------- tWPH VIH WE VIL tOE ... VIH "7'""':rr-r--+----"«"""""''"""'''_.,...____~,.......__._:7"/"<"""""'<_.,...'''"""'' OE VIL VIH ----+-, Data VIL CHIP CLEAR Waveforms VIH - - - - - - - -..... CE VIL I\. J VH V \ OE / VIH _ _ _ _ _ _- J 1"''---__- I~ 14---- tw --~ A VIH - - - - - - - - - - - - . . \ WE VIL '" v tw = 10ms ts =tH = 1IIs VH = l2.0V ±O.SV SUPPLEMENTARY CONTROL Mode CE OE WE A9 Vee 1/01 ChioClear VIL VH VIL X Vee Extra Row Read Extra Row Write . VIL VIL VIH VIH A9=VH A9=VH . Vee Vee Data Out Data In Note: VH = 12.0V ±c.SV • Pulsed per programming waveforms. © 1990 Microchip Technology Inc. 05111348-5 2-29 28C17A DICE FORM DEVICE OPERATION Second, there is a WE filtering circuit that prevents WE pulses of less than 10ns duration from initiating a write The Microchip Technology Inc 28C17A has four basic cycle. modes of operation-read, standby, write inhibit, and byte write-as outlined in the following table. Third, holding WE or CE high or DE low, inhibits a write cycle during power-on and power-off (Vcc). Operation Mode CE DE WE 110 Rdy/BusY(1) WrjteMode Read L L H DoUT H Standby H X X HighZ H The 28C17A has a write cycle similar to that of a Static Write Inhibit H X X HighZ H RAM. The write cycle is completely self-timed and Write Inhibit X L X HighZ H initiated by a I~oing pulse on the WE pin. On the Write Inhibit X X H HighZ H falling edge of WE, the address information is latched. Byte Write L H L DIN L On rising edge, the data and the control pins (CE and Byte Clear Automatic Before Each "Write" DE) are latched. The Ready/Busy pin goes to a logic low Note: (1) Open drain output. level indicating that the 28C17A is in a write cycle which signals the microprocessor host that the system bus is (2) X = Any TTL level. free for other activity. When Ready/Busy goes back to Read Mode a high, the 28C17A has completed writing and is ready to accept another cycle. The 28C17A has two control functions, both of which must be logically satisfied in order to obtain data at the outputs. Chip enable (CE) is the power control and ifatiPolling should be used fordeviceselection. Output Enable (DE) is the output control and is used to gate data to the output The 28C17A features Data polling to signal the comple- pins independent of device selection. Assuming that tion of a byte write cycle. During a write cycle, an addresses are stable, address access time (lAcc) equal attempted read of the last byte written results in the data to the delay from CE to output (tCE). Data is available at complement of 1107 (1100 to 1106 are indeterminable). the outputtOE after the falling edge of DE, assuming that After completion olthe write cycle, true data is available. CE has been low and addresses have been stable for at Data polling allows a simple read/compare operation to least IACC-tOE. determine the status of the chip eliminating the need for external hardware. Standby Mode The 28C17A is placed in the standby mode by applying Electronic SlgnatYre for Device Identlficatjon a high signal to the CE input. When in the standby mode, the ou!E!!,ts are in a high impedance state, independent An extra row of 32 bytes of EEPROM memory is avail- of the DE input. able to the user for device identification. By raising A9 to 12V ±O.5V and using address locations 7EO to 7FF, Data Protection the additional bytes can be written to or read from in the same manner as the regular memory array. In order to ensure data integrity, especially during critical power-up and power-down transitions, the following enhanced data protection circuits are incorporated: Optional Chip Clear First, an internal Vcc detect (3.3 volts typical) will inhibit All data may be cleared to 1's in a chip clear ~Ie by the initiation of non-volatile programming operation when raising DE to 12 volts and bringing the WE and CE low. Vcc is less than the Vcc detect circuit trip. This procedure clears all data, except for the extra row. 05111348-6 © 1990 Microchip Technology Inc. 2-30 28C17A DICE FORM NOTES: © 1990 Microchip Technology Inc. DS111348-7 2-31 28C17A DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refsr to the factory or the listed sales offic"!s. PART NUMBERS 28C17A -25 -/W ~ 1-._ _-1 Pso"g.' Temperature W S Blank Dice in Wafer Form Dice in Waffle Pack O· C to 70· C Range: ' - - - - - - - i Access Time: 25 250 nsec ' - - - - - - - - - - t Device: 28C17A (2K x 8) CMOS EEPROM 08111348-8 © 1990 Microchip Technology Inc. 2-32 ~. Microchip 28C64A 64K (8K X 8) CMOS Electrically Erasable PROM FEATURES DESCRIPTION • Fast Read Access Time-150ns Maximum The Microchip Technology Inc 28C64A is a CMOS 64K • CMOS Technology for Low Power Dissipation non-volatile electrically Erasable and Programmable -30mA Active Read Only Memory. The 28C64A is accessed like a -100IlA Standby static RAM for the read or write cycles without the need • Fast Byte Write Time-200lls or 1ms of external components. During a "byte write", the • Data Retention> 10 years address and data are latched internally, freeing the • High Endurance 10" EraselWrite Cycles microprocessor address and data bus for other opera- Automatic Write Operation tions. Following the initiation of write cycle, the device -Internal Control Timer will go to a busy state and automatically clear and write -Auto-Clear Before Write Operation the latched data using an internal control timer. To -On-Chip Address and Data Latches determine when the write cycle is complete, the user has • Data Polling a choice of monitoring the Ready/Busy output or using • Ready/Busy Data polling. The Ready/Busy pin is an open drain • Chip Clear Operation output, which allows easy configuration in wired-or • Enhanced Data Protection systems. Alternatively, Data polling allows the user to -Vee Detector read the location last written to when the write operation -Pulse Filter is complete. CMOS design and processing enables this -Write Inhibit part to be used in systems where reduced power con- • Electronic Signature for Device Identification sumption and reliability are required. A complete family • 5-Volt-Only Operation of packages is offered to provide the utmost flexibility in • Organized 8Kx8 JEDEC Standard Pinout applications. -28 Pin Dual-In-Line Package " See Military Data Sheet DS60003 -32-Pin Chip Carrier (Leadless or Plastic) • Available for Extended Temperature Ranges: -Commercial: O· C to 70· C -Industrial: -40· C to 85· C -Military": -55· C to 125· C PIN CONFIGURATION BLOCK DIAGRAM VOO ••••••• V07 Top View e X 64KbH DIP/SOIC PLCCJLCC s Oecoder Cell Matrix • Pin 1 Indlca10r on PLCC on top 01 package © 1990 Microchip Technology Inc. 2-33 DS11109C-1 28C64A ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE MAXIMUM RATINGS· Name Function Vcc and input voltages w.r.t. VSS ........ -0.6V to + 6.2SV AO-A12 Address Inputs Voltage on OE w.r.t. VSS ........................... -0.6V to +13.5V CE Chip Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to +13.5V OE Output Enable Output Voltage w.r.t. Vss .................... -0.6V to Vcc+0.6V WE Write Enable Storage temperature .......................... -65· C to 125' C 1/00-1/07 Data Inputs/Outputs Ambient temp. with power applied ........ -50·C to 95' C ROY/Busy Ready/Busy Vcc +5V Power Supply 'Notice: Stresses above those listed under "Maximum Rat- VSS Ground ings" may cause permanent damage to the device. This is a NC No Connect; No Internal stress rating only and functional operation. of the device at Connection those or any other conditions above those indicated in the NU Not Used; No External operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect Connection is Allowed device reliability. READ I WRITE OPERATION Vcc = +5V ±1 0% DC Characteristics Commercial (C): Tamb= O' Cto 70' C Industrial (I): Tamb= -40' C to 85' C Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vcc+l V LogiC "0" VIL -0.1 0.8 V Input Leakage III -10 10 itA VIN= -O.lV to Vcc+1 Input Capacitance CIN 10 pF VIN = OV; Tamb = 25' C; f= 1 MHz Output Voltages Logic "1" VOH 2.4 V IoH = -4001tA Logic "0" VOL 0.45 V IoL= 2.1mA Output Leakage to -10 10 ItA VOUT= -O.lV to Vcc+O.1V Output Capacitance CoUT 12 pF VIN= OV; Tamb = 25' C; f = 1 MHz Power Suppy Current, Active TIL input Icc 30 rnA f= 5 MHz (Note 1) Vcc=5.5V; Power Supply Current, Standby TTL input ICC(S)TIL 2 rnA CE = V1H (0' C to 70' C) TIL input ICC(S)TIL 3 rnA CE = V1H (-40' C to 85' C) CMOS input IcC(S)CMOS 100 ItA CE = Vcc-0.3 to Vcc+ 1 Note: (1) AC power supply current above 5 MHz: 2 mNMHz DS11109C-2 © 1990 Microchip Technology Inc. 2-34 28C64A READ OPERATION AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH= 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise and Fall Times: 20 nsec Ambient Temperature: Commercial (C):Tamb = 0' C to 70' C Industrial (1):Tamb = -40' C to 85' C Parameter Sym 28C64A-15 28C64A-20 28C64A-25 Units Conditions Min Max Min Max Min Max - - Address to Output Delay fAcc 150 200 250 ns OE = CE = VIL - - CE to Output Delay teE 150 200 250 ns OE = VIL - - OE to Output Delay toE 70 80 100 ns CE = VIL CE or OE High to Output Float toFF 0 50 0 55 0 70 ns - Output Hold from Address, CE toH 0 0 0 ns or OE, whichever occurs first. READ WAVEFORMS VIH ~ Address VIL X I"'- Address Valid X VIH CE VIL ~ ~ ~ z <=- tCE(2) VIH "'-- OE Data VIL VOH High Z "" - - tOE(2) -- IIIII - Z -- ... tOFF(1.3) ~ tOH \ \\\1\ High Z Valid Output VOL \\\\\ II II1I fACC Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on tE (3) This parameter is sampled and is not 100% tested © 1990 Microchip Technology Inc. DS11109C-3 2-35 28C64A AC Testing Waveform: VIH = 2.4V; VIL = 0.45V; VOH = 2.0V; VOL =0.8V BYTE WRITE Output Load: 1 TTL Load + 100 pF AC Characteristics Input Rise/Fall Times: 20 nsec Ambient Temperature: Commercial (C): Tamb = O' Cto 70' C Industrial (I): Tamb = -40' C to 85' C Parameter Symbol Min Max Units Remarks Address Set-Up Time tAs 10 ns Address Hold Time tAH 50 ns Data Set-Up Time IDS 50 ns Data Hold Time IDH 10 ns Write Pulse Width twPL 100 ns Note 1 Write Pulse High Time twPH 50 ns OE Hold Time toEH 10 ns OE Set-Up Time toES 10 ns Data Valid Time tDV 1000 ns Note 2 Time to Device Busy IDB 50 ns Write Cycle Time (28C64A) twe 1 ms 0.5 ms typical Write Cycle Time (28C64AF) twe 200 Ils 1OOIlS typical -- -- Note: (1) A write cycle can be initiated CE or WE going low, whichever occurs last. The data is latched on the positive edge of CE or WE, whichever occurs first. (2) Data must be valid within 1000ns max. after a write cycle is initiated and must be stable at least until tDH after the positive edge of WE or CE, whichever occurs first. PROGRAMMING Waveforms Address ~::-+_4v~_ VIH -----.---I ____t_t_A_S,.. - - - tAH 1..... -----I:f~\ .. tWPL -} VIL I--tDv_ _ tDS~ ==-1 ....... tDH VIH Data In ------~1----_--------- ~ ~~ ?~ -- tOES JI-- VIH VIL _ _ _J j'- ~K ~-------------- l-tOEH VOH-------1------------+---'~ Rdy/Busy VOL I~.. -----twc----~----~----~ L tDB~~'---4 BuS~Ready DS11109C-4 © 1990 Microchip Technology Inc. 2-36 28C64A DATA POLLING Waveforms Address VIH VIL =>< Address Valid X . ff ~._ _ _ _--' ' - _ _ _ 2$ Last Written Address Valid >C tACC - - CE VIH ~ VIL "-"--'- ,_ _ _ _ _ _...L.......L.L-."--<'-L-LJ -'-'''--''--''-'"''----+---_------ ":......::. ,- tWPH VIH WE VIL tOE __ VIH -r77-r-+-----.,-""""....-":-<""""""'"""'"'<""7·/':--c-~,, OE VIL VIH - - - - - t____ Data True Data Out VIL ------t--' CHIP CLEAR Waveforms VIH - - - - - - - - - - - - . . CE VIL ~~------------------~/ VH \ ~~--­ I~ I~.--- tw ----I~ ~ VIH -----------~I WE 1\ II tw = 10ms VIL ts =tH = 1~s VH = 12.0V ±O.5V SUPPLEMENTARY CONTROL Mode CE OE WE A9 Vee 1101 Chip Clear VIL VH VIL X Vee Extra Row Read Extra Row Write . VIL VIL VIH VIH .A9 = VH A9=VH Vee Vee Data Out Data In Note: VH = 12.0V ±O.5V • Pulsed per programming waveforms. © 1990 Microchip Technology Inc. DS11109C·5 2-37 28C64A DEVICE OPERATION Second, there is a WE filtering circuit that prevents WE pulses of less than IOns duration from initiating a write The Microchip Technology Inc 28C64A has four basic cycle. modes of operation-read, standby, write inhibit, and byte write-as outlined in the following table. Third, holding WE or CE high or OE low, inhibits a write cycle during power-on and power-off (Vec). - - Operation Mode CE OE WE I/O Rdy/Busy(1) Write Mode Read L L H DoUT H Standby H X X HighZ H The 28C64A has a write cycle similar to that of a Static Write Inhibit H X X HighZ H RAM. The write cycle is completel~elf-timed and Write Inhibit X L X HighZ H initiated by a low going pulse on the WE pin. On the Write Inhibit X X H HighZ H falling edge of WE, the address information is latched. Byte Write L H L DIN L On rising edge, the data and the control pins (CE and Byte Clear Automatic Before Each "Write" OE) are latched. The Ready/Busy pin goes toa logic low level indicating that the 28C64A is in a write cycle which Note: (1) Open drain output. signals the microprocessor host that the system bus is (2) X : Any TTL level. free for other activity. When Ready/Busy goes back to Read Mode a high, the 28C64A has completed writing and is ready to accept another cycle. The 28C64A has two control functions, both of which must be logically satisfied in order to obtain data at the outputs. Chip enable (CE) is the power control and Data Polling should be used for device selection. Output Enable (OE) is the output control and is used to gate data to the output The 28C64A features Data polling to signal the comple- pins independent of device selection. Assuming that tion of a byte write cycle, During a write cycle, an addresses are stable, address access time (lACC) is attempted read of the last byte written results in the data equal to the delay from CE to output (tCE). Data is complement of 1/07 (1/00 to 1/06 are indeterminable). available at the output tOE after the falling edge of OE, After completion of the write cycle, true data is available. assuming that CE has been low and addresses have Data polling allows a simple read/compare operation to been stable for at least tACC-tOE. determine the status of the chip eliminating the need for external hardware. Standby Mode The 28C64A is placed in the standby mode by applying Electronic Signature for Device Identification a high signal to the CE input. When in the standby mode, the outputs are in a high impedance state, independent An extra row of 32 bytes o/EEPROM memory is avail- of the OE input. able to the user for device identification. By raising A9 to 12V ±0.5V and using address locations 1FEO to Data Protection 1FFF, the additional bytes can be written to or read from in the same manner as the regular memory array. In ordertoensure data integrity, especially during critical power-up and power-down transitions, the following enhanced data protection circuits are incorporated: Optional Chip Clear First, an internal Vce detect (3.3 volts typical) will inhibit All data may be cleared to l's in a chip clear cycle by the initiation of non-volatile programming operation when raising OE to 12 volts and bringing the WE and CE low. Vcc is less than the Vcc detect circuit trip. This procedure clears all data, except for the extra row. DSlll09C-6 © 1990 Microchip Technology Inc. 2-38 28C64A NOTES: © 1990 Microchip Technology Inc. DS11109C-7 2-39 28C64A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~AF""'L 1'£_' J K L P Cerdip Ceramic Leadless Chip Carrier (LCC) Plastic Leaded Chip Carrier (PLCC)) Plastic DIP SO Plastic Small Outline IC Blank O' C to 70' C I Temperature Range: I -40' C to 85' C I Access Time: 15 20 150nsec 200 nsec 25 250 nsec I Option: F =twc= lms = twc = 200IJS X Pin 1 NC (Pin 2 PLCC). twc = 1ms 1 - - - - - - - - 1 Device: 64K (8K x 8) CMOS EEPROM DS11109C-8 © 1990 Microchip Technology Inc. 2-40 28C64A Microchip DICE FORM 64K (8K X 8) CMOS Electrically Erasable PROM FEATURES DIE CONFIGURATION Die Size: 134 x 206 sq. mils 250ns Access Time • CMOS Technology for Low Power Dissipation ~~~~~~ ~~~~< -30mA Active -1 OO~A Standby A2 • Fast Byte Write Time-1 ms Automatic Write Operation -Internal Control Timer -Auto-Clear Before Write Operation -On-Chip Address and Data Latches Data Polling Ready/Busy • Chip Clear Operation • Enhanced Data Protection -Vee Detector -Pulse Filter -Write Inhibit • Electronic Signature for Device Identification 5-Volt-Only Operation Commercial Temperature Range: -0' Cto 70' C Available in Wafer Form or Waffle Pack A3 DESCRIPTION The Microchip Technology Inc 28C64A is a CMOS 64K non-volatile electrically Erasable and Programmable Read Only Memory. The 28C64A is accessed like a static RAM for the read or write cycles without the need BLOCK DIAGRAM 1100 .... • .. 1/07 of external components. During a "byte write", the address and data are latched internally, freeing the VSS-'~==D;a=~~p;ro=te=c=tio=n~-----lHHHHHHHr--' Vcc-.. Circuitry microprocessor address and data bus for other opera- tions. Following the initiation of write cycle, the device C'E-. gu~~u~~~~~(e will go to a busy state and automatically clear and write ~--- Control Logic WE-. Auto EraseIWrite Da~ Input/Output the latched data using an internal control timer. To Rdy! _ Timing Poll Buffers determine when the write cycle is complete, the user has a choice of monitoring the Ready/Busy output or using BuSy Program Voltage Generation I I Data polling. The Ready/Busy pin is an open drain - output, which allows easy configuration in wired-or L ] Dec~derD YGating systems. Alternatively, Data polling allows the user to ta _ _ read the location last written to when the write operation is complete. CMOS design and processing enables this e X 64Kbit 5 Decoder Cell Matrix part to be used in systems where reduced power con- sumption and reliability are required. - - © 1990 Microchip Technology Inc. 2-41 DS111358-1 28C64A DICE FORM ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE MAXIMUM RATINGS· Name Function Vcc and input voltages w.r.t. VSS ........ -0.6V to + 6.2SV AO -A12 Address Inputs Voltage on OE w.r.t. Vss ........................... -0.6V to + 13.SV CE Chip Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to +13.SV - -OE Output Enable Output Voltage w.r.t. Vss .................... -0.6V to Vcc+0.6V WE Write Enable Storage temperature .......................... -65· C to 125" C 1/00 -1/07 Data Inputs/Outputs Ambient temp. with power applied ........ -SO" C to 9S" C ROY/Busy Ready/Busy vcc +5V Power Supply 'Notice: Stresses above those listed under "Maximum Rat- VSS Ground ings" may cause permanent damage to the device. This is a NU Not Used; No External stress rating only and functional operation of the device at Connection is Allowed those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. READ / WRITE OPERATION vcc = +5V ±10% DC Characteristics Commercial: lamb= 0" C to 70" C Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vcc+1 V Logic "0" Vil -0.1 0.8 V Input Leakage III -10 10 J.lA VIN= -O.tV to Vcc+1 Input Capacitance CIN 10 pF VIN= OV; lamb = 25" C; f = 1 MHz Output Voltages Logic "1" VOH 2.4 V IOH = -400J.LA Logic "0" VOL 0.45 V IOl= 2.1mA Output Leakage IlO -10 10 J.LA VOUT= -0.1V to Vcc+0.1V Output Capacitance CoUT 12 pF VIN= OV; lamb = 25· C; f = 1 MHz Power Suppy Current, Active TTL input Icc 30 mA f = S MHz (Note 1) Vcc = 5.5V; - Power Supply Current, Standby TTL input ICC(S)TTl 2 mA CE =VIH CMOS input ICC(S)CMOS 100 J.lA CE = Vcc-0.3 to Vcc+ 1 Note: (1) AC power supply current above S MHz: 2 mA/MHz DS11135B-2 © 1990 Microchip Technology Inc. 2-42 28C64A DICE FORM READ OPERATION AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH= 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise and Fall Times: 20 nsec Ambient Temperature: Commercial: Tamb = O'C to 70'C Parameter Sym 28C64A-25 Units Conditions Min Max - - Address to Output Delay tAee 250 ns OE =CE = VIL - CE to Output Delay teE 250 ns OE =VIL - OE to Output Delay toE 100 ns CE = \ilL CE or OE High to Output Float toFF 0 70 ns Output Hold from Address, CE toH 0 ns or OE, whichever occurs first. READ WAVEFORMS Address VIH VIL x .,.. Address Valid ~ X VIH L CE ~ Z VIL teE(2) VIH OE ~ I.- k?«- - -- ~ VIL ... toFF(1,3) - - - toE(2) - - toH VOH Data High Z 1111 \0,\ \ High Z Valid Output VOL \\\\' 'I / tAce Notes: (1) toFF is specified forOE or CE, whichever occurs first (2) OE may be delayed up to tE - toE after the falling edge of CE without impact on tE (3) This parameter is sampled and is not 100% tested © 1990 Microchip Technology Inc. OS111358-3 2-43 28C64A DICE FORM BYTE WRITE AC Testing Waveform: VIH = 2.4V; VIL = 0.45V; VOH = 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF Input Rise/Fall Times: 20 nsec Ambient Temperature: Commercial: Tamb = O'C to 70'C Parameter Symbol Min Max Units Remarks Address Set-up Time tAS 50 ns Address Hold Time tAH 100 ns Data Set-Up Time tos 100 ns Data Hold Time toH 50 ns Write Pulse Width twPL 100 ns Note 1 Write Pulse High Time twPH 50 ns OE Hold Time toEH 10 ns OE Set-Up Time toES 10 ns Data Valid Time tDV - 1000 ns Note 2 Time to Device Busy toB - 50 ns Write Cycle Time (28C64A) twe - 1 ms 0.5 ms typical Note: (1 ) A write cycle can be initiated CE or WE going low, whichever occurs last. The data is latched on the positive edge of CE or WE, whichever occurs first. (2) Data must be valid within 1OOOns max. after a write cycle is initiated and must be stable at least until toH after the positive edge of WE or CE, whichever occurs first. PROGRAMMING Waveforms Address ~:~-tA-S--.--.------t-AH-~------------------------- VIH - - - - - - " • tWPL -.,k VIL ~tDV __ tDS~:---:1 _tDH VIH Data In _ _ _ _ _+t-_-<.71'" -'K>-_ _ _ _ _ __ VIL -. tOES ~ VIH OE VIL ----'/~ T,------ --It~EH VOH Rdy/Busy VOL 1~. L "\l- Bu~y _ _ _ _ _ _ twc _ _ _ _~~~t~D~B~~~==~~~==~ ;f"ReadY DS11135B-4 © 1990 Microchip Technology Inc. 2-44 28C64A DICE FORM DATA POLLING Waveforms Address VIH VIL =>< Address Valid X . II ~._ _ _ _-', ,-'_ _ _ ~ Last Written Address Valid >C tACC - - CE VIH ~ tCE VIL ,..>....,;,~ --'~ _____...L....L...L-L-...~~A.-''--''---''-'~ ___ -+-__________ tWPH VIH WE VIL tOE __ VIH OE VIL VIH ----+---.. Data True Data Out VIL CHIP CLEAR Waveforms VIH - - - - - - - - " " " CE VIL / VH / OE / VIH - - - - - - - - - ' - - - tw ----I~ 1.... VIH WE VIL v tw = 10ms ts =tH = llJs VH = 12.0V ±O.5V SUPPLEMENTARY CONTROL Mode CE OE WE A9 Vee 1/01 Chip Clear VIL VH VIL X Vee Extra Row Read Extra Row Write . VIL VIL VIH VIH . A9= VH A9=VH Vee Vee Data Out Data In Note: VH = 12.0V ±O.5V • Pulsed per programming waveforms. © 1990 Microchip Technology Inc. 08111358-5 2-45 28C64A DICE FORM DEVICE OPERATION Second, there is a WE filtering circuit that prevents WE pulses of less than IOns duration from initiating a write The Microchip Technology Inc 28C64A has four basic cycle. modes of operation-read, standby, write inhibit, and byte write-as outlined in the following table. Third, holding WE or CE high or OE low, inhibits a write cycle during power-on and power-off (VCc). - - - Operation Mode CE OE WE I/O Rdy/BusY(1) Write Mode Read L L H DoUT H Standby H X X High Z H The 28C64A has a write cycle similar to that of a Static Write Inhibit H X X HighZ H RAM. The write cycle is completel~elf-timed and Write Inhibit X L X High Z H initiated by a low going pulse on the WE pin. On the Write Inhibit X X H HighZ H falling edge of WE, the address information is latched. Byte Write L H L DIN L On rising edge, the data and the control pins (CE and Byte Clear OE) are latched. The Ready/Busy pin goes to a logic low Automatic Before Each "Write" level indicating that the 28C64A is in a write cycle which Note: (1) Open drain output. signals the microprocessor host that the system bus is (2) X = Any TTL level. free for other activity. When Ready/Busy goes back to Read Mode a high, the 28C64A has completed writing and is ready to accept another cycle. The 28C64A has two control functions, both of which must be logically satisfied in order to obtain data at the outputs. Chip enable (CE) is the power control and Data Polling should be used for device selection. Output Enable (OE) is the output control and is used to gate data to the output The 28C64A features Data polling to signal the comple- pins independent of device selection. Assuming that tion of a byte write cycle. During a write cycle, an addresses are stable, address access time (tACC) is attempted read of the last byte written results in the data equal to the delay from CE to output (tCE). Data is complement of 1107 (1/00 to 1/06 are indeterminable). available at the output tOE after the falling edge of OE, After completion of the write cycle, true data is available. assuming that CE has been low and addresses have Data polling allows a simple read/compare operation to been stable for at least tACC-tOE. determine the status of the chip eliminating the need for external hardware. Standby Mode The 28C64A is placed in the standby mode by applying Electronic Signature for Device Identification a high signal to the CE input. When in the standby mode, the outputs are in a high impedance state, independent An extra row of 32 bytes of EEPROM memory is avail- of the OE input. able to the user for device identification. By raising A9 to 12V ±O.SV and using address locations 1FEO to Data Protection 1FFF, the additional bytes can be written to or read from in the same manner as the regular memory array. In orderto ensure data integrity, especially during critical power-up and power-down transitions, the following enhanced data protection circuits are incorporated: Optional Chip Clear First, an intemal vcc detect (3.3 volts typical) will inhibit All data may be cleared to l's in a chip clear cycle by the initiation of non-volatile programming operation when raising OE to 12 volts and bringing the WE and CE low. Vec is less than the Vcc detect circuit trip. This procedure clears all data, except for the extra row. OS11135B-6 © 1990 Microchip Technology Inc. 2-46 28C64A DICE FORM NOTES: © 1990 Microchip Technology Inc. 05111358-7 2-47 28C64A DICE FORM SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS 28C64A • 25 • I W ~P"-' L..----I Temperature W S Blank Dice in Wafer Form Dice in Waffle Pack O' C to 70' C Range: L..-_ _ _--I Access Time: 25 250 nsec L..-_ _ _ _ _ _-I Device: 2SC64A (SK x S) CMOS EEPROM D8111358-8 © 1990 Microchip Technology Inc. 2-48 Microchip SECTION 3 EPROM PRODUCT SPECIFICATIONS 27C64 64K (8K x 8) CMOS UV Erasable PROM ................................................................. 3- 1 27C128 128K (16K x 8) CMOS UV Erasable PROM ............................................................. 3- 9 27C256 256K (32K x 8) CMOS UV Erasable PROM ............................................................. 3- 17 27C512 512K (64K x 8) CMOS UV Erasable PROM .................•........................................... 3- 25 27HC64 64K (8K x 8) High Speed CMOS UV Erasable PROM ............................................. 3- 33 27HC256 256K (32K x 8) High Speed CMOS UV Erasable PROM ......................................... 3- 41 27HC1616 256K (16K x 16) High Speed CMOS UV Erasable PROM ....................................... 3- 49 27HC641 64K (8K x 8) High Speed CMOS UV Erasable PROM ............................................. 3- 57 27Cxxx 27Cxxx EPROM Family Programming Algorithm ..................................................... 3- 65 © 1990 Microchip Technology Inc. DS00018C 3-i Microchip DS00018C © 1990 Microchip Technology 3-ii ~. Microchip 27C64 64K (8K X 8) CMOS EPROM FEATURES DESCRIPTION • High speed performance The Microchip Technology Inc 27C64 is a CMOS 64K bit -120ns maximum access time (electrically) Programmable Read Only Memory. The • CMOS Technology for low power consumption device is organized as 8K words by 8 bits (8K bytes). -20mA Active current Accessing individual bytes from an address transition or -100J.lA Standby current from power-up (chip enable pin going low) is accom- • Factory programming available plished in less than 120ns. This very high speed device • Auto-insertion-compatible plastic packages allows the most sophisticated microprocessors to run at • Auto IOTM aids automated programming full speed without the need for WAIT states. CMOS • Separate chip enable and output enable controls design and processing enables this part to be used in • High speed "express· programming algorithm systems where reduced power consumption and relia- Organized 8K x 8: JEOEC standard pinouts bility are requirements. -28-pin Oual-in-line package -32-pin Chip carrier (Ieadless or plastic) A complete family of packages is offered to provide the -28-pin SOIC package most flexibility in applications. For surface mount appli- -Tape and reel cations, PLCC or SOIC packaging is available. Tape • Available for extended temperature ranges: and reel packaging is also available for PLCC or SOIC -Commercial: O· C to 70· C packages. U.V. erasable versions are also available. -Industrial: -40· C to 85· C -Automotive: -40· C to 125· C -Military"" (8): -55· C to 125· C PIN CONFIGURATIONS Top View Vpp Vee Vpp Vee PGM PGM .... ~II:~!l~o A12 A12 A7 NC «>2>Il..Z A7 NC A6 /lJJ A6 EJ t~'Jt:'Jt~j~!~~Jl~Jl~J f~ A6 /lJJ "., A9 /lJJ "., A9 A11 AS i] fM A9 A4 A11 OE A4 J] :i! A11 A3 OE A10 A3 i] :~ NC A2 A10 A2 i] r.!i~ CE A1 i§] f..2j A10 A1 CE AO 07 AD JiJ r~ CE AO 07 06 NC 3iJ li 07 00 06 01 05 00 j~J r;j 06 01 05 02 04 rilr~if~l:t:lr;lf~l:il 02 04 Vss 03 5fj~~8a8 Vss 03 DIP PLCC/LCC SOIC "" See 27C64 Military Oata sheet OS60011 © 1990 Microchip Technology Inc. DS11107F-1 3-1 27C64 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Function Maximum Ratings* Name Vee and input voltages w.r.t. Vss .......... -0.6V to +7.25V AO - A12 Address Inputs Vpp voltage w.r.t. Vss during CE Chip Enable programming ........................................ -0.6V to + 14V OE Output Enable Voltage on A9 W.r.t. Vss ............................ -0.6V to +13.5V PGM Program Enable Output voltage w.r.t. Vss .................... -0.6V to Vee + 1.0V Vpp Programming Voltage Storage temperature .......................... -65· C to 150' C 00-07 Data Output +5V Power Supply Ambient temp. with power applied ..... -65' C to 125' C Vee Vss Ground 'Notice: Stresses above those listed under"Maximum Ratings" NC No Connection; No Internal may cause permanent damage to the device. This is a stress Connections rating only and functional operation of the device at those or any NU Not Used; No External other conditions above those indicated in the operation listings Connection Is Allowed of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5V ±10% READ OPERATION Commercial: Tamb= O' Cto 70' C DC Characteristics Industrial: Tamb= -40' C to 85' C Automotive: Tamb= -40' C to 125' C Parameter Part* Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vee+1 V Loaic "0" VIL -0.5 0.8 V Input Leakage all III -10 10 I1A VIN= 0 to Vee Output Voltages all Logic "1" VOH 2.4 V IOH=-400~ LogiC "0" VOL 0.45 V IOL=2.1mA Output Leakage all ILO -10 10 ~ VOUT = OV to Vee Input Capacitance all CIN 6 pF VIN = OV; Tamb = 25' C; f = 1MHz Output Capacitance all GoUT 12 pF VOUT= OV;Tamb= 25' C; f= 1MHz Power Suppy Current, S TTL input lee1 20 mA Vee = 5.5V; Vpp = Vee; Active X TTL input lee2 25 mA f= 1MHz; OE = CE=VIl.; 10ut=OmA; VIL= -0.1 to 0.8 V; VIH= 2.0 to Vee; Note 1 Power Supply Current, S TTL input lee(s) 2 mA Standby X TTL input 3 mA all CMOS input 100 I1A CE = Vee ±O.2V Ipp Read Current all Read Mode Ipp 100 I1A VPP= 5.5V Vpp Read Voltaae all Read Mode VPp Vee-0.7 Vee V Note 2 * Parts: S = Standard Power; X = Extended Temp. Range; Notes: (1) AC Power component above 1MHz: 8mA up to maximum frequency. (2) Vee must be applied before VPP, and be removed simultaneously or after VPP. DS11107F-2 © 1990 Microchip Technology Inc. 3-2 27C64 AC Testing Waveform: VIH= 2.4V and VIL= 0.45V; VOH = 2.0V VOL =0.8V READ OPERATION Output Load: 1 TIL Load + 100 pF AC Characteristics Input Rise and Fall Times: 10nsec Ambient Temperature: Commercial: Tamb= O' C to 70' C Industrial: Tamb = -40' C to 85' C Automotive: Tamb = -40' C to 125' C Parameter Sym 27C64·12 27C64·15 27C64·17 27C64·20 27C64·25 Units Conditions Min Max Min Max Min Max Min Max Min Max Address to Output Delay tAcc 120 150 170 200 250 ns CE =OE =VIL - CE to Output Delay teE 120 150 170 200 250 ns OE = VIL OE to Output Delay toE 65 70 70 75 100 ns CE = VIL CE or OE to OIP High tOFF 0 50 0 50 0 50 0 55 0 60 ns Impedance Output Hold from toH 0 0 0 0 0 ns Address CE or OE, whichever occurs first READ WAVEFORMS VIH Address Address Valid VIL VIH CE VIL VIH OE VIL VOH Outputs HighZ Valid Output 00-07 VOL tACC Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to tCE - toE after the falling edge of CE without impact on tCE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DS11107F-3 3-3 27C64 PROGRAMMING Ambient Temperature: Tamb = 2S· C ±S· C DC Characteristics Vee = 6.SV ± 0.2SV, Vpp = VH = 13.0V ± 0.2SV Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vee+l V Logic '0" VIL -0.1 0.8 V Input Leakage III -10 10 IlA VIN = OV to Vee Output Voltages Logic "1" VOH 2.4 V IOH = -4OOIlA Logic "0" VOL O.4S V IOL=2.1mA Vee Current, program & verify lee2 20 mA Note 1 Vpp Current, program IpP2 2S mA Note 1 A9 Product Identification VH 11.S 12.5 V Note: (1) Vee must be applied simultaneously or before VPP and removed simultaneously or after Vpp PROGRAMMING AC Testing Waveform: VIH= 2.4 V and VIL= O.4S V; VOH= 2.0 V; VOL = 0.8 V AC Characteristics Output Load: 1 TTL Load + 100 pF for Program, Program Verify Ambient Temperature: Tamb = 2S· C ±S· C and Program Inhibit Modes Vee = 6.SV ± 0.2SV, Vpp = VH = 13.0V ± 0.2SV Parameter Symbol Min Max Units Remarks Address Set-Up Time tAS 2 Ils Data Set-Up Time tos 2 Ils Data Hold Time toH 2 Ils Address Hold Time tAH 0 Ils Float Delay (2) toF 0 130 ns Vee Set-Up Time tves 2 Ils Program Pulse Width (1) tpw 9S 10S Ils 1OOIlS typical CE Set-Up Time teES 2 !lS OE Set-Up Time tOES 2 Ils Vpp Set-Up Time tvps 2 Ils - Data Valid from OE toE 100 ns Notes: (1) For express algorithm, initial programming width tolerance is 1OO!lSec ±S%. (2) This parameter is only sampled and not 100% tested. Output float is defined as the pOint where data is no longer driven (see timing diagram). DS11107F-4 © 1990 Microchip Technology Inc. 3-4 27C64 PROGRAMMING Waveforms 1 4 - - - - - - Program -------4*_---- Verify ------l~ VIH Address VIL VIH Data VIL Vpp 5.0V Vcc 5.0V VIH CE VIL VIH toE OE (1) VIL Notes: (1) IDF and tOE are characteristics of the device but must be accommodated by the programmer (2) Vcc = 6.5 V ±0.25 V, Vpp = VH = 13.0 V ±O.25 V for express algorithm MODES Read Mode - (See Timing Diagrams and AC Characteristics) Operation Mode CE OE PGM VPp A9 00-07 Read VIL VIL VIH Vee X DoUT Read Mode is accessed when Program VIL VIH VIL VH X DIN Program Verify VIL VIL VIH VH X DoUT Program Inhibit VIH X X VH X HighZ a) the CE pin is low to power up (enable) the chip Standby VIH X X Vee X HighZ Output Disable VIL VIH VIH Vee X HighZ b) the OE pin is low to gate the data to the output Identity VIL VIL VIH Vce VH Identity Code pins. x = Don't Care For Read operations, if the addresses are stable, the address access time (tACC) is equal to the delay from CE to output (tCE). Data is transferred to the output after a delay from the falling edge of OE (tOE). © 1990 Microchip Technology Inc. DS11107F-5 3-5 27C64 Standby Mode The standby mode is defined when the CE pin is high After the array has been programmed it must be verified (VIH) and a program mode is not defined. to ensure all the bits have been correctly programmed. This mode is entered when all the following conditions When these condition are met, the supply current will are met: drop from 20mA to 100IlA. a) Vcc is at the proper level, b) Vpp~ at the proper VH level, Output Enable c) the CE line is low, d) the PGM line is high, and This feature eliminates bus contention in multiple bus e) the OE line is low. microprocessor systems and the outputs go to a high impedance when the following condition is true: The OE pin is high and a program is not defined. When programming multiple devices in parallel with different data, only CE or PGM need be under separate Erase Mode (U.V. Windowed Versions) control to each device. By pulsing the CE or PGM line low on a particular device in conjunction with the PGM or Windowed products offer the ability to erase the memory CE line low, that device will be programmed; all other array. The memory matrix is erased to the all1's state devices with CE or PGM held high will not be pro- as a result of being exposed to ultraviolet light. To grammed with the data, although address and data will ensure complete erasure, a dose of 15 watt-second/cm2 be available on their input pins (Le., when a high level is is required. This means that the device window must be present on CE or PGM); and the device is inhibited from placed within one inch and directly underneath an ultra- programming. violet lamp with a wavelength of 2537 Angstroms, inten- sity of 12,OOOIlW/cm2 for approximately 20 minutes. Identity Mode Programming Mode In this mode specific data is outputted which identifies the manufacturer as Microchip Technology Inc and The express algorithm has been developed to improve device type. This mode is entered when Pin A9 is taken on the programming throughput times in a production to VH (11.5V to 12.5V). The CE and OE lines must be environment. Up to 10 100-microsecond pulses are at VIL. AO is used to access any of the two non-erasable applied until the byte is verified. No overprogramming is bytes whose data appears on 00 through 07. required. A flowchart of the express algorithm is shown in Figure 1. Programming takes place when: Pin- Input Output a) Vcc is brought to proper voltage, b) Vpp is brought to proper VH level, Identity AO 0 00 0 0 0 0 0 H c) the CE pin is low, d) the OE pin is high, and e) the PGM pin is low. ! 7 6 5 4 3 2 1 0 e x Manufacturer VIL 0 0 1 0 1 0 0 1 29 Since the erased state is "1" in the array, programming Device Type' VIH 0 0 0 0 0 0 1 0 02 of "0" is required. The address to be programmed is set • Code subject to change. via pins AO-A 12 and the data to be programmed is presented to pins 00-07. When data and address are stable, OE is high, CE is low and a low-going puiseon the PGM line programs that location. DS11107F-6 © 1990 Microchip Technology Inc. 3-6 27C64 PROGRAMMING - FIGURE 1 EXPRESS ALGORITHM Conditions: Tamb= 25° C ±5° C Vee = 6.5 ±O.25V Vpp = 13.0 ±O.25V ADDR = First Location Vee = 6.5V Vpp= 13.0V Verify Pass Byte >-'--==----, No All © 1990 Microchip Technology Inc. DS11107F-7 3-7 27C64 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~C~-25II~ J Cerdip I"""" SO K P L Ceramic Leadless Chip Carrier Plastic Leaded Chip Carrier Plastic DIP Plastic SOIC II Temperature Range: I O' C to 70' C -40' C to 85' C E -40' C to 125' C ' - - - - - - - 1 Access Time: 12 120 nsec 15 150 nsec 17 170 nsec 20 200 nsec 25 250 nsec L..------------~·D I eVlce: . 27C64 64K (8K x 8) CMOS EPROM DS11107F-8 © 1990 Microchip Technology Inc. 3-8 ~. Microchip 27C128 128K (16K X 8) CMOS EPROM FEATURES DESCRIPTION • High speed performance The Microchip Technology Inc 27C128 is a CMOS 128K -120ns Maximum access time bit (electrically) Programmable Read Only Memory. The • CMOS Technology for low power consumption device is organized as 16K words by 8 bits (16K by1es). -20mA Active current Accessing individual bytes from an address transition or -100IlA Standby current from power-up (chip enable pin going low) is accom- • Factory programming available plished in less than 120ns. This very high speed device • Auto-insertion-compatible plastic packages allows the most sophisticated microprocessors to run at • Auto 10TM aids automated programming full speed without the need for WAIT states. CMOS Separate chip enable and output enable controls design and processing enables this part to be used in • High speed "express" programming algorithm systems where reduced power consumption and relia- Organized 16K x 8: JEoEC standard pinouts bility are requirements. -28-pin oual-in-line package -32-pin Chip carrier (Ieadless or plastic) A complete family of packages is offered to provide the -28-pin SOIC package most flexibility in applications. For surface mount appli- -Tape and reel cations, PLCC or SOIC packaging is available. Tape Available for extended temperature ranges: and reel packaging is also available for PLCC or SOIC -Commercial: 0" C to 70" C packages. UV erasable versions are also available. -Industrial: -40" C to 85" C -Automotive: -40" C to 125" C -Military**(8): -55" C to 125" C PIN CONFIGURATIONS Top View Vpp Vee Vpp Vee A12 PGM <~~~~~~ A12 PGM A7 A13 A7 A13 AS t:JL~Jl~Ji ~ il~Jl!:,Jt!?J A6 AS A5 A9 AS EJ .' L2J AS A5 A9 A4 A11 AS ~~.J :j!j A9 A4 A11 BE A4 '?~J L2! All A3 BE A3 j~.J fjj NC A2 A10 A2 j] fjj OE CE A1 3§j rj~ A10 A1 CE 07 AO ]5] [jj CE AO 07 00 06 NC 33] !2207 00 06 01 05 00 j§] :~} 06 01 05 02 04 r~l :01 r~lf~lf~l:~l r~l 02 04 Vss 03 o~~~8oC3 Vss 03 DIP PLCC/LCC SOIC ** See 27C128 Military Data sheet OS60012 © 1990 Microchip Technology Inc. DS11003F-1 3-9 27C128 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function Vcc and input voltages w.r.t. Vss .......... -0.6V to +7.25V AO-A13 Address Inputs Vpp voltage w.r.t. Vss during CE Chip Enable programming ........................................ -0.6V to +14 V OE Output Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to +13.5V PGM Program Enable Vpp Output voltage w.r.t. Vss ...................... -0.6V to Vee + 1V Programming Voltage 00-07 Data Output Storage temperature .......................... -65" C to 150" C Vcc +5V Power Supply Ambient temp. with power applied ..... -65" C to 125" C Vss Ground NC No Connection; No 'Notice: Stresses above those listed under "Maximum Ratings" Internal Connections may cause permanent damage to the device. This is a stress NU Not Used; No External rating only and functional operation of the device atthose or any Connection Is Allowed other conditions above those indicated in the operation listings of this specnication is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vee = +5V ±1 0% READ OPERATION Commercial: Tamb= 0" C to 70" C DC Characteristics Industrial: Tamb= -40" C to 85" C Automotive: Tamb= -40" C to 125" C Parameter Part' Status Symbol Min Max Units Conditions Input Voltages ali Logic "1" V,H 2.0 Vee+1 V Logic ·0" VIL -0.5 0.8 V Input Leakage all III -10 10 !!A VIN= Oto Vee Output Voltages all Logic "1" VOH 2.4 V IOH = -400/lA Loaic "0" VOL 0.45 V IOL= 2.1mA Output Leakage all ILO -10 10 /lA VOUT= OV to Vee Input Capacitance all CIN 6 pF VIN = OV; Tamb = 25" C; f = 1MHz Output Capacitance all GoUT 12 pF VOUT= OV;Tamb= 25" C; f = 1MHz Power Suppy Current, S TTL input lee1 20 mA Vee = 5.5V; Vpp = Vee; Active X TTL input lce2 25 mA f = 1MHz; OE =CE = VII.; lout = OmA; VIL= -0.1 to 0.8 V; VIH= 2.0 to Vee; Note 1 Power Supply Current, S TTL input lee(s) 2 mA Standby X TTL input 3 mA all CMOS input 100 /lA CE = Vee +0.2V Ipp Read Current all Read Mode Ipp 100 /lA Vpp = 5.5V Vpp Read Voltage all Read Mode Vpp Vee-0.7 Vee V Note 2 • Parts: S = Standard Power; X = Extended Temp. Range; Noles: (1) AC Power component above 1MHz: 8mA up to maximum frequency. (2) Vee must be applied before VPP, and be removed simultaneously or after VPP. DS11003F-2 © 1990 Microchip Technology Inc. 3-10 27C128 AC Testing Waveform: VIH= 2.4V and VIL= 0.45V; VOH = 2.0V VOL =0.8V READ OPERATION Output Load: 1 TTL Load + 100pF AC Characteristics Input Rise and Fall Times: 10nsec Ambient Temperature: Commercial: Tamb= O· C to 70· C Industrial: Tamb = -40· C to 85· C Automotive: Tamb = -40· C to 125· C Parameter Sym 27C128-12 27C128-15 27C128-17 27C128-20 27C128-25 Units Conditions Min Max Min Max Min Max Min Max Min Max Address to Output Delay IACc 120 150 170 200 250 ns CE = OE = VIL CE to Output Delay tCE 120 150 170 200 250 ns OE= VIL OE to Output Delay toE 65 70 70 75 100 ns CE = VIL CE or OE to OIP High toFF 0 50 0 50 0 50 0 55 0 60 ns I Impedance Output Hold from toH 0 0 0 0 0 ns Address CE or OE, whichever occurs first READ WAVEFORMS Address VIH VIL x ~ ~ Address Valid ~ ~ t:K VIH ~ ~ CE ~ =- "7 VIL -tCE(2) - VIH k"c- 00-07 OE Outputs VIL VOH HighZ - - - ~ toE(2) III Valid Output - toH toFF(1,3) I-- r- \1\\\1\ High Z VOL \\\' \ II/DV IACC Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on tCE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DS11003F-3 3-11 27C128 PROGRAMMING Ambient Temperature: Tamb = 25" C ±5" C DC Characteristics Vee = 6.5V ±0.25V, Vpp= 13.0V ± 0.25V Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 VeC+l V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 I1A VIN = OV to Vee Output Voltages Logic "1" VOH 2.4 V IOH = -4001lA Logic "0" VOL 0.45 V IOL=2.1mA Vee Current, program & verify lce2 20 mA Note 1 Vpp Current,program IpP2 25 mA Note 1 A9 Product Identification VH 11.5 12.5 V Note. (1) Vee must be applied simultaneously or before VPP and removed simultaneously or after VPP PROGRAMMING AC Testing Waveform: VIH= 2.4 V and VIL= 0.45 V; VOH = 2.0 V; VOL = 0.8 V AC Characteristics Output Load: 1 TTL Load + 100 pF for Program, Program Verify Ambient Temperature: Tamb = 25" C ±S" C and Program Inhibit Modes Vee = 6.5V ± 0.25V, VPP = 13.0V ± 0.25V Parameter Symbol Min Max Units Remarks Address Set-Up Time lAS 2 I1S Data Set-Up Time IDS 2 I1s Data Hold Time IDH 2 I1S Address Hold Time IAH 0 I1s Float Delay (2) IDF 0 130 ns Vee Set-Up Time IVes 2 I1s Program Pulse Width (1) IPw 95 105 IlS 1001lS typical CE Set-Up Time teES 2 I1s OE Set-Up Time toES 2 I1S VPP Set-Up Time IVPS 2 I1s - toE Data Valid from OE 100 ns Notes: (1) For express algorithm, initial programming width tolerance is 1OOllSec ±5%. (2) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). DS11003F-4 © 1990 Microchip Technology Inc. 27C128 PROGRAMMING Waveforms 1 4 - - - - - - Program------I4---- Verify -----I~ VIH Address Address Stable VIL VIH Data HighZ VIL IDH 13.0V(2) Vpp 5.0V Vcc 5.0V VIH CE VIL VIH toE OE (1 ) VIL Notes: (1) IDF and toE are characteristics of the device but must be accommodated by the programmer (2) Vcc = 6.5 V ±O.25 V. VPp = VH = 13.0 V ±O.25 V for express algorithm MODES Read Mode Operation Mode CE Vpp (See Timing Diagrams and AC Characteristics) OE PGM A9 00-07 Read VIL VIL VIH Vee X [)oUT Read Mode is accessed when Program VIL VIH VIL VH X DIN Program Verify VIL VIL VIH VH X DoUT Program Inhibit VIH X X VH X HighZ a) the CE pin is low to power up (enable) the chip Standby VIH X X Vee X HighZ Output Disable VIL VIH VIH Vee X HighZ b) the OE pin is low to gate the data to the output Identity VIL VIL VIH Vee VH Identity Code pins. x= Don' Care For Read operations. if the addresses are stable. the address access time (lAcc) is equal to the delay from CE to output (tCE). Data is transferred to the output after a delay from the falling edge of OE (tOE). © 1990 Microchip Technology Inc. DS11003F-5 3-13 27C128 Standby Mode The standby mode is defined when the CE pin is high After the array has been programmed it mllst be verified (VIH) and a program mode is rot defined. to ensure all the bits have been correctly programmed. This mode is entered when all the follpwing conditions When these condition are met, the supply current will are met: drop from 20mA to 1001lA. a) Vee is at the proper level, b) VPp is at the proper VH level, Output Enable c) the CE line is low, d) the PGM line is high, and This feature eliminates bus contention in multiple bus e) the OE line is low. microprocessor systems and the outputs go to a high impedance when the following condition is true: The OE pin is high and a program is not defined. When programming multiple devices in paral/el with different data, only CE or PGM need be under separate Erase Mode (U.V. Windowed Versions) control to each device. By pulsing the CE or PGM line low on a particular device in conjunction with the PGM or Windowed products offerthe ability to erase the memory CE line low, that device will be programmed; all other array. The memory matrix is erased to the all 1's state devices with CE or PGM held high will not be pro- as a result of being exposed to ultraviolet light. To grammed with the data, although address and data will ensure complete erasure, a dose of 15 watt-second/cm" be available on their input pins (i.e., when a high level is is required. This means that the device window must be present on CE or PGM); and the device is inhibited from placed within one inch and directly underneath an ultra- programming. violet lamp with a wavelength of 2537 Angstroms, inten- sityof 12,000j!W/cm" for approximately 20 minutes. Identity Mode Proorammjng Mode In this mode specific data is outputted which identifies the manufacturer as Microchip Technology Inc and The express algorithm has been developed to improve device type. This mode is entered when Pin A9 is taken on the programming throughput times in a production to VH (11.5V to 12.5V). The CE and OE lines must be environment. Up to 10 100-microsecond pulses are at VIL. AO is used to access any of the two non-erasable applied until the byte Is verified. No overprogramming is bytes whose data appears on 00 through 07. required. A flowchart of the express algorithm is shown in Figure1. Programming takes place when: Pln- Input Output a) Vce is brought to proper voltages, b) Vpp is brought to proper VH level, Identity AO 0 0 0 0 0 0 0 0 H c) the CE pin is low, d) the OE pin is high, and e) the PGM pin is low. i 7 6 5 4 3 2 1 0 e x Manufacturer VIL 0 0 1 0 1 0 0 1 29 Device Type' VIH 1 0 0 0 0 0 1 1 83 Since the erased state is "1" in the array, programming of "0' is required. The address to be programmed is set • Code subject to change. via pins AO-A 13 and the data to be programmed is presented to pins 00-07. When data and address are stable, CE is low and a low-going pulse on the PGM line programs that location. DS11003F-6 © 1990 Microphip Technology Jnc. 3-14 27C128 PROGRAMMING· FIGURE 1 EXPRESS ALGORITHM Conditions: Tamb = 2S· C ±S· C Vee = 6.S ±O.2SV VPp = 13.0 ±0.2SV ADDR = First Location Vee = 6.SV VPp= 13.0V © 1990 Microchip Technology Inc. DS11003F-7 3-15 27C128 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~~-251/~ J Cerdip I"""'· K L P Ceramic Leadless Chip Carrier Plastic Leaded Chip Carrier Plastic DIP SO Plastic SOIC 'I Temperature O· C to 70· C Range: I -40· C to 85· C E -40· C to 125· C L - - - - - - I Access Time: 12 120 nsec 15 150 nsec 17 170 nsec 20 200 nsec 25 250 nsec I Device: 27C128 128K (16K x 8) CMOS EPROM DS11003F-8 © 1990 Microchip Technology Inc. 3-16 ~. Microchip 27C256 256K (32K X 8) CMOS EPROM FEATURES DESCRIPTION • High speed performance The Microchip Technology Inc 27C256 is a CMOS 256K -120ns maximum access time bit (electrically) Programmable Read Only Memory. The • CMOS Technology for low power consumption device is organized as 32K words by 8 bits (32K bytes). -20mA Active current Accessing individual bytes from an address transition or -1 OO~ Standby current from power-up (chip enable pin going low) is accom- • Factory programming available plished in less than 120ns. This very high speed device • Auto-insertion-compatible plastic packages allows the most sophisticated microprocessors to run at • Auto 10TM aids automated programming full speed without the need for WAIT states. CMOS • Separate chip enable and output enable controls design and processing enables this part to be used in • High speed "express" programming algorithm systems where reduced power consumption and relia- • Organized 32K x 8: JEOEC standard pinouts bility are requirements. -28-pin Oual-in-line package -32-pin Chip carrier (Ieadless or plastic) A complete family of packages is offered to provide the -28-pin SOIC package most flexibility in applications. For surface mount appli- -Tape and reel cations, PLCC or SOIC packaging is available. Tape Available for extended temperature ranges: and reel packaging is also available for PLCC or SOIC -Commercial: 0" C to 70" C packages. UV erasable versions are also available. -Industrial: -40" C to 85" C -Automotive: -40" C to 125" C -Military" (8): -55" C to 125" C PIN CONFIGURATIONS Top View Vpp Vee Vpp Vee A12 A14 A12 A14 A13 <~~~~~~ A7 A13 AB L~Jl~Jl~J:~ It~Jl~Jl~J A6 AS A9 All A6 AS EJ EJ '.' :y~ AS f28 A9 AS A4 A9 All C~7 All ~~j DE A4 A3 DE A2 Al0 A3 :j~ NC A2 Al0 A2 _9~j [3!. 5 OE CE Al _lpJ L2_4 A10 Al CE 07 AO 07 AO jIJ [.:2"; CE 06 NC _iii L2_2 07 00 06 01 05 00 jiJ fjj 06 01 05 02 04 f~:f~lf~l :~l :~l:~~ f~l 02 04 Vss Vss 03 oS~~8o(3 03 DIP PLCC/LCC SOIC •• See 27C256 Military Data sheet OS60013 © 1990 Microchip Technology Inc. D811001 F-1 3-17 27C256 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function AO - A14 Address Inputs Vee and input volt~ges w.r.1. Vss .......... -0.6V to +7.25V CE Chip Enable Vpp voltage w.r.1. Vssduring OE Output Enable programming ..................................... -Q.6V to +14.0V Vpp Programming Voltage Voltage on A9 w.r.1. Vss ............................ -0.6V to + 13.5V 00-07 Data Output Output voltage w.r.1. Vss .................. -0.6V to Vee + 1.0V Vee +5V Power Supply Storage temperature .......................... -65· C to 150' C vss Ground Ambient temp. with power applied ..... -65' C to 125' C NC No Connection; No Internal Connection "Notice: Stresses above those listed under"Maximum Ratings" NU Not Used; No External may cause permanent damage to the device. This is a stress Connection is Allowed rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended period!; may affect device reliability. Vee = +5V ±1 0% READ OPERATION Commercial: Tamb= O' C to 70' C DC Characteristics Indu!;trial: Tamb= -40' C to 85' C Automotive: Tamb= -40' C to 125' C Parameter Part· Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vee+1 V Logic "0" Vil -0.5 0.8 V Input Leakage all III -10 10 I1A VIN= 0 to Vee Output Voltages all Logic "1" VOH 2.4 V IOH = -4001tA Logic "0· VOL 0.45 V IOl= 2.1mA Output Leakage all IlO -10 10 ItA VOUT = OV to Vee Input Capacitance all CIN 6 pF VIN = OV; Tamb = 25' C; f= 1MHz Output Capacitance all CoUT 12 pF VOUT= OV;Tamb= 25' C; f = 1MHz Power Suppy Current, S TTL input lee1 20 mA Vee = 5.5V; Vpp = Vee; Active X TTL input lee2 25 mA f = 1MHz; OE = CE = VII.; lout = OmA; Vll= -0.1 to 0.8 V; VIH= 2.0 to Vee; Note 1 Power Supply Current, S TTL input lee(s) 2 mA Standby X TTLinput • 3 mA all CMOS input 100 ItA CE = Vee ±O.2V Ipp Read Current all Read Mode Ipp 100 ItA Vpp= 5.5V Vpp Read Voltage all Read Mode Vpp Vee-0.7 Vee V Note 2 " Parts: S = Standard Power; X = Extended Temp. Range; Notes: (1) AC Power component above 1MHz: 5mA up to maximum frequency. (2) Vee must be applied before VPP, and be removed simultaneously or after VPP. , DS11001F-2 © 1990 Microchip Technology Inc. 3-18 27C256 READ OPERATION AC Testing Waveform: VIH= 2.4V and VIL= O.45V; VOH = 2.0V VoL =0.8V AC Characteristics Output Load: 1 TTL Load + 100pF Input Rise and Fall Times: 10nsec Ambient Temperature: Commercial: Tamb = O· Cto 70· C Industrial: Tamb = -40· C to 85· C Automotive: Tamb = -40· C to 125· C Parameter Sym 27C256-12 27C256-15 27C256-17 27C256-20 27C256-25 Units Conditions Min Max Min Max Min Max Min Max Min Max Address to Output Delay tAcc 120 150 170 200 250 ns CE = OE = VIL - CE to Output Delay teE 120 150 170 200 250 ns OE =VIL OE to Output Delay toE 50 60 70 75 100 ns CE = V1L CE or OE to OIP High toFF 0 35 0 50 0 50 0 55 0 60 ns Impedance Output Hold fro~ toH 0 0 0 0 0 ns Address CE or OE, whichever goes first READ WAVEFORMS VIH Address VIL X Address Valid ~ VIH ~ ...,... f- CE VIL ....". k? -teE(2)- VIH k?f- 00-07 OE Outputs VIL VOH HighZ - - - -- ~ toE(2) j//// Valid Output .... toFF(1,3) f-- toH \\\1\ High Z VOL \\\\\ /I/IV tAcc Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on teE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DS11001F-3 3-19 27C256 PROGRAMMING Ambient Temperature: Tamb = 25' C ±5' C DC Characteristics Vee = 6.5V ± 0.25V, Vpp = 13.0V ± 0.25V Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vee+1 V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 I1A VIN = OV to Vee Output Voltages Logic "1" VOH 2.4 V IOH=-400~ Logic "0" VOL 0.45 V IOL= 2.1mA Vee Current, program & verify lee2 20 mA Note 1 Vpp Current, program IpP2 25 mA Note 1 A9 Product Identification VH 11.5 12.5 V Note: (1) Vee must be applied simultaneously or before VPP and removed simultaneously or after VPP PROGRAMMING AC Testing Waveform: VIH = 2.4 V and VIL = 0.45 V; VOH = 2.0 V; VOL = 0.8 V AC Characteristics Output Load: 1 TTL Load + 100 pF for Program, Program Verify Ambient Temperature: Tamb = 25' C ±5' C and Program Inhibit Modes Vee = 6.5V ± 0.25V, VPP = 13.0V ± 0.25V Parameter Symbol Min Max Units Remarks Address Set-Up Time lAs 2 I1 s Data Set-Up Time tos 2 I1 s Data Hold Time toH 2 I1 S Address Hold Time lAH 0 I1 s Float Delay (2) tOF 0 130 ns Vee Set-Up Time tves 2 I1 s Program Pulse Width (1) lPw 95 105 I1 s 100l1s typical - CE Set-Up Time teES 2 I1 s OE Set-Up Time tOES 2 I1 s VPP Set-Up Time tvps 2 I1 s - tOE Data Valid from OE 100 ns Notes: (1) For express algorithm, initial programming width tolerance is 1OOl1sec ±5%. (2) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). D811001 F-4 © 1990 Microchip Technology Inc. 3-20 27C256 PROGRAMMING Waveforms 1 4 - - - - - - Program - - - - - + - 0 > - - - - - Verify ----~ VIH Address Address Stable VIL VIH HighZ Data VIL toH 13.0V(2) VPp 5.0V Vcc 5.0V VIH CE VIL VIH toE OE (1 ) VIL Notes: (1 ) toF and toE are characteristics of the device but must be accommodated by the programmer (2) vcc = 6.5 V ±0.25 V, Vpp = VH = 13.0 V ±0.25 V for express algorithm MODES Read Mode - (See Timing Diagrams and AC Characteristics) Operation Mode CE OE VPp A9 00-07 Read Mode is accessed when Read VIL VIL Vcc X DoUT Program VIL VIH VH X DIN Program Verify VIH VIL VH X DoUT a) the CE pin is low to power up (enable) the chip Program Inhibit VIH VIH VH X HighZ Standby VIH X Vcc X HighZ b) the OE pin is low to gate the data to the output Output Disable VIL VIH Vcc X HighZ pins. Identity VIL VIL Vcc VH Identity Code x = Don't Care For Read operations, if the addresses are stable, the address access time (tACC) is equal to the delay from CE to output (tCE). Data is transferred to the output aiter a delay from the falling edge of OE (tOE). © 1990 Microchip Technology Inc. DS11001F~5 3-21 27C256 Standby Mode The standby mode is defined when the CE pin is high After the array has been programmed it must be verified (VIH) and a program mode is not defined. to ensure all the bits have been correctly programmed. This mode is entered when all the following conditions When these condition are met, the supply current will are mel: drop from 20mA to 1001lA. a) Vcc is at the proper level, b) Vpp is at the proper VH level, Output Enable c) The CE pin is high and d) the OE line is low. This feature eliminates bus contention in multiple bus microprocessor systems and the outputs go to a high impedance when the following condition is true: The OE pin is high and a program is not defined. When programming multiple devices in parallel with different data, only CE need be under separate control Erase Mode CU.V. WindOwed Versions) to each device. By pulsing the CE line low on a particular device, that device will be programmed; all other devices Windowed products offer the ability to erase the memory with CE held high will not be programmed with the data, array. The memory matrix is erased to the all 1's state although address and data will be available on their input as a result of being exposed to ultraviolet light. To pins. ensure complete erasure, a dose of 15 watt-second/cm2 is required. This means that the device window must be placed within one inch and directly underneath an ultra- Identity Mode violet lamp with a wavelength of 2537 Angstroms, inten- sityof 12,000f,lW/cm2 for approximately 20 minutes. In this mode specific data is outputted which identifies the manufacturer as Microchip Technology Inc and Programming Mode device type. This mode is entered when Pin A9 is taken to VH (11.5V to 12.5V). The CE and OE lines must be The express algorithm has been developed to improve at VIL. AO is used to access any of the two non-erasable on the programming throughput times in a production bytes whose data appears on 00 through 07. environment. Up to 10 100-microsecond pulses are applied until the byte is verified. No overprogramming is required. A flowchart of the express algorithm is shown in Figure 1. Pln- Input Output Programming takes place when: Identity AO 0 0 0 o 0 0 0 0 H a) vcc is brought to proper voltage, b) Vpp is brought to proper VH level, i 7 6 5 4 3 0 0 1 0 1 0 0 2 1 0 1 29 e x Manufacturer VIL c) The OE pin is high and Device Type' VIH 1 0 0 0 1 1 0 0 BC d) the CE pin is low. • Code subject to change. Since the erased state is "1" in the array, programming of "0" is required. The address to be programmed is set via pins AO-A14 and the data to be programmed is presented to pins 00-07. When data and address are stable, a low-going pulse on the CE line progrartls that location. DS11001F-6 © 1990 Microchip Technology Inc. 3-22 27C256 PROGRAMMING - FIGURE 1 EXPRESS ALGORITHM Conditions: Tamb = 2So C ±So C Vee = 6.S ±O.2SV Vpp = 13.0 ±O.2SV ADDR = First Location Vee = 6.SV Vpp= 13.0V No © 1990 Microchip Technology Inc. DS11001F·7 3-23 -----_. --~~~-~------ 27C256 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS J CERDIP K Ceramic Leadless Chip Carrier L Plastic Leaded Chip Carrier P Plastic DIP SO Plastic SOIC I Temperature Range: E I 0' C 1070' C -40' C to 85' C -40' C to 125' C l.....-----I Access Time: 12 120 nsec 15 150 nsec 17 170 nsec 20 200 nsec 25 250 nsec ' - - - - - - - - - - 1 Device: 27C256 256K (32K x 8) CMOS EPROM DS11001F-8 © 1990 Microchip Technology Inc. 3-24 ~. Microchip 27C512 SI2K (64K X 8) CMOS EPROM FEATURES DESCRIPTION The Microchip Technology Inc 27C512 is a CMOS 512K High speed performance bit (electrically) Programmable Read Only Memory. The -120ns access time available device is organized into 64K words by 8 bits (64K bytes) . • CMOS Technology for low power consumption Accessing individual bytes from an address transition or -35mA Active current from power-up (chip enable pin going low) is accom- -1 OO~A Standby current plished in less than 120ns. This very high speed device • Factory programming available allows the most sophisticated microprocessors to run at Auto-insertion-compatible plastic packages full speed without the need for WAIT states. CMOS Auto IDTM aids automated programming design and processing enables this part to be used in High speed "express" programming algorithm systems where reduced power consumption and relia- Organized 64K x 8: JEDEC standard pinouts bility are requirements. -28-pin Dual-in-line package -32-pin Chip carrier (Ieadless or plastic) A complete family of packages is offered to provide the -28-pin SOIC package most flexability in applications. For surface mount -Tape and reel applications, PLCC or SOIC packaging is available. Available for extended temperature ranges: Tape or reel packaging is also available for PLCC or -Commercial: 0' C to 70' C SOIC packages. U.V. erasable versions are also -Industrial: -40' C to 85' C available. -Automotive: -40' C to 125' C -Military" (8): -55' C to 125' C PIN CONFIGURATIONS Top View A15 A15 Vee A12 A14 A7 A13 AS A6 AS A9 A5 A9 All A4 All A3 OENpp A2 Al0 Al BE 07 AO 07 06 00 06 01 05 01 05 04 02 04 03 03 DIP PLCC/LCC SOIC '-See 27C512 Military Data Sheet DS60014 © 1990 Microchip Technology Inc. DS11006F-1 3-25 27C512 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings' Name Function vcc and input voltages w.r.t. Vss .......... ·0.6V to +7.25V AO·A15 Address Inputs Vpp voltage W.r.t. vSS during CE Chip Enable programming ..................................... ·0.6V to +14.0V OENpp Output Enable! Voltage on A9 w.r.t. Vss ............................ ·0.6V to +13.5V Programming Voltage Output voltage w.r.t. Vss .................. ·0.6V to Vcc + 1.0V 00-07 Data Output Storage temperature .......................... -65· C to 150· C Vcc +5V Power Supply Ambienttemp. with power applied ..... -65· C to 125· C Vss Ground NC No Connection; No Internal 'Notice: Stresses above those listed under"Maximum Ratings" Connection may cause permanent damage to the device. This is a stress NU Not Used; No External rating only and functional operation of the device at those or any Connection Is Allowed other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. vcc = +5V ±1 0% READ OPERATION DC Characteristics Commercial: Tamb= O· Cto 70· C I Industrial: Tamb= -40· C to 85· C Automotive: Tamb= -40· C to 125· C Parameter Part' Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vcc+1 V Logic "0" VIL -0.5 0.8 V Input Leakage all III -10 10 I-lA VIN= 0 to Vcc Output Voltages all Logic "1" VOH 2.4 V IOH = -4001-lA Logic "0" VOL 0.45 V IOL=2.1mA Output Leakage all ILO -10 10 I-lA VOUT = OV to Vcc Input Capacitance all CIN 6 pF VIN = OV; Tamb = 25· C; f = 1MHz Output Capacitance all GoUT 12 pF VOUT= OV;Tamb= 25· C; f-1MHz Power Suppy Current, S TTL input Icc 35 mA Vcc= 5.5V Active X TTL input Icc 45 mA f= lMHz; OE/vpp= CE = VIL; lout = OmA; VIL= -0.1 to 0.8 V; VIH= 2.0 to Vcc; Power Supply Current, S TTL input Icc(s)TTL 2 mA Standby X TTL input ICC(S)TTL 3 mA S CMOS input ICC(S)CMOS 100 I-lA CE = Vce ±0.2V • Parts: S = Standard Power; X = Extended Temp. Range; Notes: (1) AC Power component above 1Mhlz: 2mAlMHz. DS11006F-2 © 1990 Microchip Technology Inc. 3-26 27C512 READ OPERATION AC Testing Waveform: VIH= 2.4V and VIL= 0.45V; VOH= 2.0 V and VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100pF Input Rise and Fall Times: 10nsec Ambient Temperature: Commercial: Tamb = O· Cto 70· C Industrial: Tamb = -40· C to 85· C Automotive: Tamb = -40· C to 125· C Parameter Sym 27C512·12* 27C512·15 27C512·17 27C512·20 27C512·25 Units Conditions Min Max Min Max Min Max Min Max Min Max Address to Output fAcc 120 150 170 200 250 ns CE = OE/Vpp = VIL Delay CEto Output Delay ICE 120 150 170 200 250 ns OENpp= VIL OE to Output Delay toE 65 70 70 75 100 ns CE = VIL OE to Output High toFF 0 50 0 50 0 50 0 55 0 60 ns Impedance Output Hold from toH 0 0 0 0 0 ns Address, CE or OENpp, whichever occured first *27C512-12 is on Iv available in commercial temperature ranae READ WAVEFORMS VIH ~ Address VIL X Address Valid K VIH ~ ..... F- CE ..., k? VIL -ICE(2) .. VIH f- OE/Vpp VIL VOH " - - toE(2) .... - k?' - toH toFF(1.3) I-- '-- Outputs HighZ IIIIIIIIII Valid Output \\\\ 1\ High Z 00-07 VOL \\\\\\\\\\ III/II fAcC Notes: (1) toFF is specified for OE/Vpp or CE, whichever occurs first (2) OE may be delayed up to tCE - toE after the falling edge of CE without impact on tCE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DS11006F-3 3-27 27C512 PROGRAMMING Ambient Temperature: 25° C ±So C DC Characteristics Vee = 6.5V ± 0.25V, OENpp = VH = 13.0V ± 0;25V Parameter Status Symbol Min Max Units Conditions (See Note 1) Input Voltages Logic "1" VIH 2.0 Vee+1 V Logic "0" VIL -0.1 0.8 V Input Current (all inputs) ilL -10 10 IlA VIN = OV to Vee Output Voltages Logic "1" VOH 2.4 V IoH = -4001lA Logic "0" VOL 0.45 V IoL = 2.1mA Vee Current, program & verify lce2 35 mA OE/Vpp Current, program IpP2 25 mA CE = VIL A9 Product Identification VID 11.5 12.5 V Note: (1) Vee must be applied simultaneously or before the Vpp voltage on OENpp and removed simultaneously or after the Vpp voltage on OE/Vpp. PROGRAMMING AC Testing Waveform: VIH= 2.4V and VIL= 0.45V; VOH= 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100pF for Program, Program Verify Ambient Temperatur~ 25° C ±5° C and Program Inhibit Modes Vee = 6.5V ± 0.25V, OE/vpp = VH = 13.0V ± 0.25V Parameter Symbol Min Max Units Remarks Address Set-Up Time tAs 2 115 Data Set-Up Time IDs 2 IlS Data Hold Time tDH 2 Ils Address Hold Time tAH 0 Ils Float Delay (2) IDF 0 130 ns Vee Set-Up Time tves 2 115 Program Pulse Width (1) IPw 95 105 Ils 1OOIlS typical CE Set-Up Time teES 2 Ils OE Set-Up Time toES 2 IlS OE Hold Time toEH 2 115 - toR OE Recovery Time 2 Ils - OE/Vpp Rise Time During Programming IPRT 50 ns Notes: (1) For express algorithm, initial programming width tolerance is 1OOll5ec ± 5%. (2) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). DSlio06F-4 © 1990 Microchip Technology Inc. 3-28 27C512 PROGRAMMING Waveforms 1 0 4 - - - - - - Program------t4---- Verify ----~ Address Data Vpp 5.0V Vcc 5.0V VIH CE VIL VIH toE OE (1) VIL Notes: (1) IDF and toE are characteristics of the device but must be accommodated by the programmer (2) Vcc = 6.5 V ±O.25 V, Vpp = VH = 13.0 V ±O.25 V for express algorithm MODES Read Mode (See Timing Diagrams and AC Characteristics) Operation Mode CE OENpp A9 00-07 Read VIL VIL X DoUT Read Mode is accessed when Program VIL VH X DIN Program Verify VIL VIL X DoUT Program Inhibit VIH VH X HighZ a) the CE pin is low to power up (enable) the chip Standby VIH X X HighZ Output Disable VIL VIH X HighZ b) the OENpP pin is low to gate the data to the Identity VIL VIL VH Identity Code output pins. X.Don1Care For Read operations, if the addresses are stable, the address access time (tACC) is equal to the delay from CE to output (tCE). Data is transferred to the output after a delay (tOE) from the falling edge of OEIVpp. © 1990 Microchip Technology Inc. DS11006F-5 3-29 27C512 Standby Mode Since the erased state is "1" in the array, programming of "0" is required. The address to be programmed is set The standby mode is defined when the CE pin is high via pins AO - A 15 and the data to be programmed is and a program mode is not identified. presented to pins 00 - 07. When data and address are stable, a low going pulse on the CE line programs that When this condition is met, the supply current will drop location. from 35mA to 100IlA. Output Enable OElVpp After the array has been programmed it must be verified to ensure all the bits have been correctly programmed. This multifunction pin eliminates bus connection in mul- This mode is entered when all the following conditions tiple bus microprcessor systems and the outputs go to are met: high impedance when: a) Vee~atlhe proper level, • the OElVpp pin is high (VIH). b) the OElVpp pin is low, and c) the CE line is low. When a VH input is applied to this pin, it supplies the programming voltage (Vpp) to the device. When programming multiple devices in parallel with Erase Mode IU.V. Windowed Versions) different data, only CE needs to be under separate control to each device. By pulsing the CE line low on a Windowed products offer the ability to erase the memory particular device, that device will be programmed; all array. The memory matrix is erased to the all "1 "'s state other devices with CE held high will not be programmed as a result of being exposed to ultraviolet light. To with the data (although address and data will be avail- ensure complete erasure, a dose of 15 watt-second/cm 2 able on their input pins). is required. This means that the device window must be placed within one inch and directly underneath an ultra- Identity Mode violet lamp with a wavelength of 2537 Angstroms, inten- sity of 12,000IlW/cm 2 for approximately 20 minutes. In this mode specific data is output which identifies the manufacturer as Microchip Technology Inc and the device type. This mode is entered when Pin A9 is taken Programming Mode to VH (11.5V to 12.5V). The CE and OE/Vpp lines must be at VIL. AO is used to access any of the two non- The express algorithm has been developed to improve erasable bytes whose data appears on 00 through 07. on the programming throughput times in a production environment. Up to 10 100-microsecond pulses are applied until the byte is verified. No overprogramming is required. A flowchart of the express algorithm is shown Pin- Input Output in Figure 1. Identity AO 00 0 0 0 0 0 0 H ~ 7 6 5 4 3 2 1 0 e x Programming takes place when: Manufacturer VIL 0 0 1 0 1 0 0 1 29 a) Vec is brought to the proper voltage, Device Type' VIH 0 0 0 0 1 1 0 1 00 b) OElVpp is brought to the proper VH level, and c) CE line is low. • Code subject to change. DS11006F-6 © 1990 Microchip Technology Inc. 3-30 27C512 PROGRAMMING - FIGURE 1 EXPRESS ALGORITHM Conditions: Tamb = 2S" C ±S" C Vee = 6.S ±O.2SV OENpp = 13.0 ±O.2SV ADDR = First Location Vee=6.SV OENpp = 13.0V Vee = 4.SV,S.SV © 1990 Microchip Technology Inc. DS11006F-7 3-31 27C512 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~~-251/P ~-~ J K L P Cerdip Ceramic Leadless Chip Carrier Plastic Leaded Chip Carrier Plastic DIP SO Plastic SOIC O' C to 70' C I Temperature Range: I ·40' C to 85' C E -40' C to 125" C ' - - - - - - I Access Time: 12 120 nsec 15 150 nsec 17 170 nsec 20 200 nsec 25 250 nsec Device: 27C51.2 512K (64K x 8) CMOS EPROM DS11006F-8 © 1990 Microchip Technology Inc. 3-32 ~. Microchip 27HC64 64K (8K X 8) High Speed CMOS UV Erasable PROM FEATURES DESCRIPTION • Bipolar Performance The Microchip Technology Inc 27HC64 is a CMOS 64K - 40ns Maximum Access Time bit ultraviolet light Erasable (electrically) Programmable • CMOS Technology For Low Power Consumption Read Only Memory. The device is organized as 8K - 80mA Active Current words by 8 bits (8K bytes). An advanced CMOS design -lOOl1A Standby Current (Low Power Option) allows bipolar speed with a significant reduction in • OTP (One Time Programming) Available power over bipolar PROMs. A low power option (L) • Auto·lnsertion-Compatible Plastic Packages allows further standby power reduction to 100llA. The • Auto 10TM Aids Automated Programming 27HC64 is configured in a standard 64K EPROM • Separate Chip Enable and Output Enable Controls pinout, which allows an easy upgrade for 27C64 sock- • Two Programming Algorithms Allow Improved ets. This very high speed device allows digital signal Programming Times processors (DSP) or other sophisticated microproces- - Fast Programming sors to run atfull speed withoutthe need forWAITstates. -Express CMOS design and processing enables this part to be • Organized 8K x 8: JEOEC Standard Pinouts used in systems where reduced power consumption and - 28 Pin Dual in Line Package reliability are requirements. - 32 Pin Chip Carrier (Leadless or Plastic) • Available for Extended Temperature Ranges: A complete family of packages is offered to provide the - Commercial: 0" C to 70" C most flexibility in applications. One Time Programming -Industrial: -40' C to 85" C (OTP) is available for low cost (plastic) applications. - Military": -55" C to 125" C PIN CONFIGURATION BLOCK DIAGRAM 00······· 07 Top View Vpp Vee CE Chip Enablel ~~~~~I~~ Output Enable A12 PGM OE Control Logic NC '..,.,lcn,'(\J,' ..... "~".,....,I~, PGM A6 AS A6 fjL.!LJLJ~!LJl~JLJ:~ AS Vpp A5 A9 AS fJ [gj A9 Voo M All A4 7] :?I All AS A2 AI AO 01 i5E Al0 CE 07 06 05 A3 fJ A2 ~:j A1 jjiJ AO 1jj NC jjj ooJru 0 [~ NC :i§ ~ :.?~ Al0 fgj CE fig 07 iii 06 Vee AO I I I I f;:lf§1f§1fi-.:lf§lr~ [fii 02 04 I Vss 03 oS~~BaCS I 64Kbit X I Decoder Cell Matrix I .Pln 1 Indicator on PLCC on top of package I A12 .. See 27HC64 Military Data sheet OS60006 3-33 © 1990 Microchip Technology Inc. DS11105E-1 ~,~~-~~~~-~ ~-~------~--~~~~~ 27HC64 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function Vee and input voltages w.r.t. Vss ... -0.6V to + 7.2SV AO-A12 Address Inputs Vpp voltage w.r.t. Vss during CE Chip Enable programming ............................... -0.6V to + 14V OE Output Enable Voltage on A9 w.r.t. Vss ..................... -0.6V to +13.5V PGM Program Enable Vpp Output voltage w.r.t. Vss .................... -0.6V to Vee +1.0V Programming Voltage 00-07 Data Output Storage temperature ..................... -65' C to lS0' C Vee +5V Power Supply Ambient temp. with power applied -6S' C to 125' C Vss Ground ESD protection on all pins ............. 2KV NC No Connection; No Internal Connection 'Notice: Stresses above those listed under"Maximum Ratings" may cause permanent damage to the device. This is a stress NU Not Used; No External rating only and functional operation of the device at those or any Connection Is other conditions above those indicated in the operation listings Allowed of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. READ OPERATION Vee = +SV ±10% DC Characteristics Commercial: Tamb= 0' Ct070' C Industrial: Tamb= -40' C to 85' C Parameter Part" Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vee+l V Logic "0" VIL -0.1 0.8 V Input Leakage all III -10 10 IlA VIN= 0 to Vee Output Voltages all Logic "1" VOH 2.4 V IoH=-4mA Logic "0" VOL 0.45 V IOL= 16mA Leakage all ILO -10 10 I!A VOUT= OV to Vee Input Capacitance all CIN 6 pF VIN = OV; Tamb = 2S' C; 1= lMHz Output Capacitance all GoUT 12 pF VOUT= OV;Tamb= 2S' C; 1-1MHz Power Suppy Current, S,L TTL input leel 80 rnA Vee = S.SV; Vpp = Vee Active SX,LX TTL input lee2 90 rnA 1=2MHz; OE = CE = VIL; lout = OmA; VIL= -0.1 to 0.8 V; VIH= 2,0 to Vee; Note 1 Power Supply Current, S lee(S)l 40 rnA Standby SX SO rnA Power Supply Current, L TTL input lee(S)2 2 rnA Standby LX TTL input 3 rnA - L,LX CMOS input 100 I!A CE = Vee ±0.2V Ipp Read Current all Read Mode Ipp 100 I!A Vpp = S.SV Vpp Read Voltage all Read Mode Vpp Vee- Vee V Note 2 0.7 • Parts: S = Standard Power; L = Low Power; X = Industrial Temp Range; Notes: (1) AC Power component above 2 MHz: 3rnAlMHz lor standard part; S mAIM Hz lor industrial temperature range part. (2) Vee must be applied belore (or simultaneously with Vpp), and be removed after (or simultaneously with) VPP. DSll105E-2 © 1990 Microchip Technology Inc. 3-34 27HC64 READ OPERATION AC Testing Waveform: VIH= 3.0V and Vll= O.OV; VOH = VOL = 1.5V AC Characteristics Output Load: 1 TTL Load + 30 pF Input Rise and Fall Times: 5 nsec Ambient Temperature: Commercial: Tamb = 0' Cto 70' C Industrial: Tamb = -40' C to 85' C Parameter Part- Sym 27HC64·40 27HC64·45 27HC64-55 27HC64-70 Units Conditions Min Max Min Max Min Max Min Max - - Address to Output Delay all tACC 40 45 55 70 ns CE =OE = Vil CE to Output Delay L tCE1 40 45 55 70 ns OE = Vil S tcE2 30 30 35 45 OE to Output Delay all toE ns CE = Vil 25 25 25 25 CE or OE to OIP High all toFF 0 20 0 20 0 20 0 25 ns Impedance Output Hold from all toH 0 0 0 0 ns Address CE or OE, which- ever goes first • Parts: S = Standard Power; L = Low Power •• 27HC64-40 is only available in commercial temperature range READ WAVEFORMS VIH X ~ Address Vil X i<:= Address valid VIH ~ f- CE Vil """"" ....,.. k? -tCE(2)- VIH kZ"f- OE Outputs Vil VOH HighZ - ~ ..,... toE(2) IIII I-- - Valid Output -- toFF(1,3) tOH -- I-- \\\1\ High Z 00-07 VOL \\\\ IIJV tAcc Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to tCE - toE after the falling edge of CE without impact on tCE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DS11105E-3 3-35 27HC64 PROGRAMMING Ambient Temperature: Tamb = 25' C ±5' C DC Characteristics For vPp and Vee Voltages refer to Programming Algorithms Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vee+1 V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 IlA VIN = OV to Vee Output Voltages Logic "1" VOH 2.4 V IOH=-4mA Logic "0" VOL 0.45 V IOL= 16mA Vec Current, program & verify Icc 80 mA Note 1 Vpp Current,program Ipp 40 mA Note 1 A9 Product Identification VH 11.5 12.5 V Note: (1) Vee must be applied simultaneously or before VPP and removed simultaneously or after Vpp PROGRAMMING AC Testing Waveform: VIH= 2.4 V and VIL= 0.45 V; VOH = 2.0 V; VOL = 0.8 V AC Characteristics Output Load: 1 TIL Load + 100 pF for Program, Program Verify Ambient Temperature: Tamb = 25' C ±5' C and Program Inhibit Modes For VPP and Vee Voltages, refer to Programming Algorithms Parameter Symbol Min Max Units Remarks Address Set-Up Time lAs 2 Ils Data Set-Up Time tDS 2 Ils Data Hold Time tDH 2 Ils Address Hold Time IAH 0 Ils Float Delay (3) tDF 0 130 ns Vee Set-Up Time tves 2 IlS Program Pulse Width (1) tpw 0.95 1.05 ms 1 ms typical Program Pulse Width (1) IPw 95 105 Ils 100 Ils typical CE Set-Up Time teES 2 IlS OE Set-Up Time toES 2 Ils Vpp Set-Up Time tvps 2 Ils Overprogram Pulse Width (2) topw 2.85 78.75 ms - Data Valid from OE toE 100 ns Notes: (1) For Express algorithm, initial programming width tolerance is 100 Ilsec ±5%. For fast programming algorithm, initial program pulse width tolerance is 1 msec ± 5%. (2) For fast programming algorithm, the length of the overprogram pulse may vary from 2.85 to 78.75 msec as a function of the iteration counter value. (3) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). DS11105E·4 © 1990 Microchip Technology Inc. 3-36 27HC64 PROGRAMMING Waveforms 1 4 - - - - - Program ----_*"o-----Verify-------l~ VIH Address Address Stable VIL VIH HighZ Data VIL VPp 5.0V VCC 5.0V VIH CE VIL VIH PGM VIL tOE VIH (1) OE VIL Notes: (1 ) tDF and toE are characteristics of the device but must be accommodated by the programmer (2) Vcc = 6.0 V ±0.25 V, \pp = VI-i = 12.5 V ±O.25 V for fast programming algorithm Vcc = 6.5 V ±0.25 V, \oPp = VI-i = 13.0V ±0.25 V for Express algorithm MODES Read Mode VPp (See Timing Diagrams and AC Characteristics) Operation Mode CE OE PGM A9 00-07 Read VIL VIL VIH Vee X DoUT Read Mode is accessed when Program VIL VIH VIL VH X DIN Program Verify VIL VIL VIH VH X DoUT a) the CE pin is low to power up (enable) the chip Program Inhibit VIH X X VH X HighZ Standby VIH X X Vee X HighZ Output Disable VIL VIH VIH Vee X HighZ b) the OE pin is low to gate the data to the output Identity VIL VIL VIH Vee VH Identity Code pins. x = Don't Care For Read operations on the low powered version, if the addresses are stable, the address access time (tACC) is equal to the delay from CE to output (tCE). A faster CE access time (tCE) is available on the standard part to provide the additional time for decoding olthe CE signal. Data is transferred to the output after a delay from the falling edge of OE (tOE). © 1990 Microchip Technology Inc. DS11105E-5 3-37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ____ • ~ ~'_.~'_M~_'_'~_ 27HC64 Standby Mode Since the erased state is "1" in the array, programming of "0" is required. The address to be programmed is set The standby mode is defined when the CE pin is high via pins AO-A 12 and the data to be programmed is (VIH). presented to pins 00-07. When data and address are stable, OE is high, CE is low and a low-going pulse on the When this condition is met, the supply current will drop PGM line programs that location. from BOmA to 1OOIlA on the low power part and to 40mA on the standard part. Output Enable After the array has been programmed it must be verified This feature eliminates bus contention in multiple bus to ensure all the bits have been correctly programmed. microprocessor systems and the outputs go to a high This mode is entered when all the following conditions impedance when are met: The OE pin is high and a program is not defined. a) Vcc is at the proper level, b) Vpp is at the proper VH level, Erase Mode c) the CE line is low, d) the PGM line is high, and Windowed products offer the ability to erase the memory e) the OE line is low. array. The memory matrix is erased to the aliI's state as a result of being exposed to ultraviolet light. To ensure complete erasure, adose of 15 watt-second/cm 2 is required. This means that the device window must be placed within one inch and directly underneath an ultra- When programming multiple devices in paralit:i with violet lamp with a wavelength of 2537 Angstroms, inten- different data, only CE need be under separate control sity of 12,000f.!W/cm2 for 20 minutes. to each device. By pulsing the CE line low on a particular device in conjunction with the PGM line low, that device Programming Mode will be programmed; all other devices with CE held high will not be programmed with the data, although address Two programming algorithms are available. The fast and data will be available on their input pins (i.e., when programming algorithm is the industry-standard pro- a high level is present on CE or PGM); and the device is gramming mode that requires both initial programming inhibited from programming. pulses and overprogramming pulses. A flowchart of the fast programming algorithm is shown in Figure 1. Identity Mode The Express algorithm has been developed to improve on the programming throughput times in a production In this mode specific data is outputted which identifies environment. Up to 10 100-microsecond pulses are the manufacturer as Microchip Technology Inc., and applied until the byte is verified. No overprogramming is device type. This mode is entered when Pin A9 is taken required. A flowchart of the Express algorithm is shown to VH (11.5V to 12.5V). The CE and OE lines must be in Figure 2. at VIL. AO is used to access any of the two non-erasable bytes whose data appears on 00 through 07. Programming takes place when: Pin- Input Output a) Vcc is brought to proper voltage, b) Vpp is brought to proper VH level, 0 00 0 0 0 0 0 H Identity AO c) the CE pin is low, ~ 7 6 5 4 3 2 1 0 e d) the OE pin is high, and x e) the PGM pin is low. Manufacturer Vil 0 0 1 0 1 0 0 1 29 Device Type" VIH 1 0 0 1 0 0 0 1 91 • Code subject to change. DSll105E-6 © 1990 Microchip Technology Inc. 3-38 27HC64 PROGRAMMING· FIGURE 1 EXPRESS ALGORITHM Conditions: Tamb = 25' C ±5" C Vee = 6.5 ±O.25 V Vpp = 13.0 ±0.25 V ADDR = First Location Vee = 6.5 V Vpp = 13.0 V Yes All © 1990 Microchip Technology Inc. DS11105E-7 3-39 SALES AND SUPPORT To orderior to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS 27HC64 ·45 11K Package: J Cerdip DIP K Ceramic Leadless Chip Carrier L Plastic Leaded Chip Carrier (OTP Available) P Plastic DIP (OTP Available) I Temperature Blank 0' C to 70' C Range: I -40' C to 85' C Access Time: 40 40 nsec 45 45 nsec 55 55 nsec 70 70 nsec I Device: 27HC64 27HC64L 64K (8K x 8) High Speed CMOS EPROM 64K (8K x 8) High Speed Low Power CMOS EPROM DS11105E-8 © 1990 Microchip Technology Inc. 3·40 Microchip 27HC256 256K (32K X 8) High Speed CMOS EPROM FEATURES DESCRIPTION High speed performance The Microchip Technology Inc 27HC256 is a CMOS -55ns access time available 256K bit (electrically) Programmable Read Only Memory. CMOS technology for low power consumption The device is organized into 32K words of 8 bit each. -55mA active current Advanced CMOS technology allows bipolar speed with -100IlA standby current (low power option) a significant reduction in power. A low power option (L) OTP (one time programming) available allows further reduction in the standby power requirement Auto-insertion-compatible plastic packages to 100IlA. The 27HC256 is configured in a standard Auto IDTM aids automated programming 256K EPROM pinout which allows an easy upgrade for Organized in 32K x 8 - JEDEC Standard Pinouts present 27C256 users. A complete family of packages -28-pin Dual-in-line and SOIC package are offered to provide the utmost flexibility. The 27HC256 -32-pin Chip carrier (lead less or plastic) allows high performance microprocessors to run at full Extended temperature ranges available: speed without the need of wait states. CMOS design -Commercial: 0" C to +70" C and processing makes this part suitable for applications -Industrial: -40" C to +85" C where reliability and reduced power consumption are -Automotive: -40" C to +125" C essential. -Military": -55" C to +125" C PIN CONFIGURATIONS TOP VIEW Vpp Vee Vpp Vee A12 A14 A12 A14 A13 <~!~~~~ A7 A13 A6 AS l~Jl~Jl:'Ji ~il~Jl~Jl~J A6 AS A5 A9 A11 A6 ~~j A5 j~j '.' L2~ A9 :28 AS A5 A4 A9 A11 A3 OE A4 EJ ry} A11 A3 OE A3 ~J L2_6 NC A2 A2 A10 A10 CE A2 jJ :;_5 OE A1 CE A1 ]§J L2_4 A10 AD 07 AD 07 AD JiJ fjj CE 06 00 06 NC 3iJ fJJ 07 01 05 00 3iJ f]3 06 01 05 02 04 :~l :01 :~: :~l :~lf~: :~l 02 04 Vss 03 Vss oS~~8oC3 03 DIP PLCC/LCC SOIC "See 27HC256 Military Data Sheet DS60009A © 1990 Microchip Technology Inc. 3-41 DS11124C-1 27HC256 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings* Name Function Vcc and input voltages w.r.t. Vss .......... -0.6V to +7.25V AO -A14 Address Inputs Vpp voltage w.r.t. Vss during CE Chip Enable programming .......................................... -0.6V to + 14V OE Output Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to + 13.5V Vpp Programming Voltage Output voltage w.r.t. Vss .................... -0.6V to Vcc + 1.0V 00-07 Data Output Temperature under bias ..................... -65· C to 125· C Vcc +5V Storage temperature .......................... -65· C to 150· C Vss Ground Maximum exposure to UV .................... 7258Wsec/cm' NC No Connection; No Internal Connection ESO protection on all pins .................................. 2.0kV NU Not Used; No External Connection Is Allowed "Notice: Stresses above those listed under "Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device allhose or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Vcc = +5V ±10% Commercial: Tamb= O· C to 70· C READ OPERATION Industrial: Tamb= -40· C to 85· C DC Characteristics Automotive: Tamb= -40· C to 125· C Parameter Part' Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vcc+1 V Logic "0" VIL -0.1 0.8 V Input Leakage all III -10 10 IlA VIN= -0.1Vto Vcc+1.0V Output Voltages all Logic "1" VOH 2.4 V IOH= -4mA Logic "0" VOL 0.45 V IOL= 16mA Output Leakage all ILO -10 10 J.lA VouT=-0.1Vto Vcc+0.1V Input Capacitance all CIN 6 pF VIN= OV; Tamb = 25· C; f = 1MHz Output Capacitance all GoUT 12 pF VOUT= OV;Tamb = 25·C; If = 1MH7 Power Suppy Current, S,L TTL input IcC1 55 rnA Vcc = 5.5V; Vpp = Vcc Active X TTL input Icc2 65 rnA f =2MHz; OE =CE = VIL; lout = OmA; VIL= -0.1 to 0.8 V; VIH= 2.0 to Vcc; Note 1 Power Supply Current, S IcC(S)1 35 rnA Standby SX 40 rnA Power Supply Current, L TTL input ICC(S)2 2 rnA Standby LX TTL input 3 rnA - L,LX CMOS input 100 IlA CE = Vee ±O.2V Ipp Read Current all Read Mode Ipp 100 IlA Vpp= 5.5V VPp Read Voltage all Read Mode Vpp Vee Vee V Note 2 -0.7 • Parts: S = Standard Power; L = Low Power; X = Industrial and Automotive Temp. Ranges; Notes: (1) AC Power component above 2 MHz: 3mAlMHz for standard part; 5 mAIM Hz for extended temperature range part. (2) Vce must be applied simultaneously or before VPP, and removed simultaneously or atler VPP. DS11124C-2 © 1990 Microchip Technology Inc. 3-42 27HC256 AC Testing Waveform: VIH= 3.0V and VIL= O.OV; VOH = VOL = 1.5V READ OPERATION Output Load: 1 TTL Load + 30 pF AC Characteristics Input Rise and Fall Times: 5 nsec Ambient Temperature: Commercial: Tamb= 0' Cto 70' C Industrial: Tamb= -40' C to 85' C Automotive: Tamb= -40' C to 125' C Parameter Part* Sym 27HC256·SS** 27HC2S6-70 27HC2S6·90 Units Conditions Min Max Min Max Min Max Address to Output Delay all IACC 55 70 90 ns -CE = -OE = VIL CE to Output Delay L teE1 55 70 90 ns OE=VIL S teE2 45 45 50 OE to Output Delay all toE 30 35 40 ns CE=ViL - OE to OIP High all toFF 0 25 0 30 0 35 ns Impedance Output Hold from all toH 0 0 0 ns Address CE or OE, which- ever goes first • Parts: S = Standard Power; L = Low Power •• 27HC256-55 is only available in commercial temperature range READ WAVEFORMS VIH Address Address valid VIL VIH CE VIL VIH OE VIL VOH Outputs HighZ 00- 07 Valid Output VOL IACC Notes: (1) toFF is specified for OE or CE, whichever occurs first (2) OE may be delayed up to teE - toE after the falling edge of CE without impact on tCE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DSll124C-3 3-43 27HC256 PROGRAMMING Ambient Temperature: Tamb = 25° C ±5° C DC Characteristics Vee = 6.5V ± 0.25V, Vpp = 13.0V ± 0.25V Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vee+1 V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 /lA VIN = OV to Vee Output Voltages Logic "1" VOH 2.4 V IOH= -4mA Logic "0" VOL 0.45 V IOl= 16mA Vee Current, Icc 55 mA program & verify Vpp Current, program Ipp 30 mA Note 1 A9 Product Identification VH 11.5 12.5 V Note: (1) Vee must be applied simultaneously or before Vpp and removed simultaneously or after VPP. PROGRAMMING AC Testing Waveform: VIH= 2.4V and VIL= 0.45V; VOH = 2.0V; VOL = 0.8V AC Characteristics Output Load: 1 TIL Load + 100 pF for Program, Program Verify Ambient Temperature: Tamb = 25° C ±5° C and Program Inhibit Modes Vee = 6.5V ± 0.25V, VPP = 13.0V ± 0.25V Parameter Symbol Min Max Units Remarks Address Set-Up Time lAs 2 /ls Data Set-Up Time tDS 2 /ls Data Hold Time lDH 2 /lS Address Hold Time IAH 0 /ls Float Delay (2) tDF 0 130 ns Vee Set-Up Time tves 2 /ls Program Pulse Width (1) tpw 95 105 /ls 100 /ls typical OE Set-Up Time toES 2 /ls VPP Set-Up Time tvps 2 /ls Data Valid from OE tOE 100 ns Notes: (1) For express algorithm, initial programming width tolerance is 100 /lsec ±5%. (2) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). DS11124C-4 © 1990 Microchip Technology Inc. 3-44 27HC256 PROGRAMMING Waveforms 1 - - - - - - Program -----.,...>----- Verify - - - - . . , VIH Address VIL VIH Data VIL Vpp 5.0V Vee 5.0V VIH CE VIL VIH toE OE (1 ) VIL Notes: (1 ) tDF and tOE are characteristics of the device but must be accommodated by the programmer (2) Vee = 6.5V ±0.25V, Vpp = VH = 13.0V ±0.25V for express algorithm FUNCTIONAL DESCRIPTION Operation Mode CE - - OE Vpp A9 00-07 The 27HC256 has the following functional modes: Read VIL VIL Vee X DoUT -Operation: The 27HC256 can be activated for data Program VIL VIH VH X DIN read, be put in standby mode to lower its power Program Verify VIH VIL VH X DoUT consumption, or have the outputs disabled. Program Inhibit VIH VH X High Z VIH Standby VIH X Vee X High Z -Programming: To receive its permanent data, the Output Disable VIL VIH Vee X High Z 27HC256 must be programmed. Both a program and Identity VIL VIL Vee VH Identity Code program/verify procedure is available. It can be programmed with Fast or Rapid Pulse algorithm. X = Don't Care Theprogrammingequipmentcanautomaticallyrecognize Operation thedevicetype and manufacturer using the identity mode. • Read • Standby • Output Disable Forthe general characteristics in these operation modes, refer to the table above. © 1990 Microchip Technology Inc. DS11124C-5 3-45 27HC256 Read Mode Inhibit Mode For timing and AC characteristics refer to the tables When Programmin!L!!!ultiple devices in parallel with Read Waveforms and Read Operation AC Characteris- different data only CE needs to be under seperate tics. control to each device. By pulsing the CE line low on a particular device, that device will be programmed, and The 27HC256's memory data is accessed when all other devices with CE held high will not be pro- - the chip is enabled by setting the CE pin low. grammed with the data although address and data are - the data is gated to the output pins by setting the available on their input pins. OEpin low. For Read operations on the Low Power version, once the addresses are stable, the address access time Identity Mode (tAcc) is equal to the delay from CE to output (teE). A faster CE access time (tCE) is available on the standard In this mode specific data is read from the device that part to provide the additional time for decoding the CE identifies ths manufacturer as Microchip Technology, signal. Data is transferred to the output after a delay and the device type. This mode is entered whlill.Pin A9 (tOE) from the falling edge of OE. is taken to VH (11.5V to 12.5V). The CE and OE pins must be at VIL. AO is used to access any of the two non- Standby Mode erasable bytes whose data appears on 00 - 07. The standby mode is entered when the CE pin is high, and a program mode is not defined. When these conditions are met, the supply current will drop from Pin- Input Output 55mA to 1001lA on the low power part, and to 35mA on the standard part. Identity AO 00 0 o 0 0 0 0 H ~ Oytput plsable 765 4 3 2 1 0 e x This feature eliminates bus contention in multiple bus microprocessor systems. The outputs go to a high Manufacturer VIL 0 0 1 0 1 0 0 1 29 impedance when the OE pin is high, and the program Device Type VIH 1 0 0 1 0 1 0 0 94 mode is not defined. Programming Algorithms The express algorithm has been developed to improve programming through-put times in a production envi- ronment. Up to 10 pulses of 1OOj.1Sec each are applied until the byte is verified. No overprogramming is re- Windowed products offer the ability to erase the memory quired. A flowchart of this algorithm is shown in Figure1. array. The memory matrix is erased to the all "1"s state as a result of being exposed to ultra-violet light at The programming mode is entered when: wavelenghts s 4000 Angstroms (A). The recommended procedure is to expose the erasure window of device to a) Vec is brought to the proper level a commercial UV source emitting at 2537 A with an b) VPP.l!.brought to the proper VH level intensity of 12,00011W/cm2at 1". Theerasuretimeatthat c) the OE pin is high distance is about 15 to 20 min. d) the CE pin is low Note: Fluorescent lights and sunlight emit rays at the Since the erase state is "1" in the array, programming of specified wavelengths. The erasure time is about 3 ·0" is required. The address of the memory location to years or 1 week resp. in these cases. To prevent loss of be programmed is set via pins AO - A14, and the data is data, an opaque label should be placed over the erasure presented to pins 00 - 07. When data and address are window. stable, a low going pulse on the CE line programs that memory location. After the array has been programmed, it must be verified to make sure that all the bits have been correctly programmed. This mode is entered when all of the following conditions are met: a) Vec is at the proper level b) VPP is at the proper VH level c) the CE pin is high d) the DE line is low DS11124C-6 © 1990 MicroChip TechnOlogy Inc. 3-46 27HC256 PROGRAMMING - Figure 1 Express Algorithm Conditions: Tamb = 25+/-5C Vee = 6.5+/-0.25V VPp = 13.0+/-0.25V ADDR = First Location Vee = 6.5V VPp= 13.0V © 1990 Microchip Technology Inc. DSll124C-7 3-47 27HC256 SALES AND SUPPORT To order or to obtain information, e.g., on pricing, or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS 27HC256 L - 55 II SO l Package: Temperature Range: SO Blank I J K L P Cerdip DIP Ceramic Leadless Chip Carrier PLCC Plastic DIP Plastic SOIC O' Cto +70' C -40' C to +85' C E ·40' C to + 125' C I Access Time: 55 70 90 55 nsec 70 nsec 90 nsec Power Type: Standard Power L Low Power '----------11 Device: 27HC256 256K (32K x 8) High Speed EPROM DS11124C-8 © 1990 Microchip Technology Inc. 3-48 ~. Microchip 27HC1616 256K (16K X 16) High Speed CMOS UV Erasable PROM FEATURES DESCRIPTION High speed performance The Microchip Technology Inc. 27HC1616 is a CMOS --45ns Maximum access time 256K bit (ultraviolet light) Erasable (electrically) Pro- CMOS Technology for low power consumption grammable Read Only Memory. The device is organ- -90mA Active current ized as 16K words of 16 bits each. Advanced CMOS -100IlA Standby current (low power option) technology allows bipolar speed with a significant reduc- OTP (one time programming) available tion in power. A low power option (L) allows further WordWide architecture offers space saving over standby power reduction to 1DOIlA. The 27HC 1616 is By1ewide memories configured in the JEDEC WordWide pinout which allows Two programming algorithms allow improved a two for one package savings over Bytewide memories programming times along with a significant PC board savings. This very high -Fast programming speed single chip solution is ideal for 16/32 bit digital -Express signal processors (DSP) or other sophisticated micro- Organized 16K x 16: JEDEC standard pinouts processors. A complete family of packages is offered to --40-Pin dual in line package provide the utmost flexibility. One Time Programming --44-Pin chip carrier (lead less or plastic) (OTP) is available for low cost (plastic) applications. Extended temperature ranges available: -Commercial: O' C to 70' C -Industrial: _40' C to 85' C -Military··: _55' C to 125' C PIN CONFIGURATION BLOCK DIAGRAM 00···············015 Top View ., '-' 40~~CC CE Chip Enable! Vpp BE , 39 PG"M OE Output Enable 015 3 38~NC Control Logic 0" 4 37~NC PGM 0" 0" 5 6 36 35 NO "3 g6Bits g:g ~I~ g g g vpp Programming 6 5 4 3 2 14443424140 Logic vss OU 7 34 '" 0127 3. A13 '032 m 0" B 33 AU 011 8 3B 09 "0 0109 37 An Vee os 10 31 AS 0910 36 A" V~ 07 11 " 30 29 v" " 0811 Vss 12 NC 13 0 35 34 33 A, V" NC AO I I T 07 14 32 A8 27 M 0615 31 A7 I 26 AS 0516 30 A' I 03 0417 29 A5 I 02 " 17 25 24 AA A3 1819202122232425262728 I X 256K bit 00 " 0' 23~~2 8So81~!i~< ~:2:= I Decoder Cell Matrix . 22 Al DEC " I 20 21 ]AO A13 •• See 27HC 1616 Military Data sheet DS60038 © 1990 Microchip Technology Inc. 3-49 08110108-1 27HC1616 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function Vec and input voltages W.r.t. Vss ........ -0.6V to +7.2SV AO -A13 Address Inputs Vpp voltage w.r.t. vss during CE Chip Enable programming ..................................... -0.6V to +14.0V OE Output Enable Voltage on A9 w.r.t. Vss ............................ -0.6V to +13.SV PGM Program Enable Vpp Programming Voltage Output voltage w.r.t. Vss .................... -0.6V to Vcc + 1.0V 00-01S Data Output Temperature under bias ...................... -6S·C to 12S' C Vec +SV Power Supply Storage temperature ........................... -6S'C to 150' C vss Ground ESD protection on il.II pins ..................................... 2KV NC No Connection; No Internal Connection "Notice: Stresses above those listed under "Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device atthose or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. READ OPERATION Vee = +SV ±10% DC Characteristics Commercial: Tamb= O' C to 70' C Industrial: Tamb= -40' C to 85' C Parameter Part" . Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vcc+l V Logic "0" VIL -0.1 0.8 V Input Leakage all III -10 10 IlA VIN= -0.1 to Vcc + 1.0V Output Voltages all Logic "1" VOH 2.4 V IOH= - 2mA Logic "0" VOL 0.45 V IOL=8mA Output Leakage all ILO -10 10 IlA VOUT= -0.1 to Vcc+ 1.0V Input Capacitance all CIN 6 pF VIN= OV; Tamb = 2S' C; 1= lMHz Output Capacitance all GoUT 12 pF VOUT= OV;Tamb= 25' C; 1= lMHz Power Suppy Current, all TTL input lee1 90 mA Vee = S.SV; Vpp = Vee Active 1= 2MHz; OE = CE =VIL; lout = OmA; VIL= -0.1 to 0.8 V; VIH= 2.0 to Vee; Note 1 Power Supply Current, S,SX lee(s)1 SO mA Standby Power Supply Current, L,LX TTL input lee(S)2 3 mA Standby L,LX CMOS input 100 IlA CE = Vee ±0.2V Ipp Read Current all Read Moc!e Ipp 100 IlA Vpp = S.SV Vpp Read Voltage all Read Mode Vpp Vee-0.7 Vee V Note 2 " Parts: S = Standard Power; L = Low Power; X = Industrial Temp Range; Notes: (1) AC Power component above 2MHz: 2mAlMHz. (2) Vee must be applied simultaneously or belore Vpp and be removed simultaneously or after VPP. DSll0l08-2 © 1990 Microchip Technology Inc. 3-50 27HC1616 READ OPERATION AC Testing Waveform: VIH= 3.0 V and VIL= 0.0 V; VOH = VOL = 1.5 V AC Characteristics Output Load: 1 TTL Load + 30 pF Input Rise and Fall Times: 5 nsec Ambient Temperature: Commercial: Tamb= O· C to 70· C Industrial: Tamb= -40· C to 85· C Parameter Part' Sym 27HC1616-45 27HC1616-55 27HC1616-70 Units Conditions Min Max Min Max Min Max Address to Output Delay all IACC 45 55 70 ns CE =OE = VIL - CE to Output Delay L tcE1 45 55 70 ns OE = VIL S tcE2 30 35 45 OE to Output Delay all tOE ns CE = VIL 25 30 35 CE or OE to OIP High all tOFF 0 20 a 20 a 25 ns Impedance Output Hold from all toH a a a ns Address CE or OE. which- ever occurs first * Parts: S = Standard Power; L = Low Power READ WAVEFORMS VIH Address Address valid VIL VIH CE VIL VIH OE VIL VOH Outputs High Z Valid Output 00 - 015 VOL IAcc Notes: (1) tOFF is specified for OE or CEo whichever occurs first (2) OE may be delayed up to tCE - toE after the falling edge of CE without impact on tCE (3) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. DS11010B-3 3-51 27HCt616 PROGRAMMING Ambient Temperature: 25° C ±5° C DC Characteristics For vpp and Vee Voltages refer to Programming Algorithms Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vee+l V Logic "0" VIL -0.1 0.8 V Input Leakage III -10 10 IlA VIN= -.IV to Vee + 1.0V Output Voltages Logic "1" VOH 2.4 V IOH= - 2mA Logic "0" VOL 0.45 V IOL= 8mA Vee Current, program & verify lee 90 mA Note 1 Vpp Current,program Ipp 50 mA Note 1 A9 Product Identification VH 11.5 12.5 V Note: (1) Vee must be applied simultaneously or before Vpp and removed simultaneously or after VPP PROGRAMMING AC Testing Waveform: VIH= 2.4V; VIL= 0.45V; VOH= 2.0V and VOL = 0.8V AC Characteristics Output Load: 1 TTL Load + 100 pF for Program, Program Verify Ambient Temperature: 25° C ±5° C and Program Inhibit Modes For Vpp and Vee Voltages, refer to Programming Algorithms Parameter Symbol Min Max Units Remarks Address Set-Up Time lAs 2 Ils Data Set-Up Time tDS 2 Ils Data Hold Time tDH 2 IlS Address Hold Time lAH 0 Ils Float Delay (3) tDF 0 130 ns Vee Set-Up Time tves 2 Ils Program Pulse Width (1) tpw 0.95 1.05 ms 1 ms typical Program Pulse Width (1) IPw 95 105 Ils 100 Ils typical CE Set-Up Time teEs 2 Ils OE Set-Up Time toES 2 Ils Vpp Set-Up Time tvps 2 Ils Overprogram Pulse Width (2) topw 2.85 78.75 ms - Data Valid from OE toE 100 ns Notes: (1) For express algorithm, initial programming width tolerance is 100 Ilsec ±5%. For fast programming algorithm, initial program pulse width tolerance is 1 msec ± 5%. (2) For fast programming algorithm, the length of the overprogram pulse may vary from 2.85 to 78.75 msec as a function of the iteration counter value. (3) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). 08110108-4 © 1990 Microchip Technology Inc. 3-52 27HC1616 PROGRAMMING Waveforms ~----- Program - - - - - - ' * - - - - - Verify ------l~ Address Data Vpp 5.0V 6.0V/6.5V(2) Vee 5.0V VIH CE VIL VIH PGM VIL VIH tOE (1 ) OE VIL Notes: (1) tDF and tOE are characteristics of the device but must be accomodated by the programmer (2) Vee = 6.0V ±O.25V, Vpp = VH = 12.5V ±O.5V for fast programming algorithm Vee = 6.5V ±O.25V, Vpp = VH = 13.0V ±O.25V for express algorithm FUNCTIONAL DESCRIPTION The 27HC1616 has the following functional modes: - -- Operation Mode eE OE PGM VPp A9 00-015 -Operation: The 27HC 1616 can be activated for data read, be put in standby mode to lower its power Read VIL VIL VIH Vce X Dout consumption, or have the outputs disabled. Program VIL VIH VIL VH X Din Program Verify VIH VIL VIH VH X Dout -Programming: To receive its permanent data, the Program Inhibit VIH X X VH X High Z 27HC1616 must be programmed. Both a program Standby VIH X X Vce X High Z and program/verify procedure is available. It can be Output Disable X VIH VIH Vce X High Z Identity VIL VIL VIH Vee VH Identity Code programmed with Fast or Express algorithm. X ~ Don't eare The programming equipment can automatically recog- VH ~ 12.0 ±O.5V nize the device type and manufacturer using the identity mode. For the general characteristics in these operation and programming modes, refer to the table. © 1990 Microchip Technology Inc. 08110108-5 3-53 27HC1616 OPERATION Since the erase state is "1" in the array, programming of "0" is required. The address of the memory location to Read Mode be programmed is set via pins AO - A 13, and the data is presented to pins 00 - 015. When data and address are For timing and AC characteristics refer to the tables stable, a low going pulse on the CE line programs that Read Waveforms and Read Operation AC Characteris- memory location. tics. Verify The 27HC1616's memory data is accessed when After the array has been programmed, it must be verified -the chip is enabled by setting the CE pin low. _ to make sure that all the bits have been correctly -the data is gated to the output pins by setting the OE programmed. This mode is entered when all of the pin low. following conditions are met: For Read operations on the Low Power version, once a) Vcc is at the proper level the addresses are stable, the address access time b) Vpp ~at the proper VH level (tACC) is equal to the delay from cr to output (tCE). A c) the OE line is low faster CE access time (tCE) is available on the standard d) the CE pin is low, and part to provide the additional time for decoding the CE e) the PGM line is high. signal. Data is transferred to the output after a delay (tOE) from the falling edge of CE. Inhibit Mode Standby Mode When ProgramminlLfl'llJltiple devices in parallel with The standby mode is entered when the GE pin is high, different data only PGM needs to be under separate and the program mode is not defined. When these control to each device. By pulsing the PGM line low on conditions are met, the supply current will drop from a particular device, that device will be Rrogrammed, and 90mA to 100llA on the low power part, and to 50mA on all other devices with corresponding PGM or CE held the standard part. high will not be programmed with the data although address and data are available on their input pins. Output Disable Identity Mode This feature eliminates bus contention in multiple bus microprocessor systems. The outputs go to a high In this mode specific data is read from the device that impedance when the OE pin is high, and the program identifies the manufacturer as Microchip Technology, mode is not defined. and the device type. This mode is entered whellPin A9 is taken to VH (11.5V to 12.5V). The CE and OE pins ProgramminglVerification must be at VIL. AO is used to access any of the two non- The 27HC1616 has to be programmed, and afterward erasable bytes whose data appears on 00 - 07. the programmed information verified. Before these operations, the Identity Code can be read to properly set Pin- Input Output' up automated equipment. Multiple devices in parallel can be programmed using the programming and inhibit Identity AO 00 0 00 0 0 0 H modes. Programming Algorithms Two programming algorithms are available: fast pro- i 7 6 5 4 3 2 1 0 e x Manufacturer VIL 0 0 1 0 1 0 0 1 29 gramming and express. Device Type' VIH 1 0 0 1 0 1 1 1 97 The fast programming algorithm is the industry standard 'Code subject to change. programming mode that requires both initial programming Note: 015 - 08 are 00 for the manufacturer and pulses and overprogramming pulses. A flowchart of the algorithm is shown in Figure 1. device type code. The express algorithm has been developed to improve ~ programming through-put times in a production environ- ment. Up to 10 pulses of 1OOllsec each are applied until Windowed products offer the ability to erase the memory the by1e is verified. No overprogramming is required. A array. The memory matrix is erased to the all "1 "s state flowchart of this algorithm is shown in Figure 2. as a result of being exposed to ultra-violet light at wavelengths ~ 4000 Angstroms (A). The recommended The programming mode is entered when: procedure is to expose the erasure window of device to a commercial UV source emitting at 2537A with an a) Vcc is brought to the proper level intensity of 12,0001lW/cm 2 at 1". The erasure time althat b) Vpp is brought to the proper VH level distance is about 15 to 20 min. c) the OE pin is high d) the CE pin is low, and Note: Fluorescent lights and sunlight emit rays at the e) the PGM pin is pulsed low. specified wavelengths. The erasure time is about 3 years or 1 week resp. in these cases. To prevent loss of data, an opaque label should be placed overthe erasure window. D5110108-6 © 1990 Microchip Technology Inc. 3-54 27HC1616 PROGRAMMING - FIGURE 1 EXPRESS ALGORITHM Conditions: Tamb = 25" C t5" C Vee = 6.5 ±O.25 V Vpp = 13.0 to.25 V ADDR = First Location Vee = 6.5 V Vpp= 13.0 V © 1990 Microchip Technology Inc. D811010B-7 3-55 27HCt616 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS J Cerdip DIP K Ceramic Leadless Chip Carrier L Plastic Leaded Chip Carrier P Plastic DIP Temperature Blank O· C to 70· C I Range: I -40· C to 85· C I Access Time: 45 45 nsec I 55 70 55 nsec 70 nsec '--_ _ _ _ _ _-11 Device 27HC1616 256K (16K x 16) High Speed CMOS EPROM I 27HC1616L 256K (16K x 16) High Speed Low Power CMOS EPROM DS110108-8 © 1990 Microchip Technology Inc. 3-56 Microchip 27HC641 64K (8K X 8) High Speed CMOS UV Erasable PROM FEATURES DESCRIPTION Bipolar Performance The Microchip Technology Inc27HC641 isaCMOS 64K - 40ns Maximum Access Time bit ultraviolet light Erasable (electrically) Programmable CMOS Technology For Low Power Consumption Read Only Memory. The device is organized as 8K - 80mA Active Current words by 8 bits (8K bytes). An advanced CMOS design - 1OO~A Standby Current (Low Power Option) allows bipolar speed with a significant reduction in OTP (One Time Programming) Available power over bipolar PROMs. A low power option (L) Auto-Insertion-Compatible Plastic Packages allows further standby power reduction to 1OO~A. The Auto IDTM Aids Automated Programming 27HC641 is configured in a standard 64K bipolar PROM Two Programming Algorithms Allow Improved pinout, which allows an easy upgrade for PROM sock- Programming Times ets. This very high speed device allows digital signal - Fast Programming processors (DSP) or other sophisticated microproces- - Express sors to run atfull speed withoutthe need for WAIT states. Organized 8K x 8: Bipolar PROM Pinouts CMOS design and processing enables this part to be - 24 Pin Dual in Line Package used in systems where reduced power consumption and - 28 Pin Chip Carrier (Lead less or Plastic) reliability are requirements. Available for Extended Temperature Ranges: - Commercial: 0' C to 70' C A complete family of packages is offered to provide the - Industrial: -40' C to 85' C utmost flexibility in applications. Skinny Cerdip (300 mil) - Military": -55' C to 125' C and Skinny Plastic are available. One Time Program- ming (OTP) is available for low cost (plastic) applica- tions. PIN CONFIGURATION BLOCK DIAGRAM 00········07 Top View A7 Vee CENpp Chip Enable A6 AS Control Logic A9 A4 A10 Vss A3 CE/Vpp Vee A2 A11 A1 A12 AO 07 Ao __1-r-~-I------L-~----------~ 00 06 I 01 05 I 04 I Vss 03 X 64Kbit Decoder Cell Matrix • Pin 1 indicator on PLCC on top of package I A12 "See 27HC641 Military Data Sheet DS60007A © 1990 Microchip Technology Inc. 3-57 DS11115D-1 27HC641 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Maximum Ratings· Name Function Vcc and input voltages AO - A12 Address Inputs w.r.t. Vss ................................................-O.6V to + 7.25V CElVpp Chip EnablelVpp Pin CElVpp voltage w.r.t. Vss during 00-07 Data Output programming..... ...... -0.6V to + 14V Vee +5V Power Supply Vss Ground Voltage on A9 w.r.t. Vss ........................... -0.6V to +13.5V NC No Connection; No Output voltage w.r.t. Vss ....................... -0.6VtoVcc+1.0V Internal Connection Storage temperature ..................................... -65' C to 150' C NU Not Used; No External Ambient temperature with Connection Is Allowed power applied ................. -65· Cto 125' C ESD protection on all pins .... .... 2KV 'Notice: Stresses above those listed under"Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation olthe device at those or any other conditions above those indicated in the operation listings of this specification is notimplied. Exposure to maximum rating conditions for extended periods may affect device reliability. READ OPERATION Vcc = +5V ±1 0% DC Characteristics Commercial: Tamb= O· Cto 70' C Industrial: Tamb= -40' C to 85' C Parameter Part" Status Symbol Min Max Units Conditions Input Voltages all Logic "1" VIH 2.0 Vee+1 V LOQic "0" Vil -0.1 0.8 V Input Leakage all III -10 10 flA VIN= OV to Vec Output Voltages all Logic "1" VOH 2.4 V IOH= - 4mA Logic "0" VOL 0.45 V IOl= 16mA Output Leakage all IlO -10 10 flA VOUT= OV to Vcc Input Capacitance all CIN 6 pF VIN= OV; Tamb = 25°C; I -1MHz Output CapaCitance all CoUT 12 pF VOUT= OV;Tamb = 25°C; 1= 1MHz Power Suppy Current, S,L TIL input lecl 80 mA Vce = 5.5V; CE/Vpp = Vil Active SX,LX TIL input ICC2 90 mA f= 2MHz; lout = OmA; Vll= -0.1V to 0.8 V; VIH= 2.0V to Vcc; Note 1 Power Supply Current, S ICC(S)l 40 mA Standby SX 50 mA Power Supply Current, L TIL input Icc(s)2 2 mA Standby LX TIL input 3 rnA L, LX CMOS input 100 flA CElVpp = Vce ±O.2V • Parts: S = Standard Power; L = Low Power; X = Industrial Temp Range; Notes: (1) AC Power component above 2 MHz: 3mAlMHz for standard part; 5 mAlMHz lor industrial temperature range part. DSlll15D-2 © 1990 Microchip Technology Inc. 3-58 27HC641 READ OPERATION AC Testing Waveform: VIH~ 3.0V and VIL~ O.OV; VOH ~ VOL ~ 1.5V AC Characteristics Output Load: 1 TIL Load + 30 pF Input Rise and Fall Times: 5 nsec Ambient Temperature: Commercial: Tamb~ O· C to 70· C Industrial: Tamb ~ -40· C to 85· C Parameter Part' Sym 27HC641·40' 27HC641·45 27HC641·55 27HC641·70 Units Conditions Min Max Min Max Min Max Min Max Address to Output Delay ali IAcc 40 45 55 70 ns Ct/Vpp to Output Delay L tCEI 40 45 55 70 ns S tCE2 30 35 35 45 Ct/Vpp to OIP High ali tOFF 0 25 0 25 0 30 0 35 ns Impedance Output Hold from ali tOH 0 0 0 0 ns Address or CE/Vpp, which- ever goes first , Parts: S ~ Standard Power; L ~ Low Power " 27HC641-40 is only available in commercial temperature range READ WAVEFORMS VIH-------..... Address Address Valid VIL - - - - - - - " VIH - - - - - - - - t - - . , . CE/Vpp VIL Outputs VOH High Z 00 -07 Valid Output VOL ~--- lAce ------I~ Note: (1) This parameter is sampled and is not 100% tested. © 1990 Microchip Technology Inc. 08111150-3 3-59 27HC641 PROGRAMMING Ambient Temperature: Tamb ; 25' C ±5' C DC Characteristics For CE/Vpp and Vee Voltages refer to Programming Algorithms Parameter Status Symbol Min Max Units Conditions Input Voltages Logic "1" VIH 2.0 Vee+1 V Logic "0" Vil -0.1 0.8 V Input Leakage III -10 10 /lA VIN; OV to Vee Output Voltages Logic "1" VOH 2.4 V IOH; - 4mA du ring verification Logic "0" VOL 0.45 V IOl; 16mA Vee Current, lee 80 mA program & verify Vpp Current, Ipp 40 mA program A9 Product Identification VH 11.5 12.5 V PROGRAMMING AC Testing Waveform: VIH; 2.4 V and Vll; 0.45 V; VOH; 2.0 V; VOL; 0.8 V AC Characteristics Output Load: 1 TTL Load + 100 pF for Program, Program Verify Ambient Temperature: Tamb; 25' C ±5' C and Program Inhibit Modes For CE/Vpp and Vce Voltages, refer to Programming Algorithms Parameter Symbol Min Max Units Remarks Address Set-Up Time lAs 2 /ls Data Set-Up Time tos 2 /ls Data Hold Time tOH 2 /ls Address Hold Time IAH 0 /ls Float Delay (3) tOF 0 130 ns Vee Set-Up Time tves 2 /ls Program Pulse Width (1) tpw 0.95 1.05 ms 1 ms typical Program Pulse Width (1) tpw 95 105 /ls 100 /ls typical Overprogram Pulse Width (2) topw 2.85 78.75 ms CE to Output Delay teE 100 ns Notes: (1) For Express algorithm, initial programming width tolerance is 100 /lsec ±5%. For fast programming algorithm, initial program pulse width tolerance is 1 msec ± 5%. (2) For fast programming algorithm, the length of the overprogram pulse may vary from 2.85 to 78.75 msec as a function of the iteration counter value. (3) This parameter is only sampled and not 100% tested. Output float is defined as the point where data is no longer driven (see timing diagram). 08111150-4 © 1990 Microchip Technology Inc. 3-60 27HC641 PROGRAMMING Waveforms ~----- Program-----~---- Verify ---~ VIH Address VIL VIH High Z Data VIL 6.0V/6.5V(2) Vcc 5.0V VH 12.5V/13.0V(2) CE/Vpp VIH tCE tpw VIL topw Notes: (1) tDF is a characteristics of the device but must be accomodated by the programmer (2) Vcc = 6.0V ±O.25V, CE/vpp = VH=12.5V ±O.5V for fast programming algorithm Vcc = 6.5V ±O.25V, CE/vpp = VH=13.0V ±O.25V Express programming algorithm MODES Read Mode Operating Modes CE/Vpp A9 00-07 (See Timing Diagrams and AC Characteristics) Read/Program Verify IAl X DoUT Read Mode is accessed when Program \A-I X DIN Standby/Program Inhibit IAH X High Z the CE/Vpp pin is low to power up (enable) the Identify IAl \A-I Identity Code chip X = Don't Care For Read operations on the low powered version, if the addresses are stable, the address access time (tACC) is equal to the delay from CE/Vpp to output (tCE). A faster CE/Vpp access time (tCE) is available on the standard part to provide the additional time for decoding for the CE/Vpp signal. © 1990 Microchip Technology Inc. OS111150-5 3-61 27HC641 Standby Mode Since the erased state is "1" in the array, programming of "0" is required. The address to be programmed is set The standby mode isdefinedwhenthe CENpppin ishigh via pins AO - A 12 and the data to be programmed is (VI H). presented to pins 00 - 07. When data and address are stable, a high voltage pulse (VH) on the CENpp line When this condition is met, the supply current will drop programs that location. from BOmA to 1OOIlA on the low power part and to 40mA on the standard part. After the array has been programmed it must be verified Erase Mode to ensure all the bits have been correctly programmed. This mode is entered when all the following conditions Windowed products offer the ability to erase the memory are met: array. The memory matrix is erased to the all "1 '''s state as a result of being exposed to ultraviolet light. To a) Vcc~ at the proper level, ensure complete erasure, a dose of 15 watt-second/cm 2 b) the CENpp line is low. is required. This means that the device window must be placed within one inch and directly underneath an ultra- violet lamp with a wavelength of 2537 Angstroms, inten- sity of 12,000IlW/cm 2 for 20 minutes. When programming multiple devices in parallel with different data, only CENpp needs to be under separate Programming Mode control to each device. By pulsing the CENpp line to a VH on a particular device, th~device will be pro- Two programming algorithms are available. The fast grammed; all other devices with CENpp held high (VIH) programming algorithm is the industry-standard pro- will not be programmed with the data, although address gramrning mode that requires both initial programming and data will be available orlJ!:eir input pins (i.e., when pulses and overprogramming pulses. A flowchart of the a level (VIH) is present on CENpp) and the device is fast programming algorithm is shown in Figure 1. inhibited from programming. The Express algorithm has been developed to improve on the programming throughput times in a production Identity Mode environment. Up to 10 100-microsecond pulses are applied until the byte is verified. No overprogramming is In this mode specific data is output which identifies the required. A flowchart of the Express algorithm is shown manufacturer as Microchip Technology Inc., and the in Figure 2. device type. This mode is entered when Pin A9 is taken to VH (11.5V - 12.5V). The CENpp is a multifunction pin that controls the programming of the 27HC641 . The CENpp line must be at VIL. AO is used to access any of the two non-erasable bytes whose data appears on Programming takes place when: 00 through 07. a) Vcc is brought to proper voltage, b) the CE Npp pin is pulsed at the proper VH level. Pin- Input Output AO 0 0 0 0 0 0 0 0 H Iderty 7 6 5 4 3 2 1 0 e x Manufacturer VIL 0 0 1 0 1 0 0 1 29 Device Type VIH 0 0 0 1 0 0 0 0 10 - Code subject to change. D511115D-6 © 1990 Microchip Technology Inc. 3-62 27HC641 PROGRAMMING - FIGURE 1 EXPRESS ALGORITHM Conditions: lamb = 25' C ±5' C Vee = 6.5 ±0.25 V Vpp = 13.0 ±0.25 V ADDR = First Location Vee= 6.5 V Vpp= 13.0V © 1990 Microchip Technology Inc. DS11115D-7 3-63 27HC641 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS 27HC641 - 45 II K Package: J Cerdip DIP K Ceramic Leadless Chip Carrier L Plastic Leaded Chip Carrier (OTP Available) P Plastic DIP (OTP Available) SJ SKINNY CEROIP SP SKINNY PLASTIC (OTP Available) '------II Temperature Blank 0' C to 70' C I Range: I ·40' C to 85' C Access Time: 40 40 nsec 45 55 nsec 55 55 nsec i 70 70 nsec Device: 27HC641 64K (8K x 8) High Speed CMOS EPROM 27HC641 L 64K (8K x 8) High Speed Low Power CMOS EPROM OS111150·8 © 1990 Microchip Technology Inc. 3-64 _Microchip ~. Application Notes EPROM PROGRAMMING ALGORITHM 27Cxxx EPROM FAMILY PROGRAMMING ALGORITHM Overview Microchip Technology Inc supports three programming algorithms for its CMOS EPROM Family. The selection of an algorithm is an important consideration and will impact the programming time, programming yield and programming margins of the EPROM. Fast Programming Algorithm This is the old industry standard programming algorithm with up to 25 1-msec programming pulses and a three times overprogramming pulse. It is a very stable algorithm to use, with its major draw back being an increase in throughput time especially at the larger densities. Rapid Pulse Programming Algorithm The Rapid Pulse algorithm provides an alternative· to the Fast algorithm. The slight increase in Vee and Vpp during programming allows the use of a narrower 100 usec programming pulse and the removal of the overprogramming pulse associated with the Fast Programming. This translates into a decrease in programming times of nearly 40 to 1 and an increase in throughput of nearly 10 to 1. (Throughput is heavily influenced by the machine cycle time of the programmer during the pre-programming blank check, and the post-programming verification. It also varies from programmer to programmer.) Express Programming Algorithm The Express algorithm is an improvement on the Rapid Pulse algorithm. While it exhibits the same excellent throughput as the Rapid Pulse algorithm, its advantage lies in the additional increase in VPP and Vee applied during programming. The higher Vpp and Vee voltages provide additional charge to the floating gate during programming. After each programming pulse, the cell is verified against Vee (6.5 Volts for Express, 6.25 volts for Rapid Pulse). This verification step with a higher Vee ensures improvement in programming margins over the Rapid Pulse algorithm. EPROM PROGRAMMING ALGORITHM Algorithm Selection PROGRAMMING ALGORITHM The optimization of programmer throughput is a concern Fast Algorithm to all EPROM users in a production environment. A major contributor to increasing throughput is shorter Conditions: programming times. The Express algorithm has been Tamb = 25' C±5' C developed to minimize programming times. In addition, sufficient programming margins must be developed to Vee = 6.0 ±0.25V VPP = 12.5 ±0.5V insure EPROM functionality over the full range of voltage and temperature variations. The higher Vcc and Vpp voltages generate this increased margin and provide ADDR = First Location additional guardband against the effects of aging Vcc = 6.0V hardware. VPP = 12.5V Programming Times (sec) Memory Size Fast Rapid Express 64K 32.8 0.819 0.819 128K 131.1 1.64 1.64 256K 93/32 3.28 3.28 512K 262.2 6.55 6.55 Note. Actual throughput time depends on the machine cycle time of the programmer during pre·programming blank check, and the post·programming verification. Microchip Programming Algorithm Recommendations Microchip recommends that the Express algorithm be used on all commercial/industrial EPROMs (when available). The Fast Programming algorithm should be your second choice for the 64K and the 128K EPROMs, with Rapid Pulse being the second choice for the 256K and 512K EPROMs, The remaining algorithm should be your third choice. This recommendation is based on the maximization of programmer throughput and cell margins. At the smaller density (when Express is not available) the increased margins supplied by the Fast Programming far outweigh the small increase in throughput of Rapid Pulse. As you increase density, programming throughput becomes the dominant criteria. Data 1/0 Family Code and Pin-Outs· Device Size Fast Rapid Express 27C64 64K 93/33 5C/33 115/033 27C128 128K 93/51 5C/51 115/051 27C256 256K 93/321 5C/32 115/032 27C512 512K 4B/A4 i 5E/A4 116/0A4 • DIP Packages DS11138A ©1990 Microchip Technology Inc 3-66 EPROM PROGRAMMING ALGORITHM PROGRAMMING ALGORITHM PROGRAMMING ALGORITHM Rapid Pulse Express Conditions: Conditions: Tamb = 25" C ±5" C T amb = 25°C ±5°C Vee = 6.25 ±0.25V Vee = 6.5 ±0.25V Vpp = 12.75 ±0.25V Vpp = 13.0 ±0.25V ADDR = First Location ADDR = First Location Vce = 6.25V Vee = 6.5V Vpp= 12.75V Vpp = 13.0V ©1990 Microchip Technology Inc. DS11138A 3-67 EPROM PROGRAMMING ALGORITHM NOTES: 3-68 Microchip SECTION 4 MICROCONTROLLER PRODUCT SPECIFICATIONS PIC PIC 16xxx Series Microcontroller Family ..................................................................4- 1 PIC16C5X EPROM-Based 8-Bit CMOS Microcontroller Series ................................................ .4- 5 PIC1654S 8-Bit Microcontroller .................................................................................................. 4- 35 PIC1655 8-Bit Microcontroller .................................................................................................. 4- 51 PIC1670 8 Bit Microcontroller .................................................................................................. 4- 67 © 1990 Microchip Technology Inc. DS00018C 4-i Microchip DS00018C © 1990 Microchip Technology 4-ii ~. Microchip PIC® 16xxx SERIES PIC 16xxx Series Microcontroller Family FEATURES PIC EPROM Technology PIC's OTP EPROM technology offers a low cost alterna- tive to using competitive ROM based devices for high volume production. EPROM technology also offers several important cost saving advantages namely: Time-To-Market: Since the financial success of a product is often determined by its time-to-market, through user programmability PIC offers an immediate solution to lengthy market entry delays. Our off-the shelf prod- ucts eliminate the 10-18 week lead times experienced with conventional ROM based MCU suppliers. EPROM Flexibility: Means decisions to change codes "on-the-fly" while in development or in mid-production no longer carry a financial or time penalty in the event of error. System performance enhancements which may be critical to market success can now be achieved quickly, effortlessly and cost effectively. Another dem- onstration of EPROM flexibility is the ability to perform in- circuit-programming. This allows for product variants to be developed cost effectively. Participation in high profit custom business becomes economically feasible with OTP PICs. Off-The-Shelf: EPROM technology benefits the user by eliminating the need for substantial inventories and limits exposure to product obsolescence; typical of ROM THE PIC FAMILY devices. OTP parts also ensure an immediate supply from a variety of worldwide stocking locations. High volume quick-turn-production (aTP) programming serv- A History of Innovation and Success ices are also available from Microchip for customers who Microchip's history of innovation and its strong commit- chose not to perform high volume programming them- ment to develop and market leading edge products, is selves. best exemplified by its popular 8-Bit Microcontroller families. Microchip is the first semiconductor company PIC's RISC Architecture to introduce RISC-like features and offer the time saving PIC's RISC Architecture sets a new standard in perform- flexibility of one-time-programmable (OTP) EPROM 8- ance in the 8-Bit MCU marketplace. The highly efficient Bit MCUs. These new design concepts and the integra- and powerful instruction set which supports this archi- tion of advanced CMOS EPROM technology overcomes tecture requires only 33 single cycle instructions to learn three major user barriers, namely: efficiency/perform" versus 60 to 110 multi-byte instructions common to ance; time to market; and affordability. The benefits of competitive CISC MCU architectures. Benchmarks PIC® microcontroller technology are being shared by have demonstrated that the efficiency of this instruction hundreds of customers worldwide with over 80 million set provides the user with up to a 2:1 code compaction CMOS and NMOS PIC microcontrollers in use. advantage over competitive products. It has also been demonstrated that this level of efficiency can also reduce code development time by up to 30 percent. PIC® is a registered trademark of Microchip Technology Inc. © 1990 Microchip Technology Inc. OS300318-1 4-1 PIC 16xxx SERIES The PIC's single cycle instructions andRISC architec- time multiplexed between input and output or can be ture facilitates up to five million instructions per second programmed into a high impedance state thus support- execution throughput. This provides the designer with ing multi-chip common bus configurations. up to a 5:1 speed advantage over competitive products. The PIC's small die size and Microchip's advanced This advanced rate of code execution rivals many 16-Bit CMOS technology support a wide performance range MCU designs and opens new real-time, high perform- but also allow low operating and standby current. These ance application opportunities. Also, memory ineffi- low currents will make long-life battery dependent proj- cient, engineering intensive and inaccurate look-uptables ects possible. can now be replaced with PIC's high level algorithmic processing speed. Applications such as efficient motor PIC's Small Packaging control, high speed 1/0 and high speed data bit stream manipulation now becomes a reality in the a-Bit domain. Microchip has also engineered the world's smallest 8-bit microcontroller package. For highly integrated deSigns, A new design concept of user definable oscillators 300 mil. wide 18 pin PDIP,SOIC and PLCC surface allows the chip to execute instructions in four speed mount packages are available. Tape and reel packag- ranges from DC to 200ns. ing is also offered for automatic high speed surface PIC's CMOS Design mount placement. The PIC employs a fully static CMOS design allowing for PIC TemperatUre Ranges reliable low power operation. PIC incorporates on-chip The PIC16C5X family is currently available in commer- POR and Watchdog Timer circuitry thus eliminating cial and industrial temperatures. There are plans to offer expensive off-chip support components. this family inautomotive and military temperatures. Bit manipulation is one of PIC's strongest suits. The designer can now utilize very powerful bit manipulation UPward Migration Path instructions capable of setting, clearing and testing any Future CMOS PIC generations will provide a family of bit in any register (including 1/0 registers) in one instruc- products with embedded analog capabilities, additional tion cycle. This allows the PIC to efficiently interface to 1/0, sophisticated timers, increased memory and indus- external circuitry and be used as a powerful 1/0 control- try leading CPU power. The capability to address off- ler. The 1/0 is software definable bi-directional. Under chip extended RAMIEPROM memory and inter-chip software control, each pin of a port can be individually communication is currently under development. PIC FAMILY PRODUCT GUIDE High Performance CMOS Microcontrollers... where performance and power efficiency is prime con- sideration. PIC16C5X CMOS MICROCONTROLLER Part Number Pins 1/0 RAM ROM EPROM Oscillator Range Min.lnstr.Cycie Available PIC16C54 18 12 32x8 - 512 x 12 25kHz-20M Hz 200ns NOW PIC16C55 28 20 32x8 - 512 x 12 25kHz-20M Hz 200ns NOW PIC16C56 18 12 32x8 - 1024 x 12 25kHz-20M Hz 200ns NOW· PIC16C57 28 20 80 x a - 2048 x 12 25kHz-20M Hz 200ns NOW Low-Cost NMOS Microcontrollers... for highly cost sensitive applications where the superior performance of the PIC16C5X series is not required. PIC16XXX NMOS MICROCONTROLLER Part Number Pins 1/0 RAM ROM EPROM Oscillator Range Min.lnstr.Cycle Available PIC1654S 18 12 32 x 8 512 x 12 - - 21.ls NOW PIC1655 28 20 32 x 8 512 x 12 - - 41.lS NOW PIC1670 40 32 64x8 1024 x 13 - - 21.ls NOW 05300318-2 © 1990 Microchip Technology Inc. 4-2 PIC 16xxx SERIES PC-HOSTED SYSTEMS SIMPLIFY QUALITY FROM THE TOP DOWN SOFTWARE DEVELOPMENT AND THE BOTTOM UP Two advanced PC-hosted systems, the PIC-ICETM and Microchip's sole ownership of its facilities ensures our PIC PAKTM, are available to help users develop applica- quality control standards remain consistent throughout tions software and program PIC 16C5X devices quickly all manufacturing steps. Continuous improvement pro- and easily. Both operate with IBM PC, XT, AT, or grams are active at every operations level. Equipment compatibles. for simulation, product testing and failure analysis is constantly updated to the most current levels of sophis- PIC-ICE tication. Our customer support reaches out to the point The PIC-ICE system provides low-cost in-circuit emula- when a customer ships his product. tion and debugging and inciudes an 18-pin and 28-pin To ensure product quality, Microchip conducts acceler- EPROM PIC programmer. This low profile module has ated mechanical tests, temperature tests and memory a handy carrying case and comes with an external power retention tests to explore the many ways failures might supply, ribbon cabling, cross assembler, PIC16C5X occur. Stresses carefully applied over time, guarantee the effective operation of Microchip products. Compre- EPROM product samples and a users manual. Key hensive 1,OOO-hour qualification tests such as high features inciude a DC to 20M Hz operating range, a built- temperature reverse bias, high temperature retention in disassembler, breakpoints and a symbolic debugger. bake, latchup tests and operating life provide precise PIC PAK quality and reliability data. An electrostatic discharge sensitivity test is also conducted in accordance with M IL- The PIC PAK (PIC Applications Kit) is a powerful yet low- STD 883-C, method 5005. cost software development tool that combines assem- Microchip PIC microcontrollers have demonstrated their bler and simulator software to compile, execute, debug reliability in several demanding applications such as and analyze microcode in a non-real time environment. high noise, high temperature under-hood automotive An EPROM PIC programmer (PIC PRO) and PIC16C5X applications, NASA space shuttle missions and missile EPROM product samples are inciuded for code verifica- safe-arm fuse control. tion. PICALC Cross Assembler The PIC Cross Assembler PICALC is available for several host computer platforms, including IBM PC. CMOS PIC16C5X MICROCONTROLLER Macro assembly and conditional assembly are just a few RELIABILITY DATA of the capabilities of PICALC. Besides the PIC16C5x (Failures/Sample Size) and PIC167x family members. PICALC can generate various object code formats to support Microchip's pro- TEST: 125°C DYNAMIC LIFE prietary development tools as well as third party sys- tems. WJa J..6.a..t:!R 2Q.Q.Ha .1QQQ.HB.. Fits PICSIM Software Simulator 4/2344 5/2340 0/2331 1/2331 117 Fits The software simulator PICSIM allows PIC16C5x code development on IBM PCs without any additional hard- ware. It simulates the PIC16C5x series on instruction TEST: 150°C HIGH TEMPERATURE REVERSE BIAS level. Software trace, break-points, symbolic debug- ging, and stimulus file generation are just a few of the 0/162 0/162 0/162 0/162 16 Fits features available. PICSIM is particularly useful in the early development stages of an application, or when real-time and/or in-circuit emulation are not necessary TEST: 150°C RETENTION EPROM BAKE for the code development. PICPRO EPROM Programmer 0/1710 1/1710 1/1709 3/1708 31 Fits PICPRO is a low volume EPROM programmer for the PIC16C5x series. It allows downloading and program- Failure analysis available upon request. ming of PIC object code generated with PICALC from any host computer system providing a serial interface (RS232). © 1990 Microchip Technology Inc. DS30031 B-3 4-3 PIC 16xxx SERIES EXACTING SOLUTIONS FOR DEMANDING APPLICATIONS ..... Smallest Packaging For highly integrated insertion or surface mount mod- Lowest Power Consumption ules, Microchip produces the smallest microcontroller devices in the world, An 18 pin DIP, SOIC or PLCC The PIC16C5X families possess one of the lowest package makes space limited applications a design standby and operating currents in the industry, opening reality, such as: new design opportunities for battery, solar and remotely powered applications, such as Handheld devices • Automotive modules Cordless Telephones Small PC peripherals Mobile Telephones Consumer products • Automobile Electronic Locks • Secure Access Remote Control For even further integration, PIC's in dice form will also • Consumer Remote Controls be available for Hybrid or COB packaging. Remote Smart Sensors Fastest Operating Speed • Cordless Radar Detectors For "High Performance" applications, the PIC's 5 million instruction per second architecture offers a very unique solution. With PIC, system designers are now able to replace inaccurate predetermined look-up table values A GLOBAL COMMITMENT TO with high precision, real time, algorithmic processing. CUSTOMER SUPPORT PIC can solve several real-time problems often found in designs of: Microchip's commitmentto microcontroller breakthrough technology is superseded only by our attention to cus- Disk Drives tomer support. Through a worldwide network of manu- Pointing Devices/Scanners facturing facilities, sales offices and field apr!;,.,~t;~r.,: Motor/Compressor Controls support, Microchip delivers total customer service I/O Processors worldwide. "Glue" Logic Replacement Microchip Technology Inc.' 2355 W. Chandler Blvd.' Chandler, AZ 85224-6199' (602) 963-7373' Printed in USA © 9003 United States: Mid-West (312) 505-0022 North-East (508) 820-3334 Mid-Atlantic (516) 232-1930 South-East (404) 642-6933 - South-Central (214) 733-0391 - North-West (408) 436-7950 - South-West (213) 323-1888 • France (1) 43.99.12.63 • West Germany (089) 609 6072' United Kingdom (0628) 776433 • Hong Kong 3/3116103 • Japan 3/2348774' Singapore 2355326' Taiwan 2/9146234' Korea 2/7398543 "Information contained in this publication regarding device applications and the like is intended by way of suggestion only. No representation or warranty is given and no liability is assumed by Microchip Technology Inc. with respect to the accuracy or use of such information. The Microchip logo and name is a registered trademark of Microchip Technology Incorporated. All rights reserved: DS300318-4 © 1990 Microchip Technology Inc. 4-4 Microchip PIC®16C5x Series EPROM-Based 8-Bit CMOS Microcontroller Series FEATURES Low power, high speed CMOS EPROM technology • 512 to 2048 words of 12-bit program EPROM • Wide variety of EPROM and RAM sizes, oscillator • 32 to 80 words of 8-bit data RAM types, frequency ranges and I/O configurations • Only 33 single 12-bit-word instructions to learn Fully static chip design .. 8 bitALU • Operating Frequency Range: 12 or 20 bidirectional tristate 1I0's - DC - 8 MHz (20 MHz future release) • 2 level stack for subroutine nesting Operating voltage range: Direct, indirect, immediate, and relative addressing - Standard: 4.0V to 5.5V modes for data and instructions Low power consumption: • 8 bit real time clock/counter (RTCC) with selectable - < 2 mA (4 MHz, 5V, XTAL oscillator) signal source and trigger edge - < 1O!lA standby Free running on-chip watchdog timer Available in temp ranges: • 8 bit prescaler, assignable to RTCC or watchdog - Commercial = O'C to + 70'C timer - Industrial = -40'C to + 85'C • Oscillator start up timer Wide selection of 18 and 28 lead packaging • Security EPROM fuse for code protection options: PDIP, SOIC, PLCC, or CERDIP Window OTP (factory programming) available FIGURE 1: PIN CONFIGURATIONS PDIP,SOIC PDIP,SOIC CERDIP Window CERDIP Window MCLR <- 4VOD aSC1 <- .... RA2 N/C aSC2/CLKaUT -> HRA3 ---4 Vss RC7 .... N/C RC6H 4RTCC .... RAO RCS .... ->MCLR .... RA1 RC4 .... -+ Vss .... RA2 RC3 ..... .... RBO HRA3 RC2 .... .... RB1 HRBO RC1 .... .... RB2 HRB1 RCO .... HRB3 HRB2 RB7~ HRB3 RB6 .... HRB4 RBS .... PLCC RRRV RRR PLCC RRRRRRR CBBsBBB CBBBBBB 6545321 0765432 18 17 16 15 14 13 12 RB7 RBO RC1 19 11 RB1 N/C N/C RC2 d20 10J RBO N/C 21 N/C RC3 d21 RC4 d22 PIC16C54 PIC16C55 VOD 22 N/C d 23 N/C d 24 PIC16C56 RC5 Res ad 23 24 PIC16C57 aSC2 d2S 2627281 2 3 N/C RC7 d25 262728123 N/C w w w aRRRRRM aOMRVN/CV SAAAATC sse T 0 C0123CL eeL c D 1 C R 2 1 R C [PIl®J~~m~I1il~II~ ~l1ilff@lIm~~~@11il © 1990 Microchip Technology Inc. 4-5 PIC® is a registered trademark of Microchip Technology, Inc. DS30015F-1 PIC®16C5x Series GENERAL DESCRIPTION ARCHITECTURAL DESCRIPTION The Microchip Technology PIC16C5xseries is based on HARVARD ARCHITECTURE the proven architecture of the PIC165x NMOS 8-bit The PIC16C5x single-chip microcomputers are low- microcontroller family. Using Microchip's low-power, power, high-speed, full static CMOS devices containing high-speed CMOS EPROM technology, the PIC16C5x EPROM, RAM, 110, and a central processing unit on a offers additional features like on-chip watchdog timer, single chip. tristate I/O, power-down mode, and several prescaler options. The firmware architecture is based on a register file The advantages of the user programmable CMOS concept with separate bus and memories for data and EPROM technology allow extremely flexible applica- instructions (Harvard architecture). The data bus and tions, as well as reduced development costs and turn- memory (RAM) are 8 bits wide while the program bus around time compared to mask programmable ROM and program memory (EPROM) have a width of 12 bits. versions. This concept allows a simple yet powerful instruction set designed to emphasize bit, byte and register operations APPLICATIONS under high speed with overlapping instruction fetch and The PIC16C5x series fits perfectly for applications from execution cycles. That means that, while one instruction high speed automotive and appliance motor control to is executed, the following instruction is already being low-power remote transmitters/receivers, pointing de- read from the program memory. A block diagram of the vices, and telecom processors. The EPROM technology PIC16C5x series is given in Figure 2. allows customizing of application programs (transmitter codes, motor speeds, receiver frequencies, etc.) ex- DATA REGISTER FILE tremely last and convenient. The small footprint pack- The 8 bit data bus connects two basic functional ele- ages lor through hole or surface mounting make this ments together: the Register File composed of up to 80 microcontroller series perfect for all applications with addressable 8 bit registers including the I/O Ports, and space limitations. low cost, high performance, ease of an 8 bit wide Arithmetic logic Unit. 32 bytes of RAM are use, and I/O flexibility make the PIC16C5x series very directly addressable while a "banking" scheme, with versatile even in areas where no microcontroller use has banks of 16 bytes each, is employed to address larger been considered before (e.g. timer functions, replace- data memories (Figure 3). Data can be addressed ment of "glue" logic in larger systems, co-processor direct, or indirect using the file select register (14). applications) . Immediate data addressing is supported by special "literal" instructions which load data from program memory into the Wregister. The register file is divided into two functional groups: operational registers and general purpose registers. PIN FUNCTION TABLE The operational registers include the Real Time Clock Counter (RTCC) register, the Program Counter (PC), Name Function the Status Register, the 1/0 registers (PORTs), and the File Select Register. The general purpose registers are RAO - RA3 I/O PORTA used lor data and control information under command of RBO - RB7 I/O PORT B the instructions. RCO - RC7 I/O PORTC In addition, special purpose registers are used to control RTCC Real Time Clock/Counter the I/O port configuration, and the prescaler options. MClR Master Clear OSCl Oscillator (input) OSC2/ClKOUT Oscillator (output) Voo Power supply Vss Ground N/C No (internal) Connection DS30015F-2 © 1990 Microchip Technology Inc. 4-6 PIC®16C5x Series ARCHITECTURAL DESCRIPTION (CONT.) ARITHMETIC/LOGIC UNIT (ALU) PROGRAM MEMORY The 8 bit wide ALU contains one temporary working Up to 512 words of 12 bit wide on-chip program memory register (W Register) and gating to perform Boolean (EPROM) can be directly addressed. Larger program functions between data held in the W Register and any memories can be addressed by selecting one of up to file register. four available pages with 512 words each (Figure 4). Sequencing of microinstructions is controlled via the Program Counter (PC) which automatically increments to execute in-line programs. Program control opera- tions, supporting direct, indirect, relative addressing modes, can be performed by Bit Test and Skip instruc- tions, Call instructions, Jump instructions or by loading computed addresses into the PC. In addition, an on-chip two-level stack is employed to provide easy to use subroutine nesting. FIGURE 2: PIC16C5x SERIES BLOCK DIAGRAM OSC1 OSC2 MCLR WDTTIME OUT 8 "SLEEP" DIRECT RAM ADDRESS GENERAL 5 PURPOSE REGISTER FILE 8 DATA BUS 4 8 FROMW FROMW FROMW 8 "TRIS5" "TRIS6" "TRIS?" RAO·RA3 RBO·RB? RCO·RC? (PIC16C55/C5? ONLY) © 1990 Microchip Technology Inc. DS30015F-3 4-7 PIC®16C5x Series PIC16C5X SERIES OVERVIEW A wide variety of EPROM and RAM sizes, number of ONE-TIME-PROGRAMMABLE (OTP) DEVICES I/O pins, oscillator types, frequency ranges, and packag- The availability of OTP devices is especially useful for ing options is available. Depending on application and customers expecting frequent code changes and up- production requirements the proper device option can dates. OTP devices have the oscillator type pre-config- be selected using the foHowing information and tables. ured by the factory, and they are tested only for this When placing orders, please use the "PIC16C5x Prod- special configuration (including voltage and frequency uct Identification System" on page 32 of this data sheet ranges, current consumption). Table 2 below gives an to specify the correct part number. overview about devices available now and planned for future release. UV ERASABLE DEVICES Four different device versions, as listed in Table 1, are The program EPROM is erased, allowing the user to available to accommodate the different EPROM, RAM, write his application code into it. In addition, the watch- and I/O configurations. These devices are optimal for dog timer can be disabled, and/or the code protection prototype development and pilot series. The desired logic can be activated by programming special EPROM oscillator configuration is EPROM programmable as fuses. The sixteen special EPROM bits for ID code "RC", "XT", or "HS". An erased device is configured as storage are also user programmable. "RC" type by default. Depending on the selected oscil- lator type and frequency, the operating supply voltage QUICK-TURNAROUND-PRODUCTION (QTP) must bewithin the same range as a OTP/OTP part would DEVICES be specified for. Microchip offers a OTP Programming Service for factory The PIC development programmer, "PICPRO", can production orders. This service is made available for program aH members of the PIC16C5x family for users who chose not to program a medium to high prototyping and small-volume production. See page 4- quantity of units and whose code patterns have stabi- 32 for high-volume programming support. lized. The devices are identical to the OTP devices (see Table 2) but with all EPROM locations and fuse options already programmed by the factory. Certain code and prototype verification procedures do apply before pro- duction shipments are available. Please contact your Microchip Technology sales office for more details. TABLE 1: OVERVIEW UV-ERASABLE DEVICES Part # EPROM RAM 1/0" Supply Voltage Osc.Freq.Range Package Options PIC16C54 512 x 12 32 x 8 13 4.0' - 5.5 V DC - 8 MHz **' 181d. Windowed CERDIP PIC16C55 512 x 12 32 x 8 21 4.0' - 5.5 V DC - 8 MHz , •• 28 Id. Windowed CERDIP PIC16C56 1K x 12 32 x 8 13 4.0' - 5.5 V DC - 8 MHz'" 18 Id. Windowed CERDIP PIC16C57 2K x 12 80x8 21 4.0' - 5.5 V DC - 8 MHz **. 28 Id. Windowed CERDIP . Frequencies above 4 MHz and/or operation in the industrial temperature range (-40 to +85'C) require that VDD is greater than 4.75 V. .. ** Includes RTCC pin , Device operation is currently guaranteed up to 8 MHz oscillator frequency . Please contact Microchip Technology Inc. for expected release dates of 20 MHz devices. DS30015F-4 . © 1990 Microchip Technology Inc. 4-8 PIC®16C5x Series TABLE 2: OVERVIEW OTP AND QTP DEVICES Supply'" Osc. Freq. Package Part # EPROM RAM I/O' Voltage Type Range Options (Note) PIC16C54RC 512x 12 32x8 13 4.0 - 5.5 V RC DC -4 MHz DIP-18, SOIC-18, PLCC-28 PIC16C54XT 512x 12 32x8 13 4.0 - 5.5 V XTAL, Ext. 0.4 - 4 MHz DIP-18, SOIC-18, PLCC-28 PIC16C54HS 512 x 12 32 x 8 13 4.5 - 5.5 V XTAL, Ext. 4 - 8 MHz" DIP-18, SOIC-18, PLCC-28 PIC16C55RC 512x 12 32 x 8 21 4.0 - 5.5 V RC DC -4 MHz DIP-28, SOIC-28, PLCC-28 PIC16C55XT 512x 12 32 x 8 21 4.0 - 5.5 V XTAL, Ext. 0.4-4 MHz DIP-28, SOIC-28, PLCC-28 PIC16C55HS 512x 12 32x8 21 4.5 - 5.5 V XTAL, Ext. 4 - 8 MHz" DIP-28, SOIC-28, PLCC-28 PIC16C56RC 1K x 12 32 x8 13 4.0 - 5.5 V RC DC-4 MHz DIP-18, SOIC-18, PLCC-28 PIC16C56XT 1K x 12 32 x 8 13 4.0 - 5.5 V XTAL, Ext. 0.4 - 4 MHz DIP-18, SOIC-18, PLCC-28 PIC16C56HS 1K x 12 32 x 8 13 4.5 - 5.5 V XTAL, Ext. 4 - 8 MHz DIP-18, SOIC-18, PLCC-28 PIC16C57RC 2K x 12 80 x 8 21 4.0 - 5.5 V RC DC-4MHz DIP-28, SOIC-28, PLCC-28 PIC16C57XT 2K x 12 80x8 21 4.0 - 5.5 V XTAL, Ext. 0.4-4 MHz DIP-28, SOIC-28, PLCC-28 PIC16C57HS 2K x 12 SOx8 21 4.5 - 5.5 V XTAL, Ext. 4- 8 MHz DIP-28, SOIC-28, PLCC-28 ... Including RTCC pin Device operation is currently guaranteed up to 8 MHz oscillator frequency . ... Please contact Microchip Technology for expected release dates of 20 MHz devices. Minimum supply voltage for industrial temperature range is 4.SV for XT and RC, and 4.7SV for HS versions . Devices operating at supply voltages below 4.0V or 4.SV respectively, are under development. © 1990 Microchip Technology Inc. DS30015F-5 4-9 PIC®16C5x Series REGISTER FILE ARRANGEMENT FIGURE 3: PIC16C5x DATA MEMORY MAP FILE ADDRESS 7 6 5 4 3 2 1 0 00 INDIRECT ADDR. n 01 RTCC 10 9 8 7 6 5 4 3 2 1 0 10 9 8 7 6 5 4 3 2 1 0 RETLW 02 IA10 IA91A8 PC CALL I STACK 1 I-I STACK 2 03 STATUS 04 FSR - 7 6 543210 05 PORTA 06 PORTB [TRiSA 5 4 3 2 1 0 07 PORTC (.. ) I TRISB 08 I- - I TRISC I OPTION 09 I- - OA GENERAL TOANO FROM I- - REGISTER FILE OB PURPOSE - VIAALU I- OC I-- REGISTER _ W OD FILE I-- - OE I-- - 1__ FROMPR OGRAM MEMORY OF BIT 6, 5 OF FSR: BANK SELECT (PIC16C57 ONLY) 10 1 00 30 101 50 fO 70 r 11 12 13 14 15 16 GENERAL PURPOSE GENERAL PURPOSE 17 REGISTER REGISTER FILE 18 FILE (ALL TYPES) (PIC16C57 ONLY) 19 1A 1B 1C 10 (BANKO) (0") (BANK 1) ("0) (BANK 2) r") (BANK 3) (0") 1E 1F 3F SF 7F n NOT A PHYSICALLY IMPLEMENTED REGISTER. SEE SECTION "OPERATIONAL REGISTER FILES" FOR DETAILS (.. ) FILE f7IS A GENERAL PURPOSE REGISTER ON THE PIC16C54/C56 (0") BANK 0 IS AVAILABLE ON ALL MICROCONTROLLERS WHILE BANK 1 TO BANK 3 ARE ONLY AVAILABLE ON THE PIC16C57. (SEE SECTION "FILE SELECT REGISTER" FOR DETAILS) DS30015F-6 © 1990 Microchip Technology Inc. 4-10 PIC®16C5x Series OPERATIONAL REGISTER FILES fO INDIRECT DATA ADDRESSING f1 REAL TIME CLOCK/COUNTER REGISTER (RTCC) Not a physically implemented register. fO calls for the contents of the File Select Register to be used to select This register can be loaded and read by the program as a file register. fO is useful as indirect address pOinter. For any other register. In addition, its contents can be example, the instruction ADDWF fO, W will add the incremented by an external signal edge applied to the contents of the register pointed to by the FSR (f4) to the RTCC pin, or by the internal instruction cycle clock content of the W Register and place the result in W . (CLKOUT;f05c/4). An 8 bit prescaler can be assigned to the RTCC by writing the proper values to the PSA bit and the PS bits in the OPTION register. If the prescaler is assigned to the RTCC, instructions writing to f1 (e.g. CLRF 1, or BSF1,5, ... etc.) clear the prescaler. The bit "RTS" (RTCC signal Source) in the OPTION register determines, if f1 is incremented internally or externally. RTS=1: The clock source for the RTCC or the prescaler, if assigned to it, is the signal on the RTCC pin. Bit4 of the OPTION register (RTE) determines, ifan increment occurs on the falling (RTE;1) or rising (RTE;O) edge of the signal presented to the RTCC pin. RTS;O: The RTCC register or its prescaler, respec- tively, will be incremented with the internal instruction clock (; F05C/4). The "RifE" bit in the OPTION register and the RTCC pin are "don't care" in this case. However, the RTCC pin must be tied to VDD or Vss, whatever is con- venient, to prevent unintended entering of test modes and to reduce the current consumption in low power applications. As long as clocks are applied to the RTCC (from internal or external source, with or without prescaler), f1 keeps incrementing and just rolls over when the value "OFF16" is reached. All increment pulses forf1 are delayed by two instruction cycles. After writing to f1, for example, no increment takes place for the following two instruction cycles. This is independent if internal or external clock source is selected. If a prescaler is assigned to the RTCC, the output of the prescaler will be delayed by two cycles beforef1 is incremented. © 1990 Microchip Technology Inc. DS30015F-7 4-11 PIC®16C5x Series OPERATIONAL REGISTER FILES (CONT.) f2 PROGRAM COUNTER Incrementing the program counter when It is pointing to the last address of a selected memory page is also The program counter generates the addresses for the possible and will cause the program to continue in the up to 2048 x 12 on-chip EPROM cells containing the next higher page. However, the page pre-select bits in f3 program instruction words (Figure 4). will not be changed, and the next "GOTO", "CALL", "ADDWF 2", "MOVWF 2" instruction will return to the, Depending on the device type, the program counter and previous page, unless the page pre-select bits have its associated two-level hardware stack is 9 - 11 bits been updated under program control. For example, a wide. "NaP" at location "1 FF"(page 0) increments the PC to "200" (page 1). A "GOTO xxx" at "200" will return the program to address "xxx" on page "0" (assuming that the TABLE 3: PROGRAM COUNTER/STACK WIDTH page preselect bits in f3 are '0". Upon a RESET condition, page 0 is pre-selected while Part # PC width Stack width the program counter addresses the last location in the last page. Thus, a "GOTO" instruction at this location will PIC16C54/PIC16C55 9 bit 9 bit automatically cause the program to continue in page O. PIC16C56 10 bit 10 bit PIC16C57 11 bit 11 bit StGk The PIC16C5x series employs a two level hardware push/pop stack (Figure 4). The program counter is set to all "1 "s upon a RESET CALL instructions push the current program counter condition. During program execution it is auto value, incremented by "1 ", into stack level 1. Stack level incremented with each instruction unless the result of 1 is automatically pushed to level 2. If more than 2 that instruction changes the PC itself: subsequent "CALL"s are executed, only the most recent two return addresses are stored. a) "GOTO" instructions allow the direct loading of the For the PIC16C56 and PIC16C57, the page preselect lower 9 program counter bits. bits 0113 will be loaded into the most significant bits olthe b) "CALL" instructions load the lower 8 bit of the PC program counter. The ninth bit is always cleared to "0" directly while the ninth bit is cleared to "0". The PC upon a CALL instruction. This means that subroutine value, incremented by one, will be pushed into the entry addresses have to be located always within the stack. lower half'of a memory page (addresses OOO-OFF, 200- c) "RETLW" instructions load the program counter 2FF, 400-4FF, 600-6FF). However, as the stack has with the top of stack contents. always the same width as the PC, subroutines can be d) "MOvWF 2" allows the loading of computed ad- called from anywhere in the program. dresses from the W register into the program counter. e) "ADDWF 2" allows adding of relative addresses to RETLW instructions load the contents of stack level 1 the current PC contents. In this case the PC will also into the program counter while stack level 2 gets copied be incremented. That is, adding "000" to f2 results into level 1. If more than 2 subsequent "RETLW"s are in the PC value PC + 1. executed, the stack will be filled with the address previ- In the cases d) and e), the ninth bit of the PC will always ously stored in level 2. Forthe PIC16C56 and PIC16C57, be cleared to "0". Thus, indexed addressing is only the return will be always to the page from where the possible within the lower half of a program memory page subroutine was called, regardless of the current setting (addresses OOO-OFF, 200-2FF, 400-4FF, 600-6FF). of the page pre-select bits in file register 13. Note that the W register will be loaded with the literal value specified Program Memorv Page Select (PIC16C561 in the RETLW instruction. This is in particular useful for PIC16C57 Only): the implementation of "data" tables within the program memory. The most significant program counter bit(s) will be loaded with the contents of the page preselect bits in the status register f3 upon execution of a "GOTO", "CALL", "ADDWF 2", or "MOVWF 2" instruction. DS30015F-8 © 1990Microchip Technology Inc. 4-12 PIC®16C5x Series OPERATIONAL REGISTER FILES (CONT.) FIGURE 4: PROGRAM MEMORY ORGANIZATION . - - - - - - - - GOTO, CALL, ADDWF 2, MOVWF 2 ............... FROM 13, BIT 6 (PIC16C57 ONLY) . - - - - - - GOTO, CALL, ADDWF 2, MOVWF 2 ............... FROM 13, BIT 5 (PIC16C56/C57 ONLY) , - - - -./GOTO ............................................. DIRECT FROM INSTRUCTION WORD -\CALL, ADDWF 2, MOVWF 2 ......... ALWAYS "0" r-- I -./GOTO, CALL.. .... .... ...... DIRECT FROM INSTRUCTION WORD \ADDWF 2, MOVWF 2 ........ FROM ALU .--....l...--~,--.l--r-----I.--, RETLW CALL RETLW PC l A10 A09 Aoa IA07-AOO STACK LEVEL 1 (12) / 1 a 9-11 BIT I STACK LEVEL 2 CALL J / 2 000 MAX. EPROM ADDRESS FOR: 00 OFF PAGE a - 100 01 ~ PAGE 1 10 I-- PAGE 2 11 ~ PAGE 3 © 1990 Microchip Technology Inc. DS30015F-9 4-13 PIC®16C5x Series OPERATIONAL REGISTER FILES (CONT.) f3 STATUS WORD REGISTER This register contains the arithmetic status of the ALU, Time out and power down status bits (TO. POl the RESET status, and the page preselect bits for larger program memories than 512 words (PIC16C56, The "TO" and "PD" bits in the status register f3 can be PIC16C57). tested to determine if a RESET condition has been f3 can be altered under program control only via bit set, caused by a watchdog timer time-out, a power-up condi- bit clear, or MOVWF 3 instructions except for the "TO" tion, or a wake-up from SLEEP by the watchdog timer or and "PD" bits. MCLR pin. For other instructions, affecting any status bits, see These status bits are only affected by events listed in section "Instruction Set Summary." Table 4. STATUS WORD REGISTER f3 (7) (6) (5) (4) (3) (2) (1) (0) I PA2 I PAl I PAol TOI z I DC I C I L CARRY BIT: For ADDWF and SUBWF instructions, this bit is set if there is a carry out from the most significant bit of the resultant. Note that a subtraction is executed by adding the two's complement of the second operand. For rotate (RRF, RLF) instructions, this bit is loaded with either the high or low order bit of the source register. - - - DIGIT CARRY BIT: For ADDWF and SUBWF instructions, this bit is set if there is a carry out from the 4th low order bit of the resultant. ' - - - - - - - - ZERO BIT: Set if the result of an arithmetic or logic operation is zero. ' - - - - - - - - - POWER DOWN BIT: Set to "I" during power up or by a CLRWDT command. This bit is reset to "0" by a SLEEP instruction. L -_ _ _ _ _ _ _ _ _ TIME-OUT BIT: Set to "I" during power up and by the CLRWDT and SLEEP command. This bit is reset to "0" by a watchdog timer time out. L _ _ _ _ _ _ _ _ _ _ _ _ _ PIC16C54/C55 : Two general purpose read/write bits PIC16C56 : BIT 5 ." Page preselect bit 0= Page 0 (000 -IFF) 1 = Page 1 (200 - 3FF) BIT 6 ... General purpose read/write bit PIC16C57 : Two page preselect bits 00 = Page 0 (000 - 1FF) 01 = Page 1 (200 - 3FF) 10 = Page 2 (400 - 5FF) 11 = Page 3 (600 - 7FF) L _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ BIT 7: General purpose read/write bit (reserved for future use) DS30015F-l0 © 1990 Microchip Technology Inc. 4-14 PIC®16C5x Series OPERATIONAL REGISTER FILES (CONT.) TABLE 4: f4 FILE SELECT REGISTER (FSR) EVENTS AFFECTING PDITO STATUS BITS PIC16C54/C55/C56 Event TO PO Remarks Bits 0-4 select one of the 32 available file registers in the indirect addressing mode (that is, calling for file to in any Power-up 1 1 of the file oriented instructions). WOTTimeoul 0 X No effect on PO Bits 5-7 of the FSR are read-only and are always read as SLEEP instruction 1 0 "one"s. CLRWOT instruction 1 1 If no indirect addressing is used, the FSR can be used as a 5 bit wide general purpose register. Note: A WOT timeout will occur regardless of the status olthe TO bit. A SLEEP instruction will be PIC16C57 ONLY executed, regardless of the status of the PO bit. Table 5 reflects the status of PO and TO after Bit 5 and 6 of the FSR select the current data memory the corresponding event. bank (Figure 3). The lower 16 bytes of each bank are physically identical and are always selected when bit 4 of the FSR (in case TABLE 5: PDITO STATUS AFTER RESET of indirect addressing) is "0", or bit 4 of the direct file register address of the currently executing instruction is TO PO RESET was caused by "0" (e.g. MOVWF 08). Only if bit 4 in the above mentioned cases is "1 ", bits 5 0 0 WOT wake-up from SLEEP and 6 of the FSR select one of the four available register 0 1 WOT time-out (not during SLEEP) banks with 16 bytes each. 1 0 MCLR wake-up from SLEEP 1 Bit 7 is read-only and is always read as "one." 1 Power-up X X = Low pulse on MCLR input Note: The PO and TO bit maintain their status (X) until an event of Table 4 occurs. A low-pulse on the MCLR input does not change the PO and TO status bits. Program Page Preselect (PIC16C56. PIC16C57 ONLY) Bits 5-6 of the STATUS register are defined as PAGE address bits PAO - PAl, and are used to preselect a program memory page. When executing a GOTO, CALL, MOVWF 2, or AOOWF 2 instruction, PAO - PAl are loaded into bit A9-A 10 of the program counter, selecting one of the available program memory pages. The direct address specified in the instruction is only valid within this particular memory page. RETLW instructions do not change the page preselect bits. Upon a RESET condition, PAO-PA2 are cleared to "O"s. © 1990 Microchip Technology Inc. DS30015F-ll 4-15 PIC®16C5x Series I/O REGISTERS (PORTS) I/O INTERFACING The I/O registers can be written and read under program The equivalent circuit for an I/O port bit is shown in control like any other register of the register file. How- Figure 5. All ports may be used for both input and output ever, "read" instructions (e.g. MOVF 6,W) read always operations. For input operations these ports are non- the I/O pins, regardless if a pin is defined as "input" or latching. Any input must be present until read by an input "output." Upon a RESET condition, all I/O ports are instruction (e.g. MOVF 6, W). The outputs are latched defined as "input" (= high impedance mode) as the I/O and remain unchanged until the output latch is rewritten. control registers (TRISA, TRISB, TRISC) are all set to For use as an output, the I/O control register "ones." (TRISA,TRISB, TRISC) must be zero in order to enable The execution of a "TRIS f" instruction with correspond- the output buffer. For use as an input the I/O control ing "zeros" in the W-register is necessary to define any register must be "one" in order to allow an external of the I/O pins as output. device to drive the port high or low. This principle is the same whether operating on individual pins or the entire f5 (PORT A) port. Any I/O pin can be programmed individually as input, output or bidirectional pin. 4-bit I/O register. Low order 4 bits only are used (RAO - RA3). Bit 4 - 7 are defined as "zeros." f6 (PORT B) 8-bit I/O register. f7 (PORT C) PICt6C55/C57: 8-bit I/O register PICt6C54/C56: General purpose register. FIGURE 5: EQUIVALENT CIRCUIT FOR A SINGLE I/O PIN VDD FROM - _ D o DATA DATA BUS LATCH _ _ CK "WRITE" "Ci \----4 TO DATA BUS 110 PIN "READ" FROM - - D o 1--_-+_--' W-REGISTER I/O CONTROL "TRIS f" LATCH - - CK SET Q \ - - - - - - - - 1 ---1 02 vs~ "RESET" DS30015F-12 © t990 Microchip Technology Inc. 4-16 PIC®16C5x Series I/O PROGRAMMING HINTS BIDIRECTIONAL 1/0 PORTS SUCCESSIVE OPERATIONS ON 1/0 PORTS a) Some instructions operate internally as input fol- Writing to an I/O port happens always at the end of an lowed by output operations. The BCF and BSF instruction cycle, while for reading, the data have to be instructions, for example, read the entire port into the valid as shown in Figure 20. CPU, execute the bit operation, and re-output- the Therefore, care must be exercised if successive instruc- result. Caution must be used when these instructions tions operate on the same I/O port. The sequence of are applied to a port where one or more pins are used instructions should be such to allow the pin voltage to as input/outputs. As an example, a BSF operation on stabilize (load dependent) before the next instruction bit 5 of f6 (Port B) will cause all eight bits of f6 to be which causes that file to be read into the CPU is read into the CPU. Then the BSF operation takes executed. Otherwise, the previous state of that pin may place on'bit 5 and f6 is re-output to the output latches. be read into the CPU rather than the new state. When in If another bit of f6 is used as a bidirectional I/O pin doubt, it is better to separate these instructions with a (say bit 0) and it is defined as an input at this time, the NOP or an other instruction not accessing this I/O port. input signal present on the pin itself would be read into the CPU and re-written to the data latch of this OPERATION IN NOISY ENVIRONMENT particular pin, overwriting the previous content. As In noisy application environments, for example key- long as the pin stays in the input mode, no problem boards which are exposed to ESD (Electro Static Dis- a occurs. However, if bit is switched into output mode charge), register contents can get corrupted due to later on, the content of the data latch may now be noise spikes. unknown. The on-chip watchdog timer will take care of all situ- ations involving program sequence "lock-ups." How- b) A pin actively outputting a "0" or "1" should not be ever, if a I/O control register gets corrupted, the program driven from external devices at the same time in sequence may still be executed properly although an order to change the level on this pin ("wired-or", input pin may have switched unintentionally to an output. "wired-and"). The resulting high output currents may In this case, the program would always read the same disturb an otherwise clean power supply, and proper value on this pin. This may result, for example, in a device functionality is not guaranteed. keyboard "lock-up" situation without leading to a watch- For "wired-or" outputs (assuming negative logic), it is dog timer timeout. Thus, it is recommended to redefine recommended to use external pull-up resistors on all I/O pins in regular time intervals (inputs as well as the corresponding pins. The pin should be left in outputs). The optimal strategy is to update the I/O control high-impedance mode, unless a "0" has to be output. register every time before reading or putting data out. Thus, external devices can drive this pin "O"as well. "Wired-abd" outputs can be realized in the same way, but with external pull-down resistors and only actively driving the "1" level from the PIC. The resis- tor values are user selectable, but should not force output currents above the specified limits (see DC Characteristics) . © 1990 Microchip Technology Inc. DS30015F-13 4-17 PIC®16C5x Series GENERAL PURPOSE REGISTERS TRISA 1/0 CONTROL REGISTER FOR PORT A (f5) PIC16C54/C55/C56 : Bit 0 - 3 only available. The corresponding I/O port (f5) f0816 - f1 F16: are general purpose register files. is only 4 bit wide. PIC16C57 ONLY: TRISB 1/0 CONTROL REGISTER FOR f0816 - fOF16: are general purpose register files which PORT B (f6) are always selected, independent of bank select. TRISC 1/0 CONTROL REGISTER FOR f1 016 - f1 F16: general purpose register files in memory PORTC (f7) bank 0 f2016 - f2F16: physically identical to fOO - fOF The I/O control registers will be loaded with the content f3016 - f3F16: general purpose register files in memory of the W register by executing of the TRIS f instruction. bank 1 A "1" in the I/O control register puts the corresponding f4016 - f4F16: physically identical to fOO - fOF I/O pin into a high impedance mode. A "0" puts the f5016 - f5F16: general purpose register files in memory contents of file register f5, f6, or f7 , respectively, out on bank 2 the selected I/O pins. f6016 - f6F16: physically identical to 100 - 10 These registers are "write-only" and are set to all "ones" f7016 - f7F16: general purpose register files in memory upon a RESET condition. bank 3 OPTION PRESCALER/RTCC OPTION SPECIAL PURPOSE REGISTERS REGISTER W WORKING REGISTER Defines prescaler assignment (RTCC or WDT), pres- Holds second operand in two operand instructions and/ caler value, signal source and signal edge for the RTCC. or supports the internal data transfer. The OPTION register is "write-only" and is 6 bit wide. By executing the "OPTION" instruction, the contents of the "W" register will be transferred to the option register. Upon a RESET condition, the option register will be set to all "ones." OPTION REGISTER 5 4 3 2 o I RTS I RTE I PSA I PS2 I PS1 Ipso \ / PRESCALER VALUE RTCC RATE WDT RATE 0 0 0 1 : 2 : 1 0 0 1 1 : 4 : 2 0 0 : 8 : 4 0 1 1 : 16 :8 1 0 0 : 32 : 16 1 0 1 : 64 : 32 1 0 : 128 : 64 1 : 256 : 128 ' - - - - - - - - PRESCALER ASSIGNMENT BIT: 0 .... RTCC 1 .... WDT ' - - - - - - - - - - - RTCC SIGNAL EDGE: 0 .... INCREMENT ON LOW-TO-HIGH TRANSITION ON RTCC PIN 1 .... INCREMENT ON HIGH-TO-LOW TRANSITION ON RTCC PIN ' - - - - - - - - - - - - - - RTCC SIGNAL SOURCE: o .... INTERNAL INSTRUCTION CYCLE CLOCK (CLKOUT) 1 .... TRANSITION ON RTCC PIN DS30015F-14 © 1990 Microchip Technology Inc. 4-18 PIC®16C5x Series RESET CONDITION dog timer. Thus, a prescaler assignment for the RTCC means that there is no prescalerfor the watchdog timer, A RESET condition can be caused by applying power to and vice versa. the chip (power-up), pulling the MCLR input "low", or by The PSA and PSO-PS2 bits in the OPTION register a Watchdog Timer Timeout. The device will stay in determine the prescaler assignment and ratio. RESET as long as the oscillator start-up timer (OST) is The prescaler will be cleared whenever the circuit to active or the MCLR input is "low." which it is assigned is being written to. That is, when During a RESET condition the PIC function is defined assigned to the RTCC, all instructions writing to the as: RTCC (e.g. CLRF 1, MOVWF 1, BSF 1,x ....etc.) will The oscillator is running, or will be started (power- clear the prescaler. up or wake-up from SLEEP) All 110 port pins (RAO - RA3, RBO - RB7, RCO- PRESCALER PROGRAMMING CAUTIONS RC7) are put into the high-impedance state (tri- stated) by setting the "TRIS" registers to all "ones" The prescaler assignment is fully under software con- (= input mode). trol. Thus, it can be changed "on the fly" during program The Program Counter is set to all "ones" execution. To avoid an unintended device RESET, the The OPTION register is set to all "ones" following instruction sequence has to be executed when The Watchdog Timer and prescaler are cleared changing the prescaler assignment from RTCC to WDT: The upper three bits (page select bits) in the Status Register (f3) are cleared to "zero." 1.MOVLW B'xxxOOxxx' ;Select internal RTCC.clock "RC· devices only: The "CLKOUT" signal on the 2.0PTION OSC2 pin is held at a"low" level. 3.CLRF 1 ;Clear RTCC and prescaler 4.MOVLW B'xxxx1 x1 0' PRESCALER 5.0PTION ;Select WDT prescaler with ratio:<: 1:4 An a-bit counter is available as prescaler for the RTCC, Step 1 and 2 are only required if an external RTCC or as post-scaler for the watchdog timer, respectively source is used with a clock period less than Tcy +20ns. (Figure 6). For simplicity, this counter is being referred to In all other cases, only steps 3-5 are necessary. as "prescaler" throughout this data sheet. Note that No precaution is required when changing the prescaler there is only one prescaler available which is mutually assignment from WDT to RTCC. exclusively shared between the RTCC and the watch FIGURE 6: BLOCK DIAGRAM RTCCIWDT PRESCALER CLKOUT (=FoscI4) OATA BUS 0-? 0 M PIN u x M u x RTE 0 RTS PSA WATCH DOG TIMER WDT ENABLE EPROM FUSE NOTE: RTE, RTS, PSA, PSO-PS2 WDT ARE BITS IN THE OPTION REGISTER TIMEOUT © 1990 Microchip Technology Inc. DS30015F-15 4-19 PIC®16C5x Series BASIC INSTRUCTION SET SUMMARY NOTES TO TABLE 6 Each PIC instruction is a t 2-bit word divided into an OP Notel: The 9th bit of the program counter will be forced code which specifies the instruction type and one or to a "zero" by CALL, MOVWF 2 , or ADDWF 2 more operands which further specify the operation olthe instructions. instruction. The PIC instruction set summary in Table 6 Note 2: When an 1/0 register is modified as a function of lists byte-oriented, bit-oriented, and literal and control itself ( e.g. MOVF 6,1 ), the value used will be operations. that value present on the pins themselves. For example, a tristated pin which data latch is "1" For byte-oriented instructions, "f" represents a file regis- but is driven low by an external device, will be ter designator and "d" represents a destination designa- relatched in the low state. tor. The file register designator specifies which one of Note 3: The instruction "TRIS f" , where f = 5 or 6 or 7 the 32 PIC file registers is to be utilized by the instruction. causes the contents of the W register to be Forthe PICI6C57, bit 5 and 6 in the FSR determine the written to the tristate latches of the specified file selected register bank. (port). A "one" forces the pin to a high imped- The destination designator specifies where the result of ance state and disables the output buffers. the operation is to be placed. If "d" is zero, the result is Note 4: If this instruction is executed on file register fl placed in the W register. If "d" is one, the result is placed (and, where applicable, d=I), the prescalerwill in the file register specified in the instruction. be cleared if assigned to the RTCC. For bit-oriented instructions, "b" represents a bit field designator which selects the number of the bit affected by the operation, while "f" represents the number of the file in which the bit is located. For literal and control operations, "k" represents an eight or nine bit constant or literal value. All instructions are executed within one single instruc- tion cycle, unless a conditional test is true or the program counter is changed as a result of an instruction. In this case, the execution takes two instruction cycles. One instruction cycle consists of four oscillator periods. Thus, for an oscillator frequency of 4 MHz, the normal instruc- tion execution time is 1 J..lsec. If a conditional test is true or the program counter is changed as a result of an instruction, the instruction execution time is 2 J..lsec. DS30015F-16 © 1990 Microchip Technology Inc. 4-20 PIC®16C5x Series TABLE 6: INSTRUCTION SET SUMMARY (11-6) (5) (4 - 0) BYTE ·ORIENTED FILE REGISTER OPERATIONS [ OPCODE I d I f(FILE #) [ Instruction-Binary (Hex) Name Mnemonic, Operands Operation Status Affected Notes 0000 0000 0000 000 No Operation NOP None 0000 0011 ffff 021 MoveWtol MOVWF I W---71 None 1,4 0000 0100 0000 040 ClearW CLRW 0---7W Z 0000 0111 Iffl 061 Clearf CLRF I 0---71 Z 4 0000 10dl Iffl 081 Substract WIrom I SUBWF I, d I-W---7d[f+W+l---7d} C, DC,Z 1,2,4 0000 lldl ffff OCI Decrement I DECF I, d 1-1 ---7d Z 2,4 0001 OOdl ffff 101 Inclusive OR Wand I IORWF I, d Wvl---7d Z 2,4 0001 01dl ffff 141 ANDWandl ANDWF I, d W&I---7d Z 2,4 0001 10dl Iffl 181 Exclusive OR Wand I XORWF I, d Wffi 1---7d Z 2,4 0001 lldl Iffl lCI Add W and I ADDWF I, d W+I---7d C,DC,Z 1,2,4 0010 OOdl ffff 201 Move I MOVF I, d 1---7d Z 2,4 0010 01dl Iffl 241 Complement I COMF I, d 1---7d Z 2,4 0010 10dl Iffl 281 Increment I INCF I, d 1+ 1---7d Z 2,4 0010 lldl Iffl 2CI Decrement I,Skip il Zero DECFSZ I, d 1- 1 ---7 d, skip il zero None 2,4 0011 OOdl Iffl 301 Rotate right I RRF I, d I(n) ---7 d(n-l), C ---7 d(7), 1(0) ---7 C C 2,4 0011 01dl Iffl 341 Rotate left I RLF I, d I(n) ---7 d(n+ 1), C ---7 d(O), 1(7) ---7 C C 2,4 0011 10dl Iffl 381 Swap halves I SWAPF I, d 1(0-3) B 1(4-7) ---7 d None 2,4 0011 lldl ffff 3CI Increment I,Skip il zero INCFSZ I, d 1+1 ---7 d, skip il zero None 2,4 (11-8) (7-5) (4 - 0) BIT· ORIENTED FILE REGISTER OPERATIONS [ OPCODE I b(BIT#) I I(FILE#) [ Instruction-Binary (Hex) Name Mnemonic,Operands Operation Status affected Notes 0100 bbbi Iffl 4bl Bit Clear I BCF I, b a---71(b) None 2,4 0101 bbbl ffff 5bl Bit Set I BSF I, b 1 ---71(b) None 2,4 0110 bbbl ffff 6bl Bit Test I,Skip il Clear BTFSC I, b Test bit (b) in file (I): Skip il clear None 0111 bbbl Iffl 7bl Bit Test I, Skip il Set BTFSS I, b Test bit (b) in lile (I): Skip il set None (11-8) (7 - 0) LITERAL AND CONTROL OPERATIONS [ OPCODE I k (LITERAL) [ Instruction-Binary (Hex) Name Mnemonic,Operands Operation Status affected Notes 0000 0000 0010 002 Load OPTION register OPTION - W---7 OPTION register None 0000 0000 0011 003 Go into standby mode SLEEP a---7 WDT, stop oscillator TO,PD 0000 0000 0100 004 Clear Watchdog timer CLRWDT - 0---7 WDT (and prescaler, il assigned) TO,PD 0000 0000 Olff 001 Tristate port I TRIS I W---7 I/O control register I None 3 1000 kkkk kkkk 8kk Return,place Literal in W RETLW k k ---7 W, Stack ---7 PC None 1001 kkkk kkkk 9kk Call subroutine CALL k PC+l .... Stack,k---7PC None 1 101 k kkkk kkkk Akk Go To address (k is 9 bit) GOTO k k ---7 PC (9 bits) None 1100 kkkk kkkk Ckk Move Literal to W MOVLW k k---7W None 1101 kkkk kkkk Dkk Incl. OR Literal and W IORLW k kvW---7W Z 1110 kkkk kkkk Ekk AND Literal and W ANDLW k k&W---7W Z 1111 kkkk kkkk Fkk Excl. OR Literal and W XORLW k kffiW---7W Z Notes: See previous page © 1990 Microchip Technology Inc. DS30015F-17 4-21 PIC®16C5x Series WATCHDOG TIMER (WDT) OSCILLATOR CIRCUITS The watchdog timer is realized as a free running on-chip OSCILLATOR TYPES RC oscillator which does not require any external com- The PIC16C5x series is available with 4 different oscil- ponents. That means that the WOT will run, even if the lator circuits. On windowed devices, a particular oscilla- clock on the OSC1/0SC2 pins of the device has been tor circuit can be selected by programming the configu- stopped, lor example, by execution 01 a SLEEP instruc- ration EPROM accordingly. The PIC developmenttools tion. A WOT timeout generates a device RESET condi- (e.g. PIC-ICE, PICPRO) provide special commands to tion. The WOT can be permanently disabled by pro- select the desired oscillator configuration. gramming a "zero" into a special EPROM fuse which is On OTP and aTP devices, the oscillator configuration is not part 01 the normal program memory EPROM. The determined by the factory and the parts are tested only PIC development tools "PIC-ICE" and "PICPRO" pro- to the according specifications. vide special commands to program this fuse. CRYSTAL OSCILLATOR WDTPERIOD The WOT has a time-out period of approx. 18 ms. If The PIC16C5x-XT, -HS needs a crystal or ceramic longer time-out periods are desired, a prescaler with a resonator connected to the OSC1 and OSC2 pins to division ratio of up to 1:128 can be assigned to the WOT establish oscillation (Fig. 7). Note that the series resistor under software control by writing to the OPTION regis- Rs is only required for the "HS" oscillator. ter. Thus, time-out periods up to 2.5 seconds can be realized. RC OSCILLATOR The "CLRWOT" and "SLEEP" instructions clear the For timing uncritical applications the "RC" device option WOT and the prescaler, if assigned to the WOT, and offers additional cost savings. The RC oscillator fre- prevent it from timing out and generating a device quency is a function of the supply voltage, the resistor RESET condition. (Rext) and capacitor (Cext) values, and the operation The status bit "TO" in file register 13 will be cleared upon temperature. In addition, there will be variation from unit a watchdog timer timeout. to unit due to normal process variation. Figure 9 shows The WOT period is a function of the supply voltage, how the RIC combination is connected tothe PIC16C5x. operating temperature, and may also vary from unit to Some typical values for the oscillator frequency at given unit due to variations in the manufacturing process. Rand C values and supply voltages are listed in Table Please refer to the ELECTRICAL CHARACTERISTICS 7. For Rext values below 2.2 kOhm, the oscillator section and Figures 21, 22 lor more details. operation will become unstable, or stop completely. For very high Rext values (e.g. 1 MOhm), the oscillator SPECIAL WDT PROGRAMMING CAUTIONS: becomes sensitive to noise and humidity. Thus, we 1. PIC16C54/C55: recommend to keep Rext between 5 kOhm and 100 If no prescaler is assigned to the WOT, its typical time- kOhm. . out period is 18 ms. However, a CLRWOT orSLEEP instruction has to occur before 1/2 01 the time-out period (Le. 9 ms) is over. Otherwise, the CLRWOT or SLEEP instruction itself will cause a device RESET. TABLE 7: RC OSCILLATOR FREQUENCIES If the WOT has a prescaler assigned, the full WOT period is available lor a CLRWOT instruction. Rext Cext voo Fosc 1= 25° C This precaution is not necessary for the PIC16C56 5kOhm o pF 5.0V 4.0 MHz and PIC16C57. 5kOhm 20pF 6.0 V 2.2 MHz 2. In a noisy application environment the OPTION reg- 5kOhm 20 pF 3.5 V 2.5 MHz ister can get corrupted. The OPTION register should 10 kOhm 130 pF 5.0V 480 kHz be updated at regular intervals. 10 kOhm 290pF 5.0V 245 kHz It should also be taken in account that under worst 100 kOhm 300 pF 3.5V 30 kHz case conditions (VDD = Min., Temperature = Max., max. WOT prescaler) it may take several seconds Rext. min. =2.2 kOhm, Cext. min. = 0 pF (see text) belore a WOT timeout occurs. DS30015F-18 © 1990 Microchip Technology Inc. 4-22 PIC®16C5x Series Although the oscillator will operate with no external operating temperature with given R, C, and VOD values. capacitor (Cext = 0 pF), we recommend using values Note that this graph is normalized to 25' C. above 20 pF for noise and stability reasons. Figure 10 shows the typical dependency of the oscillator The oscillator frequency, divided by 4, is available on the frequency from VDO for given RexVCext values. Figure OSC2/CLKOUT pin, and can be used for test purposes 11 shows the frequency as a typical function of the or to synchronize other logic (see Fig. 20 for timing). FIGURE 7: CRYSTAL OPERATION (OR CERAMIC RESONATOR) (HS, XT TYPES ONLY) OS~I - -.- - - - , 1 f-_------~. PIC16C5x ~ r~~ ,_J- 7 CJ XTAL : \ ,~SLEEP T ....OSC2 LTJ '1 © 1990 Microchip Technology Inc. DS33013A-13 4-47 -_.--- ---'- --- - - - - ------------- - - - - - - - - - - _ - .. -._._-- .. PIC1654S OSCILLATOR OPTIONS (TYPICAL CIRCUITS) (Cont.) CRYSTAL INPUT OPERATION t I ) 20pF I OSC1(PIN16) r--[ 1-10M ~ c::::J XTAL' PARALLEL ~ ~ - [ - RESONANT) = 1--l~-+-~'VVv----.c, OSC2 (PIN 15) 20pF 1K , Or ceramic resonator EXTERNAL CLOCK INPUT OPERATION VDO CLOCK FROM ""-_ ,,~1 EXTERNAL SYSTEM --V~-~o----~) OSC1 (PIN 16) NC------~ OSC2 (PIN 15) PRIMARY SUPPLY CURRENT AT SELECTED TEMPERATURES PIC1654S PIC1654S-H PIC1654S-1 Characteristic Sym Typ Max Typ Max Units Conditions Primary Supply Current IDD 40 54 48 58 rnA -40'C, All I/O pins at VDD 35 50 44 54 rnA O'C, All 1/0 pins at VDD 24 45 39 49 rnA 70'C, All I/O pins at VDD 22 42 36 46 rnA 85T, All 1/0 pins at VDD - 30 40 rnA 11 O'C, All 1/0 pins at VDD DS33013A-14 © 1990 Microchip Technology Inc. 4-48 PIC1654S MASTER CLEAR (TYPICAL CIRCUIT) VDD Rext ~< R::; lOOK Cext b y O.l~F MCLR (PIN 4) Typical Values R = lOOK C =O.l~f The MCLR pin must be pulsed low for a minimum of one complete instruction cycle (tCY) for the master clear function to be guaranteed, assuming that power is applied and the oscillator is running. For initial power application, a delay is required for the external oscillator time base element to start up before "M"eIR is brought high. To achieve this, an external RC configuration, as shown, can be used. This provides approximately a 10ms delay (assuming VDD is applied as a step function), which may be insufficient for some time base elements. Consult the manufacturer of the time base element for the specific start-up times. OUTPUT SINK CURRENT GRAPH (TYPICAL) 20 IOL 15 .-- --- ~~ - - VDD=5.0V (mA) 10 ", ~ ~ "" 5 V .J>V /'fI' 1.0 2.0 3.0 VOL (volts) IOLVS VOL TA = 25'C, VDD = 5.0V © 1990 Microchip Technology Inc. 4-49 DS33013A-15 PIC1654S SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS PIC1654S· H /P X 1 Pattern 3-Digil Pattern Code y Package 'SO P 'L Plaslic DIP SOIC (Gull Wing Lead) PLCC (J Lead) Y Temperature Range Blank O°C 10 +70°C J -40°C 10 +85°C H -4Q°C to + 110°C Device PIC1654S Notes: 'SOIC and PLCC available in Commercial Temperature (O°C to +70°C) only DS33013A-16 © 1990 Microchip Technology Inc. 4-50 Microchip PIC1655 8-Bit Microcontroller FEATURES User programmable PIN CONFIGURATION Intelligent controller for stand-alone applications 32 8-bit RAM registers 28 LEAD DUAL INLINE 512 x 12-bit program ROM Top View • Arithmetic Logic Unit Real Time Clock/Counter -> RTCC MCLR <- External or RC input oscillator mask option Vdd OSC <- Vxx CLKOUT-> Self-contained oscillator Vss RC7 <---> Access to RAM registers inherent in instruction TEST RC6 <---> Wide power supply operating range (4.5V to 7.0V) <--->RAO RC5H Available in three temperature ranges: O' to 70'C, <--->RA1 RC4 <---> _40' to 85T and _40' to 11 O'C <--->RA2 RC3H 4 inputs, 8 outputs, 8 bi-directional 1/0 lines <--->RA3 RC2 <---> • 2 level stack for subroutine nesting <--->RBO RC1 <---> <--->RB1 RCOH DESCRIPTION <--->RB2 RB7H <-7 RB3 RB6 <---> The PIC®1655 microcontroller is an MOSILSI device <-7 RB4 RB5 <---> containing RAM, 1/0, and a central processing unit as well as customer-defined ROM on a single chip. This combination produces a low cost solution for applica- tions which require sensing individual inputs and con- trolling individual outputs. Keyboard scanning, display driving, and other system control functions can be done Extensive hardware and software support is available to at the same time due to the power of the 8-bit CPU. aid the user in developing an application program and to verify performance before committing to mask tooling. The internal ROM contains a customer-defined program Programs can be assembled into machine language using the PIC's powerful instruction set to specify the using PICALC, a powerful macroassembler. PICALC is overall functional characteristics of the device. The 8-bit available in a MS-DOS version that can be run on an input/output registers provide latched lines for interfac- IBM PC or compatible computer system. Once the ap- ing to a limitless variety of applications. The PIC can be plication program is developed several options are used to scan keyboards, drive displays, control elec- available to insure proper performance. The PIC's tronic games and provide enhanced capabilities for operation can be verified in any hardware application by motor controls, telecommunication equipment, radios, using the PIC1664. The PIC1664 is a ROMless PIC television, consumer appliances, industrial timing and microcomputer with additional pins to connect external control applications. The 12-bit instruction word format PROM or RAM and to accept HALT commands. The provides a powerful yet easy to use instruction repertoire PFD1000 Field Demo System is available containing a emphasizing single bit manipulation as well as logical PIC1664 with sockets for erasable CMOS PROM's. and arithmetic operations using bytes. Finally, the PICES II (PIC In-Circuit Emulation System) The PIC1655 is fabricated with N-Channel Silicon Gate provides the user with emulation and debugging capa- technology resulting in a high performance product with bility in either a stand-along mode or operation as a proven reliability and production history. Only a single peripheral to a larger computer system. Easy program wide range power supply is required for operation, and debugging and changing is facilitated because the user's an on-chip oscillator provides the operating clock with program is stored in RAM. With these development only an external RC network (or buffered crystal oscilla- tools, the user can quickly and confidently order the tor signal, for greater accuracy) to establish the fre- masking of the PIC's ROM and bring his application into quency. Inputs and outputs are TTL-compatible. the market. © 1990 Microchip Technology Inc. DS30006B-1 4-51 PIC1655 ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcon- The Arithmetic Logic Unit contains one temporary work- troller is based on a register file concept with simple yet ing register or accumulator (W Register) and gating to powerful commands designed to emphasize bit, byte, perform Boolean functions between data held in the and register transfer operations. The instruction set working register and any file register. also supports computing functions as well as these The Program ROM contains the operational program for control and interface functions. the rest of the logic within the controller. Sequencing of Internally, the PIC is composed of three functional microinstructions is controlled via the Program Counter elements connected together by a single bidirectional (PC) which automatically increments to execute in-line bus: the Register File composed of 32 addressable 8- programs. Program control operations can be performed bit registers, an Arithmetic Logic Unit, and a user- by Bit Test and Skip instructions, Jump instructions, Call defined Program ROM composed of 512 words each 12 instructions, or by loading computed addresses into the bits in width. The Register File is divided into two PC. In addition, an on-Chip two-level stack is employed functional groups: operational registers and general to provide easy to use subroutine nesting. Activating the registers. The operational registers include, among MCLR input on power up initializes the ROM program to others, the Real Time Clock Counter (PC), the Status address 7778. Register, and the 110 Registers. The general purpose registers are used for data and control information under command of the instructions. PIC1655 BLOCK DIAGRAM FILE SELECT 5 GENERAL REGISTER REGISTER 4 RAO-3 (F4) FILES (F10·F37) 5 8 RBO-7 8 RCO-7 12 PROGRAM ROM 512 x 12 0530006B-2 © 1990 Microchip Technology Inc. 4-52 PIC1655 PIN FUNCTION TABLE Name Function OSC1 (Input) Oscillator input. This signal can be driven by an external oscillator if a precise frequency of operation is required or an external RC network can be used to set the frequency of operation of the internal clock generator. This is a Schmitt trigger input. RTCC (Input) Real Time Clock Counter. Used by the microprogram to keep track of elapsed time between events. The RTCC register increments on falling edges applied to this pin. This register can be loaded and read by the program. This is a Schmitt trigger input. RAO-3 (input) 4 input lines. RBO-7 (output) 8 output lines. RCO-7 (input/output) 8 user programmable input/output lines. MCLR (input) Master Clear. Used to initialize the internal ROM program to address 7778 and latch all 1/0 register high. Should be held low at least 1 ms past the time when the power supply is valid. This is a Schmitt trigger input. RAM registers are not initialized by Master Clear CLKOUT (output) A signal derived from the internal oscillator. Used by external devices to synchronize themselves to PIC timing. TEST Used for testing purposes only. Must be grounded for normal operation. Voo Primary power supply. Vxx Output Buffer power supply. Used to enhance output current sinking capability. Vss Ground. © 1990 Microchip Technology Inc. 08300068-3 4-53 PIC1655 REGISTER FILE ARRANGEMENT File Function (Octal) FO Nol a physically implemented register. FO calls for the contents of the File Select Register (low order 5 bits) to be used to select a file register. FO is thus useful as an indirect address pointer. For example, W+ FO ~ Wwill add the contents of the file register pointed to by the FSR (F4) to Wand place the resuH in W. Ft Real Time Clock Counter Register. This register can be loaded and read by the microprogram. The RTCC register keeps counting up after zero is reached. The counter increments on the falling edge of the input RTCC. However, if data is being stored in the RTCC register simultaneously with a negative transition on the RTCC pin, the RTCC register will contain the new stored value and the external transition will be ignored by the microcomputer. F2 Program Counter (PC). The PC is automatically incremented during each instruction cycle, and can be written into under program control (MOVWF F2). The PC is nine bits wide, but only its low order 8 bits can be read under program control. F3 Status Word Register. F3 can be altered under program control only via b~ set, b~ clear, or MOVWF F3 instruction. (7) (6) (5) (4) (3) (2) (1) (0) I1 I1 I z I DC I C C (Carry): For ADD and SUB instructions, this bit is set if there is a carry out from the most significant bit of the resuHant. For ROTATE instructions, this bit is loaded with either the high or low order bk of the source. DC(Dig~ For ADD and SUB instructions, this bit is set if there is a carry out from the 4th Carry): low order bit of the resultant. Z(Zero): Set if the result of an Arithmetic operation is zero. Bits: 3-7 These bits are defined as logic ones. F4 File Select Register (FSR). Low order 5 bits only are used. The FSR is used in generating effective file register addresses under program control. When accessed as a directly addressed file, the upper 3 bits are read as ones. F5 Input Register A (AO-A3) (M - A7 defined as zeros). F6 Output Registers B (BO·B7). F7 1/0 Register C (CO-C?). Fl0s- General Purpose Registers. F37s BASIC INSTRUCTION SET SUMMARY register. If "d" is one, the result is returned to the file register specified in the instruction. Each PIC instruction is a 12-bit word divided into an OP For bit oriented instructions, "b" represents a bit field code that specifies the instruction type and one or more designator that selects the number of the bit affected by operands specifying the operation of the instruction. the operation, while "f" represents the number of the file The following PIC instruction summary lists byte-ori- in which the bit is located. ented, bit-oriented, and literal and control operations. For literal and control operations, "k" represents an For byte-oriented instructions, "f" represents a file regis- eight- or nine-bit constant or literal value. ter designator and "d" represents a destination designa- tor. The file register designator specifies which one of For an oscillator frequency of 1 MHz the instruction the 32 PIC file registers is to be utilized by the instruction. execution time is 4l1sec, unless a conditional test is true The destination designator specifies where the result of or the program counter is changed as a result of an the operation performed by the instruction is to be instruction. In these cases, the instruction execution placed. If "d" is zero, the result is placed in the PIC W time is 8 I1sec. 08300068-4 ® 1990 Microchip Technology Inc. 4-54 PIC1655 BYTE-ORIENTED FILE REGISTER OPERATIONS (11-6) (5) (4-0) For d = 0, I ~ W (pICAL accepts d = 0 or d = W in the mnemonic) OPCODEI d I I(FILE#) I d =I, I ~ I (il d is omitted, assembler assigns d =1). INSTRUCTION· MNEMONIC, STATUS NAME OPERATION BINARY (Octal) OPERANDS AFFECTED 000 000 000 000 (0000) No Operation NOP None 000 000 Iff Iff (0040) Move W to I (Note 1) MOVWF W~I None 000 001 000 000 (0100) ClearW CLRW O~W Z 000 001 Iff Ifl (0140) Clear I CLRF I O~I Z 000 010 dff Iff (0200) Subtract W Irom I SUBWF I,d I-W~d [I + IN + 1~dl C,DC,Z 000 011 dll Iff (0300) Decrement I DECF I,d I-l~d Z 000 100 dff Iff (0400) Inclusive OR Wand I 10RWF I,d Wvf~d Z 000 101 dff Iff (0500) ANDbW and I ANDWF I,d W·I~d Z 000 110 dff Ilf (0600) Exclusive OR Wand I XORWF I,d W(jll~d Z 000 111 dff Iff (0700) AddWandl ADDWF I,d W+F~d C,DC,Z 001 000 dff Iff (1000) Move I MOVF I,d I~d Z 001 001 dff Iff (1100) Complement I COMF I,d I~d Z 001 011 dff Iff (1200) Increment I INCF I,d f+l~d Z 001 011 dff ffl (1300) Decrement I, Skip to Zero DECFSZ I,d I - 1~d, skip il Zero None 001 100 dlf Iff (1400) Rotate Right I RRF I,d I(n)~d(n-l), C~d(7), I(O)~C C 001 101 dff ffl (1500) Rotate Left I RLF I,d I(n)~d(n + I), C~d(O), C 1(7)~C 001 110 dff Iff (1600) Swap halves I SWAPF I,d 1(0-3) H 1(4-7)~d None 001 111 dff Iff (1700) Increment I, Skip il Zero INCFSZ I,d I + l~d, skip il Zero None BIT-ORIENTED FILE REGISTER OPERATIONS (11-8) (7-5) (4-0) I OP CODE I b (BIT #) I I(FILE #) I INSTRUCTION· MNEMONIC, STATUS NAME OPERATION BINARY (Octal) OPERANDS AFFECTED 010 Obb bff Iff (2000) Bit Clear I BCF I,b O~I(b) None 010 lbb bff Iff (2400) Bit Set I BSF I,b 1~I(b) None 011 Obb bff Iff (3000) Bit Test I, skip il Clear BTFSC I,b Bit Test I(b): skip il clear None 011 lbb bff Iff (3400) Bit Test I, skip il Set BTFSS I,b Bit Test I(b): skip il set None LITERAL AND CONTROL OPERATIONS (11-8) (7-0) OPCODE k (LITERAL) INSTRUCTION· MNEMONIC, STATUS NAME OPERATION BINARY (Octal) OPERANDS AFFECTED 100 Okk kkk kkk (4000) Return and place Literal in W RETLW k k~w, Stack~PC None 100 lkk kkk kkk (4400) Call subroutine (Note 1) CALL k PC + 1~Stack, k~PC None 101 kkk kkk kkk (5000) Go to address (k is 9 bits) GOTO k k~PC None 110 Okk kkk kkk (6000) Move Literal to W MOVLW k k~W None 110 ikk kkk kkk (6400) Inclusive OR Literal and W 10RLW k kvW~W Z 111 okk kkk kkk (7000) AND Literal and W ANDLW k k·W~W Z 111 lkk kkk kkk (7400) Exclusive OR Literal and W XORLW k kffiW~W Z NOTES: 1. The 9th bit 01 the program counter in the PIC is zero or a CALL and a MOVWF F2. Therelore, subroutines must be located in program memory locations 0-3778. However, subroutines can be called Irom anywhere in the program memory since the Stack is 9 bits wide. 2. When an 1/0 register is modilied as a lunction 01 itsell, the value used will be that value present on the pins. For example, an output pin which has been latched high but is driven low by an external device, will be relatched in the low state. See example 2 on page 7. © 1990 Microchip Technology Inc. DS30006B-5 4·55 PIC1655 1/0 INTERFACING the pin can be connected directly to a TTL gate input. When inputting data through an 1/0 Port, the port latch The equivalent circuit for an 1/0 port bit is shown below must first be set to a high level under program control. as it would interface with either the input of a TTL device This turns off 02, allowing the TTL open collector device (PIC is outputting) or the output of an open collector TTL to drive the pad, pulled up by 01, which can source a device (PIC is inputting). Each 1/0 port bit can be minimum of lOOIlA. Care, however, should be exer- individually time multiplexed between input and output cised when using open collector devices due to the functions under software control. When outputting potentially high TTL leakage current which can exist in through a PIC 1/0 Port, the data is latched at the port and the high logic state. TYPICAL INTERFACE-BIDIRECTIONAL 1/0 LINE - - - - - - - - - - - - I r VDD Vxx DN (INTERNAL DATA BUS) WRITE (INTERNAL SIGNAL) - - - I c READ ~-?- I= (INTERNAL SIGNAL) I TTL DEVICE OUTPUT PIC I/O BIT (OPEN-COLLECTOR) - - - - - - - - - - - - - - --.J - - - - - Note: 01 can be disconnected via mask option to form an "open drain" pin. Bidirectional 1/0 Ports example, read the entire port into the CPU, execute the bit operation, and re-output the result. Caution must be The bidirectional ports may be used for both inut and used when using these instructions. As an example a output operations. For input operations these ports are BSF operation on bit 5 of F7 (port RC) will cause all eight non-latching. Any input must be present until read by an bits of F7 to be read into the CPU. Then the BSF input instruction. The outputs are latched and remain operation takes place on bit 5 and F7 is re-output to the unchanged until the output latch is rewritten. For use as output latches. If another bit of F7 is used as an inut (say an input port the output latch must be set in the high bit 0) then bit 0 must be latched high. If during the BSF state. Thus the external device inputs to the PIC circuit instruction on bit 5 an external device is forcing bit 0 to by forcing the latched output line to the low state or the low state then the input/output nature of the BSF keeping the latched output high. This principle is the instruction will leave bit 0 latched low after execution. In same whether operating on individual bits or the entire this state bit 0 cannot be used as an input until it is again port. latched high by the programmer. Refer to the examples Some instructions operate internally as input followed by below. output operations. The BCF and BSF instructions, for DS30006B-6 © 1990 Microchip Technology Inc. 4-56 PIC1655 Input Only Port: (Port RA) Successive Operations on Sidirectionall/O The input only port of the PIC1655 consists of the four Ports LSB's of F5 (port RA). An internal pull-up device is Care must be exercised if successive instructions provided so that external pull-ups on open collector logic operate on the same 1/0 port. The sequence of instruc- are unnecessary. The four MSB's of this port are always tions should be such to allow the pin voltage to stabilize read as zeros. Output operations to F5 are not defined. (load dependent) before the next instruction which causes Note that the BTFSC and BTFSS instructions are input that file to be read into the CPU (MOVF, BIT SET, BIT only operations and so can be used with F5. Also, file CLEAR, and BIT TEST) is executed. Otherwise, the register instructions which leave the results in W can be previous state of that pin may be read into the CPU used. rather than the new state. This will happen iftpd(Seel.O Timing Diagram) is greater than 1/4tcy (min). When in Output Only Port: (Port RS) doubt, it is better to separate these instructions with a The output only port of the PIC1655 consists of F6 (port NOP or other instruction. RB). This port contains no input circuitry and is therefore not capable of instructions requiring an input followed by an output operation. The only instructions which can validly use F6 are MOVWF and CLRF. EXAMPLE 1: EXAMPLE 2: ~~----'I----/~-----Ir---~/ '~----rl--~/'~----'I--~/ OUTPUT INPUT OUTPUT INPUT What is thought to be happening: What could happen if an input were low: BSF 7,5 BSF 7,5 Read into CPU: 00001111 Read into CPU: 00001110 Set bit5: 00101111 Set bit 5: 00101110 Write to F7: 00101111 Write to F7: 00101110 If no inputs were low during the instruction In this case bit 0 is now latched low and is execution, there would be no problem. no longer useful as an input until set high again. © 1990 Microchip Technology Inc. OS300068-7 4-57 PIC1655 ELECTRICAL CHARACTERISTICS -Notice: Stresses above those listed under "Maximum Ratings" may cause permanent damage to the device. Maximum Ratings* This is a stress rating only and functional operation olthe device at those or any other conditions above those Ambient temperature under bias ........................ 125·C indicated in the operation listings of this specification is Storage Temperature ...................... - 55·C to + 150·C not implied. Exposure to maximum rating conditions for Voltage on any pin with respect extended periods may affect device reliability. to Vss .................................................... -0.3V to + 10.0V Power Dissipation (Note 1) ........................... 1000mW DC CHARACTERISTICS/PIC1655 Operating temperature TA = O·C to + 70·C Characteristic Sym Min Typt Max Units Conditions Primary Supply Voltage Vcc 4.5 7.0 V Output Buffer Supply Voltage Vxx 4.5 10.0 V (Note 2) Primary Supply Current 100 - 30 65 mA All 1/0 pins @ Voo (Note 6) Output Buffer Supply Current Ixx - 1 5 mA All 110 pins @ voo (Note 3) Input Low Voltage VIL -0.2 0.8 V Input High Voltage (except MClR, RTCC & OSC) VIH 2.4 - Voo V Input High Voltage (MCLR, RTCC & OSC) VILH Voo - 1 Voo V Output High Voltage VOH 2.4 - Voo V IOH = -100~A (Note 4) 3.5 - Voo V IOH = 0 Output Low Voltage VOL1 - 0.45 V IOL = -1.6mA, Vxx = 4.5V (1/0 only) - - 0.90 V IOL = 5.0mA, Vxx = 4.5V - - 0.90 V IOL = 5.0mA, Vxx = 8.0V - 1.20 V IOL = 10.0mA, Vxx = 8.0V - - 2.0 V IOL = 20.0mA, Vxx = 8.0V (Note 5) Output low Voltage VOL2 - 0.45 V IOL = -1.6mA, (Note 5) (CLKOUT) Input Leakage Current ILC -5 +5 ~A Vss ::; VIN ::; Voo (MCLR, RTCC) Leakage Current IOLC - 10 ~A Vss::; VPIN::; 10V (open drain 110 pins) Input Low Current IlL - 0.2 -0.6 -1.6 mA VIL = O.4V internal pullup (all 1/0 ports) Input High Current IIH - 0.1 -0.4 -1.4 mA VIH = 2.4V (all 1/0 ports) t Typical data is at TA = 25·C, Voo = 5.0V. NOTES: 1. Total power dissipation for the package is calcu- 4. Positive current indicates current into pin. lated as follows: Negative.current indicates current out of pin. Po = (Voo) (100) + L(VOO - VIL) (IIOHI) + L(VOL) 5. TotalloL for all output pins (1/0 ports plus ClK (IOL). OUT) must not exceed 225mA. The term 1/0 refers to all interface pins; input, 6. See Primary Supply current Chart for additional output or 1/0. information. 2. Vxx supply drives only the 1/0 ports. 3. The maximum Ixx current will be drawn when all 1/0 ports are outputting a High. D8300068-8 © 1990 Microchip Technology Inc. 4-58 PIC1655 DC CHARACTERISTICS/PIC16551 Operating temperature TA = -40'C to + 85'C Characteristic Sym Min Typt Max Units Conditions . Primary Supply Voltage VDD 4.5 7.0 V Output Buffer Supply Voltage Vxx 4.5 - 10.0 V (Note 2) Primary Supply Current IDD 30 70 mA All 1/0 pins @ VDD (Note 6) Output Buffer Supply Current Ixx 1 5 mA All 1/0 pins @ VDD (Note 3) Input Low Voltage VIL -0.2 0.7 V Input High Voltage (except MCLR, RTCC & OSC) VIH 2,4 - VDD V Input High Voltage (MCLR, RTCC & OSC) VILH VDD -1 VDD V Output High Voltage VOH 2,4 - VDD V IOH = -100IlA (Note 4) IOH = 0 Output Low Voltage VOL1 - - 0,45 V IOL = -1.6mA, Vxx = 4.5V (1/0 only) - - 0.90 V IOL = 5.0mA, Vxx = 4.5V - - 0.90 V IOL = 5.0mA, Vxx = 8.0V - 1.20 V IOL = 10.0mA, Vxx = 8.0V - - 2.0 V IOL = 20.0mA, Vxx = 8.0V (Note 5) Output Low Voltage VOL2 - - 0,45 V IOL = -1.6mA, (Note 5) (CLKOUT) Input Leakage Current ILC -5 - +5 IlA Vss ~ VIN ~ VDD (MCLR, RTCC) Leakage Current IOLC - 10 IlA Vss ~ VPIN ~ 10V (drain 1/0 pins) Input Low Current IlL - 0.2 -0.6 -1.8 mA VIL = O,4V internal pullup (all 1/0 ports) Input High Current IIH - 0.1 -0,4 -1.8 mA VIH = 2,4V (all 1/0 ports) t Typical data is at TA = 25'C, VDD = 5.0V. NOTES: 1. Total power dissipation for the package is calcu- 4. Positive current indicates current into pin. lated as follows: Negative current indicates current out of pin. PD = (VDD) (IDD) + :L(VDD - VIL) (IIOHI) + :L(VOL) 5. TotalloL for all output pins (1/0 ports plus CLK (IOL). OUT) must not exceed 225mA. The term 1/0 refers to all interface pins; input, 6. See Primary Supply current Chart for additional output or 1/0. information. 2. Vxx supply drives only the 1/0 ports. 3. The maximum Ixx current will be drawn when all 1/0 ports are outputting a High. © 1990 Microchip Technology Inc. DS30006B-9 4-59 PIC1655 DC CHARACTERISTICS/PIC1655H Operating temperature TA = -40·C to + 11 O'"C Characteristic Sym Min Typt Max Units Conditions Primary Supply Voltage Voo 4.5 - 5.5 V Output Buffer Supply Voltage Vxx 4.5 - 10.0 V (Note 2) Primary Supply Current 100 30 70 rnA All I/O pins @ Voo (Note 6) Output Buffer Supply Current Ixx - 1 5 rnA All I/O pins @ Voo (Note 3) Input low Voltage VIL -0.2 0.7 V Input High Voltage (except MClR, RTCC & OSC) VIH 2.4 Voo V Input Low-lo-High Threshold Voltage (MClR, RTCC & OSC) VILH Voo -1 - Voo V Output High Voltage VOH 2.4 - Voo V IOH = -100J.1A (Note 4) IOH = 0 Output Low Voltage VOL1 . 0.45 V IOL = -1.6mA, Vxx = 4.5V (I/O only) - 0.90 V IOL = 5.0mA, Vxx = 4.5V - 0.90 V IOL = 5.0mA, Vxx = 8.0V - - 1.20 V IOL = 10.0mA, Vxx = 8.0V - - 2.0 V IOL = 20.0mA, Vxx = 8.0V (Note 5) Output Low Voltage VOL2 - - 0.45 V IOL = -1.6mA, (Note 5) (ClKOUT) Input leakage Current ILC -5 - +5 J.1A Vss :; VIN :; Voo (MClR, RTCC) Leakage Current IOLC - - 10 J.1A Vss:; VPIN:; 10V (open drain I/O pins) Input low Current IlL - 0.2 -0.6 -1.8 rnA VIL = 0.4V internal pullup (all I/O ports) Input High Current IIH - 0.1 -0.4 -1.8 rnA VIH = 2.4V (all I/O ports) t Typical data is at TA = 25·C, Voo = 5.0V. NOTES: 1. Total power dissipation for the package is calcu- 4. Positive current indicates current into pin. lated as follows: Negative current indicates current out of pin. Po = (Voo) (100) + L(VOO - VIL) (IIOHI) + L(VOL) 5. TotalloL for all output pins (I/O ports plus ClK (IOL). OUT) must not exceed 225mA. The term I/O refers to all interface pins; input, 6. See Primary Supply current Chart for additional output or I/O. information. 2. Vxx supply drives only the I/O ports. 3. The maximum Ixx current will be drawn when all I/O ports are outputting a High. D830006B-10 © 1990 Microchip Technology Inc. 4-60 -- - ---~----- -~".-.~---~" - - - - - _ ..- - PIC1655 AC CHARACTERISTICS/PIC1655, Operating temperature TA = O'C to + 70'C PIC16551 AND PIC1655H -40'C to +85'C and -40'C to + 11 O'C Characteristic Sym Min Typt Max Units Conditions Instruction Cycle Time tCY 4 - 20 I1s 0.2 MHz - 1.0MHz external time base (Notes 1, 2 and 5) RTCC Input Period tRT tCY = 0.2I1S- - - High Pulse Width tRTH 1/2 tRT - - - low Pulse Width tRTl 1/2 tRT - - - (Notes 2 and 3) 1/0 Ports Data Input Setup Time ts - - 1/4tcY - 125 ns Data Input Hold Time tH 0 - - ns Data Output Propagation tpo - 600 1000 ns Capacitive load = 50pF Delay OSC Input External Input Impedance ROSCH 120 800 3500 n Vosc =5V Applies to external High External Input Impedance ROSCl - 10· - n VOSC = O.4V OSC drive only low t Typical data is at TA = 25'C, Voo = 5.OV. NOTES: 1. Instruction cycle period (tCY) equals four times the inut oscillator time base period. 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RTCC input, ClK OUT may be directly tied to the RTCC input. 3. The maximum frequency which may be input to the RTCC pin is calculated as follows: f(max) = _1_ = -:-:-__1---,;;-;;:_ tRT (min) tCY (min) + 0.211S For example: if tCY = 411S, f(max) = - 21 4 = 238KHz . . I1s 4. Caution must be exercised to allow for unit to unit variation of oscillator frequency when using RC option. (See RC Option Operation Graph). PRIMARY SUPPLY CURRENT AT SELECTED TEMPERATURES: PIC1655, PIC16551, PIC1655H Characteristic Sym Max Units Conditions Primary Supply Current 100 70 mA -40'C, All 1/0 pins at Voo 65 mA O'C, All 1/0 pins at Voo 48 mA 70'C, All 1/0 pins at Voo 45 mA 85'C, All 1/0 pins at Voo 42 mA 11 O'C, All 1/0 pins at voo © 1990 Microchip Technology Inc. OS300068-11 4-61 PIC1655 1/0 TIMING CLKOUT f--\ ;-\ /-\-5 GATE I..INCREMENT PC- I 4 EXECUTE ~4 ANSWER ~ WRITE_ _ TO I ADDRESS ROM INSTRUCTION I/O FOR NEXT INSTRUCTION INTERNAL BUS - Tpd I-- I NOTE: Rise and fall times OUTPUT I VALID are load dependant INPUT - IV TS I-- - Th I-- STABLE 1 : - I I --------~!~ I (~---- I I , CLOCK OUT TIMING 1/4t CY I.. .1 1\ 4t 3/ CY -·)\1 CLOCK OUT ~ ~L ____________________ ~ ~ I.. .1 RTCCTIMING i----- tRTH .1... tRTH_1 ~~ I.. '\ tRT 1 .1 DS30006B-12 © 1990 Microchip Technology Inc. 4-62 PIC1655 SCHMITT TRIGGER CHARACTERISTICS (RTCC, MCLR AND OSC PINS) TA =2S'C (TYPICAL) 4.0 VTHRESHOLD VOLTS 3.0 I- l- -- ~ NOTE...1. - I- NOTES: 1. Low-1o-High Threshold Vol1age (VTLH). 2. High-to-Low Threshold Voltage (V THL). 2.0 NOTE 2 1.0 4.5 5.0 5.5 6.0 6.5 7.0 VDD VOLTS RC OPTION OPERATION Voo Rext ~ - ~05C Cext T PIC1655 TYPICAL RC OSCILLATOR FREQUENCY RANGE Rext (kn) 40 , - - - . - - - . Voo= 5.0V TA = 25'C 30 f---t--- Cext = 47pF 20 1--+--+----' 0'--_-'--_-'--_-'-_--'-_--' 0.2 0.4 0.6 0.8 1.0 (MHz) Oscillator Frequency 20.0 10.0 6.7 5.0 4.0 (f1s) Instruction Cycle Time Rext (kn) 40 Voo= 5.0V TA = 25'C 30 Cext = 100pF 20 i---t----' 10 f--+--+---t--= o L-_~_-" __~_ _-'--_~ 0.2 0.4 0.6 0.8 1.0 (MHz) Oscillator Frequency 20.0 10.0 6.7 5.0 4.0 (f1s) Instruction Cycle Time Unit to Unit Variation @ 5.0V, 25'C is ±25'7'0 Variation from VOO = 4.5V - 7.0V referenced to 5.0V is -3%, +9% Variation from TA = O'C - 70'C referenced to 25'C is +3%, -5% © 1990 Microchip Technology Inc. 05300068-13 4-63 PIC1655 BUFFERED CRYSTAL MASTER CLEAR (TYPICAL CIRCUIn INPUT OPERATION XTAL o[ Voo R ~ R $100K 74HC04 74HC04 0---- TO OSC PIN #27 30% $ OUTY CYCLE $ 70% Rext Cext + r O.I~F TO PIC1655 MCLR PIN #28 TC Master Clear requires> 1.0ms delay before The buffer must be capable of driving 120Q, min. (BOOQ, activation after power is applied to the "bo pin, typ.) to 2.0V. However, it is recommended that the for the oscillator to start up. To achieve this, an pull-down transistor on the OSC pin be removed (an external RC configuration as shown can be option) if OSC is to be driven externally. used (assuming VOO is applied as a step function). EXTERNAL CLOCK INPUT OPERATION CLOCK FROM ""-. - TO OSC PIN #27 EXTERNAL SYSTEM ~ OUTPUT SINK CURRENT GRAPH 100 VXX = 10V 90 VXX = 9V 80 Vxx = BV 70 VXX = 7V 60 10L 50 (mA) 40 Vxx = 5V 30 20 10 .5 1.0 1.5 2.0 2.5 3.0 VOL (VOLTS) The Output Sink Current is dependent on the VXX supply and the output load. This chart shows the typical curves used to express the output drive capability. OS300068-14 © 1990 Microchip Technology Inc. 4-64 PIC1655 VOH VS IOH (I/O PORTS) (TYPICAL) POWER SUPPLY CURRENT VS voo = vxx = 4.25V TEMPERATURE (TYPICAL LIMITS) 50 41.o:::--f--f--f--f--f-""""'; 40 T - "00 = 7.0V !---- t-- r-- VOH 3 I 30 00 VOLTS (mA) 2 ~-f--~~~~~-f--4 20 10 200 400 600 800 1000 -40 0 40 80 120 10H(~s) Temp ee) PIC1655 EMULATION CAUTIONS B. Make sure to only use two levels of stack within the program. When emulating a PIC1655 using a PICES II develop- C. Make sure all 110 cautions contained in this spec ment system certain precautions should be taken. sheet are used. A. Be sure that the PICES II Module being used is I D. Be sure to use the 28 pin socket for the module plug. programmed for the PIC1655 mode. (Refer to the PICES Manual). The PIC1655 contained within the E. Make sure that during an actual application the module should have the MODE pin #22 set to a high MCLR input swings from a low to high level a mini- state. mum of 1msec after the supply voltage is applied. 1. This causes the MCLR to force all 110 registers high. F. If an oscillator drive is used, be sure that it can drive the 1200 input impedance of the OSC pin on the 2. The OSC 1 pin #59 becomes a single clock input pin. PIC1664. 3. The interrupt system becomes disabled and the RTCC G. The cable length and internal variations may cause always counts on the trailing edges. some parameter values to differ between the PICES 4. Bits 3 through 7 on file register F3 are all ones. II module and a production PIC1655. © 1990 Microchip Technology Inc. 0830006B-15 4-65 ---_. ~.-------- PIC1655 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the sales offices. For the currently available code-combinations, refer to previous page. PART NUMBERS IP X t Pattern Package "--_---II Temperature I Range 3-Digit Blank I P Pattern Code Plastic DIP 00 C to +70 0 C -40 0 C to +85 0 C H -40 0 C to +110 0 C '---_ _ _ _-11 Device PIC1655 I PIC1657 DS3OO06B-16 4-66 © 1990 Microchip Technology Inc. Microchip PIC1670 8 Bit Microcontroller FEATURES PIN CONFIGURATION 1024 x 13-bit Program ROM 40 Lead Dual In Line 64 x 8-bit RAM (16 special purpose registers) Top View Arithmetic Logic Unit Sophisticated interrupt structure 6 level pushdown stack ~OSC1 Voof- • Versatile self contained oscillator f- OSC2 MCLRf- HRAO RT~ 2.01lS instruction execution time HRA1 RD7~ Wide power supply operating range (4.5-5.5 volts) HRA2 RDSH • 4 sets of 8 user defined TTL compatible 1/0 lines HRA3 RD5H • Available in two temperature ranges: O'C to 70'C f- CLKOUT RD4H and -40'C to 85'C HRA4 RD3H HRA5 RD2H HRAS RD1H HRA7 RDOH HRBO RC7H HRB1 RCSH DESCRIPTION HRB2 RC5H HRB3 RC4H The PIC1670 microcontroller is an MOSILSI device con- HRB4 RC3 f-'7 taining RAM, 1/0, and a central processing unit as well HRB5 RC2 f-'7 HRBS RC1H as customer-defined ROM on a Single chip. This com- HRB7 RcoH bination produces a low cost solution for applications TEST~ ~ Vss which require sensing individual inputs and controlling individual outputs. Keyboard scanning, display driving, and system control functions can be done at the same time due to the power of the 8-bit CPU. Extensive hardware and software support is available to The internal ROM contains a customer-defined program aid the user in developing an application program and to using the PIC's powerful instruction set to specify the verify performance before committing to mask tooling. overall functional characteristics of the device. The 8-bit Programs can be assembled into machine language input/output registers provide latched lines for interfac- using PICALC, eliminating the burden of coding with ing to a limitless variety of applications. The PIC can be ones and zeros. Once the application program is devel- used to scan keyboards, drive displays, control elec- oped, several options are available to insure proper per- tronic games and provide enhanced capabilities to formance. The PIC's operation can be verified in any vending machines, traffic lights, radios, television, con- hardware application by using the PIC1665. The PIC 1665 sumer appliances, industrial timing and control applica- is a ROM-less PIC1670 microcontroller with additional tions. The 13-bit instruction word format provides a pins to connect external EPROM or RAM and to accept powerful yet easy to use instruction repertoire empha- HALT commI - 0 000 ld Iff Iff (00200) Subtract WIrom file wlborrow SUBBWF I,d I+W+c-,>d OV,C,DC,Z 0 000 10d Iff Iff (00400) Subtract WIrom file SUBWF I,d I+W+l-,>d OV,C,DC,Z 0 000 l1d Iff Iff (00600) Decrement Iile DECF I,d 1-1-,> d OV,C,DC,Z 0 001 OOd Iff Iff (01000) Inclusive or Wwith lile IORWF I,d WVf -'> d Z 0 001 Old Iff Iff (01200) And Ww~h lile ANDWF I,d W'l-,>d Z 0 001 10d Iff Iff (01400) Exclusive OR Ww~h lile XORWF I,d wEB I-,>d Z 0 001 lld Iff ffl (01500) Add Wwith lile ADDWF I,d W+I-,>d OV,C,DC,Z 0 010 OOd Iff Iff (02000) Add Wto Iile with carry ADCWF I,d W+I+c-,>d OV,C,DC,Z 0 010 Old Ifl Iff (02200) Complement lile COMPF I,d f-,>d Z 0 010 10d Iff Iff (02400) Increment file INCF I,d I+l-,>d OV,C,DC,Z 0 010 lld Iff Iff (02600) Decrement lile, skip il zero DECFSZ I,d I • 1 -'> d, skip il zero 0 011 OOd Iff Iff (03000) Rotate lile right through carry RRCF I,d I(n)-,>d(n - 1), c-,>d(7), I(O)-'>C C 0 011 Old Iff Iff (03200) Rotate lile left through carry RLCF I,d I(n)-,>d(n + 1), c-,>d(O), 1(7)-,>c C 0 011 Old Iff Iff (03400) Swap upper and lower nibble 01 lile SWAPF I,d 1(0-3) ~ (4-7)-,>d 0 011 lld Iff Iff (03600) Increment Iile, skip il zero INCFSZ I,d I + 1 -'> d, skip il zero 1 000 000 Iff Iff (0004) Move lile to W MOVFW I 1-,> W Z 1 000 001 Iff Iff (00100) Clearlile CLRF I o -'> I Z 1 000 010 Iff Iff (00200) Rotate Iile righVno carry RRNCF I I(n) -'> d(n-l), 1(0) -'> 1(7) 1 000 011 Iff Iff (00300) Rotate lile lelVnocarry RLNCF I I(n)-,>d(n + 1), 1(7)-,>1(0) 1 000 100 Iff Iff (00400) Compare lile to W, skip il F < W CPFSLT I 1- W, skip ilC = 0 1 000 101 Iff Iff (00500) Compare file to Wskip il F = W CPFSEO I I - W, skip il Z = 1 1 000 110 Iff Iff (00800) Compare Iile to W, skip il F> W CPF.SGT I 1- W, skip ilZ· C = 1 1 000 111 Iff Iff (01000) Move lile to itseH TESTF I f-l Z Note 1: The DAW instruction adjusts the eight bit number in the W register to form two valid BCD (binary coded decimal) digits, one in the lower and in the upper nibble. (The results will only be meaningful if the number in W to be adjusted is the result of adding together two valid two digit BCD numbers). The adjustment obeys the following two step algorithm. 1. If the lower nibble is greater than 9 or the digit carry flag (DC) Is set, 06 is added to the W register. 2. Then, if the upper nibble is greater than 9 or the carry from the original or step 1 addition is set, 60 is added to the W register. The carry bit is set if there is a carry from the original step 1 or step 2 addition. OS300038-4 4-70 ©1990 MicrochipTechnology Inc. PIC1670 (12-9) (8 - 6) (5-0) BIT ORIENTED FILE REGISTER OPERATIONS OPCODE b(BIT#) f(FILE#) I I I I Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected a 100 bbb Iff Iff (04000) Bit clear file BCF f,b a -? fIb) a 101 bbb ttf Iff (05000) Bit set file BSF f,b 1 -? fIb) a 110 bbb Iff Iff (06000) Bit test, skip if clear BTFSC f,b Bit Test f(b),skip if clear a 111 bbb Iff Iff (07000) B~ test,skip if set BTFSS f,b B~ Test fIb), skip if set (12-8) (7-0) LITERAL AND CONTROL OPERATIONS I OPCODE Ik (LITERAL) I Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected a 000 000 000 000 (00000) No Operation NOP a 000 000 000 010 (00002) Return from interrupt RETFI Stack -? PC - a 000 000 000 all (00003) Return from Subroutine RETFS Stack -? PC 1 001 Okk kkk kkk (11000) Move Literal tro W MOVLW k k -? W 1 001 lkk kkk kkk (11400) Add Literal to W ADDLW k k+W-?W OV,C,DC,Z 1 010 Okk kkk kkk (12000) Inclusive OR L~eral to W IORLW k kVW -?- W Z 1 010 lkk kkk kkk (02400) And Literal and W ANDLW k k·W-?W Z 1 all Okk kkk kkk (13000) Exclusive OR Literal to W XCRLW k k W-?W Z 1 all lkk kkk kkk (13400) Return and load I~eral in W RETLW k k !iIll W, Stack - PC 1 10k kkk kkk kkk (14000) Go to address GOTO k k -? PC 1 11k kkk kkk kkk (16000) Call Subroutine CALL k PC + 1 -? Stack, k -? PC PIN FUNCTIONS Signal Signal Function Name Type OSC1,OSC2 Input Oscillator pins. The on-board oscillator can be driven by an external crystal Output ceramic resonator or an external clock via these pins. - RT Input Real Time Input. Negative transitions on this pin increment the RTCC (F6) register. This pin can also be used for an interrupt input. This pin uses a Schmitt trigger input. There is no internal active pull-up device. RAO-7, RB-7, Input User programmable inpuVoutput lines. These lines can be used as inputs andi RCO-7, RDO-7 Output or outputs and are under direct control of the program. -- MCLR Input Master Clear: Used to initialize the internal ROM program to address 17778 latch all I/O registers high, and disables the interrupts. This pin uses a Schmitt trigger input. There is no internal active pull-up device. TEST Input Test pin. This pin is used for testing purposes only. It must be grounded for normal operation. Voo - Power supply pin. Vss - Ground pin. CLKOUT Output Clock Output: A signal derived from the internal oscillator. May be used by external circuitry to synchronize with PIC1670 timing. © 1990 Microchip Technology Inc. OS300039-5 4-71 PIC1670 INTERRUPT SYSTEM The interrupt system of the PIC1670 is comprised of an Real-Time Clock Interrupt external interrupt and a real-time clock counter interrupt. These have different interrupt vectors, enable bits and The real-time clock counter (RTCCA & RTCCB, file status bits. Both interrupts are controlled by the status registers F6 and F7) have a similar mechanism of inter- register (F5) shown below. rupt service. The RTCCA register will increment if the count enable (CNTE) bit is set: If this bit is not set the 7 6 5 4 3 2 1 o RTCCA & RTCCB will maintain their present contents [!"JNTE I AlB ICNTS I RTCIR I XIR I RTCIE I XIE and can therefore be used as general purpose RAM registers. The count source (CNTS) bit selects the Notes: 1. Bit 7 is unused and is read as zero. clocking source for RTCCA. If CNTS is cleared to a '0', 2. The Status Register F5 will power up to all then RTCCA will use the internal instruction clock and zeroes. increment at 1/8 the frequency present on the OSC pins. If CNTS is set to a '1', then RTCCA will increment on External Interrupt each high to low transition of the RT pin. RTCCB can only be incremented when RTCCA makes a transition On any high to low transition of the RT pin the external from 3778 to 0 and the AlB status bit is set. This condition interrupt request (XIR) bit will be set. This request will be links the two eight bit registers together to form one serviced if the external interrupt enable (XI E) bit is set or sixteen bit counter. An interrupt request under these if it is set at a later point in the program. The latter allows conditions will occur when the combined (egisters make the processor to store a request (without interrupting) a transition from 1777778 to O. If, however, the AlB bit while a critical timing routine is being executed. Once is not set, then RTCCA will be the only incrementing external interrupt service is initiated, the processor register and an interrupt request will occur when RTCCA willclear the XIR bit, delay one cycle (to execute the makes a transition from 3778 to O. (In this setup the current instruction), then push the current program RTCCB register will not increment and can be used as counter onto the stack and execute the instruction at a general purpose RAM register). Once a request has location 17608. It takes three to four instruction cycles come from the real-time clock counter, the real-time from the transition on the RT pin until the instruction at clock interrupt request (RTCIR) bit will be set. At this 17608 is executed. No new interrupts can be serviced pOint, the request can either be serviced immediately if until a return from interrupt (RETFI) instruction has been the real-time clock interrupt enable (RTCIE) bit is set or executed. be stored if RTCIE is not set. The latter allows the INTERRUPT SYSTEM BLOCK DIAGRAM -", INTERNAL CLOCK JL CARRY OUT ·s· 1 - - - - - CNTE (SIT6) 17408 DS300038-6 © 1990 Microchip Technology Inc. 4-72 PIC1670 Interrupt System (Cont.) on its odd-numbered location will interrogate the chip pins while an 1/0 port READ on its even-numbered processor to store a real-time clock interrupt while a location will interrogate the internal latch in that 1/0 port. critical timing routine is being executed. Once interrupt This simplifies programming in cases where a portion of service is initiated, the processor will clear the RTCIR bit, a single port is used for inputting only while the remain- delay one cycle (to execute the current instruction), then der is used for outputting as illustrated in the following push the present program counter onto the stack and example. execute the instruction at location 1740s. It takes three Here, the low 3 bits of port RA are used as output-only, instruction cycles from when the RTCC(A or B) over- while the high 5 bits are used as input-only. During flows until the instruction 1740s is executed. No new power on reset (MCLR low), the latches in the 1/0 ports interrupts can be serviced until a RETFI instruction has will be set high, turning off all pull down transistors as been executed. represented by 0 2 in the figure below. During program The RETFI instruction (00002s) must be used to return execution if we wish to interrogate an input pin, then, for from any interrupt service routine if any pending inter- example, rupts are to be serviced. External interrupts have priority BTFSS 11,6 over RTCC driven interrupt in the event both types occur will test pin RA6 and skip the next instruction if that pin simultaneously. Interrupts cannot be nested but will be is set. If we wish to modify a single output, then, for serviced sequentially. The existance of any pending example, interrupts can be tested via the state of the XIR (bit 2) and RTCIR (bit 1) in the status word F5. BCF 10,2 will force RA2 to zero because its internal latch will be cleared to zero. This will turn on 02 and pull the pin to zero. INPUT/OUTPUT CAPABILITY The way this instruction operates internally is the CPU reads file 10 into the A.L.U., modifies the bit and re- The PIC1670 provides fourcompletequasi-bidirectional outputs the data to file 10. If the pins were read instead, input/output ports. A simplified schematic of an 1/0 pin any input which was grounded externally would cause a is shown below. The ports occupy address locations in zero to be read on that bit. When the CPU re-outputted the register file space of the PIC1670. Thus, any the data to the file, that bit would be cleared to zero, no instruction that can operate on a general purpose regis- longer useful as an input until set high again. ter can operate on an 1/0 port. Two locations in the register file space are allocated for each 1/0 port. Port During program execution, the latches in bits 3-7 should RAO-7 is addressable as either F1 Os or F11s. Port RBO- remain in the high state. This will keep 02 off, allowing 7 is addressable as either F12s or F13s. Port RCO-7 is external circuitry full control of pins RA3-RA7, which are addressable as either F14s or F15s. An 1/0 port READ being used here as input. BIDIRECTIONAL INPUT-OUTPUT PORT 1/0 PORT INTERNAL VDD VDD BUS MCLR RAQ S RA1 D Q RA2 PIC RA3 WRITE RA4 C Vss Vss RA5 RA6 RA7 READ EVEN = 1/0 FILE # READ ODD = 1/0 FILE # © 1990 Microchip Technology Inc. D8300036-7 4-73 PIC1670 ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent damage to the device. This is a stress rating only and Temperature Under Bias .................................. 125'C functional operation of this device at these conditions Storage Temperature ...................... - 55'C to +150'C is not implied. Operating ranges are specified in Stan- Voltage on any pin with dard Conditions. Exposure to absolute maximum respect to Vss ................................ -0.3V to +1 O.OV rating conditions for extended periods may affect Power Dissipation ........................................1000mW device reliability. Data labeled "typical" is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS Operating temperature: - Commercial: TA = 0 'C to + 70 'C - Industrial: TA = -40'C to + 85'C Characteristic Sym Min Typ* Max Units Conditions Power Supply Voltage Voo 4.5 - 5.5 V Primary Supply Current 100 - - 100 mA All I/O pins high Input Low Voltage VIL Vss - 0.8 V (except MCLR & RT) Input High Voltage (except VIHI 2.4 - Voo V MCLR. RT, OSC1) Input High Voltage VIH2 Voo-1 - Voo V (MCLR, RT, OSC1) Output High Voltage VOH 2.4 - Voo V IOH - 100 IlA provided by internal pullups (Note 2) Output Low Voltage VOL - - 0.45 V IOl = 1.6mA (I/O and CLK OUT) Input Leakage Current ILC -5 - +5 IlA Vss = VIN - Voo (MCLR, RT, OSC1) Input Low Current ilL -0.2 -0.6 -2.0 mA VIL = O.4V internal pullup (All I/O ports) Input High Current IIH -0.1 -0.4 - mA VIH = 2.4V (All I/O ports) * Typical data is at TA = 25'C, voo = OV. Notes: 1. Total power dissipation for the package is calculated as follows: Po = (Voo) (100) + ~ {(Voo - VIL)·IVILll + ~ {(Voo - VOH)·lloHll + ~ {(VOLj·IOL}. 2 Positive current indicates current into pin. Negative current indicates current out of pin. 3. TotalloL for all output pin (I/O ports plus CLK OUT) must not exceed 175mA. ( 08300038-8 © 1990 Microchip Technology Inc. 4-74 PIC1670 AC CHARACTERISTICS Operating temperature: - Commercial: TA = 0 ·C to + 70 ·C - Industrial: TA = -40 ·C to + 85 ·C Characteristic Sym Min Typ Max Units Conditions Instruction Cycle Time tCY 2.0 - 8 ~s 4 MHz external time base (Notes 1, 2, 4)) - RT input (Note 3) Period - Commercial tRT tCY+175ns - - - Commercial: TA = 70·C Period -Industrial tRT tcY+200ns - - - Industrial: TA = 85·C High Pulse Width tRTH 1/2tRT - - - Commercial: TA = 70·C Low Pulse Width tRTL 1/2tRT - - - Commercial: TA = 70·C 1/0 Ports Data Input Setup Time tR - - 1/4tcy - 125 ns Data Input Hold Time tH 0 - - ns Data Output Propagation Delay tRT - 500 800 ns Capacitance load = 50pF Notes: 1. Instruction cycle period (tCY) equals eight times the oscillator time base period. 2. The oscillator frequency may deviate to 4.08 MHz to allow for tolerance of the time base element (LC, crystal, or ceramic resonator). 3. Due to the synchronous timing nature between CLK OUT and the sampling circuit used on the RT input, CLK OUT may be directly tied to the RT input. The minimum times specified represent theoretical limits. 4. The maximum frequency which may be input to the RT pin is calculated as follows: fmax= _1_ =_1_ where: d=175 ns for Commercial IRTm;n \cVm;n+O d=200 ns for Industrial Examples: Commercial: if tCY = 2~s, f(max) = 1/2.175 ~s = 460 KHz Industrial: if tCY = 2~s, f(max) = 1/2.2~s = 455 KHz. © 1990 Microchip Technology Inc. OS300038-9 4-75 PIC1670 1/0 TIMING CLKOUT bR~~E~ EXECUTE WRITE TO 1/0 -II ADDRESS ROM INSTRUCTION FOR NEXT INSTRUCTION 1-----1-- GATE ANSWER INTERNAL BUS tpd ; - - OUTPUT VALID NOTE: Rise and fall times are load dependent INPUT ClK OUT TIMING CLKOUT n I I 1/4lcy I I "'~ ~-------------------- TLI I Icy ,, RTec TIMING :......-- tRTH tAll ~ RTCC ____I ,'-------, tRT SCHMITT TRIGGER CHARACTERISTICS (TYPICAL) (RT, MCLR) T A = 25'C 40 VTHRESHOLD 30 - VTLH (VOLTS) VTHL 20 10 4.5 5.0 5.5 IobD (VOLTS) DS30003B-10 © 1990 Microchip Technology Inc. 4-76 PIC1670 TYPICAL OSCILLATOR CIRCUITS CRYSTAL INPUT OPERATION POWER DISSIPATION DERATING GRAPH 20pF 1000 rl~TOOSCPIN#l ~ I t1-10M~ Q: XTAL' ~ 900 E- z 800 ~ ~ ~ ~TOOSCPIN#2 0 ~ 700 20pF lK D- C;; CIl 600 r'\ 'OR CERAMIC RESONATOR, a w 500 f'. 0 PARALLEL RESONANT :> w 400 (1.0 - 4.0 MHz) 0 ::;; 300 :::> ::;; NOTE 1 x 200 « EXT, INPUT OPERATION ::;; 100 CLOCK FROM --~ " TO OSC PIN #1 0 NCTE2 EXT. SYSTEM ~ 0 20 40 60 70 85 NO CONNECTION ~ TO OSC PIN #2 TA - AMBIENT TEMPERATURE ("C) Notes: 1. 70'C is the maximum operating tempera- MASTER CIRCUIT (TYPICAL) ture for standard parts. R i R,;100K 2. 85'C is the maximum operating tempera- ture for "I" suffix parts. ~ MCLR (PIN #39) OUTPUT SINK CURRENT GRAPH C I O.lI1F 20 Note: The MCLR pin must be pulsed low for a minimum of one complete instruction cycle (tCY) for the 15 .... -- VOo- 5.0V .,;' master clear function to be guaranteed, assum- IOH 10 (rnA) ing that power is applied and the oscillator is running. For inititial power application, a delay is required for the external oscillator time base V " element to start up before MCLR is brought high. /' 1.0 2.0 3.0 To achieve this, an external RC configuration as VOL(VOLTS) shown can be used. This provides approximately a 10 ms delay (assuming Voo is applied as a step function), which may be insufficientfor some time base elements. Consult the manufacturer of the VOH VS 10H (1/0 PORTS) (TYPICAL) time base element for specific start-up times. VOH 3 I---~~~-t---+--I (VOLTS) 2 I"L--1---t---.:~~~==t= TA - 8S'C TA .2S'C '----'_--'_-'."--~':t==.=.t-- TA - 40'C 200 400 600 800 1000 10H (IJA) © 1990 Microchip Technology Inc. . 4-77 OS300038-11 PIC1670 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS !:!!:.~ - H I. TLX_____--I Pattern: 3-Digit Pattern Code I Package: P Plastic DIP I Temperature O·Cto +70·C -40·C to +85·C I Range: I H -40·C to + 11 O·C I Device: PIC1670 LIFE SUPPORT SYSTEM - Microchip's products are not authorized for use as critical components in tife support devices or systems without the express written approval of Microchip Technology, Inc. 05300038-12 © 1990 Microchip Technology Inc. 4-78 Microchip SECTION 5 LOGIC PRODUCT SPECIFICATIONS AY2661 Enhanced Programmable Communication Interface ................................................ 5- 1 AY3-1015D UARIT: Universal Asynchronous ReceiverITransmitter ........................................... 5- 17 AY58116/36 Dual Baud Rate Generator ....................................................................................... 5- 29 AY58126/46 Single Baud Rate Generator ................................................•.................................... 5- 37 AY38910Al12A Programmable Sound Generator .............................................................................. 5- 45 AY8930 Enhanced Programmable Sound Generator ............................................................. 5- 61 AY0438-1 32-Segment CMOS LCD Driver ................................................................................ 5- 81 © 1990 Microchip Technology Inc. DS00018C 5-i Microchip DS00018C © 1990 Microchip Technology 5-ii Microchip AY2661 Enhanced Programmable Communication Interface FEATURES PIN CONFIGURATION Synchronous and Asynchronous full or half duplex 28 LEAD DUAL INLINE operation On-chip baud rate generator - 3 standards Top View • Double buffering of data • TTL compatible 02 01 Single +5 volt power supply 03 DO • Compatible with SC2661, COM2661 RxO VCC GNO RiCC/BKOET DESCRIPTION 04 OTR 05 RTS The AY2661 is a universal synchronous /asynchronous 06 OSR 07 RESET receiver/transmitter designed for microcomputer sys- TxC/SYNC BRCLK tem data communications. It may be programmed by A1 TxD the processor to communicate in commonly used asyn- CE TxEMT/DSCHG chronous and synchronous serial data transmission AO CfS techniques including Bi-Sync. The AY2661 receives RIW DCD RxROY TxROY serial data streams and converts them into parallel data characters for the processor. While receiving serial data, the device will also accept data characters from the processor in parallel format, convert them to serial character and requires service. Complete status infor- format and transmit. The AY2661 will signal the proces- mation including data format errors and control signals sor when it has completely received or transmitted a is available to the processor at any time. A Y2661 BLOCK DIAGRAM DATA au S 00-07 '-----' , DATA BUS BUFFER fv-- ,-> r-r-- SYN/DLE CONTROL SYN 1 REGISTER SYN 2 REGISTER RESET AD OPERATION CONTROL MODE REGISTER 1 r:== • OLE REGISTER A1 MODE REGISTER 2 COMMAND REGISTER r-- TRANSMITIER r-- r- TRANSMIT DATA ~~ STATUS REGISTER HOLDING REGISTER BRCLK --- .. ROM i- ~ - r- ~ r- TRANSMIT SHIFT REGISTER TxO RE-PROGRAMMABLE BAUD RATE GENERATOR AND CLOCK CONTROL ~ iRECEIVER t f-- '--'--- RECEIVE DATA ~ HOLDING REGISTER OSR OCD MODEM RECEIVE RxD CONTROL SHIFT REGISTER CTS RTS . - OTR TxEMTI Vec DSCHG GND © 1990 Microchip Technology Inc. 5-1 DS70007C-1 AY2661 PIN FUNCTIONS Pin Name Function BRCLK Clock input to the internal baud rate generator. Not required if external receiver and transmitter clocks are used. R x C/BKDET Receiver clock. If external receiver clock is programmed, this input controls the rate at which 'the character is to be received. Its frequency is 1X, 16X or 64X the baud rate, as programmed by mode register 1. Data are sampled on the rising edge of the clock. If internal receiver clock is programmed, this pin can be a 1Xl16X clock or a break detect output pin. T x C/xSYNC Transmitter clock. If external transmitter clock is programmed, this input controls the rate at which the character is transmitted. Its frequency is lX, l6X or 64X the baud rate, as programmed by mode register 1. The transmitted data changes on the falling edge of the clock. If internal transmitter clock is programmed, this pin can be al Xl16X clock output for an external jam synchronization input. RxD Serial data input to the receiver. "Mark" is hi,gh, "space" is low. TxD Serial data output from the transmitter. "Mark" is high, "space" is low. Held in mark condition when the transmitter is disabled. DSR General purpose input which can be used for data set ready or ring indicator condition. Its complement appears as status register bit SR? It causes a low output on TxEMTI DSCHG when its state changes and CR2 or CRO = 1. DCD Data carrier detect input. Must be low in order for the receiver to operate. Its complement appears as status register bit SR6. Causes a low output on TxEMT/DSCHG when its state changes and CR2 or CRO =1.lfi5'CD goes high while receiving, the R x C is internally inhibited. CTS Clear to send input. Must be low in order for the transmitter to operate. If it goes high during transmission, the character in the transmit shift register will be transmitted before termination. DTR General purpose output which is the complement of command register bit CR1. Normally used to indicate data terminal ready. RTS General purpose output which is the complement of command register bit CRS. Normally used to indicate request to send. If the transmit shift register is not empty when CRS is reset (1 to 0), then RTS will go high one T x C time after the last serial bit is transmitted. RESET A high on this input performs a master reset on the AY266l. This signal asynchronously terminates any device activity and clears the mode, command and status registers. The device assumes the idle state and remains there until initialized with the appropriate control words. Address lines used to select internal EPClregisters. RIW Read cOmmand when low, write command when high. CE Chip enable command. When low, indicates that control and data lines to the EPCI are valid and that the operation specified by the Rtw, Al and Ao inputs should be performed. When high, places the Do - D7 lines in the three-state condition. DS70007C-2 5-2 © 1990 Microchip Technology Inc. AY2661 PIN FUNCTIONS (CONTINUED) Pin Name Function D7 - Do a-bit, three-state data bus used to transfer commands, data and status between EPCI and the CPU. Do is the least significant bit; D7 the most significant bit. --- Tx RDY This output is the complement of status register bit SRO. When low, it indicates that the transmit data holding register (THR) is ready to accept a data character from the CPU. It goes high when the data character is loaded. This output is valid only when the transmitter is enabled It is an open drain output which can be used as an interrupt to the CPU. RxRDY This output is the complement of status register bit SRI. When low, it indicates that the receive data holding register (RHR) has a character ready for input to the CPU. It goes high when the RHR is read by the CPU, and also when the receiver is disabled. It is an open drain output which can be used as an interrupt to the CPU. --- TxEMTI This output is the complement of status register bit SR2. When low, it indicates that the trans- DSCHG mitter has completed serialization of the last character loaded by the CPU, or that a change of state of the DSR or DCD inputs has occured. This output goes high when the status'register is read by the CPU, if the TxEMT condition does not exist. Otherwise, the THR must be loaded by the CPU for this line to go high. It is an open drain output which can be used as an interrupt to the CPU. AY2661 OPERATION The functional operation of the AY2661 is programmed detected (RxD is low for the entire character as well as by a set of control words supplied by the processor. the stop bit), only one character consisting of all zeros These control words specify items such as synchronous (with the Framing error status bit set) will be transferred or asynchronous mode, baud rate, number of bits per to the Holding Register. The RxD input must return to character, etc. a high condition before a search for the next start bit begins. Receiver Pin 25 can be programmed to be a break detect output The AY2661 is conditioned to receive data when the DCD by appropriate setting of MR27-MR24. If so, a detected input is low and RxEN bit in the command register is true. break will cause that pin to go high. When RxD returns In the asynchronous mode, the receiver looks for a high to mark for one RxC time, pin 25 will go low. Refer to to low (mark to space) transition of the start bit on the RxD the break detection timing diagram. input line. If a transition is detected, the state of the RxD When the AY2661 is initialized into the synchronous line is sampled again after a delay of one-half of a bit time. mode, the receiver first enters the hunt mode on a 0 to If RxD is now high, the search for a valid start bit is begun 1 transition of RxEN (CR2). In this mode, as data is again. If RxD is still low, a valid start bit is assumed and shifted into the Receiver Shift Register a bit at a time, the receiver continues to sample the input line at one bit the contents of the register are compared to the con- time intervals until the proper number of data bits, the tents of the SYN1 register. If the two are not equal, the parity bit, and one stop bit have been assembled. The next bit is shifted in and the comparison is repeated. data is then transferred to the Receive Data Holding When the two registers match, the hunt mode is termi- Register, the RxRDY bit in the status register is set, and nated and character assembly begins. If the single the RxRDY output is asserted. If the character length is SYN operation is programmed, the SYN DETECT less than a bits, the high order unused bits in the Holding status bit is set. If double SYN operation is pro- Register are set to zero. The Parity Error, Framing Error, grammed, the first character assembled after SYN1 and Overrun Error status bits are strobed into the status must be SYN2 in order for the SYN DETECT bit to be register on the positive going edge of RxC corresponding set. .to the received character boundary. If the stop bit is present, the receiver will immediately begin its search for Otherwise, the AY2661 returns to the hunt mode. (note the next start bit. If the stop bit is absent (framing error), that the sequence SYN1-SYN1-SYN2 will not achieve the receiver will interpret a space as a start bit if it persists synchronization). When synchronization has been into the next bit time interval. If a break condition is acheived, the AY2661 continues to assemble charac- © 1990 Microchip Technology Inc. 5-3 DS70007C-3 ters and transfers them to the Holding Register. The acter to the AY2661 by the time the transmitter has RxRDY status bit is set and the RxRDY output is completed sending the previous character. Since syn- asserted each time a character is assembled and trans- chronous communication does not allow gaps between ferredto the Holding Register. The Overrun error (OE) characters, the AY2661 asserts TxEMT and automati- and Parity error (PE) status bits are set as appropriate. cally "fills" the gap by transmitting SYN1s, and SYN1- Further receipt of the proper SYN sequence sets the SYN2 doublets, or DLE-SYN1 doublets, depending on SYN DETECT status bit. If the SYN stripping mode is the state of MR16 and MR17. Normal transmission of commanded, SYN characters are not transferred to the the message resumes when a new character is avail- Holding Register. Note that the SYN characters used to able in the Transmit Data Holding Register. If the SEND establish initial synchronization are not transferred to DLE bit in the command register is true, the DLE the Holding Register in any case. . character is automatically transmitted prior to transmis- External jam synchronization can be achieved via pin 9 sion of the message character in the transmit holding register. by appropriate setting of MR27-MR24. When pin 9 is an XSYNC input, the internal SYN1-SYN2, and DLE-SYN1 AY2661 Programming detection is disabled. Each positive going signal on XSYNC will cause the receiver to establish synchroniza- Prior to initiating data communications, the AY2661 op- tion on the rising edge of the next RxC pulse. Character erational mode must be programmed by performing assembly will start with the RxD input at this edge. write operations to the mode and command registers. In XSYNC may be lowered on the next rising edge of RxC. addition, if synchronous operation is programmed, the This external synchronization will cause the SYN DE- appropriate SYN/DLE registers must be loaded. The TECT status bit to be set until the status register is read. AY2661 can be reconfigured at any time during program Refer to XSYNC timing diagram. execution. A flow chart of the initialization process follows. Transmitter The internal registers of the AY2661 are accessed by The AY2661 is conditioned to transmit when the CTS applying specific signals to the CE, RIW A1 and AO input is low and the TxEN command register bit is set. inputs. The conditions necessary to address each The AY2661 indicates tothe processor that it can accept register are shown in Fig. 3. acharacterfortransmission by setting the TxRDY status The SYN1, SYN2, and DLE registers are accessed by bit and asserting the TxRDY output. When the proces- performing write operations with the conditions A1=O, sor writes a character into the Transmit Data Holding AO=1, andRIW=1. The first operation loads the SYN1 Register, the TxRDY status bit is reset and the TxRDY register. The next loads the SYN2 register, and the third output is returned to a high (false) state. Data is loads the DLE register. Reading or loading the mode transferred from the Holding Register to the Transmit registers is done in a similar manner. The first write (or Shift Register when it is idle or has completed transmis- read) operation addresses Mode Register 1 and subse- sion of the previous character. The TxRDY conditions quent operation addressed Mode Register 2. If more are then asserted again. Thus, one full character time of than the required number of accesses are made, the buffering is provided. ( internal sequencer recycles to point at the first register. In the asynchronous mode, the transmitter automati- The pointers are reset to SYN1 Register and Mode cally sends a start bit followed by the programmed Register 1 by a RESET input or by performing a "Read number of data bits, the least significant bit being sent Command Register" operation, but are unaffected by first. It then appends an optional odd or even parity bit any other read or write operation. and the programmed number of stop bits. If, following The AY2661 register formats are summarized in Tables transmission of the data bits, a new character is not 6,7,8 and 9. Mode Registers 1 and 2 define the general available in the Transmit Holding Register, the TxD operational characteristics of the AY2661, while the output remains in the marking (high) condition and the Command Register controls the operation within this TxEMT/DSCHG output and its corresponding status bit basic framework. The AY2661 indicates its status in the are asserted. Transmission resurries when the proces- Status Register. These registers are cleared when a sor loads a new character into the Holding Register. The RESET input is applied. transmitter can be forced to output a continuous low (BREAK) condition by setting the Send Break command bit high .. In the synchronous mode, when the AY2661 is initially conditioned to transmit, the TxD output remains high and the TxRDY condition is asserted until the first character to be transmitted (usually a SYN character) is loaded by the processor. Subsequent to this, a continu- ous stream of characters is transmitted. No extra bits (other ihan parity if cOmmanded) are generated by the AY2661 unless the processor fails to send a new char- DS70007C-4 5-4 © 1990 Microchip Technology Inc. AY2661 AY2661 INITIALIZATION FLOW CHART INITIAL RESET NOTE Mode Register 1 must be written before 2 can be written. Mode Register 2 need not be programmed if external clocks are used. N SYNCHRONOUS? NOTE SYN 1 Register must be written before SYN2 can be written and SYN2 before DLE can be written. N N TRANSPARENT N MODE? © 1990 Microchip Technology Inc. 5-5 DS70007C-5 AY2661 AY2661 REGISTER ADDRESSING CE A1 AD RfW Function 1 X X X Tri-state data bus 0 0 0 0 Read receive holding register 0 0 0 1 Write transmit holding register 0 0 1 0 Read status register 0 0 1 1 Write SYN1/SYN2/DLE registers 0 1 0 0 Read mode registers 1 and 2 0 1 0 1 Write mode registers 1 and 2 0 1 1 0 Read command register 0 1 1 1 Write command register NOTE See AC Characteristics section for timing requirements. MODE REGISTER 1 (MR1) MR17 MR1S MR15 MR14 I MR13 MR12 MRll J MR10 Parity Parity Character Mode and Baud Sync/Async Type Control Length Rate Factor Async: Stop Bit Length 00 = Invalid O=Odd 0= Disabled 00 = 5 bits 00 = Synchronous 1X rate 01 = 1 stop bit 1 = Even 1 = Enabled 01 = 6 bits 01 = Asynchronous 1X rate 10 = 1 1/2 stop bits 10 = 7 bits 10 = Asynchronous 16X rate 11 = 2 stop bits 11 = 8 bits 11 = Asynchronous 64X rate Sync: Sync: Number of Transparency SYN char Control 0= Double 0= Normal Syn 1 = Transparent 1 = Single Syn NOTE Baud rate factor in asynchronous applies only if external clock is selected. Factor is 16X if internal clock is selected. DS70007C-6 5-6 © 1990 Microchip Technology Inc. AY2661 MODE REGISTER 2 (MR2) MR27·MR24 MR23·MR2G TxC RxC Pin 9 Pin 25 TxC RxC Pin 9 Pin 25 Mode Baud Rate Selection 0000 E E TxC RxC 1000 E E XSYNC1 RxCfTxC Sync 0001 E I TxC lX 1001 E I TxC BKDET Async 0010 I E lX RxC 1010 I E XSYNC1 RxC Sync 0011 I I lX lX 1011 I I lX BKDET Async See baud rates in 0100 E E TxC RxC 1100 E E XSYNC1 RxCfTxC Sync baud rate standards 0101 E I TxC 16X 1101 E I TxC BKDET Async 0110 I E 16X RxC 1110 I E XSYNC1 RxC Sync 0111 I I 16X 16X 1110 I I 16X BKDET Async NOTES 1. When pin 9 is programmed as XSYNC input, SYN1, SYNl-2, and DLE-SYNl detection is disabled. E = External clock I = Internal clock (BRG) 1X and 16X are clock outputs COMMAND REGISTER (CR) CR7 I CR6 CR5 CR4 CR3 CR2 CR1 CRG Receive Data Transmit Request Control Terminal Control Operating Mode Reset Error Sync/Async To Send (RxEN) Ready (TxEN) 00 = Normal operation 0= Force RTS 0= Normal Async: 01 = Async: output high 1 = Reset Force break Automatic one clock error flags 0= Normal 0= Disable 0= Force DIR 0= Disable echo mode time after in status 1 = Force 1 = Enable output high 1 = Enable Sync: SYN andl TxSR register (FE, break 1 = Force DIR or DLE stripping serialization OE, PEIDLE output low mode 1 = Force RTS detect). 10 = Local loop back output low 11 = Remote loop back Sync: Send DLE 0= Normal 1 = Send DLE © 1990 Microchip Technology Inc. 5-7 DS70007C-7 AY2661 STATUS REGISTER (SR) SR7 SR6 SR5 SR4 SR3 SR2 SR1 SRO DataSet Data Carrier FE/SYN PE/DLE TxEMTI Overrun RxRDY TxRDY Ready Detect Detect Detect DSCHG 0= DSR input 0= DCD input Async: 0= Normal Async: is high is high 0= Normal 1 = Overrun 0= Normal 0= Normal 0= Receive 0= 1 = DSR input 1 = DCD input 1 = Framing Error 1 = Parity 1 = Change holding Transmit is low is low Error Error in DSR or register holding DCD, or empty register transmit 1 = Receive busy shift register holding 1= is empty register Transmit has data holding Sync: Sync: register 0= Normal 0= Normal empty 1 = SYN CHAR 1 = Parity detected error or DLE received TIMING DIAGRAMS TxRDY, TxEMT (shown for 5-bit characters, no parity, 2 stop bits [in asynchronous mode] TxD w 0 0 ::; TxEN (/J ::> 0 TXRoY ~:t TxEMT (,) CEFOR z > (/J WRITE OF DATAl DATA 2 DATA 3 DATA 4 THR ~D~AI1121314ISIBC AI11213141S1 BC AI1121314ISIBC~D~AL...!.ili. w TxD I . DATAl . I . DATA 2 . I. DATA3.. ~ § TxEN -----.Jr--+I-------+I-------+I----t-I- - - - - + 1 - - - ~s:~(,) ::::: --+-L---f-~-~+---1------1-0--+-1_ I .-----1b CEFOR lY ~nn - uJ :\= ~ WRITE OF DATA I DATA 2 DATA 3 DATA 4 THR NOTES A = S1art bn B=Stopbnl C=SlopbH2 o ... TxD marking condition TxEMT goes low at the beginning of the last data bit or if parity is enabled at the beginning of the parity bit DS70007C-8 5-8 © 1990 Microchip Technology Inc. AY2661 TIMING DIAGRAMS (Cont.) RxRDY (Shown for 5·blt characters, no parity, 2 stop bits [In asynchronous mode]) RxC RxD w " 0 ::; RxEN -.J I IGNORED 3 SYNDET '" :> 0 STATUS BIT z ~ RxRDY :I: 0 z > CEFOR ~ READ READ READ u- READ RHR READ RHR READ RHR READ RHR '" STATUS STATUS (DATAl) (DATA 2) (DATA 3) (DATA 3) D ~ A11 I 21 3 I 4 I 51 B c All I 21 3 I 4 I 51 B I CI - I D I - All I 21 3 I 4 I 51 B I C All I 2 13 I RxD I. DATA 1 . I I. DATA 2 . I I. DATA 3 . II. DATA 4 RxEN....! i~ s~:~~:;;.:=====================t::}~~t:========================s:==~~1 CEFOR READ ~ READ RHR (DATAl) ~ READ RHR (DATA 3) NOTES A",Slartbit B. Slop bit 1 C.Stopbit2 o '" TxD marking condition TIMING DIAGRAMS (Cont.) RESET RESET-1 IRES } CLOCK +-- IBRH ---; +-- IBRl ---; +-- IRITH ---i E-- IRITl ---i / \ / BRClK,-.J !xc; RXC" 1lfBRG 1lfRIT © 1990 Microchip Technology Inc. 5·9 DS70007C-9 AY2661 TIMING DIAGRAMS (Cont.) TRANSMIT \ f - - - - 1 BIT TIME (1. 16. OR 64 CLOCK PERIODS) ->I TxC (INPUT) TxD r- _-+-_f\_ TxC (OUTPUT) 0 E-t TCS ~_ _ _- ' / \- RECEIVE ~D -lL,_~Rx_~=--*-+-,~J- RxC(lX) \_ r L READ AND WRITE teE RIW 3'-+-~---------~-+-'f~:- DO - 07 - - - t - - - - " " " " \ r ~ -- (WRITE) - f '------'f- "-tD-H - - - tDS~ DO - 07 BUS DATA BUS FLOATING (READ) FLOATING VALID tDF DS70007C-10 5-10 © 1990 Microchip Technology Inc. AV2661 TIMING DIAGRAMS (Cont.) EXTERNAL SYNCHRONIZATION WITH XSYNC 1XRxC n n~1L1L ~~II~' , - - - - - - - - - - lI t es = XSYNC SETUP TIME = 300ns XSYNC I I '-_________ tH = XSYNC HOLD TIME = ONE RxC ~I tH ~ RxD V CHARACTER ASSEMBLY BREAK DETECTION TIMING Rx CHARACTER 5 BITS, NO PARITY R~~~~ LJ1.SLflJLIL~ I I I LOOK FQ>R START BIT LOW (IF RxD IS HIGH, I I LOOK F9R HIGH TO LOW TRANSITION) RxD ~ FALSE ;rART BIT CHECK MADE (RxD LOW) I,-----;k------"'---"'---:I:-------i--- MISSING STOP BIT I DETECTED SET FE BIT MISSING STOP BIT DETECTED SET FE BIT. 0- RHR, ACTIVATE RXRlJ'r. SET BKDET PIN. NOTE RxD INPUT - RxSR UNTIL A MARK TO SPACE • If the stop bit is present, the start bit TRANSITION OCCURS. search will commence immediately. © 1990 Microchip Technology Inc. 5-11 DS70007C-11 AY2661 ELECTRICAL CHARACTERISTICS Maximum Guaranteed Ratings· • Exceeding these ratings could cause permanent dam- age to the device. This is a stress rating only and Operating Temperature Range .............. O'C to +70'C functional operation of this device at these conditions is Storage Temperature Range ........... - SS'C to +1S0'C not implied. Operating ranges are specified in Standard Lead Temperature (soldering, 10 sec.) ........... +32S'C Conditions. Exposure to absolute maximum rating Positive Voltage on any Pin, conditions for extended periods may affect device relia- with respect to ground ............................................... +18.0V bility. Negative Voltage on any Pin, Data labeled "typical" is presented for design guidance with respect to ground .................................................. -O.3V only and is not guaranteed. DC CHARACTERISTICS Operating temperature TA = O'C to + 70'C, Vee = S.OV +S% Characteristics Sym Min Typ Max Unit Test Conditions Input Voltage Low VIL - - 0.8 V High VIH 2.0 - - - Output voltage Low VOL - - 0.4 V IOL = 2.2mA High VOH 2.4 - - - 10H = 4OOl1A Input leakage current IlL - - 10 I1A VIN = 0 to S.SV Output leakage current Data bus high ILH - - 10 I1A Vo = 4.0V Data bus low ILL - - 10 I1A Va = 0.4SV Power supply current lee - - 1S0 mA Capacitance Input CIN - - 20 pF fc= 1MHz Output COUT - - 20 pF Unmeasured pins tied Input/Output Cia - - 20 pF to ground DS70007C-12 5-12 © 1990 Microchip Technology Inc. AY2661 AC CHARACTERISTICS Operating temperature TA = -O·C to +70·C, Vcc = 5.0V +5% Characteristics Sym Min Typ Max Units Test Conditions Pulse Width Reset t RES 1000 - - ns Chip enable tCE 250 - - ns Setup and hold time Address setup t AS 10 - - ns Address hold tAH 10 - - ns RIW control setup tcs 10 - - ns R/W control hold tCH 10 - - ns Data setup for write t DS 150 - - ns Data hold for write tDH 0 - - ns Rx data setup t RXS 300 - - ns Rx data hold t RXH 350 - - ns Data delay time for read tDD - - 200 ns CL = 150pF Data bus floating time for read tDF - - 100 ns CL = 150pF CE to CE delay tCED 600 - - ns Input clock frequency Baud rate generator fBRG 1.0 4.9152 4.9202 MHz (2661-1, -2) Baud rate generator fBRG 1.0 5.0688 5.0738 MHz (2661-3) TxC or RxC 1 dc - 1.0 MHz fRT Clock width Baud rate high tBRH 75 - - ns fBRG = 4.915MHz; meas (2661-1, -2) ured at V,H Baud rate high tBRH 70 - - ns fBRG = 5.0688MHz; meas (2661-3) ured at V ,H Baud rate low tBRL 75 - - ns fBRG = 4.915MHz; meas (2661-1, -2) ured at V,L Baud rate low tBRL 70 - - ns fBRG = 5.0688MHz; meas (2661-3) ured at V,L TxC or RxC high tRTH1 480 - - ns TxC or RxC low tRTL 480 - - ns TxD delay from falling 'TXD - - 650 ns CL = 150pF edge ofTxC Skew between TxD t TCS - 0 - ns CL = 150pF changing and falling edge of TxC output NOTE: 1. fRT and tRTL shown for all modes except Local Loopback. For Local Loopback mode fRT = 0.7MHz and tRTL = 700ns min. © 1990 Microchip Technology Inc. 5-13 DS70007C-13 AY2661 BAUD RATE STANDARDS AY2661·A (BRCLK = 4.9152MHz) Actual Frequency Percent MR23·20 Baud Rate Divisor 16X Clock Error 0000 50 0.8kHz - 6144 0001 75 1.2 - 4096 0010 110 1.7598 -0.D1 2793 0011 134.5 2.152 - 2284 0100 150 2.4 - 2048 0101 200 3.2 - 1536 0110 300 4.8 - 1024 0111 600 9.6 - 512 1000 1050 16.8329 0,196 292 1001 1200 19.2 - 256 1010 1800 28.7438 -0.19 171 1011 2000 31.9168 -0.26 154 1100 2400 38.4 - 128 1101 4800 76.8 - 64 1110 9600 153.6 - 32 1111 19200 307.2 - 16 AY2661~B (BRCLK = 4.9152MHz) Actual Frequency Percent MR23-20 Baud Rate Divisor 16XCIock Error 0000 45.5 0.7279kHz 0.005 6752 0001 50 0.8 - 6144 0010 75 1.2 - 4096 0011 110 1.7598 -0.01 2793 0100 134.5 2.152 - 2284 0101 150 2.4 - 2048 0110 300 4.8 - 1024 0111 600 9.6 - 512 1000 1200 19.2 - 256 1001 1800 28.7438 -0.19 171 1010 2000 31.9168 -0.26 154 1011 2400 38.4 - 128 1100 4800 76.8 - 64 1101 9600 153.6 - 32 1110 19200 307.2 - 16 1111 38400 614.4 - 8 DS70007C·14 © 1990 MicrochipTechnologylnc. AV2661 BAUD RATE STANDARDS (CO NT.) AY2661-C (BRCLK = 5.0688MHz) Actual Frequency Percent MR23-20 Baud Rate Divisor l6X Clock Error 0000 50 0.8kHz - 6336 0001 75 1.2 - 4224 0010 110 0.76 - 2880 0011 134.5 2.1523 0.016 2355 0100 150 2.4 - 2112 0101 300 4.8 - 1056 0110 600 9.6 - 528 0111 1200 19.2 - 264 1000 1800 28.8 - 176 1001 2000 32.081 -0.253 158 1010 2400 38.4 - 132 1011 3600 57.6 - 88 1100 4800 76.8 - 66 1101 7200 115.2 - 44 1110 9600 153.6 - 33 1111 19200 316.8 3.125 16 NOTE 16X clock is used in asynchronous mode. In synchronous mode, clock multiplier is1X and BRG can be used only for TxC. I © 1990 Microchip Technology Inc. 5-15 DS70007C-15 AY2661 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS ~261 X/P PACKAGE P Plastic Dip A (See Baud Rate Standards Tables) B (See Baud Rate Standards Tables) C (See Baud Rate Standards Tables) '---------1: DEVICE Programmable Communication Interface DS70007C-16 5-16 © 1990 Microchip Technology Inc. ~. Microchip AY31015D UAR/T: UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER FEATURES DESCRIPTION • DTL and TTL compatible - no interfacing circuits The Universal Asynchronous Receiver/Transmitter required - drives one TTL load (UARIT) is an LSI subsystem which accepts binary Fully Double Buffered - eliminates need for system characters from either a terminal device or a computer synchronization, facilitates high-speed operation and receives/transmits this character with appended Full Duplex Operation - can handle multiple bauds control and error detecting bits. All characters contain a (receiving - transmitting) simultaneously start bit, 5 to 8 data bits, 1,1-1/2, or 2 stop bit capability, Start Bit Verification - decreases error rate with and either odd/even parity or no parity. In order to make center sampling the UARIT universal, the baud, bits per word, parity Receiver center sampling of serial input; 46% mode, and the number of stop bits are externally se- distortion immunity lectable. The device is constructed on a single mono- High Speed Operation lithic chip. All inputs and outputs are directly compatible Three-State Outputs - bus structure capability with TTUDTUCMOS logic without the need for interfac- Low Power - minimum power requirements ing components. All strobed outputs are three-state Input Protected - eliminates handling problems logic. Single Supply Operation: +4.75V to +5.25V 1 1/2 stop bit mode • External reset of all registers except control bits register N-channel Ion Implant Process • 0 to 25K baud Pull-up resistors to Vcc on all inputs PIN CONFIGURATION 40 LEAD DUAL INLINE Vcc(+SV) No Connect Top View TCP EPS AY31015D BLOCK DIAGRAM TRAN$MITIER DATA BITS I GND NBl ROE NB2 RD8 TSB CONTROL RD7 NP STROBE RD6 CS RDS DB8 [=[[===:::;~:;;;====::;:::==:t---f---<> SERIAL OUTPUT RD4 DB7 RD3 DB6 16xT L--_-+---o END OF CLOCK CHARACTER RD2 DBS l6x R RDl DB4 CLOCK PE DB3 SERIAL INPUT ~+-C=:::'::====~=======:J-+--o RESET ~ EXTERNAL FE DB2 OR SWE DBl SO = ~ WQRlj RCP EOC RDAV OS ~ i 19l~ DAV TBMT RECEIVER DATA BITS SI XR ~ ~~ @ ~ ~ ©1990 Microchip Technology Inc. DS70005C-1 5-17 AY31015D PIN FUNCTIONS Pin Signal Inputl Function Number Name Output 1 VCC I VCC Power Supply: +5V Supply 2 N.C. - (Not Connected) 3 Ground - Ground - 4 ROE Received Data Enable: A logic "0" on this input places the received data onto the output lines (ROB .. R01). 5-12 ROB .. R01 I Received Data Bits: These are the B data output lines. Received characters are right justified: the LSB always appears on R01. These lines have tri-state outputs; i.e., they have the normal TTL output characteristics when ROE is "0" and a high impedence state when ROE is "1 ". Thus, the data output lines can be bus struc- ture oriented. 13 PE 0 Parity Error: This line goes to a logic "1" if the received character parity does not agree with the selected parity. Tri-state when SWE (pin 16) is "1 ". 14 FE 0 Framing Error: This line goes to a logic "1" if the received character has no valid stop bit. Tri-state when SWE (pin 16) is "1". 15 OR 0 Over-Run: This line goes to a logic "1 "if the previously received character is not read (OAV line not reset) before the present character is transferred to the receiver holding register. Tri-state when SWE (pin 16) is "1". 16 SWE I Status Word Enable: A logic "0" on this line places the status word bits (PE, FE, OR, OAV, TBMT) onto the output lines. A logic "1" puts the status word bit outputs into a high impedance state. 17 RCP I Receiver Clock: This input line requires a clock whose frequency is 16 times (16X) the desired receiver baud rate. ~~ lB ROAV I Reset Data Available: A logic "0" will reset the OAV line. The OAV FIF is the only thing that is reset. 19 OAV 0 Data Available: This line goes to a logic "1" when an entire character has been received and transferred to the receiver holding register. Tri-state when SWE (pin 16) is "1 ". Fig. B. 20 SI I Serial Input: This line accepts the serial bit input stream. A marking (logic "1 ") to spacing (logic "0") transition is required for initiation of data reception. Fig. 7, B. 21 XR I External Reset: Resets all registers. Sets SO, EOC, and TBMT to a logic "1". Resets OAV, and error flags to "0". Clears input data buffer. Must be tied to logic "0" when not in use. DS70005C-2 © 1990 Microchip Technology Inc. 5-18 AY31015D PIN FUNCTIONS (CONT.) Pin Signal Input! Function Number Name Output 22 TBMT 0 Transmitter Buffer Empty: The transmitter buffer empty flag goes to a logic "1" when the data bits holding register may be loaded with another character. Tri-state. See Fig. 14, 16. Tristate when SWE (pin 16) is "1 ". - 23 OS I Data Strobe: A strobe on this line will enter the data bits into the data bits holding register. Initial data transmission is initiated by the rising edge of OS. Data must be stable during entire strobe. 24 EOC 0 End of Character: This line goes to a logic "1" each time a full character is transmit- ted. It remains at this level until the start of transmission of the next character. See Fig. 13, 15. 25 SO 0 Serial Output: This line will serially, by bit, provide the entire transmitted character. It will remain at a logic "1" when no data is being transmitted. 26 .. 33 OB1 .. 0B8 I Data Bit Inputs: There are up to 8 data bit input lines available. 34 CS I Control Strobe: A logic "1" on this lead will enter the control bits (EPS, NB1, NB2, TSB, NP) into the control bits holding register. This line can be strobed or hard wired to a logic "1" level. 35 NP I No Parity: A logic "1" on this lead will eliminate the parity bit from the transmitted and received character (no PE indication). The stop bit(s) will immediately follow the last data bit. If not used, this lead must be tied to a logic "0". 36 TSB I Number of Stop Bits: This lead will select the number of stop bits, 1 or 2 to be appended immediately after the parity bit. A logic "0" will insert 1 stop bit and a logic "1" will insert 2 stop bits. The combined selection of 2 stop bits and 5 bits/character will produce 1 1/2 stop bits. 37-38 NB2, NB1 I Number of Bits/Character: These two leads will be internally decoded to select either 5, 6, 7 or 8 data bits/character. NB2 NB1 Bits/Character 0 0 5 0 1 6 1 0 7 1 1 8 39 EPS I Odd/Even Parity Select: The logic level on this pin selects the type of parity which will be appended immediately after the data bits. It also determines the parity that will be checked by the receiver. A logic "0" will insert odd parity and a logic "1" will insert even partiy. 40 TCP I Transmitter Clock: This input line requires a clock whose frequency is 16 times (16X) the desired transmitter baud rate. ©1990 Microchip Technology Inc. DS70005C-3 5-19 AY31015D ELECTRICAL CHARACTERISTICS Maximum Ratings· Vee (with Respect to GND) ...................... -0.3 to + 16V • Exceeding these ratings could cause permanent damage to the device. Storage Temperature ........................ -6SoC to + 1S0°C This is a stress rating only and functional operation ofthisdevice atthese Lead Temperature (Soldering, 10 sec) ............ +330°C conditions is not implied. Operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating conditions for ex- Standard Conditions tended periods may affect device reliability. (unless otherwise noted) Vee ................................................................. +4.7SV to +S.2SV Data labeled "typical" is presented for design guidance only and is not Operating Temperature (TA) .................. O°C to +70°C guaranteed. DC CHARACTERISTICS Characteristics Min Typ Max Units Conditions Input Logic Levels (AY31 0150) Logic 0 0 - 0.8 Volts Logie 1 2.0 - Vee +0.3 Volts Has internal pull-up resistors to Vce Input Capacitance All inputs - - 20 pF o volts bias, f : 1MHz Output Impedance Hi-Impedance Outputs O.S - - Mohms V ,N : SV Data Output Levels Logic.O - 0.8 Volts IOL : 1.6mA (sink) Logic 1 2.4 - Volts IOL : 40 f.1A (source) - at Vec : +5V Output Capacitance - 10 1S pF Power Supply Current lee at Vee: +SV - 10 15 mA AC CHARACTERISTICS Characteristics Min Typ Max Units Conditions Remarks Clock Frequency DC - 400 kHz at Vee: +4.75V All AC testing Baud 0 - 25 kbaud at Vee: +4.75V waveforms at: Pulse Width V ,H : 2.4V Clock Pulse 1.0 - - f.1s See Fig. 5 V ,L : 0.8V Control Strobe 200 - - ns See Fig. 11 V OH : 2.0V Data Strobe 200 - - ns See Fig. 10 VOL: 0.8V External Reset SOO - - ns See Fig. 9 Status Word Enable 500 - - ns See Fig. 17 Reset Data Available 200 - - ns See Fig. 18 Received Data Enable SOO - - ns See Fig. 17 Set Up & Hold Time Input Data Bits 20 - - ns See Fig. 10 Input Control Bits 20 - - ns See Fig. 11 Output Propagation Delay TPDO - - 500 ns See Figs. 17 and 20 TPD1 - - 500 ns See Figs. 17 and 20 DS70005C-4 © 1990 Microchip Technology Inc. 5-20 AY31015D TIMING DIAGRAMS FIG. 1 UARIT - TRANSMITTER TIMING ~--'------------------'I-N-oT-E-3------------------------------------------'I­ TBMT~ ---1 ~ NOTE 2 ~------------------------~~- so Iii ~_____ ~A~~~i]~~:~0lE~~D~A~§-~l:£A~s.::~P~~STOP1 STOP2!START DA~1~ NOTE 1 I ~ BIT TIME ~--! ! NOTES; SEE FIGURES 2, 3, 4 FOR DETAILS DETAIL; TRANSMITTER INITIALLY ASSUMED INACTIVE AT START OF DIAGRAM. SHOWN FOR 8 LEVEL CODE AND PARITY AND TWO STOPS. DATA~- 1; BIT TIME = 16 CLOCK CYCLES. STROBE ~f ttl\- 2; IF TRANSMITTER IS INACTIVE THE START PULSE WILL APPEAR ON LINE SO CLOCK~ 1 TO 2 CLOCK CYCLES AFTER THE DATA STROBE OCCURS. SEE DETAIL. SO 3; SINCE TRANSMITTER IS DOUBLE BUFFERED ANOTHER DATA STROBE CAN OCCUR ANYWHERE DURING TRANSMISSION OF CHARACTER 1 AFTER TBMT GOES HIGH. FIG.2 TRANSMITTER AT START BIT FIG. 3 TRANSMITTER AT START BIT NOT A TEST POINT TRANSMITIER INACTIVE TRANSMITIER ACTIVE TRANSMIT BUFFER LOADED WHEN EOC HIGH TRANSMIT BUFFER LOADED WHEN EOC LOW ~lLflJLJ I ~ _ ~- ~ IIkh",,~ ()S IIII I -=-=---_-LI--LI---'!. I SO I I ~ STARTBIT ~ TBMTI ~_ TBMT I I I I I EOC I L-,-______ ~ . ~ ________ _Eo_c__~II~ ______~~______ FIG.4 ALLOWABLE POINTS TO USE FIG. 5 ALLOWABLE TCP, RCP MAXIMUM~ ~~ DUTY CYCLE ~U~ L':_:~MIN. ~F REFER TO NOTE #1 I 1_ _ _ MINIMUM ~ •• ~Il...- .. 1 s MIN DA I . DUTY CYCLE ~~!~ u . LEGAL CS I ILLEGAL TO USE CS '----------------------~CS I LEGAL 50%DUTY~ I~ CYCLE L~ '- NOTE 1: TIS AND CS MAY OCCUR SIMULTANEOUSLY WHEN TRANSMITIER INACTIVE. ANY PULSE WIDTH WHICH MEETS ABOVE CRITERIA IS ALLOWABLE. NOTE: IF CONTROL STROBE IS HARDWIRED TO "1 ". THEN THE CONTROL DATA BITS MUST BE STABLE DURING "ILLEGAL CS" TIME. ©1990 Microchip Technology Inc. DS70005C-5 5-21 AV31015D TIMING DIAGRAMS (CONT.) FIG. 6 UARIT - RECEIVER TIMING "I" SI "0' ---I INTERNAL _ _ _ _ START ~ DATAl ;LSB -==- _ _L __ = = = =r= = ==- = DATA2 ~ DATA3 ~ DATA4 ~= DATA5 _ l_ _~_~_ __ L_ _~_~_ __ L_ _L __ DATA6 ~ DATA7 DATA8 ~B.=r PARITY STOPI STOP2 =~ _L_ _ _ _ _L __ ___ START = DATAl ~ SAMPLES NOTE 1___1-- PARITY ERROR NOTE 1___1 FRAMING -----------------------------== --' ERROR ---7'1 t- 1 CLOCK D~A------------------------------------------______N_OT_E_2_~~1 ~~ I _ __________________________________________________~N~OT~E~I____1~----------- OVERRUN - NOTES: 1. THIS IS THE TIME WHEN THE ERROR CONDITIONS ARE INDICATED, IF 4. ABOVE SHOWN FOR 8 BIT CODE WITH PARITY AND TWO STOP BITS. ERROR OCCURS. FOR NO PARITY, STOP BITS FOLLOW DATA. 2. DATA AVAILABLE IS SET ONLY WHEN THE RECEIVED DATA AND PE, FE, OR 5. FOR ALL LEVEL CODE, THE DATA IN THE HOLDING REGISTER IS HAVE BEEN TRANSFERRED TO THE HOLDING REGISTERS. (SEE RIGHT JUSTIFIED, THAT IS, LSB ALWAYS APPEARS IN RDI (PIN 12). RECEIVER BLOCK DIAGRAM). 3. ALL INFORMATION IS GOOD IN HOLDING REGISTERS UNTIL DATA AVAILABLE TRIES TO SET FOR NEXT CHARACTER. FIG. 7 TRUE RECEIVER CENTER SAM- FIG.8 RECEIVER DURING 1ST STOP BIT PLING DAVANDSTOPBITONE 12345678 RCPlJl-fl--JLn.JLJLJLflSLJ --+--. SI ~ J I It-- SAMPLE POINT 1il ""ST5W'''' u"LJLflSULJLJLllJ}liS1Fuu ----JI( II 1I RC' SI 8 CLOCKS INTERNAL SAMPLE I I I SI I I' 7 CLOCKS 1 I I I I I I I ROi-ROB I I PE,FE,OR I I 1 jf- ~; C;~6~~~~~~~~ '?:E~T;~; I o"o,~ I I SAMPLE POINT WILL BE HERE ~ DAVOFF _ _ _ _ _ _ _ _ _ _ _ _ _ I INTERNAL SAMPLE PULSE - - - - - - - - ' FIG. 9 XR PULSE FIG. 10 OS ·~-H~ VIH-- XR 500ns .~ MIN. ~ ro~, J L. WHEN NOT IN USE, XR MUST BE HELD AT GND. XR RESETS EVERY REGISTER EXCEPT THE CONTROL REGISTER. SO, TBMT EOC ARE ':::.] MIN. MIN. MIN. RESET TO LOGIC "1" , ALL OTHER OUTPUTS RESET TO LOGIC "0", DS70005C-6 © 1990 Microchip Technology Inc. 5-22 AY31015D TIMING DIAGRAMS (CONT.) FIG. 11A CS FIG.11B VIH- - - - - - r- VIH- r- - - - - CS 1\,------ ~ L "JL 200ns MIN. ---7 .}- CONTROL STROBE AND CONTROL BITS MUST BE 500ns MINIMUM. CONTROL BITS MUST BE STABLE FOR LAST 200ns OF CS. '20ns MIN. FIG,12 FIG. 13 EOC TURN - ON VIH- I- - - ---' - ~/ 'L f----- I J- VIH- ~; V7 -jL- - 4\~I \.- ::: -1- - -Ii - H - NPETC. ~s r--- 200ns * MIN LEADING EDGE OF CONTROL DATA IS NOT CRITICAL AS LONG AS ----71 1.5 I, TYP. TRAILING EDGE AND PULSE WIDTH SPECS ARE OBSERVED. *20ns MIN. FIG. 14 TBMT TURN - OFF FIG. 15 EOC TURN - OFF )t------------- DS VIH - TcP\ ~iI VIL VIL- \ - ------------------ T::L~ ~,' ~l -_ ____ EOC _ VOL- 1 ~s TYP. IE-- ----7\ TYP.~s 2 ©1990 Microchip Technology Inc. DS70005C-7 5-23 AY31015D TIMING DIAGRAMS FIG. 16 TBMT TURN· ON FIG. 17 ROE, SWE -Tep \ RDE~WE - r- - 500ns- MIN. - - -~VIH I-VIL VIL- -- ~-------------- TRI-STATE OUTPUTS I VOH~ I °t VOH -II --~ TBMT / I RD1-RD8 11.5V ( I .1___1. \ __ PE, FE, OR, I I ---7 500ns - ~ 1.5~S ~ DA, TBMT MAX. I TYP. I ---1 500ns MAX. VOL. FIG.1s ROAV FIG. 19 SHORT CIRCUIT OUTPUT CURRENT (only 1 output may be shorted at a time) 21 f-- T- ." y- 200ns 112 18 15 " ."\ ~ / I SHORT CIRCUIT OUTPUT CURRENT NOMINAL 1 I I DAV <.) .!£l 9 I~ VOL-L ~ [A 500ns MAX. t- " WIORSTrSE 4 VOUT FIG. 20 R01 • ROB, PE, FE, OR, TBMT, OAV FIG. 21 +5 VOLT SUPPLY CURRENT 15 2500 r-----,----r----~--~--_____, +5 VOLT SUPPLY CURR~NT I 14 ......... 13 r-.... , / WORST CASE .......... 112 .. .. t........ 1! 1500 . ......... r-.... .. .. .. <.) 5 ~ 9 11 1000 500 , 10 f-- NOMINAJ / .. . 10 20 30 40 50 60 70 100 200 300 400 500 CASE TEMPERATURE ("C) COUT pF DS70005C-8 © 1990 Microchip Technology Inc. 5-24 AY31015D TRANSMITTER FIG. 22 TRANSMITTER OPERATION Power is applied, external reset is enabled and clock pulse is applied having a frequency of 16 times the desired baud. 1. Turn Power On 2. Pulse External Reset The above conditions will set TBMT, EOC, and SO to logic 3. Select Baud -16 x eLK "1" (line is marking). TBMT = 1 After initialization is complete, user may set control bits and EOC= 1 SO = 1 (Stop Bit) data bits. Control bits selection should occur before data bit selection, however, one may set both OS and CS simultaneously if minimum pulse width specifications are followed. Once Data Strobe (OS) is pulsed the TBMT signal will change from a logic "1" to a logic "0" indicating that the data bits holding register is filled with a previous character and is unable to receive new data bits and transmitter shift register is transmitting previously loaded data. TBMTwili return to a logic "1 ". When transmitter shift register is empty, data bits in the holding register are immediately loaded into the transmitter shift register for transmission. The shifting of information from the holding register to the transmitter shift register will be followed by SO and EOC going to a logic "0" and TBMT will also go to a logic "1" indicating that the shifting operation is com- pleted and that the data bits holding register is ready to accept new data. It should be remembered that one full character time is now available for loading of the next character without loss of transmission speed due to double buffering (separate data bits holding register and transmit- ter shift register). Data transmission is initiated with transmission of a start bit, data bits, parity bit (if desired) and stop bit(s). When the last stop bit has been on line for one bit time, EOC will go to a logic "1" indicating that new character is ready for transmission. This new character will be transmitted only if TBMT is a logic "0" as was previously discussed. Is No TBMT = 0 Ves Ves ©1990 Microchio Technology Inc. DS70005C-9 5-25 AV31015D RECEIVER FIG. 23 RECEIVER OPERATION Power is applied, external reset is enabled and clock pulse 1. Turn Power On 3. Select Baud - 16 x eLK is applied having a frequency of 16 times the desired baud. 2. Pulse External Reset 4. Set Control Bits The previous conditions will set data available (DAV) to a logic "0". DAV=O After initialization is complete, user should note that one set of control bits will be used for both receiver and transmitter making individual control bit setting unneces- sary. Data reception starts when serial input signal changes from marking (logic "1 ") to spacing (logic "0") which initi- ates start bit. The start bit is valid if, after transition from logic "1" to logic "0", the Slline continues to be at logic "0", Has when center sampled, 8 clock pulses later. If, however, No A Start Bit line is at a logic "1" when center sampling occurs, the start Been Verified? 8-16xCLK bit verification process will be reset. If the Serial Input line transitions from a logic "1" to a logic "0" (marking to Yes spacing) when the 16x clock is in a logic "1" state, the bit time for center sampling will begin when the clock line transitions from a logic "1" to a logic "O"state. After verification of a genuine start bit, data bit reception, parity bit reception and stop bit(s) reception proceeds in an orderly manner. While receiving parity and stop bit(s), the receiver will compare transmitted parity and stop bit(s) with control data bits (parity and number of stop bits) previously set and indicate an error by changing the parity error flip flop and/ or the framing errorflip flop to a logic "1 ". It should be noted that if the No Parity Mode is selected, the PE (parity error) will be unconditionally set to a logic "0". Once a full character is received, internal logic looks at the data available (DAV) signal to determine if data has been read out. If the DAV signal isata logic"1", the receiver will assume data has not been read out and the over run flip- flop of the status word holding register will be set to a logic "1". If the DAV signal is at a logic "0", the receiver will assume that data has been read out. After DAV goes to a logic "1 ", the receiver shift register is now ready to accept the next character and has one full character time to remove the received character. Yes DS70005C-10 © 1990 Microchip Technology Inc. 5-26 AY31015D FIG. 24 TRANSMITTER BLOCK DIAGRAM co ..... u) l(j ..,. (') N ~~~~~~~~ TRANSMITTER BUFFER EMPTY TRANSMITTER SERIAL SHIFT REGISTER OUTPUT ENDOF CHARACTER FIG. 25 RECEIVER BLOCK DIAGRAM TBMTF/F ©1990 Microchip Technology Inc. DS70005C-11 5-27 AY31015D SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS AY31015D - IP ~ Package: P L Plastic DIP PLCC '------I I Temperature Blank O· C to 70· Conly I Range: Device: AY31015D UARfT DS70005C·12 © 1990 Microchip Technology Inc. 5·28 AY58116/8116T Microchip AY58136/8136T Dual Baud Rate Generator FEATURES PIN CONFIGURATIONS 18 LEAD DUAL INLINE • Single +5V power supply • On-chip crystal oscillator 8116/8136 or external frequency input 8116/8116T/8136/8136T AY58116/8116T Direct compatibility with UART/USRT Top View Dual selectable 16x clock outputs • High frequency reference output (Available only on XTAUEXTI XTAUEXT2 8136/8136T) Vee IT • Reprogrammable ROM allowing generation of non- IR TA standard frequencies RA Ts • TTL, MaS compatibility Rs Tc Pin for pin and functionally compatible with SMC's Re To Ro SIT COM 8116/8116T/8136/8136T STR GND • Microchip Technology Advanced N-Channel Silicon NC NC Gate Process Top View DESCRIPTION XTAUEXTI XTAUEXT2 The Microchip Technology AY58116/8136 Series is a Vee IT very versatile family of Dual Baud Rate Generators. The TA IR AY58116/8116T and AY58136/8136T are pin for pin RA Ts functionally equivalent to SMC's COM 8116/8116T and Rs Te COM 8136/8136T, respectively. Re To Ro SIT The AY58116/8136 is designed to generate the full STR GND spectrum of 16 asynchronous Isynchronous data com- NC fxl4 munication frequencies for use with 16x and 32x UARTI USRT devices. An on-chip crystal oscillator available on the 8116 and frequency (f,) is used by the 8136/8136T to provide a 8136 is capable of providing a master reference fre- high frequency output (fj4). quency. Alternatively, complimentary TTL level clock signals can be input to pins 1 and 18. The 8116T and The 8116/8136 family allows generation of other fre- 8136T are only suitable for this external TTL reference. quencies with the use of its two divisor ROMs which When using TTL outputs to drive the XTAUEXT inputs, contain 16 divisors, each 19 bits wide, allowing for up to they should not be used to drive other TTL inputs due to 32 different divisors on custom parts. excessive loading which may result in a reduction of noise immunity. Ex1ernally strobed data latches are used to hold the divisor select bits, RA- RD and TA-T D' The strobe inputs, Dividers are used on the output of the oscillatorlbuffer STR or STT, allow data to pass directly through the data which generate the output frequencies f, and fRo These latch when in the high state. A new frequency is initiated dividers can divide any integer from 6 to 219 + 1, inclu- within 3.5 Ilsec of a change in any of the four divisor sive. When using an even divisor, the output will be select bits read by the device. Pull-up resistors are square; an odd divisor will cause the output to be high provided on the divisor select inputs which are not longer than it is low by one clock period (lIf,). The clock present on the strobe inputs. © 1990 Microchip Technology Inc. 5-29 OS70004C-1 AY58116/8116T AY58136/8136T PIN FUNCTIONS Pin Number Signal Function 1 XTAUEXT1 Input is either one pin of the crystal package or one polarity of the external input. 2 Vcc Positive power supply - normally +5V. 3 fR This output runs at a Irequency selected by the Receiver divisor select data bits. 4-7 RA,RB,Rc,R o These inputs, as shown in Table 1, select the receiver output frequency, IR. 8 STR A high level input strobe loads the receiver data (RA,RB,Rc,R o) into the receiver divisor select register. This input may be strobed or hard-wired to a high level. 9 NC 10 NC orf/4 NC (8116/8116T), 1,14 (8136/8136T). 11 GND Ground. 12 STT A high level inut strobe loads the transmitter data (TA,TB,Tc,To) into the transmitter divisor select register. This input may be strobed or hard-wired to a high level. 13-16 To,Tc,TB,TA These inputs, as shown in Table 1, select the transmitter output frequency, IT' 17 IT This output runs at a frequency selected by the transmitter divisor select data bits. 18 XTAUEXT2 This input is either the other pin 01 the crystal package or the other polarity of the external input. TIMING DIAGRAM tpw ---~ V,H STROBE r----tos----~ V,H DIVISOR SELECT DATA VIL DS70004C-2 5-30 © 1990 Microchip Technology Inc. AY58116/8116T AY58136/8136T ELECTRICAL CHARACTERISTICS * Exceeding these ratings could cause permanent damage to the device. This is a stress rating only and functional operation of this device at these conditions is Maximum Ratings· not implied. Operating ranges are specified in Standard Operating Temperature Range ............... O°C to +70°C Conditions. Exposure to absolute maximum rating Storage Temperature Range ............. -55°C to + 150°C conditions for extended periods may affect device Positive Voltage on any Pin, reliability. with respect to ground ................................... +8.0V Negative Voltage on any Pin, Data labeled "typical" is presented for design guidance with respect to ground .................................... -0.3V only and is not guaranteed. Standard Conditions (unless otherwise noted): TA = O°C to +70°C, Vee = +5V ±5% DC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Input Voltage Levels Low Level V ,L - - 0.8 V High Level V ,H 2.0 - - V excluding XT AL inputs Output Voltage Levels Low Level VOL - - 0.4 V 10L = 1.6mA, for f/4, - - 0.4 V 10L = 3.2mA, for fR' fT High Level V OH 3.5 - - V 10H = -100llA Input Current Low Level I'L - - -0.1 rnA Y'N = GND, RA-Ro & TA-To only Input Capacitance All inputs - 5 10 pF Y'N = GND, excluding XTAL inputs Power Supply Current lee - - 50 rnA AC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Clock Frequency fx 0.01 - 5.1 MHz XTAUEXT, 50% Duty Cycle ±5% Strobe Pulse Width tpw 150 - DC ns Input Set-up Time tos 200 - - ns Input Hold Time tOH 50 - - ns Strobe to new Frequency - - 3.5 ~s @fx=5.0MHz Delay CRYSTAL SPECIFICATIONS Temperature range O°C to +70°C Series resistance ::;500 Series resonant Overall tolerance ± 0.01% © 1990 Microchip Technology Inc. 5-31 DS70004C-3 AY58116/8116T AY58136/8136T CRYSTAL OPERATION EXTERNAL INPUT OPERATION AY58116/ AY58116/8136 8116T/8136/8136T lSp- 74XX TTL 74XX TTL ,J{»:d'l- V ' 1S <:"""T- 74XX - TOTEM POLE OR OPEN COLLECTOR OUTPUT (EXTERNAL PULL-UP RESISTOR REQUIRED) BLOCK DIAGRAM: AY58116/8116T/8136/8136T STT TA T8 Te TD 9 . D-LATCH FREQUENCY DECODE AND CONTROL XTAU EXTl XTAL OSCI CLOCK BUFFER XTAU EXT2 RA R8 Re RD STR DS70004C-4 5-32 © 1990 Microchip Technology Inc. AY58116/8116T AY58136/8136T Table 1 Output Frequency AY58116/8116T/8136/8136T REFERENCE FREQUENCY = 5.068800 MHz Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 16X 0.80000 6336 50.00 0.800000 0.0000% 0001 75.00 16X 1.20000 4224 75.00 1.200000 0.0000% 0010 110.00 16X 1.76000 2880 110.00 1.760000 0.0000% 0011 134.50 16X 2.15200 2355 134.52 2.152357 0.0166% 0100 150.00 16X 2.40000 2112 150.00 2.400000 0.0000% 0101 300.00 16X 4.80000 1056 300.00 4.800000 0.0000% 0110 600.00 16X 9.60000 528 600.00 9.600000 0.0000% 0111 1200.00 16X 19.20000 264 1200.00 19.200000 0.0000% 1000 1800.00 16X 28.80000 176 1800.00 28.800000 0.0000% 1001 2000.00 16X 32.00000 158 2005.06 32.081013 0.2532% 1010 2400.00 16X 38.40000 132 2400.00 38.400000 0.0000% 1011 3600.00 16X 57.60000 88 3600.00 57.600000 0.0000% 1100 4800.00 16X 76.80000 66 4800.00 76.800000 0.0000% 1101 7200.00 16X 115.20000 44 7200.00 115.200000 0.0000% 1110 9600.00 16X 153.60000 33 9600.00 153.600000 0.0000% 1111 19200.00 16X 307.20000 16 19800.00 316.800000 3.1250% © 1990 Microchip Technology Inc. 5-33 DS70004C-5 AY58116/8116T AY58136/8136T Table 1 (Cont.) Output Frequency AY58116/8116T/8136/8136T-005 REFERENCE FREQUENCY = 4.915200 MHz Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 16X 0.80000 6144 50.00 0.800000 0.0000% 0001 75.00 16X 1.20000 4096 75.00 1.200000 0.0000% 0010 110.00 16X 1.76000 2793 109.93 1.758983 0.0100% 0011 134.50 16X 2.15200 2284 134.50 2.152000 0.0000% 0100 150.00 16X 2.40000 2048 150.00 2.400000 0.0000% 0101 300.00 16X 4.80000 1024 300.00 4.800000 0.0000% 0110 600.00 16X 9.60000 512 600.00 9.600000 0.0000% 0111 1200.00 16X 19.20000 256 1200.00 19.200000 0.0000% 1000 1800.00 16X 28.80000 171 1796.49 28.743859 0.1949% 1001 2000.00 16X 32.00000 154 1994.81 31.916883 0.2597% 1010 2400.00 16X 38.40000 128 2400.00 32.000000 0.0000% 1011 3600.00 16X 57.60000 85 3614.11 57.825882 0.3921% 1100 4800.00 16X 76.80000 64 4800.00 76.800000 0.0000% 1101 7200.00 16X 115.20000 43 7144.19 114.306976 0.7751% 1110 9600.00 16X 153.60000 32 9600.00 153.600000 0.0000% 1111 19200.00 16X 307.20000 16 19200.00 307.200000 0.0000% DS70004C-6 5-34 © 1990 Microchip Technology Inc. AY58116/8116T AY58136/8136T Table 1 (Cont.) Output Frequency AY58116/8116T/8136/8136T-006 REFERENCE FREQUENCY =5.068800 MHz Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 32X 1.60000 3168 50.00 1.60000 0.0000% 0001 75.00 32X 2.40000 2112 75.00 2.40000 0.0000% 0010 110.00 32X 3.52000 1440 110.00 3.52000 0.0000% 0011 134.50 32X 4.30400 1177 134.52 4.30600 0.0600% 0100 150.00 32X 4.80000 1056 150.00 4.80000 0.0000% 0101 200.00 32X 6.40000 792 200.00 6.40000 0.0000% 0110 300.00 32X 9.60000 528 300.00 9.60000 0.0000% 0111 600.00 32X 19.20000 264 600.00 19.20000 0.0000% 1000 1200.00 32X 38.40000 132 1200.00 38.40000 0.0000% 1001 1800.00 32X 57.60000 88 1800.00 57.60000 0.0000% 1010 2400.00 32X 76.80000 66 2400.00 76.80000 0.0000% 1011 3600.00 32X 115.20000 44 3600.00 115.20000 0.0000% 1100 4800.00 32X 153.60000 33 4800.00 153.60000 0.0000% 1101 7200.00 32X 230.40000 22 7200.00 230.40000 0.0000% 1110 9600.00 32X 307.20000 16 9900.00 316.80000 3.1250% 1111 19200.00 32X 614.40000 8 19800.00 633.60000 3.1250% © 1990 Microchip Technology Inc. 5-35 0570004C·7 AY58116/8t16T AY58136/8136T SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS AY5 81X6 TIP XXX T IT___~ MODEL 005 See Output L. PACKAGE 006 P Frequency Tables Plastic DIP VERSION On-Chip Oscillator T TTL Capability VERSION 1 Pin 8 = NC 3 Pin 8 = (fx/4) DEVICE AY581X6 Dual Baud Rate Generator DS70004C-8 5-36 © 1990 Microchip Technology Inc. ~. Microchip AY58126/8126T AY58146/8146T SINGLE BAUD RATE GENERATOR FEATURES PIN CONFIGURATIONS • Single +5V power supply • On-chip crystal oscillator 8126/8146 or external 14 LEAD DUAL INLINE frequency input 8126/8126T/8146/8146T • Direct compatibility with UART/USRT AY58126/8126T • Choice of 16x clock outputs Top View • High frequency reference output (Available only on 8146/8146T) XTALJEXT1 IT • Reprogrammable ROM allowing generation of non- XTALJEXT2 lA standard frequencies +5V 11 • TTL, MaS compatibility NC 1:: • Pin for pin and functionally compatible with SMC's GND To COM 8126/8126T/8146/8146T NC STT • Microchip Technology Advanced N-Channel Silicon NC NC Gate Process AY58146/8146T Top View DESCRIPTION XTALJEXT1 The Microchip Technology AY58126/8146 Series is a XTALJEXT2 very versatile family of Single Baud Rate Generators. +5V The AY58126/8126T and AY58146/8146T are pin for NC GND pin functionally equivalent to SMC's COM 8126/8126T and COM 814618146T, respectively. NC NC The AY58126/8146 is designed to generate the full spectrum of 16 asynchronous Isynchronous data com- munication frequencies for use with 16x and 32x UARTI USRT devices. low by one clock period (1/f,). The clock frequency (f,) An on-chip crystal oscillator available on the 8126 and is used by the 8146/8146Tto provide a high frequency 8146 is capable of providing a master reference fre- output (f,/4). quency. AlternativelYi complimentary TTL level clock signals can be input to pins 1 and 2. The 8126T and The 8126/8146 family allows generation of other fre- 8146T are only suitable for this external TTL reference. quencies with the use of its two divisor ROMs which When using TTL outputs to drive the XTAUEXT inputs, contain 16 divisors, each 19 bits wide, allowing for up to they should not be used to drive other TTL inputs due to 32 different divisors on custom parts. excessive loading which may result in a reduction of noise immunity. Externally strobed data latches are used to hold the divisor select bit TA-To' The strobe input STT allows Dividers are used on the output of the oscillatorlbuffer data to pass directly through the data latch when in the which generate the output frequency fT" This divider can high state. A new frequency is initiated within 3.5 usec divide any integer from 6 to 2'9 + I, inclusive. When of a change in any of the four divisor select bits read by using an even divisor, the output will be square; an odd the device. Pull-up resistors are provided on the divisor divisor will cause the output to be high longer than it is select inputs which are not present on the strobe inputs. © 1990 Microchip Technology Inc. DS70008C-1 5-37 AV58126/8126T AV58146/8146T PIN FUNCTIONS Pin Number Signal Function 1 XTAUEXT1 Input is either one pin of the crystal package or one polarity of the external input. 2 XTAUEXT2 This input is either the other pin of the crystal package or the other polarity of the external input. 3 Vee Positive power supply - normally +5V. 4 NC 5 GND Ground. 6-7 NC 8 NC orf,!4 NC (8126/8126T), f,/4 (8146/8146T). 9 STT A high level input strobe loads the transmitter data (TA' TB' Te' To) into the transmitter divisor select register. This input may be strobed or hard-wired to a high level. 10-13 To,Te,TB,TA These inputs, as shown in the Tables p.5 If, select the transmitter output frequency, fT" 14 fT This output runs at a frequency selected by the transmitter divisor select data bits. TIMING DIAGRAM V,H STROBE lOS ~ ~IOH DIVISOR V,H ~ 1/ \.A, /'1 SELECT ~ DATA V'L r 1\ DS70008C-2 © 1990 Microchip Technology Inc. 5-38 AY58126/8126T AY58146/8146T ELECTRICAL CHARACTERISTICS Maximum Ratings· • Exceeding these ratings could cause permanent damage to the device. This is a stress rating only and Operating Temperature Range ............... O°C to +70°C functional operation of this device at these conditions is Storage Temperature Range ............. -55°C to + 150°C not implied. Operating ranges are specified in Standard Positive Voltage on any Pin, Conditions. Exposure to absolute maximum rating with respect to ground ................................... +8.0V conditions for extended periods may affect device Negative Voltage on any Pin, reliability. with respect to ground .................................... -0.3V Data labeled "typical" is presented for design guidance Standard Conditions only and is not guaranteed. (unless otherwise noted): TA = O°C to +70°C, Vee = +5V ±5% DC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Input Voltage Levels Low Level V ,L - - 0.8 V High Level V ,H 2.0 - - V excluding XTAL inputs Output Voltage Levels Low Level VOL - - 0.4 V 10L = 1.SmA, for f/4, - - 0.4 V 10L = 3.2mA, for fR' fT High Level V OH 3.5 - - V 10H = -100j.lA Input Current Low Level I'L - - -0.1 mA Y'N = GND, TA-T D only Input Capacitance All inputs - 5 10 pF Y'N = GND, excluding XTAL inputs Power Supply Current Icc - - 50 mA AC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Clock Frequency fx 0.01 - 5.1 MHz XTAUEXT, 50% Duty Cycle ±5% Strobe Pulse Width tpw 150 - DC ns Input Set-up Time t DS 200 - - ns Input Hold Time tDH 50 - - ns Strobe to new Frequency - - 3.5 j.lS @fx=5.0MHz Delay CRYSTAL SPECIFICATIONS Temperature range O°C to +70°C Series resistance" 500 Series resonant Overall tolerance ± 0.01 % © 1990 Microchip Technology Inc. DS70008C-3 5-39 AY58126/8126T AY58146/8146T CRYSTAL OPERATION EXTERNAL INPUT OPERATION AY58126/8146 AV58126/8126T18146/8146T 74XX 74XX > TIL TIL 2 2 74XX - TOTEM POLE OR OPEN COLLECTOR OUTPUT (EXTERNAL PULL-UP RESISTOR REQUIRED) BLOCK DIAGRAM: AY58126/8126T/8146/8146T STI TA FREQUENCY TB DECODE REPROGRAMMABLE D-LATCH FREQUENCY SELECT TC AND TD CONTROL ROM XTAU EXT1 XTAL ascI 1------7 fX/4AY581461 CLOCK 8146T OPTION BUFFER XTAU EXT2 DS70008C-4 © 1990 Microchip Technology Inc. 5-40 AY58126/8126T AY58146/8146T OUTPUT FREQUENCY AY58126/8126T/8146/8146 Reference Frequency = 5.068800 MHz -- -- Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 16X 0.80000 6336 50.00 0.800000 0.0000% 0001 75.00 16X 1.20000 4224 75.00 ,1.200000 0.0000% 0010 110.00 16X 1.76000 2880 110.00 1.760000 0.0000% 0011 134.50 16X 2.15200 2355 134.52 2.152357 0.0166% 0100 150.00 16X 2.40000 2112 150.00 2.400000 0.0000% 0101 300.00 16X 4.80000 1056 300.00 4.800000 0.0000% 0110 600.00 16X 9.60000 528 600.00 9.600000 0.0000% 0111 1200.00 16X 19.20000 264 1200.00 19.200000 0.0000% 1000 1800.00 16X 28.80000 176 1800.00 28.800000 0.0000% 1001 2000.00 16X 32.00000 158 2005.06 32.081013 0.2532% 1010 2400.00 16X 38.40000 132 2400.00 38.400000 0.0000% 1011 3600.00 16X 57.60000 88 3600.00 57.600000 0.0000% 1100 4800.00 16X 76.80000 66 4800.00 76.800000 0.0000% 1101 7200.00 16X 115.20000 44 7200.00 115.200000 0.0000% 1110 9600.00 16X 153.60000 33 9600.00 153.600000 0.0000% 1111 19200.00 16X 307.20000 16 19800.00 316.800000 3.1250% I © 1990 Microchip Technology Inc. DS70008C-5 5-41 AY58126/8126T AY58146/8146T OUTPUT FREQUENCY AY58126/8126T/8146/8146T -005 Reference Frequency = 4.915200 MHz Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 16X 0.80000 6144 50.00 0.800000 0.0000% 0001 75.00 16X 1.20000 4096 75.00 1.200000 0.0000% 0010 110.00 16X 1.76000 2793 109.93 1.758983 0.0636% 0011 134.50 16X 2.15200 2284 134.50 2.152000 0.0000% 0100 150.00 16X 2.40000 2048 150.00 2.400000 0.0000% 0101 300.00 16X 4.80000 1024 300.00 4.800000 0.0000% 0110 600.00 16X 9.60000 512 600.00 9.600000 0.0000% 0111 1200.00 16X 19.20000 256 1200.00 19.200000 0.0000% 1000 1800.00 16X 28.80000 171 1796.49 28.743859 0.1949% 1001 2000.00 16X 32.00000 154 1994.81 31.916883 0.2597% 1010 2400.00 16X 38.40000 128 2400.00 38.400000 0.0000% 1011 3600.00 16X 57.60000 85 3614.11 57.825882 0.3921% 1100 4800.00 16X 76.80000 64 4800.00 76.800000 0.0000% 1101 7200.00 16X 115.20000 43 7144.19 114.306976 0.7751% 1110 9600.00 16X 153.60000 32 9600.00 153.600000 0.0000% 1111 19200.00 16X 307.20000 16 19200.00 307.200000 0.0000% DS70008C-6 © 1990 Microchip Technology Inc. 5-42 AY58126/8126T AY58146/8146T OUTPUT FREQUENCY AY58126/8126T/8146/8146T-006 Reference Frequency ~ 5.068800 MHz ~~-- Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 32X 1.60000 3168 50.00 1.60000 0.0000% 0001 75.00 32X 2.40000 2112 75.00 2.40000 0.0000% 0010 110.00 32X 3.52000 1440 110.00 3.52000 0.0000% 0011 134.50 32X 4.30400 1177 134.52 4.30600 0.0600% 0100 150.00 32X 4.80000 1056 150.00 4.80000 0.0000% 0101 200.00 32X 6.40000 792 200.00 6.40000 0.0000% 0110 300.00 32X 9.60000 528 300.00 9.60000 0.0000% 0111 600.00 32X 19.20000 264 600.00 19.20000 0.0000% 1000 1200.00 32X 38.40000 132 1200.00 38.40000 0.0000% 1001 1800.00 32X 57.60000 88 1800.00 57.60000 0.0000% 1010 2400.00 32X 76.80000 66 2400.00 76.80000 0.0000% 1011 3600.00 32X 115.20000 44 3600.00 115.20000 0.0000% 1100 4800.00 32X 153.60000 33 4800.00 153.60000 0.0000% 1101 7200.00 32X 230.40000 22 7200.00 230.40000 0.0000% 1110 9600.00 32X 307.20000 16 9900.00 316.80000 3.1250% © 1990 Microchip Technology Inc. DS70008C-7 5-43 AY58126/8126T AY58146/8146T SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS MODEL 005 See Output 006 Frequency Tables --I PACKAGE P Plastic DIP I VERSION T On-Chip Oscillator TIL Capability I VERSION 2 4 Pin 8 = NC Pin 8 = (fx/4) I DEVICE AY581X6 Dual Baud Rate Generator J DS70008C-8 © 1990 Microchip Technology Inc. 5-44 ~. Microchip AY38910A AY38912A PROGRAMMABLE SOUND GENERATOR FEATURES DESCRIPTION • Industry standard programmable sound generator The AY3891 OAl38912A Programmable Sound Genera- • Register oriented architecture for ease of use tor (PSG) is an LSI circuit which can produce a wide • Full software control of sound generation variety of complex sounds under software control. The • Easily interfaces to most 8-bit and 16-bit micropro- AY3891 OAl38912A is manufactured in Microchip Tech- cessors nologys N-Channel Ion Implant Process. Operation • Three independently programmable analog outputs requires a single +5V power supply, a compatible clock, • One or two 8-bit 1/0 ports and a microprocessor controller, such as the PIC series • Single 5 volt supply of 8-bit microcomputers. • 0 0 to 70 0 C operation • 40 pin or 28 pin package option The PSG is easily interfaced to any bus oriented system. Its flexibility makes it useful in applications such as music synthesis, sound effects generation, audible alarms, tone signaling, and personal computer usage. APPLICATIONS In order to generate sound effects while allowing the processor to perform other tasks, the PSG can continue • Arcade games to produce sound after the inilial commands have been • Warning alarms given by the control processor. The fact that realistic • Special effects sound production often involves more than one compo- • Personal computers nent is satisfied by the three independently controllable • Music synthesis analog sound output channels can each provide 4 bits of logarithmic digital to analog conversion, greatly enhanc- ing the dynamic range of the sounds produced. PIN CONFIGURATION Top View 40 LEAD DUAL INLINE - AY38910A 28 LEAD DUAL INLINE - AY38912A Vss (GND) 40 ] Vee (+5V) Analog Channel C 1 28 ] DAD No Connect 39 ] No Connect No Connect 2 27 ] DA1 Analog Channel B 38 ] Analog Channel C Vcc(+5V) 3 26 ] DA2 Analog Channel A 37 ] DAO Analog Channel B 4 25 ] DA3 No Connect 36 ] DA1 Analog Channel A 5 24 ] DA4 IOB7 35 ] DA2 Vss (GND) 6 23 ] DA5 IOB6 34 ] DA3 IOA7 7 22 ] DA6 IOB5 33 ] DA4 IOA6 8 21 ] DA7 IOB4 32 ] DA5 IOA5 9 20 ] BC1 IOB3 31 ] DA6 10M 10 19 ] BC2 IOB2 30 ] DA7 IOA3 11 18 ] BDIR IOB1 29 ] BC1 IOA2 12 17 ] A8 lOBO 28 ] BC2 IOA1 13 16 ] RESET IOA7 27 ] BDIR lOAD 14 15 ] Clock IOA6 26 ] No Connect IOA5 25 ] A8 IOA4 24 ] A9 IOA3 23 ] RESET IOA2 22 ] Clock IOA1 21 ] lOAD © 1990 Microchip Technology Inc. DS5000BC-1 5-45 AY3891 OAI AY38912A DESCRIPTION (CTD.) All circuit control signals are digital in nature and may circuitry. Since the frequency response of the PSG be provided directly by a microprocessor/microcom- ranges from sub-audible at its lowest frequency to puter. Therefore, one PSG can produce the full post-audible at its highest frequency, there are few range of required sounds with no change in external sounds which are beyond reproduction. A Y389XXA BLOCK DIAGRAM A9 AS BOIR BC2 BC1 DA7-DAO RESET CLOCK RESET REGISTERS I , I i REGISTER ADDRESS LATCHI DECODER (16 AEADIWRITE CONTROL REGISTERS) ANALOG CHANNELS PIN FUNCTIONS DA7-DAO (Input /Output/High Impedence) Address 9. Address 8 Data/Address Bits 7-0: Pins 30-37 (AY38910A) A8 (input): Pin 25 (AY38910A) Pins 21-28 (AY38912A) Pin 17 (AY38912A) These 81ines comprise the 8-bit bidirectional bus used by A9 (input): Pin 24 (AY38910A) the microprocessor to send both data and addresses to Not available (AY38912A) the PSG and to receive data from the PSG. In the High order address bits A9 and A8 are fixed to recognize address mode, DA3-DAO select the internal register a "01 "code. They may be left unconnected as each is address (0-17.) and DA7-DA4 in conjunction with ad- provided with either an on chip pull-down (A9) or pull-up dress inputs A9 and A8, form the chip select function. (A8) resistor. In noisy environments, however, it is When the high order address bits are "incorrect", the recommended that A9 and A8 be tied to external ground bidirectional buffers are forced to a high impedence state. and +5V respectively if they are not to be used. DS50008C-2 © 1990 Microchip Technology Inc. 5-46 AV38910A/AV38912A RESET (Input) For example, if these bus control signals are generated directly by a microprocessor to control all bus opera- Pin 23 (AY38910A) tions internal and external to the PSG, then the follow- Pin 16 (AY38912A) ing Bus Control Function Table applies. For initialization/power-on purposes, applying a low level Interfacing to a processor simply requires simulating input to the RESET pin will reset all registers to Oe. The the decoding shown in the Function Table. The redun- RESET pin is provided with an on-chip pull-up resistor. dancies in the PSG functions vs. bus control signals CLOCK (Input) can be used as an advantage in that only four of the eight possible decoded bus lunctions are required by Pin 22 (AY38910A) the PSG. This could reduce the programming of the Pin 15 (AY38912A) bus control signals to the following Simplified Bus This TTL compatible input supplies the timing reference Control Function Table which would only require that for the Tone, Noise, and Envelope Generators. the processor generate two bus control signals (BDIR BDIR. BC2. BC1 (Inputs) and BC1, with BC2 tied to +5V). Pins 27,28,29 (AY38910A) Pins 18,19,20 (AY38912A) The Bus DIRection, Bus Control 2 and Bus Control 1 are used to control the PSG. BUS CONTROL FUNCTION TABLE Inputs Microprocessor PSG BOIR BC2 BC1 Function Function 0 0 0 NACT INACTIVE. See 010 (lAB) below. 0 0 1 ADAR LATCH ADDRESS. See 111 (INTAK) below. 0 1 0 lAB INACTIVE. The PSG/CPU bus is inactive. DA7-DAO are in a high impedance state. 0 1 1 DTB READ FROM PSG. This signal causes the contents of the register which is currently addressed to appear on the PSG/CPU bus. DA7-DAO are in the output mode. 1 0 0 BAR LATCH ADDRESS. See 111 (INTAK) below. 1 0 1 DW INACTIVE. See 010 (lAB) above. 1 1 0 DWS WRITE TO PSG. This signal indicates that the bus contains register data which should be latched into the currently addressed register. DA7 -DAO are in the input mode. 1 1 1 INTAK LATCH ADDRESS. This signal indicates that the bus contains a register address which should be latched in the PSG. DA7-DAO are in the input mode. SIMPLIFIED BUS CONTROL FUNCTION TABLE Inputs PSG BOIR BC2 BC1 Function 0 1 0 INACTIVE. PSG 0 1 1 READ FROM PSG. r-~ 1 1 0 WRITE TO PSG. 1 1 1 LATCH ADDRESS. FROM PROCESSOR +5 - BC2 -BC' '---- © 1990 Microchip Technology Inc. DS50008C-3 5-47 AY38910A/AY38912A Analog Channel A, B, C (Outputs) The four low order address bits select one of the 16 registers (ROs-R17s). The six high order address bits Pins 4,3,38 (AY38910A) function as chip selects to control the tri-state bidirec- Pins 5,4,1 (AY38912A) tional buffers (when the high order address bits are Each of these signals is the output of its corresponding incorrect, the bidirectional buffers are forced to a high digital to analog converter and provides 1V peak-peak impedance state). High order address bits A9, A8 are (max) signal representing the complex sound wave- fixed in the PSG design to recognize a "01" code; high shape generated by the PSG. order address bits DA7-DA4 are programmed to recog- No Connect nize only a "0000" code. All addresses are latched internally. This internally latched address is updated Pins 2,5,26,39 (AY38910A) and modified on every latch address signal presented to Pins 2 (AY38912A) the PSG via the BDIR, BC2 and BC1 inputs. A latched These pins are for Microchip Technology test purposes address will remain valid until the receipt of a new only and should be left open. Do not use as tie-points. address, enabling multiple reads and writes of the same register contents without the need for redundant re- addressing. Pins 40 (AY38910A) Pin 3 (AY38912A) Conditioning of the Register Address Latch/Decoder Nominal +5 Volt power supply to the PSG. and the Bidirectional Buffers to recognize the bus function required (Inactive, Latch Address, Write Data) is accom- plished by the Bus Control Decode block. Pin 1 (AY38910A) Pin 6 (AY38912A) Ground reference for the PSG. Sound Generating Blocks The basic blocks in the PSG which produce the pro- ARCHITECTURE grammed sounds include: The AY38910AlAY38912A is a register oriented Pro- grammable Sound Generator (PSG). Communication Tone Generators Produce the basic square wave between the processor and the PSG is based on the tone frequencies for each chan- concept of memory-mapped I/O. Control commands nel (A, B, C). are issued to the PSG by writing to 16 memory-mapped Noise Generator Produces a pulse width modu- registers. Each of the 16 registers within the PSG is lated pseudo-random square also readable so that the microprocessor can deter- wave output. mine, as necessary, present states or stored data val- Mixers Combine the outputs of the Tone ues. All functions of the PSG are controlled through the Generators and the Noise Gen- 16 registers which, once programmed, generate and erator; per channel (A,B,C). sustain the sounds, thus freeing the system processor Envelope Generator Produces an envelope pattern for other tasks. which can be used to amplitude modulate the output of each Register Array Mixer. The principle element of the PSG is the array of 16 read/ Amplitude Control Provides the 0/A Converters write control registers. These 16 registers look to the with either a fixed or variable CPU as a block of memory and as such occupy a 16 amplitude pattern. Fixed am- word block out of 1,024 possible addresses. The 10 plitude is under direct CPU address bits (8 bits on the common data/address bus, control. Variable amplitude is and 2 separate address bits) are decoded as follows: accomplished via the output of the Envelope Generator. 0/A Converters The three 0/A Converters each produce a 161evel (max) output signal as determined by the THROUGH Amplitude Control. '~------.-------~/\-------.------~I I HIGH ORDER LOW ORDER (Chip Select) (Register No.) DS5000BC-4 © 1990 Microchip Technology Inc. 5-48 AV38910A/AV38912A OPERATION TUNE REGISTERS Since all PSG functions are processor controlled by Coarse Tune Fine Tune writing to the internal registers (see table). A detailed Register Channel Register description of the PSG operation may best be accom- plished by relating each PSG function to control of the Rl A RO corresponding register. The function of creating or R3 B R2 programming a specific sound effect logically follows the control sequence shown in the figure below. Tone Generator Control CRO - RS) Noise Generator Control C R6) The frequency of each square wave generated by the The frequency olthe noise source is obtained by dividing three Tone Generators (one each for Channels A, B, the input clock by 16, then by further dividing the result and C) is obtained by first dividing the input clock by 16 by the programmed 5 bit Noise Period value. This 5 bit then by further dividing the result by the programmed 12 value consists of the lower 5 bits (B4-BO) of register R6, bitTone Period value. Each 12-bit tone period value is as illustrated: obtained by combining the contents of the respective Coarse and Fine Tune registers, as illustrated. NOISE PERIOD REGISTER (R6) INTERNAL REGISTERS I~I~I~I~I~I~I~I~I \ A / Operation Register Function Not Used 5-bit Noise Period(NP) to Noise Generator Tone Generator RO-R5 Program tone periods Control Noise Generato R6 Program noise period Control Mixer Control R7 Enable tone and/or noise on selected channels Amplitude Rl0s-Rl2s Select fixed or variable Control (envelope) amplitudes Envelope Gene- R13s-R15s Program envelope pe rator Control riod, select envelope pattern CONTROL SEQUENCE COARSE TUNE FINE TUNE 12-bit Tone Period (TP) to Tone Generator Notes: 1. The period of the output of the tone generator is therefore determined by: 16 x TP x P where P = the period of the input clock. 2.lf the Coarse and Fine Tune registers are both set to OOOs, the resulting period will be minimum, ie., the generated tone period will be as if the Coarse Tune register was set to OOOs and the Fine Tune register set to 001s. © 1990 Microchip Technology Inc. DS50008C-5 5-49 AY3891 OAfAY38912A Mixer Control· I/O Enable (R7) I/O PORT TRUTH TABLE Register R7 is a multi-function ENABLE register which R7blts I/O Port Status controls the three Noiserrone Mixers. B7B6 I/OB 1I0A 0 0 Input Input The mixers, as previously described, combine the noise 0 1 Input Output and tone frequencies for each of the three channels. 1 0 Output Input Thedetermination of combining neither/either/both noise 1 1 Output Output and tone frequencies on each channel is made by the state of bits B5-BO of register R7, as illustrated. NOTE: Disabling noise and tone does llQ1turn off a channel. Turning a channel off can only be accom- The direction (input or output) of the general purpose 1/ plished by writing all zeros into the corresponding Am- oports (I/OA and I/OB) is determined by the state of bits plitude Control Register. B7 and B6 of R7, as illustrated. Amplitude Control (R1Qa,R11a,R12a} The amplitude of the signals generated by each of the MIXER CONTROL REGISTER (R7) three D/A Converters (one each for Channels A,B, and C) is determined by the content of the lower bits (B4-BO) of registers R10a, R11a, and R12a as illustrated. These five bits consist of a 1-bit mode select ("M" bit) and a 4-bit "fixed" amplitude level (L3-LO). When the M bit is low, the output level of the analog channel is defined by the 4-bit "fixed" amplitude level of the Amplitude Control Register. This amplitude level is fixed in the sense that the amplitude CHANNEL CONTROL NOISE ENABLE TRUTH TABLE Register Channel R7 Bits Noise Enabled R10a A B5B4 B2 on Channel R11a B 0 0 0 C B A R12a C 0 0 1 C B - 0 1 0 C - A 0 1 1 C - - AMPLITUDE CONTROL BITS 1 0 0 - B A 1 0 1 - B - B5 B4 B3 BO 1 1 0 - - A 1 1 1 - - - Not Used LO TONE ENABLE TRUTH TABLE AMPLITUDE CONTROL REGISTER R7 Bits Tone Enabled B2B1 BO on Channel Amplitude 4 bit fixed 0 0 0 C B A Mode Amplitude Level Note o0 o0 0 0 1 C B - 0 ·· . Amplitude Defined 0 1 0 0 1 1 C C - - -A .. . By LO-L3 1 0 0 - B A · 1 0 1 - B - 0 1 1 1 1 1 1 0 - - A 1 XX XX Amplitude Defined 1 1 1 - - - By EO-E3 DS50008C-6 © 1990 Microchip Technology Inc. 5-50 AV38910A/AV38912A is under direct control of the system processor. When Envelope Shape/Cycle Control (R15s) the M bit is high, the output level of the analog channel The Envelope Generator further divides the envelope is defined by the 4-bits of the Envelope Generator (bits period by 16, producing a 16-state per cycle envelope E3-EO). The amplitude mode bit can also be thought of pattern as defined by the 4-bit counter output, E3, E2, E1 as an "envelope enable" bit. and EO. The particular shape and cycle pattern of any desired envelope is accomplished by controlling the Envelope Generator Control count pattern of the 4-bit counter. (See Figure 4 and 5). To accomplish the generation of complex envelope patterns, two independent methods of control are pro- This envelope shape/cycle control is contained in the vided: first, it is possible to vary the frequency of the lower4 bits (83-80) of register R15. Each ofthese 4 bits envelope using registers R138 and R148; second, the controls a function in the envelope generator, as illus- relative shape and cycle pattern of the envelope can be trated: varied using register R158. The following paragraphs explain the details of the envelope control functions, describing first the envelope period control and then the ENVELOPE SHAPE/CYCLE CONTROL envelope shape/cycle control. (See Figure 1 and 2). Bit Signal Function Envelope Period Cotrol (R138,R14a) The frequency of the envelope is obtained by first divid- 0 HOLD When this is set high (logic 1) ing the input clock by 256, then by further dividing the the envelope is limited to one result by the programmed 16 bit Envelope Period value. cycle, the value of the enve- This 16 bit value is obtained by combining the contents lope at the end of the cycle of the Envelope Coarse and Fine Tune registers, as being held. illustrated: 1 ALTERNATE When set high (logic 1) the envelope counter reverses di- rection at end of each cycle (i.e. performs as an up/down counter). ENVELOPE SHAPE/CYCLE CONTROL 2 ATTACK When set high (logic 1) the REGISTER (R15) envelope counter will count up (attack). When set low (logic 0) I"I:~~I",I@~~ the counter will count down (decay). 3 CONTINUE When set high (logic 1) the cycle pattern will be defined by the HOLD bit. When set low \~ (logic 0) the envelope counter To Envelope will resetto 0000 after one cycle Generator and hold that value. 16-81T ENVELOPE PERIOD (EP) TO ENVELOPE GENERATOR Envelope Coarse Tune Register (R14) Envelope Fine Tune Register (R13) BO EPa Refer to Programmable Sound Generator Data Manual for calculation example. NOTE: If the Coarse and Fine Tune registers are both set to 0008, the resulting period will be minimum, i.e., the generated tone period will be as if the Coarse Tune register was set to 0008 and the Fine Tune register set to 001s. © 1990 Microchip Technology Inc. DS50008C-7 5-51 AY3891 OAIAY38912A DIA Converter Since the primary use of the PSG is to produce sound for FIG. 1 ENVELOPE SHAPE /CYCLE the non-linear amplitude detection mechanism of the OPERATION human ear, the D/A conversion is performed in logarith- mic steps with a normalized voltage range from 0 to 1 voll. The specific amplitude control of each of the three R1581TS D/A Converters is accomplished by the three sets of 4 bit 83 82 81 80 outputs of the Amplitude Control block while the Mixer A outputs provide the base signal frequency (Noise and/or C L Tone). (See Fig. 3). 0 T N A E T T R T N H N A A 0 GRAPHIC REPRESENTATION U C T L OF ENVELOPE GENERATOR E K E 0 OUTPUT E3 E2 E1 EO. X X EP IS THE ENVELOPE PERIOD (DURATION OF ONE CYCLE) FIG.2 DETAIL OF TWO CYCLES (REF. WAVEFORM "1010"IN FIG. 1) 15 15 GRAPHIC REPRESENTATION OF THE DECIMAL VALUES OF ENVELOPE GENERATOR OUTPUT E3 E2 E 1 EO EP (HIE) EP ------·14----- (HIE) - - - - - - <.. ~ I DS50008C-8 © 1990 Microchip Technology Inc. 5-52 AY3891 OAIAY38912A FIG.3 D/A CONVERTER OUTPUT NORMALIZED VOLTAGE 1V 15 15 NOTE: ENVELOPE ONL Y- NOISE AND TONES ARE DISABLE D.- 14 14 TYPICAL RATIO FROM ONE STEP TO THE NEXT LOWER STEP IS 1.2/1.7 13 13 / ' " DECIMAL VALUE JI' OF E3 E2 E1 EO 12 12 11 11 EP ENVELOPE PERIOD FIG. 4 SINGLE TONE WITH ENVELOPE FIG. 5 MIXTURE OF THREE TONES SHAPE/CYCLE PATTERN 1010 WITH FIXED AMPLITUDES © 1990 Microchip Technology Inc. DS5000BC-9 5-53 AY3891 OAIAY38912A ELECTRICAL CHARACTERISTICS Maximum Ratings· Standard Conditions Storage Temperature ......................... -55°C to + 150°C Vee = +5V±5% Operating Temperature ........................... O°C to +70°C Vss=GND Vee and all other Input/Output Operating Temperature = O°C to +70°C Voltages with Respect to Vss ............... -0.3V to +8.0V (Unless otherwise noted) 'Exceeding these ratings could cause permanent damage to the device. This is a stress rating only and functional operation of this device at these conditions is not implied. Operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Data labeled "typical"' is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS Sym Min Typ" Max Units Conditions All Inputs Low Level VIL -0.2 0.8 V High Level VIH 2.2 - Vee V Data Bus (DA7-DAO) Output Levels Low Level VOL 0 - 0.4 V IOL = 1.SmA, 150pF High Level VOH 2.4 - Vee V IOH = 100 A, 150pF Data Bus(DA7-DAO) Input Leakage IIAL -10 - 10 A VIN = 0.4V to Vee Analog Channel Outputs Output Volume Vo 0 - SO dB Test Circuits: Fig. S Power Supply Current lee - 70 90 mA Max. Current (per channel) - 0.4 2.0 - mA VOUT = 0.7V, Amplitude Control Set to F I/O Ports Pull Up Current Low IlL 20 200 A VIN = O.4V, Outputs disabled Pull Up Current High IiH 10 - 100 A VIN = 3.5V - as Outputs (A7-AO, B7-BO) Low Level VOL 0 - 0.5 V IIL= 1.SmA High Level VOHh 3.5 - Vee V IOHh = 10A See VOH1 2.4 - Vee V IOH1 = 85A Note 1 - as Inputs (A7-AO,B7-BO) Low Level VIL 0 - 0.8 V High Level VIH 2.4 Vee V - A8 and Reset Input Pull up Current IILpU -10 - -100 A VIN = O.4V IIHPU -10 - -50 A VIN =2.4V -A9 Pull down Current IIHpd 10 100 A VIN = 2.4V - BC1,BDIR, Clock Inputs Input Leakage IleL -10 10 A VIN = O.4V to Vee "Typical values are at +25°C and nominal voltages. Note 1: The active pull-up during an output operation will achieve a logic 1 of 2.4 volts in a time of typically 1 microsecond. However, from 2.4 volts to the high level of 3.5 volts the available pull up current will reduce significantly and further edge transition will be highly dependent upon load capacitance. DS50008C-10 © 1990 Microchip Technology Inc. 5-54 AY38910A/AY38912A AC CHARACTERISTICS Sym Min Typ** Max Units Conditions Clock Input Frequency fe 1 - 2 MHz Rise Time tr - - 50 ns Fig. 7 Fall Time tf - - 50 ns Duty Cycle - 40 50 60 % Bus Signals (BDIR, BC2, BC1) Associate Delay Time tBD - - 40 ns Reset Reset Pulse Width tRW 500 - - ns Fig. 8 A9, AS, DA7-DAO (Address Mode) Address Setup Time tAS 300 - ns Address Hold Time tAH 65 - - ns Fig. 9 DA7-DAO (Write Mode) Write Data Pulse Width tDW 500 - 10,000 ns Write Data Setup Time tDS 300 - - ns Fig. 10 Write Data Hold Time tDH 65 - - ns DA7-DAO (Read Mode) Data Access Time from DTB tDA - 200 ns Fig. 11 DA7-DAO (Inactive Mode) Tri-state Delay Time from DTB ITs - - 100 ns I/O Ports (A7-AO, B7-BO) Pull up Recovery Time tPN - - 50 Ilsec VOH = 3.5V CLOAD = 100pF See Note 2 ""Typical values are at +25°C and nominal voltages NOTE 2: Pull up recovery time is defined as the time required for any 110 pin A7-AO or B7-BO to change up to a 100pf capacitor load from 0.0 volts to 3.5 volts. This recovery time is conditional on the output function of Port A or Port B being deselected via Bits B7 and B6 of register R10. Fig. 6 ANALOG CHANNEL OUTPUT TEST CIRCUIT R Analog Channel 0 Output 1J>:l (OP AMP Must Not Saturate) © 1990 Microchip Technology Inc. DS50008C-11 5-55 AY3891 OAIAY38912A TIMING CONDITIONS FOR AC CHARACTERISTICS FIG. 7 CLOCK AND BUS SIGNAL TIMING BDIR/ BCl BDIRI BCl a. b. FIG. 8 RESET TIMING RESET L______ FIG. 9 LATCH ADDRESS TIMING BUS CONTROL INACTIVE~ LATCH ~ INACTIVE DECODE ADDRESS ~ AS HtAH , - - - - - - - - - VIH A9 A8 DA7-DAO P~~~~EUS X~ES0I'-------_ VIL ~ BUS CONTROL k:Z! SIGNALS CHANGING 'BDIR BCl --1 r- 50 ns Max., Including Skew. 1 1 DS50008C-12 © 1990 Microchip Technology Inc. 5-56 AY3891 OAfAY38912A FIG. 10 WRITE DATA TIMING BUS CONTROL DECODE INACTIVE ~ a WRITE TO PSG' I DW ~ t:a INACTIVE IDH IDS • PREVIOUS STATE VALID DATA INPUT X 1://1 BUS CONTROL lL2 SIGNALS CHANGING 'BDIR BC1 -I r-- 50 ns Max, Including Skew a FIG.11 READ DATA TIMING BUS CONTROL INACTIVE INACTIVE DECODE ______~~ _______________~LL!--------------- VOH PREVIOUS DA7-DAO READ VALID DATA TRISTATE STATE VOL VOH VOL V7i BUS CONTROL tL:6 SIGNALS CHANGING -I r-- 'BDIR BC1 a 50 ns Max, Including Skew © 1990 Microchip Technology Inc, DS50008C-13 5-57 AY3891 OAfAY38912A TIMING DIAGRAMS State Timing PSG) consists of several operations (indicated below by While the state flow for many microprocessors can be rectangular blocks) defined by the pattern of bus control somewhat involved for certain operations, the sequence signals (BDIR, BC1). of events necessary to control the PSG is simple and The functional operation and relative timing of the straightforward. Each of the three major state se- PSG control sequences are described in the following quences (Latch Address, Write to PSG, and Read from sections. ; 4 - - - - - - - Address and Write Data to PSG Sequence ;4------- Address and Read Data from PSG Sequence Address PSG Register Sequence upon the processor used, the program sequence will The Latch Address sequence is normally an integral part normally require four principal microstates: (1) send of the write or read sequences but for simplicity is NACT (inactive); (2) send INTAK (latch address): (3) put illustrated here as in individual sequence. Depending address on bus; (4) send NACT (inactive). BDIR BC1 J ~ I BUS NACT INTAK NACT CONTROL DON'T OUTPUT DON'T DA7-DAO CARE X ADDRESS CARE DS50008C-14 © 1990 Microchip Technology Inc. 5-58 AY38910A/AY38912A Write Data to PSG Sequence four principal microstates: (1) send NACT (inactive);(2) put data on bus; (3) send DWS (write to PSG); (4) send The Write to PSG sequence, which would normally NACT (inactive). follow immediately after an address sequence, requires I BDIR / \1 1 BC1 1 BUS CONTROL NACT ~ DWS ~ NACT DA7-DAO DON'T OUTPUT DATA DON'T CARE (FROM PSG) CARE Read Data From PSG Sequence the read sequence are: (1) send NACT (inactive); (2) send DTB (read from PSG); (3) read data on bus; (4) As with the Write to PSG sequence, the READ from PSG send NACT (inactive). sequence would also normally follow immediately after an address sequence. The four principal microstates of BDIR BC1 / \11 BUS CONTROL NACT ~ DTB ~ NACT INPUT DATA DA7-DAO X (FROM PSG) X © 1990 Microchip Technology Inc. DS50008C-15 5-59 AY3891 OAfAY38912A SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS AY38910A AY38912A - II P ~-'" P Plastic DIP II Temperature O' C to 70' Conly Range: Device AY38910A Sound Generator AY38912A Sound Generator DS5000BC-16 © 1990 Microchip Technology Inc. 5-60 Microchip AY8930 Enhanced Programmable Sound Generator FEATURES PIN CONFIGURATION • Two Modes Available On-Chip 40 LEAD DUAL INLINE - A Y8930 Expanded Mode ~ Top View - AY38910A-Compatible Mode • Improved Frequency Range Vss (GND) Vcc(+SV) • Three Independently Programmable Analog Output No Connect No Connect Channels with Separate Frequency, Duty Cycle and Analog Channel B Analog Channel C Analog Channel A DAO Envelope Controls for Each Channel DAI No Connect • 5 Bits of Logarithmic Digital-to-Analog Conversion lOB? DA2 Per Channel IOB6 DA3 lOBS DA4 • Bus Interface Independent of Clock Frequency IOB4 DAS • Input Clock FrequenCy: 2 or 4MHz IOB3 DA6 • Two 8-Bit General Purpose 110 Ports IOB2 DA? lOBI BCl lOBO BC2 (Not Connected) lOA? BDIR DESCRIPTION IOA6 Select 10AS AS 10A4 As The AY8930 Enhanced Programmable Sound Genera- IOA3 RESET tor (EPSG) is an LSI circuit that can produce a wide 10A2 Clock 10Al ""1-_ _ _--.J 10AO variety of complex sounds under software control. The AY8930 is manufactured in the Microchip Technology Inc. n-channel silicon gate process. The AY8930 is an enhanced version of the company's industry standard All circuit control signals are digital in nature and can be AY38910A sound generator. Enhanced features in- provided directly by a microprocessor/microcomputer. clude improved frequency range and noise synthesis Therefore, one PSG can produce the full range of and independent control of each channel's envelope required sounds with no change in external circuitry. and duty cycle. Since the frequency response of the PSG ranges from sub- audible at its lowest frequency to post-audible at its The PSG is easily interfaced to any bus-oriented sys- highest frequency, there are few sounds which are tem. Its flexibility makes it useful in applications such as beyond reproduction with only the simplest electrical music synthesis, sound effects generation, audible connections. alarms, tone signalling, and personal computer usage. In order to generate sound effects while allowing the DEVICE ARCHITECTURE processor to perform other tasks, the PSG can continue to produce sound after the initial commands have been given by the control processor. The fact that realistic The AY8930 is a register oriented PSG. Communication sound production often involves more than one effect is between the microprocessor and the PSG is based on satisfied by the three independently controllable analog the concept of memory mapped 110. Control commands sound output channels available in the device. These are issued to the PSG by writing to these memory analog sound output channels can each provide five bits mapped registers. Each of the registers within the PSG of logarithmic digital-to-analog conversion, greatly en- is readable so that the microprocessor can determine, hancing the dynamic range of the sounds produced. as necessary, present states or stored data values. © 1990 Microchip Technology Inc. 5-61 DS50010C-l AY8930 PIN FUNCTIONS Register (in Hex) 87 86 85 84 83 82 81 80 DA7·DAO (Input /Output/High Impedance) RO/ROA 0 0 0 0 0 0 0 0 bata/Address Bits 7-0: Pins 30-37 R1/R1A 0 0 0 0 0 0 0 0 R2IR2A 0 0 0 0 0 0 0 0 These S lines comprise the S-bit bidirectional bus used R3/R3A 0 0 0 0 0 0 0 0 by the microprocessor to send both data and addresses R4/R4A 0 0 0 0 0 0 0 0 to the PSG, and to receive data from the PSG. In the RS/RSA 0 0 0 0 0 0 0 0 address mode, DA3-DAO select the internal register R6/R6A 0 0 0 0 0 0 0 0 address (O-Fn) and DA7-DA4 in conjunction with ad- R7/R7A 0 0 0 0 0 0 0 0 dress inputs AS and AS, form the chip select function. RBiRSA # # 0 0 0 0 0 0 When the high order address bits are "incorrect," the R9/R9A # # 0 0 0 0 0 0 bidirectional buffers are forced to a high impedance RAiRAA # # 0 0 0 0 0 0 state. RB/RBA 0 0 0 0 0 0 0 0 RC/RCA 0 0 0 0 0 0 0 0 RD/RDAIRDB 0 0 0 0 0 0 0 0 Address 9, Address 8 RE/REA 0 0 0 0 0 0 0 0 AS (input): Pin 25 RF/RFA 0 0 0 0 0 0 0 0 AS (input): Pin 24 ROB 0 0 0 0 0 0 0 0 R1B 0 0 0 0 0 0 0 0 High order address bits AS and AS are fixed to recog- R2B 0 0 0 0 0 0 0 0 nize a "01" code. They may be left unconnected, as R3B 0 0 0 0 0 0 0 0 each is provided with either an on chip pull-down (AS) R4B # # # # X X X X or pull-up (AS) resistor. In noisy environments, how- RSB # # # # X X X X ever, it is recommended that AS and AS be tied to R6B # # # # X X X X external ground and +5V respectively, if they are not to R7B # # # # X X X X RSB # # # # X X X X be used. R9B 0 0 0 0 0 0 0 0 RAB X X X X X X X X RESET (Input): Pin 23 RFB 0 0 0 0 0 0 0 0 For initialization/power-on purposes, applying a low X indicates a don't care. level input to the RESET pin will reset all registers to O. # indicates that there is no physical memory element (See following table). The RESET pin is provided with for a bit; if read, a 0 will be returned. an on-chip pull-up resistor. All counter work registers will be initialized to zeros. - The noise generator 17-bit shift register will be initial- ized to ones. - The noise value register will be initialized to zeros. DS50010C-2 5-62 © 1SS0 Microchip Technology Inc. AY8930 CLOCK (Input): Pin 22 INPUT CONTROL SIGNALS This TTL compatible input supplies the timing reference Interfacing to the AY8930 requires the generation of for the Tone, Noise, and Envelope Generators. only two of the three AY38910A input control signals, BDIR and BC 1. BC2 is shown on the pinout diagram for CLOCK DIVIDE· SELECT (Input): Pin 26 reference only; the pin is not internally connected. Select = 0 Input Clock = 4 MHz max. INPUT CONTROL SIGNALS (Divided internally by 2) Select = 1 Input Clock = 2 MHz max. BDIR BC1 Function The select pin is provided with an internal pull-up resistor such that the pin default condition is Select = 1. 0 0 INACTIVE: The PSG/CPU bus is inactive. DA7-DAO are in a high BDIR, BC2, BC1 (Inputs): Pins 27, 28, 29 impedance state. Bus Direction, Bus Control 2*, Bus Control 1 0 1 READ FROM PSG: This signal causes * Not connected the contents of the register which is currently addressed to appear on the Analog Channel A, B, C (Outputs): Pins 4, 3, 38 PSG/CPU bus. DA7-DAO are in the output mode. Each of these signals is the output of its corresponding digital-to-analog converter, and provides 1V peak-peak 1 0 WRITE TO PSG: This signal indicates (max) signal representing the complex sound wave- that the bus contains register data shape generated by the PSG. which should be latched into the cur- rently addressed register. DA7-DAO are No Connect: Pins 2, 5, 39 in the input mode. These pins are for Microchip Technology test purposes 1 1 LATCH ADDRESS: This signal indi- only and should be left open. Do not use as tie-points. cates that the bus contains a register address which should be latched by the Vee: Pin 40, Nominal +5 Volt power supply to the PSG. DA7- DAO are in the input mode. PSG. Vss: Pin 1, Ground reference for the PSG. © 1990 Microchip Technology Inc. 5-63 DS50010C-3 AY8930 REGISTER ARRAY Address bits OA7-0AO are latched internally. This inter- nally latched address is updated and modified on every The principal element of the A Y8930 is an array of 27 "latch address" signal presented to the PSG via the BOIR control registers arranged in one bank of 16 and one and BC1 control lines. bank of 11 registers. These registers occupy 16 ad- dress locations of the 1,024-word memory space in The AY8930 initializes in the AY38910A-compatibility which the PSG resides. mode. To utilize the expanded features of the AY8930, an access code must be input to register R15 upon The configuration of this register array is shown on the program initialization. following pages. Note the two modes of operation: 8910A-compatibility mode and 8930 expanded mode. Entering a "101" code in bits B7-B5 of register R15 selects the 8e:;o expanded mode. In the 8930 expanded The registers are addressed via the combination of the mode, bit B4=0 (R15) selects BANKAand B4= 1 selects bidirectional data bus (OAO-OA7) and address input BANK B. All other bit selections are defined as 891 OA- pins A8 and A9. compatibility mode. Registers R15A and R15B are mapped into the same physical register. - A9 AS DA7 DA6 DA5 DA4 DA3 DA2 DA1 DAO Switching modes causes loss of all register data from the a 1 a a a a x x x x previous mode. All registers will be initialized except for the Mode Select code of R15. OAO-OA3 These four low-order address bits are used Shown on the next page is the register configuration for to select one of the internal registers within a the AY8930. Note that Bank A of the expanded mode is bank. virtually identical to the single register array of the 891 OA- compatibility mode. 0A4-0A7, A8, A9 These six high-order address bits function as chip selects and are used to position the register bank(s) within the 1,024-word memory space. In the deselected state, the data bus is in the high impedance state. The address enable fode for bits 0A4-0A7 is all zeros. Inputs A8 and A9 are enabled by a high on A8 and a low on A9; all other input level combi- nations result in a deselected condition. Pins A8 and A9 have an on-chip pull-up and pull- down resistor, respectively, and will assume the correct logic level if left unconnected. DS50010C-4 5-64 © 1990 Microchip Technology Inc. AY8930 AY8930 REGISTER ARRAY: AY38910A-COMPATIBILITY MODE Register Function B7 BO RO RO Channel A 8-Bit Fine Tune R1 R1 Tone Period 4-Bit Coarse Tune R2 R2 Channel B R3 R3 Tone Period 4-Bit Coarse Tune R4 R4 ChannelC R5 R5 Tone Period 4-Bit Coarse Tune R6 R6 Noise Period 5-Bit Period Control R7 R7 Enable R8 R10 Channel A Amplitude R9 R11 Channel B Amplitude M L3 L2 L1 LO RA R12 Channel C Amplitude M L3 L2 L1 LO RB R13 8-Bit Fine Tune RC R14 Envelope Period 8-Bit Coarse Tune RD R15 Envelope Shape/Cycle MODE SELECT HOLD RE R16 I/O PortA 8-Bit Parallel I/O on Port A RF R17 I/O Port B 8-Bit Parallel I/O on Port B © 1990 Microchip Technology Inc. 5-65 DS50010C-5 AY8930 AY8930 REGISTER ARRAY: EXPANDED CAPABILITY MODE - BANK A Register Bit Hex Octal Function B7 I B6 I B5 B4 B3 B2 B1 BO ROA ROA Channel A 8-Bit Fine Tune R1A R1A Tone Period 8-Bit Coarse Tune R2A R2A ChannelB 8-Bit Fine Tune R3A R3A Tone Period 8-Bit Coarse Tune R4A R4A ChannelC 8-Bit Fine Tune R5A R5A Tone Period 8-Bit Coarse Tune R6A R6A Noise Period 8-Bit Noise Period -- INIOUT I NOISE TONE R7A R7A Enable C B A C B A R8A R10A Channel A Amplitude M L4 L3 L2 L1 LO R9A R11A Channel B Amplitude M L4 L3 L2 L1 LO RAA R12A Channel C Amplitude M L4 L3 L2 L1 LO RBA R13A Channel A 8-Bit Fine Tune RCA R14A Envelope Period 8-Bit Coarse Tune 1 0 1 CONT. RDA R15A Bank AlB: Envelope A I I 0 ATT. ALT. HOLD REA R16A 1/0 PortA 8-Bit Parallel 1/0 on Port A RFA R17A 1/0 Port B 8-Bit Parallel 1/0 on Port B DS50010C-6 5-66 © 1990 Microchip Technology Inc. AY8930 AY8930 REGISTER ARRAY: EXPANDED CAPABILITY MODE - BANK B Register Function B7 BO ROB ROB ChannelB 8-Bit Fine Tune R1B R1B Envelope Period 8-Bit Coarse Tune R2B R2B ChannelC 8-Bit Fine Tune R3B R3B Envelope Period 8-Bit Coarse Tune R4B R4B Envelope Shape/Cycle B ATT. ALT. HOLD R5B R5B Envelope Shape/Cycle C ATT. ALT. HOLD R6B R6B Channel A Duty Cycle R7B R7B Channel B Duty Cycle R8B Rl0B Channel C Duty Cycle R9B RllB Noise "And" Mask RAB R12B RBB R13B" RBC R14B" RBD R15B RBC R16B" RBF RHB" " Not accessible in AY8930 mode. NOTE: All unused bits will be read back as "0". © 1990 Microchip Technology Inc. 5-67 DS50010C-7 AV8930 SOUND GENERATING BLOCKS Operation Registers' Function The basic blocks in the PSG that produce the programmed Tone Generator ROA-R5A Program tone sounds include: Control periods Tone Duty Cycle R6B-RBB Select duty cycle Generators - Produce the basic pulse tone frequencies Control for each channel (A, B, C). Noise Generator R6A, Program noise Noise Control R9B-RAB period Generator - Produces a frequency modulated pseu- dorandom noise output. Mixer Control R7A Enable tone/noise on selected Mixers - Combine the outputs of the tone genera- channels tors and the noise generator. One for each channel (A, B, C). Ainplftude RBA-RAA Select "fixed" or Control "variable" Amplitude amplitudes Control - Provides the D/A converters with either a fixed or, variable amplitude pattern. The Envelope RBA-RDA, Program envelope fixed amplitude is under direct CPU con- Generator ROB-R5B period and trol; the variable amplitude is accomplished Control envelope pattern by using the output of the envelope genera- tors, one for each channel (A, B, C). D/A Converters Produces a 32-bit output signal Envelope Generators - Produce an envelope pattern that can be 'All registers referenced are for the AY8930 Ex- used to amplitude modulate the output of panded Mode. the mixer, one for each channel (A, B, C). TONE GENERATOR CONTROL D/A Converters - The three D/A converters each produce Each analog output channel has associated with it up to a 32-level output signal as deter- two registers which specify the tone period for that mined by the amplitude control. channel, the coarse tune and the fine tune registers. The tone period for each channel is obtained by OPERATION combining the coarse and fine tune registers as shown. Since all functions of the PSG are controlled by a host processor via a series of register loads, a detailed descrip- Note that the value programmed in the combined tion of the PSG operation can best be accomplished by coarse and fine tune registers is a period value- the relating each PSG function to its corresponding register. higher the value in the registers, the lower the resul- The function of creating or programming a specific sound tant frequency. or sound effect logically follows the control sequence listed: Coarse Tune Fine Tune Registers Channel Register R1A A ROA R3A B R2A R5A C R4A DS50010C-8 © 1990 Microchip Technology Inc. AV8930 12-BIT TONE PERIOD (TP) VALUE: NOTE: AY38910A-COMPATIBILITY MODE The percent duty cycles refers to the high (logic high) portion of the duty cycle. The low portion is then 100% COARSE TUNE duty cycle. For example, a 10%duty cycle is then 10% up and 90% down, as shown below. 16-BIT TONE PERIOD (TP) VALUE: A Y8930 EXPANDED MODE In AY891 OA-compatibility mode, the duty cycle is fixed at 50%. The capability for a variable duty cycle exists only in the expanded AY8930 mode. In order to change a duty cycle, the appropriate duty cycle register must be updated. The new duty cycle will then remain constant at this value until the duty cycle PERIOD OF OUTPUT = 16 x TP x P register is modified. The new duty cycle value will take WHERE P = PERIOD OF INPUT CLOCK AND effect immediately. This may result in one period with TP = DECIMAL EQUIVALENT OF TONE PERIOD BITS a "random" duty cycle at the time the register is TP15-TPO updated. If the coarse and fine tune registers are both set to OOh, the resulting period will be minimum, i.e. the generated tone NOISE GENERATOR CONTROL period will be as if the coarse tune register were set to OOh and the fine tune register were set to 01 h. The counter will AY38910A-COMPATIBILITY MODE: count the period valuedown to zero. When zero is reached, the period value will be reloaded into the counter. Noise is generated by a 17-bit polynominal shift regis- ter. The period of the clock to this shift register is DUTY CYCLE CONTROL specified by the 8-bit binary value NP. The noise period value is derived from the lower five The duty cycle of each pulse generated by the three tone bits (B4-BO) of the noise period register (R6) as shown. generators is controlled by an associated 4-bit duty cycle register (R6B, R7B, and R8B). NOISE PERIOD REGISTER (R6) The following duty cycles are selectable: % Register Duty Cycle Duty Cycle Value 3.125% 0 0000 6.25 % 1 0001 5 BIT NOISE PERIOD (NP) VALUE 12.50% 2 0010 25.00% 3 0011 NOTE: 50.00% 4 0100 75.00% 5 0101 As with the tone period, the lowest period value is 01 h 87.50% 6 0110 (divide by 1), an entry of OOh will have the same value 93.75% 7 0111 asOl h;the highest period value is 1Fh (divideby3110). 96.875% 8' 1000 'NOTE: Any value greater than 810 decodes as an 810. © 1990 Microchip Technology Inc. 5-69 DS50010C-9 AY8930 AY38910A-COMPATIBILITY MODE NOISE BLOCK DIAGRAM TO MIXER R6/32 NOMINAL 125 kHz NOISE PERIOD SHIFT ENABLE VALUE REGISTER (B4-BO) [_B_16_-_-_-_-_--;~I------'i RIGHT SHIFT " 'I AY8930 EXPANDED MODE: NOISE PERIOD REGISTER (R6A) In the AY8930 expanded mode, noise is generated using a 17-bit polynomial shift register, an "AND" mask, B7 BO an "OR" mask, and an 8-bit noise period value. The least significant byte ofthe polynomial shift register is logically AND'ed with the "AND" mask specified in Register 11 B, then logically OR'ed with the "OR" mask specified in NP NP Register 12B. The result is stored in a temporary register 7 o which is clocked each time the counter associated with 8 BIT NOISE PERIOD (NP) VALUE the 8-bit noise period register (R6A) reaches zero. When the noise value reaches zero, a new value is fetched from the polynomial shift register and the proc- The lowest period value is 01 h (divide by 1), an entry OOh ess is repeated. The noise output is toggled each time will have the same value as 01 h; the highest period value the noise value reaches zero. is FFh (divide by 25510.) AY8930 EXPANDED MODE NOISE BLOCK DIAGRAM R6A1256 iT] 250 kHz NOISE PERlbD REGISTER 1------1>---LT- TOMIXER (B7-BO) SHIFT ENABLE B16 - - - B9 B8 B7 B6 B5 B4 B3 B2 B1 BO ENABLE WHEN NOISE VALUE = 0 RIGHT SHIFT DS50010C-10 5-70 © 1990 Microchip Technology Inc. AY8930 MIXER CONTROL - I/O ENABLE Disabling noise and tone does D.Q1 turn off a channel. Turning off a channel can only be accomplished by Register 7A is a multi-function Enable register which writing all zeros into corresponding amplitude control controls the three NoiselTone Mixers and the two gen- register. eral purpose I/O Ports. The mixers, as previously described, combine the noise and tone frequencies for each of the three channels. The determination of I/O PORT DATA STORE combining neither/either/both noise and tone frequen- cies on each channel is made by the state of bits B5-BO Registers REA and RFA function as intermediate data of R7A. storage registers between the PSG/CPU data bus (DAO- DA7) and the two I/O ports (IOAO-IOA7, IOBO-IOB7). The direction (input or output) olthe two general purpose Both I/O ports are available on the AY8930. I/O Ports (lOA and lOB) is determined by the state of bits B7 and B6 of R7 A. Using registers REA and RFA for the transfer of I/O data has no effect on sound generalion. These functions are illustrated in the following: To output data from the CPU Bus to a peripheral device MIXER CONTROL - I/O ENABLE connected to I/O port A: REGISTER (R7A) 1. Address the enable register (R7A). 2. Set the port A direction bit to output (write "1" to bit B6 ofR7A). NOISE TONE 3. Address the I/O port A register (REA). INPUT ENABLE ENABLE ENABLE 4. Write data to I/O port A register. The data will pass B A through the PSG I/O port A register to the I/O port bus. Noise Enable Truth Table Tone Enable Truth Table To input data from I/O port A to the CPU bus: Noise Tone 1. Address the enable register (R7A). R7A Bits Enabled R7ABits Enabled 2. Set the port A direction bit to input (write a "0" to bit B6 B5 B4 B3 On Channel B2 B1 BO On Channel ofR7A). 3. Address the I/O port A register (REA). The contents 0 0 0 C B A 0 0 0 C B A of the port register will follow the signals applied to the 0 0 1 C B 0 0 1 C B - I/O port. 0 1 0 C - A 0 1 0 C - A 4. Read data from I/O port A register. The data will be 0 1 1 C - 0 1 1 C - - transferred from the PSG I/O port A register to the 1 0 0 - B A 1 0 0 - B A CPU bus as in a normal read operation. 1 0 1 - B - 1 0 1 - B - 1 1 0 - - A 1 1 0 - - A If a logic 1 has been written to any bit position of register 1 1 1 - - 1 1 1 - - - REA or register RFA and the corresponding I/O pins of The direction of the I/O Port(s) is determined as follows: port A or port B are externally pulled below the logic 0,. (VIL) level, a subsequent CPU read instruction of regis- I/O Port Truth Table ters REA or RFA will actually contain a logic 0 in the pulled down bit positions. The output pins will return to R7ABits 1/0 Direction logic 1 if the pull down condition is removed. B7 B6 lOB lOA 0 0 In In If a logic 0 has been written to any bit pOSition of the I/O 0 1 In Out registers and the external world wishes to pull these pins 1 0 Out In to a 1, the user should be aware that an impedence 1 1 Out Out conflict will exist between the pull down transistor and the external driver. Note: The Mixer - I/O Control function is identical in both modes of operation. © 1990 Microchip Technology Inc. 5-71 DS5DDt DC-tt AV8930 AMPLITUDE CONTROL The following is a chart describing all combinations of the 6-bit Amplitude Control. The amplitudes of the signals generated by each of the three D/A converters (one each for channels A, B, and M L4 L3L2L1 LO C) are determined by the contents of the amplitude o 0 0 0 0 O' The amplitude is fixed at 1 of 31 control registers as illustrated in the following: o 0 0 0 0 l' levels as determined by L4, L3, L2, L1, LO. Amplitude Control Channel Register # o The amplitude is variable at 31 R8A A X X X X X levels as determined by the out- R9A B put of the Envelope Generator. RAA C (X = Don't care) AY38910A-COMPATIBILITY MODE: NOTE: In the AY38910A-compatibility mode, the externally driven "fixed" amplitude is limited to a total of 16 possible levels determined by amplitude bits L4-L 1. ENVELOPE GENERATOR CONTROL AMPLITUDE 4-81T "FIXED" ENVELOPE PERIOD CONTROL "MODE" AMPLITUDE LEVEL The period of the sound envelope, in the AY38910A- • FORCE TO "1" compatibility mode, is controlled by two 8-bit registers, RB and RC (the envelope fine and coarse tune, respec- AY8930 EXPANDED MODE: tively). In the 8930 expanded mode, each analog output channel has its own independent sound envelope. Changes to the envelope period counter will occur at en- velope period boundary or when envelope shape/cycle register is loaded. Coarse Tune Fine Tune Channel AMPLITUDE 5-81T "FIXED" Register Register "MODE" AMPLITUDE LEVEL RCA A RBA The amplitude "mode" (bit M) selects either fixed level R1B B ROB amplitude (M = 0) or variable level amplitude (M = 1). It R3B C R2B follows that bits L4 - LO, defining the value of a "fixed" level amplitude, are only active when M = O. The amplitude is only "fixed" in the sense that the amplitude level is under the direct control of the system processor via an address latch/write data sequence. When "variable amplitude" is selected (M = 1), the amplitude of each channel is determined by the enve- lope pattern as defined by the envelope generators 5-bit output (E4 - EO). The amplitude "mode" bit (bit M) can also be thought of as an envelope enable bit, i.e. when M = 1, the envelope is enabled. D850010C-12 5-72 © 1990 Microchip Technology Inc. AY8930 16-BIT ENVELOPE PERIOD TO The definition of each function is as follows: ENVELOPE GENERATOR Hold - When set to logic "1" in AY3891 OA mode, limits the envelope to one cycle, holding the last count of the envelope counter (E3 - EO = 0000 or 1111, depending on whether the envelope counter was in a count-down or count-up mode, respectively). Alternate - When set to logic "1 ", the envelope counter Note thatthe value programmed in the combined coarse reverses count direction (up-down) after each cycle. and fine tune registers is a period value - the higher the value in the registers, the lower the resultant frequency. NOTE: When both the hold bit and the alternate bit are ones, the envelope counter is reset to its initial Note also, that as with the tone period, the lowest period count before holding. value is 0001 h (divided by 1); the highest period value is FFFFh (divided by 65,53510). Attack - When set to logic "1" in AY38910A mode, the envelope counter will count up (attack) from E3, E2, El, ENVELOPE SHAPE/CYCLE CONTROL EO=OOOOto E3, E2, El, EO= 1111 ;when setto logic "0", the envelope counter will count down (decay) from 1111 The AY8930 envelope generator further counts down to 0000. the envelope frequency by 32, producing a 32-state per cycle envelope pattern defined by its 5-bit counter out- Continue - When set to logic "1 ", the cycle pattern will put, E4, E3, E2, El, and EO. The particular shape and be as defined by the hold bit; when set to logic "0", the cycle pattern of any desired envelope is accomplished envelope generator will be reset to 0000 after one cycle by controlling the count pattern (count up/ count down) and hold at that count. of the 5-bit counter and by defining a single cycle repeat- cycle pattern. The AY3891 OA mode envelope generator Further description of the above functions could be further divides the envelope period by 16, producing a accomplished by numerous charts of the binary count 16-state per cycle envelope pattern as defined by the 4- sequence of E3, E2, El, EO for each combination of bit counter output, E3, E2, El and EO. hold, alternate, attack and continue. However, since these ouputs are used (when selected by the amplitude Loading of the envelope shape/cycle control register will control registers) to amplitude modulate the output of the reset the associated counter to the appropriate initial mixers, a better understanding of their effect can be state and reset the envelope period counter for that accomplished via a graphic representation of their value channel. for each condition selected, as illustrated in the Enve- lope Shape/Cycle Control figure to the right and the The envelope shape/cycle control is contained in the Detail of Two Cycles figure below. lower 4 bits (83-80) of the respective envelope control registers. Each of these 4 bits controls a function in the For AY8930 mode, hold, alternate, attack and continue envelope generator, as illustrated in the following: is the same, however the pattern is defined by 5 bits (E4, E3, E2, El, EO.) ENVELOPE SHAPE/CYCLE CONTROL REGISTER Hold I NOT USED L - _.... Alternate (MODE SELECT BITS) L -_ _ _ _ _ Attack L.._ _ _ _ _ _ Continue © 1990 Microchip Technology Inc. 5-73 DS50010C-13 AV8930 ENVELOPE SHAPE/CYCLE CONTROL RD BITS AY3891 OA MODE B3 B2 B1 BO A C 0 T N A E T R I T N H N A A 0 GRAPHIC REPRESENTATION U C L OF ENVELOPE GENERATOR K 0 OUTPUT E3 E2 E1 EO. X EP IS THE ENVELOPE PERIOD (DURATION OF ONE CYCLE) DETAIL OF TWO CYCLES - AY38910A MODE 15 15 GRAPHIC REPRESENTATION OF THE DECIMAL VALUES OF ENVELOPE GENERATOR OUTPUT E3 E2 E1 EO EP EP I... (lifE) (1!fE) DS50010C-14 5-74 © 1990 Microchip Technology Inc. AY8930 DIGITAL TO ANALOG CONVERTER control register' or the envelope generator. The signal of the output is the NoiselTone specified for that chan- The Digital to Analog conversion is performed in logar- nel. ithmetic steps with a normalized voltage range of OV to 1.0V. The specified amplitude of each converter is • Except in the 8910A-compatibility mode, which only controlled by a 5-bit word from either the amplitude allows for 4 bits of external amplitude control. D/A CONVERTER OUTPUT - AV8930 EXPANDED MODE NORMALIZED VOLTAGE 31 1.0 .841 .707 .595 .500 .420 .354 .297 .250 .210 .177 .149 .125 ENVELOPE PERIOD (111 E) ~I THIS FIGURE ILLUSTRATES THE D/A CONVERTER OUTPUT WHICH WOULD RESULT IF NOISE AND TONES WERE DISABLED AND AN ENVELOPE CONTROLLED VARIABLE AMPLITUDE WERE SELECTED. NOTE: THE RESET CONDITION IS ZERO CURRENT. © 1990 Microchip Technology Inc. 5-75 DS50010C-15 AY8930 ELECTRICAL CHARACTERISTICS Maximum Ratings' 'Exceeding these ratings could cause permanent dam- Storage temperature ......................... -55°C to + 150°C age to the device. This is a stress rating only and Maximum temperature under bias ............... +125°C functional operation of this device at these conditions is Voo and all other input/output not implied. Operating ranges are specified in Standard voltages with respect to Vss ............... -0.3V to +7.0V Conditions. Exposure to absolute maximum rating conditions for extended periods may affect device relia- Standard Conditions (Unless otherwise noted) bility. Data labeled "typical" is presented for design Free air ambient operating guidance only and is not guaranteed. temperature ......................................... O°C to +70°C Voo ........................ ....... ............ ........ +4.5V to +5.5V Vss .................................................... O.OV (Ground) DC CHARACTERISTICS Parameters Sym Min Typ Max Units Conditions Input Logic Levels Logic 0 VIL -0.3 +0.4 Volts Logic 1 VIH +2.4 Voo Volts Input Leakage Clock - 10 ~A BC1, BDIR 10 ~A Inputs with Pullups IlL 10 - 100 ~A VIN = +O.4V A8, RESET, Select Inputs with Pulldowns IIH 10 - 50 ~A VIN = +2.4V A9 I/O with Pullups A7-AO, B7-BO IlL 20 150 ~A VIN = +O.4V VOH +2.4 Voo Volts IOH = 100 ~A w/1 OOpF VOL 0.0 - +0.4 Volts IOL = 1.6 mA w/1 OOpF Data/Address DA7-DAO VOH +2.4 Voo Volts IOH = 100 ~A w/100pF VOL 0.0 +0.4 Volts IOL = 1.6 mA w/1 OOpF Power Supply 100 - 85 mA All inputs and outputs tied to Vss or Voo. OS50010C-16 5-76 © 1990 Microchip Technology Inc. AV8930 AC CHARACTERISTICS * Parameters Sym Min Typ Max Units Conditions Clock Input Frequency 1 - 4 MHz 40/60 asymmetry Rise/Fall Time tr,tf 0 - 50 ns allowed Master Reset RESET tms , - - ns 'Two Clock Periods Control Signals BC1, BC2, BDIR Skew tes - - 40 ns Valid tees 300 - - ns Data Address Bus DA7-DAO, AB, A9 Address Setup Time tas 300 - - ns Address Hold Time tah 65 - - ns Read Mode Data Setup Time tab - - 200 ns Data Hold Time ttd 20 - 100 ns Write Mode Data Setup Time tds 300 - - ns Data Hold Time tdh 65 - - ns Input/Output Port IOA7-IOAO, IOB7-IOBO Output Mode Data Setup Time tpw 500 - - ns Input Mode Data Setup Time tprs 200 - - ns Data Hold Time tprh 65 - - ns , The address/data read cycle is latch address followed by an inactive state then the read command. The address/data write cycle would be the same with the substitution of the write command in place of the read. An inactive state is required between each cycle (or active command). © 1990 Microchip Technology Inc. 5-77 DS50010C-17 AV8930 TIMING DIAGRAMS READ MODE BUS CONTROL BC1, BDIR LATCH ADDRESS NO ACTION READ FROM PSG DATA/ADDRESS BUS ----------------------- DATA OUTPUT WRITE MODE BUS CONTROL BC1, BDIR LATCH ADDRESS I NO ACTION WRITE TO PSG I- las -I ~~ 1 --~~!:":I~~?-~:~-~-~~~----------- '--___--'-----------------------1 DATA INPUT ~-----. BUS CONTROL SIGNALS BC1, BDIR Iccs DS50010C-18 5-78 © 1990 Microchip Technology Inc. AY8930 TIMING DIAGRAMS (Cont.) MASTER RESET RESET lms 1/0 PORT OUTPUT MODE: WRITE DATA FROM CPU BUS TO 1/0 PORT" BUS CONTROL BC1, BDIR LATCH ADDRESS NO ACTION WRITE TO PSG I_ las _1°1 tah DATA/ADDRESS BUS DATA INPUT ----------------------- TO PORT REGISTER tpw 110 PORT VALID DATA OUTPUT TO PORT 1/0 PORT INPUT MODE: WRITE DATA FROM 1/0 PORT TO CPU BUS" BUS CONTROL BC1, BDIR LATCH ADDRESS NO ACTION READ FROM PSG DATA/ADDRESS BUS _______________________ DATA OUTPUT TO CPU BUS I/O PORT VALID DATA INPUT FROM PORT • Assume the direction of the I/O port has already been determined via a write to the Enable register (R7A). © 1990 Microchip Technology Inc. 5-79 DS500l0C-19 AY8930 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS Package P 40-Pin Plastic DIP I Temperature Blank 0° C to 70° C L - - - - li Range Device AY8930 Enhanced Programmable Sound Generator DS50010C-20 5-80 © 1990 Microchip Technology Inc. Microchip AY0438-1 32-Segment CMOS LCD Driver FEATURES PIN CONFIGURATION • Drives up to 32 LCD segments of arbitrary configuration 40 LEAD DUAL INLINE CMOS process for: wide supply voltage range, low Top View power operation, high noise immunity, wide Voo 40 ] CLOCK temperature range 39 ] SEG 1 LOAD CMOS, NMOS and TTL-compatible inputs SEG32 38 SEG2 Electrostatic discharge protection on all pins SEG31 37 SEG3 SEG30 36 GND Cascadable 35 DATA OUT SEG29 • On-chip oscillator SEG28 34 DATA IN Requires only three control lines SEG27 33 SEG4 SEG26 32 SEG5 Can be used to drive relays, solenoids, print head 31 ] SEG25 LCD~ drives, etc. SEG24 30 ] BP SEG23 29 ] SEG6 SEG22 28 ] APPLICATIONS SEG21 27 ] SEG7 SEGB SEG20 26 ] SEG9 • Industrial displays SEG 19 25 ] SEG 10 • Consumer product displays SEG 18 24 ] SEG 11 SEG 17 23 J SEG 12 • Telecom product displays 22 ] SEG 16 SEG 13 • Automotive dashboard displays SEG 15 21 SEG14 DESCRIPTION 44 PLCC The AY0438-1 is a CMOS LSI circuit that drives a liquid crystal display, usually under microprocessor control. g '" ~ C '" N ''"" ''"" '" < § 9 '"fi! '"'w" ''"" '" '" II:Cz The part acts as a smart peripheral that drives up to 32 ~ w w fi! 9 > <.l W LCD segments. It needs only three control lines due to its serial input construction. It latches the data to be displayed and relieves the microprocessor from the task • N/C of generating the required waveforms. 38 DATA OUT 37 DATA IN The AY0438-1 can drive any standard or custom parallel 3S SEG4 SEG 26 drive LCD display, whether it be field effect or dynamic 35 SEGS scattering; 7-, 9-,14-, or 16-segment characters; deci- SEG24 34 LCD mals; leading + or -; or special symbols. Several SEG23 33 BP AY0438-1 devices can be cascaded. The AC frequency SEG22 32 SEGS olthe LCD waveforms can either be supplied by the user SEG21 31 SEG? or generated by attaching a capacitor to the LCD input, SEG20 30 SEG8 which controls the frequency of an internal oscillator. SEG 19 29 N/c ~ ~ 1il N ~ Kl ~ gj gj ~ re "' ... '" N 0 m ~ :!: '" Q z BLOCK DIAGRAM 'w" 'w" 'w" ''"w" fi! fi! '"w 'w" 'w" fi! CJl CJl CJl CJl CJl CJl CJl CJl CJl CLOCK DATA OUT DATA IN O-O~_ _- , - , -_ _-.J WAD~L_ _~_~,T,C_HE_S_~ The device also acts as a versatile peripheral, able to drive displays, motors, relays, and solenoids within its output limitations. ~====::> 320UTPUTS The AY0438-1 is available in 40 lead dual-in-line ceramic LCD~ f-----------.-o BAg;~~E and plastic packages. Unpackaged dice are also avail- able. © 1990 Microchip Technology Inc. 5-81 DS70010G-1 AY0438-1 PIN DESCRIPTION Pin # Name Direction Description 1 VDD Supply voltage 2 Load Input Latch data from registers 3-29,32,33,37-39 Seg 1-32 Output Direct drive outputs 30 BP Output Backplane drive output 31 LCD Input Backplane drive input 34 Data In Input Data input to shift register 35 Data Out Output Data output from shift register 36 Vss Ground Ground 40 Clock Input System clock input FIGURE 1 TIMING DIAGRAM FIGURE 2 OSCILLATOR FREQUENCY III .: GRAPH (TYPICAL @ 2S·C) --.J:;----\L.....I;----\:L 140 CLOCK 1\ \ x= _ 120 DATA IN =x Ids: tdh --l ~ fiiII: 100 u. \ "' "'" W ~ 80 DATA OUT i X I I ~ ~ 60 ..... r--., I"- -;Ipd : - -- ~ 40 LOAD o 20 40 60 80 100 120 Cl(pF) OPERATING NOTES condition and pass the LCD inputto the backplane output. If the LCD pin is allowed to oscillate, its 1. The shift register loads, shifts, and outputs on the frequency is inversely proportional to capacitance falling edge of the clock. and the LCD drivingwaveforms have a frequency 28 2. A logic 1 on Data In causes a segment to be visible. slower than the oscillator itself. The relationship is shown graphically (see Figure 2). The frequency is 3. A logic 1 on Load causes a parallel load of the data in nearly independent of supply Voltage. If LCD is the shift register into latches that control the segment oscillating, it is important to keep coupling capaci- drivers. tance to backplane and segments as low as pos- 4. If LCD is driven, it is in phase with the backplane sible. Similarly, it is recommended that the load output. capacitance on LCD be as large as is practical. 5. To cascade units, either connect backplane of one 8. There are two obvious signal races to be avoided in circuit to LCD of all other circuits (thus one capacitor this circuit, (1) changing Data In when the clock is provides frequency control for all circuits) or connect falling, and (2) changing Load when the clock is LCD of all circuits to a common driving signal. If the falling. former is chosen, tie just one backplane to the LCD 9. The number of a segment corresponds to how and use a different backplane output to drive the many pulses have occurred since its data was LCD inputs. The data can be loaded to all circuits in present atthe input. For example, the data on SEG parallel or else Data Out can be connected to Data In 17 was input 17 clock pulses earlier. to form a long serial shift register. . 1O.lt is acceptable to tie the load line high. In this case 6 The supply voltage olthe AY04381 is equalto halfthe the latches are transparent. Also, remote control peak driving voltage of the LCD. would only require two signal lines, clock and Data 7. The LCD pin can be used in two modes, driven or In. oscillating. If LCD is driven, the circuit will sense this DS70010G-2 © 1990 Microchip Technology Inc. 5-82 AY0438-1 ELECTRICAL CHARACTERISTICS -Exceeding these ratings could cause permanent dam- age to the device. This is a stress rating only and Maximum Ratings* functional operation of this device at these conditions is VDD ......................................................... -0.3V to +12V not implied. Operating ranges are specified in Standard Inputs (CLK, Data In, Load) ............. Vee to VDD +0.3V Conditions. Exposure to absolute maximum rating LCD Input .................................... -0.3V to VDD +0.3V conditions for extended periods may affect device relia- Power Dissipation ............................................ 250mW bility. Storage Temperature ......................... -65·C to +125·C Data labeled "typical" is presented for design guidance Operating Temperature Industrial ........ -40·C to +85·C only and is not guaranteed. VDD = +5V unless otherwise noted DC CHARACTERISTICS TA = -40·C to +85·C Characteristics Sym Min Typ Max Units Conditions Supply Voltage VDD +3.0 - +10.5 V Supply Current IDD - 25 60 IlA LCD OSC < 15 kHz - 13 30 IlA LCD OSC < 100Hz Input High Level VIH 0.5VDD - VDD V Input Low Level Clock, VIL1 0 - +0.6 V VDD = +3.0V Data, VIL2 0 - +1.0 V VDD = +10.5V Input Leakage Current Load IL - 0.01 ±10 IlA VIN = OV and +5.0V Input Capacitance CI - - 5.0 pF VDD = +5.0V Segment Output Voltage VOH 0.8VDD - VDD V IOH = -IOOIlA VOL 0 - O.IVDD V IOL = 1001lA LCD Input High Level VIN 0.9VDD - VDD V LCD Input Low Level VIL 0 - O.1VDD V LCD Input Leakage IL - - 10 IlA VIN = OV and +5.0V Current Level VDD = +5.0V AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Clock Rate f DC - 1.5 MHz 50% duty cycle Data Set-up Time tds 150 - - nsec Data change to Clk falling edge Data Hold Time tdh 50 - nsec Load Pulse Width tpw 175 - - nsec Data Out Prop. Delay tpd - - 500 nsec CL = 55pF © 1990 Microchip Technology Inc. DS70010G-3 5-83 AY0438-1 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS AY0438- II P b I Package: Temperature Range: P L Plastic DIP PLCC 40· C to 85· Conly Device: 32 Segment LCD Driver DS70010G-4 © 1990 Microchip Technology inc. 5-84 Microchip SECTION 6 DIGITAL SIGNAL PROCESSING PRODUCT SPECIFICATIONS DSP Product Portfolio ....................................................................................................... 6- 1 DSP320C10 CMOS Digital Signal Processor (8 Version) ............................................................. 6- 5 DSP320C10 Development Tools ................................................................................................... 6- 23 © 1990 Microchip Technology Inc. DS00018C 6-i Microchip O800018C © 1990 Microchip Technology 6-ii ~. Microchip DIGITAL SIGNAL PROCESSORS DSP Product Portfolio COMMERCIAL DSP (0' TO 70') CMOS DSP - COMMERCIAL (0' TO 70') Microchip Speed (MHz) 1 Maximum Instruction Internal Mask ROM Package Part Number TI Part Number Cycle Time (ns) Version Available DSP320C10-32/P 15.0 to 32.8 122 X 40L Plastic DIP DSP320C10-32/L 15.0 to 32.8 122 X 44LPLCC DSP320C10-25/P 15.0 to 25.61 156 X 40L Plastic DIP TMS320C10NL-25 DSP320C10-25/L 15.0 to 25.61 156 X 44LPLCC TMS320C10FNL-25 .~Iu/I"' oJ to 'W.:>I HI:> JK. 4UL I"'lastlc UII"' TMS320C10NL ~~, ~_v.., lOlL 6.7 to 20.51 195 JK. 44LI"'LGG TMS320C10FNL DSP320C10-14/P 6.7 to 14.41 277 X 40L Plastic DIP TMS320C10NL-14 ~v. ~'vv10-14/L 6.7 to 14.4 277 X 44LPLGG INDUSTRIAL DSP (_45' TO +85'C) CMOS DSP -INDUSTRIAL (-45' TO +85'C) Microchip Speed (MHz) 1 Maximum Instruction Internal Mas ROM Package Part Number TI Part Number Cycle Time (ns) Version Available DSP320C10-321/P 15.0 to 32.8 122 X 40L Plastic DIP DSP320C10-321/L 15.0 to 32.8 122 X 44L PLCC DSP320C10-251/P 15.0 to 25.61 156 X 40L Plastic DIP TMS320C10NA-25 DSP320C10-251/L 15.0 to 25.61 156 X 44LPLCC TMS320C10FNA-25 DSP320C101/P 6.7 to 20.51 195 X 40L Plastic DIP TMS320C10NA DSP320C101/L 6.7 to 20.51 195 X 44LPLCC TMS320C10FNA © 1990 Microchip Technology Inc. 08210258-1 6-1 DIGITAL SIGNAL PROCESSORS MILITARY DSP (-55' TO +110'C) Please refer to the "MILITARY DATA BOOK" CMOS DSP - MILITARY (-55' TO +125'C) Microchip DESCSMD Speed (MHz) Maximum Package Lead Internal Part Number Part Number TIPart Instruction Finish Masked ROM Number Cycle Time (ns) Version DSP320C10-B/OA 5962-87633010A 6.71020.5 195 40L Ceramic Solder SMJ320C10JDM Side-Braze DSP320C10-B/OC 5692-87633010C 6.7 to 20.5 195 40L Ceramic Gold Side-Braze DSP320C 1O-B/UA 5962-8763301 XA 6.7 to 20.5 195 44 Terminal Solder SMJ320C10FDM LCC DSP320C10-B/UC 5692-8763301 XC 6.7 1020.5 195 44 Terminal Gold LCC DSP320C10-25B/OA 5962-87633020A 15.01025.6 156 40L Ceramic Solder Side-Braze DSP320C10-25B/OC 5962-87633020C 15.0 to 25.6 156 40L Ceramic Gold Side-Braze DSP320C10-25B/UA 5692-8763302XA 15.0 to 25.6 156 44 Terminal Solder LCC DSP320Cl0-25B/UC 5962-8763302XG 15.0 to 25.6 156 44 Terminal Gold LCC DSP320CF10-25B/OA 5962-8763305QA 6.71025.6 156 40L Ceramic Solder Side-Braze DSP320CF10-25B/OC 5962-8763305QC 6.71025.6 156 40L Ceramic Gold Side-Braze DSP320CF10-25B/UA 5962-8763305XA 6.7 1025.6 156 44 Terminal Solder LCC DSP320CF10-25B/UC 5962-8763305XC 6.7 to 25.6 156 44 Terminal Gold LCC DSP320CM10-B/OA 5962-87633030A 6.7 to 20.5 195 40L Ceramic Solder X Side-Braze DSP320CM10-B/OC 5962-87633030C 6.7 to 20.5 195 40L Ceramic Gold X Side-Braze DSP320CM10-B/UA 5962-8763303XA 6.7 10 20.5 195 44 Terminal Solder X LCC DSP320CM10-B/UC 5962-8763303XC 6.7 to 20.5 195 44 Terminal Gold X LCC DSP320CM10-25B/OA 5962-8763304QA 15.01025.6 156 40L Ceramic Solder X Side-Braze DSP320CM10-25B/OC 5962-87633040C 15.0to 25.6 156 40L Ceramic Gold X Side-Braze DSP320CM10-25B/UA 5962-8763304XA 15.0 to 25.6 156 44 Terminal Solder X LCC DSP320CM10-25B/UC 5962-8763304XC 15.0 to 25.6 156 44 Terminal Gold X LCC DS21 0258-2 © 1990 Microchip Technology Inc. 6-2 DIGITAL SIGNAL PROCESSORS MILITARY DSP (_55' TO +110'C) (CONT.) NMOS DSP - MILITARY (-55' TO +110'C) Microchip DESCSMD Speed (MHz) Maximum Package Lead Part Number Part Number TIPart Instruction Finish Number Cycle Time (ns) DSP32010-B/OA 5962-84053010A 6.7 to 20.0 200 40L Ceramic Solder Side-Braze DSP32010-B/OC 5692-84053010C 6.7 to 20.0 200 40L Ceramic Gold Side-Braze DSP32010-B/UA 5962-8405301 ZA 6.7 to 20.0 200 44 Terminal Solder LCC DSP32010-B/UC 5692-8405301 ZX 6.7 to 20.0 200 44 Terminal Gold LCC ,--------------------------------------------------------------------------~ PART NUMBERS - MILITARY (see next page for Commercial and Industrial Parts) T-!~!IT~ '-"'dRn"", A C Solder Dip Gold ~ Case Outline: Q 44 Pin Side Braze OIL U 40 Terminal LCC ~____---II Screening B MIL-STD-883C Compliant I Level': (-55' C 10125' C) Frequency: 20.5 MHz I 25 25.6 MHz Device: DSP32010 NMOS DSP DSP320Cl0 CMOS DSP DSP320CF10 CMOS DSP, 6.7 to 25.6 MHz DSP320Cl0 CMOS DSP, ROM Version 'Note: 32010 =TE (Thermally Enhanced LCC); 320Cl0 = NTE (Non-Thermally Enhanced LCC) PART NUMBERS - DESC SMD 5U"~~T I Lead Finish: A Solder Dip C Gold ~------II Case Outline': X Ceramic Dual-in-line (28 lead) Q Ceramic Side Braze DIL(40 lead) Z Flal pack Version: 301 6.7 to 20.5 MHz 302 15.0 10 25.6 MHz 303 6.7 to 20.5 MHz, ROM Version 304 15.0 to 25.6 MHz, ROM Version 305 6.71025.6 MHz ~------------~--I.I Device: 5962 CMOS DSP I 5692 NMOS DSP 'Note: The Case Outline Code is used for order entry only and will not be marked on device © 1990 Microchip Technology Inc. DS21 0258-3 6-3 DIGITAL SIGNAL PROCESSORS NOTES: DS21025B-4 © 1990 Microchip Technology Inc. 6-4 Microchip DSP320C10 CMOS Digital Signal Processor FEATURES DESCRIPTION The DSP320C1 0 is the first low power CMOS member • 122ns instruction cycle of the Microchip Technology DSP320 family of digital • 144 word on-chip data RAM signal processors, designed to support a wide range of • ROM-less version - DSP320C1 0 high-speed or numeric-intensive applications. This • 1.5K word on-chip program ROM-DSP320CM10 device is a CMOS pin-for-pin compatible version of the External memory expansion to a total of 4K words industry standard DSP32010 digital signal processor. at full speed • 16-bit instruction/data word The processor has been enhanced to make the Data 32-bit ALU/Accumulator RAM static with respect to the Reset. Also, the address • 16 x 16-bit multiply in 122ns hold time has been improved to a non-negative value. • 0 to 15-bit barrel shifter This 16/32 bit single-chip microcomputer combines the • Eight input and eight output channels flexibility of a high-speed controller with the numerical 16-bit bidirectional data bus with a 65Mbps capability of an array processor thereby offering an transfer rate inexpensive alternative to multichip bit-slice processors. • Interrupt with a full context save The DSP320 family contains MOS microcomputers Signed two's complement fixed-point arithmetic capable of executing eight million instructions per sec- CMOS technology ond. This high throughput is the result of the compre- • Single 5 volt supply hensive, efficient, and easily programmed instruction • Four versions available: set and of the highly pipelined architecture. Special -DSP320C10-14 14.4MHz Clock instructions have been incorporated to speed the execu- -DSP320C10 20.5MHz Clock tion of digital signal processing (DSP) algorithms. -DSP320C10-25 25.6MHz Clock The DSP320 family's unique versatility and power give -DSP320C10-32 32.8MHz Clock the design engineer solutions to a variety of complicated applications. In addition, these microcomputers are capable of providing the multiple functions often re- quired for asingle application. For example, the DSP320 family can enable an industrial robot to synthesize and recognize speech, sense objects with radar or optical intelligence, and perform mechanical operations through digital servo loop computations. 40 LEAD DIP PIN CONFIGURATION 44 PIN PLCC Top View A1/PA1 1 A21PA2 1"-~ 0~ :;: ~ AD/PAD A3 I~ I~ ~ ~ ~ ~ ~ ~ ~ ::i :\' MC_ lIS A4 A5 C\I .... ; ~ ~ :; ,. 1m' A6 A7 A7 AB X1 AB MEN X2/CLKIN mo 9 "'"" Ilrn WE DEN WE Vee DSP320C10 Vex; D9 A9 D10 A10 AO D11 A11 A10 012 DO 31 A11 013 01 DO D14 02 012 01 015 D3 07 04 !!? !il N 1:: t:l eli lQ ~ ~ re D6 ro ~ 5 0 5 15 i'l i'l 1\ 8 8 ~ ~ ~ © 1990 Microchip Technology Inc. 6-5 08210376-1 DSP320C10 DSP320C10 BLOCK DIAGRAM ~ - - - - - - - - -- - - - - - - - - - - - - -A11 AO,· - - - - - - - - - - - - - - - - - - - - - - - - -- ~ , Xl PA2.PAO 015 ·00 MICROPROCESSOR OPTION 16 16 BITS ADDRESS (144 X 16) 16 16 , ~----------------------------------------------------- ------- RAM ARITHMETIC MODULE MODULE PIN DESCRIPTIONS Name I/O Definition Name I/O Definition A11·AO/ OUT External address bus, 1/0 port address MC/MP IN Memory mode select: High selects microcom· PA2·PAO multiplexed over PA2·PAO, puter, low selects microprocessor mode, - Memory enable indicates that 810 IN External polling input for bit test and jump MEN OUT operations, D15·DO will accept external memory instruction, - ClKOUT OUT System clock output, 1/4 crystal ClKIN RS IN Reset used to initialize device, frequency, VCC IN Power. D15·DO I/O 16-bit data bus, VSS IN Ground, DEN OUT Data enable indicates the processor WE OUT Write enable indicates valid data on D15-DO, accepting input data on D15-DO, X1 IN Crystal input. - INT IN Interrupt X2IClKIN IN Crystal input or external clock input. D521 0378-2 © 1990 Microchip Technology Inc, 6-6 DSP320C10 ARCHITECTURE The DSP320 family utilizes a modified Harvard architec- Program Memory Expansion ture for speed and flexibility. In a strict Harvard architec- The DSP320C10 is equipped with a 1536-word ROM ture, program and data memory lie in two separate which can be mask-programmed at the factory with a spaces, permitting a full overlap of the instruction fetch customer's program. It can also execute from an addi- and execution. The DSP320 family's modification of the tional 2560 words of off-chip program memory at full Harvard architecture allows transfers between program speed. This memory expansion capability is especially and data spaces, thereby increasing the flexibility of the useful for those situations where a customer has a device. This modification permits coefficients stored in number of different applications that share the same program memory to be read into the RAM, eliminating subroutines. In this case, the common subroutines can the need for a separate coefficient ROM. It also makes be stored on-chip while the application specific code is available immediate instructions and subroutines based stored off-chip. on computed values. The DSP 320C1 0 can operate in either of the following The DSP320C1 0 utilizes hardware to implement func- memory modes via the MC/MP pin: tions that other processors typically perform in software. For example, this device contains a hardware multiplier Microcomputer Mode (MC)-Instruction addresses 0- to perform a multiplication in a single 122ns cycle. There 1535 fetched from on-Chip ROM. Those with addresses is also a hardware barrel shifter for shifting data on its 1536-4095 fetched from off-chip memory at full speed. way into the ALU. Finally, extra hardware has been Microprocessor Mode (MP)-Full speed execution from included so that auxiliary registers, which provide indi- all 4096 off-chip instruction addresses. rect data RAM addresses, can be configured in an auto increment/decrement mode for single-cycle manipula- The ability of the DSP320C1 0 to execute at full speed tion of data tables. This hardware-intensive approach from off-chip memory provides important benefits: gives the design engineer the type of power previously Easier prototyping and development work than is unavailable on a single chip. possible with a device that can address only on- chip ROM 32-bit ALU/Accumulator Purchase of a standard off-the-shelf product rather The DSP320C1 0 contains a 32-bit ALU and accumula- than a semi-custom mask-programmed device tor that support double-precision arithmetic. The ALU Ease of updating code operates on 16-bit words taken from the data RAM or Execution from external RAM derived from immediate instructions. Besides the usual Downloading of code from another microprocessor arithmetic instructions, the ALU can perform Boolean • Use of off-chip RAM to expand data storage operations, providing the bit manipulation ability re- capability quired of a high-speed controller. Input/Output Shifters The DSP320C10's 16-bit parallel data bus can be util- A barrel shifter is available for left-shifting data 0 to 15 ized to perform I/O functions at burst rates of 65 million places before it is loaded into, subtracted from, or added bits per second. Available for interfacing to peripheral to the accumulator. This shifter extends the high-order devices are 128 input and 128 output bits consisting of eight 16-bit multiplexed input ports and eight 16-bit bit of the data word and zero-fills the low-order bits for multiplexed output ports. In addition, a polling input for two's complement arithmetic A second shifter left-shifts bit test and jump operations (BIO) and an interrupt pin the upper half of the accumulator 0, 1, or 4 places while (INT) have been incorporated for multi-tasking. it is being stored in the data RAM. Both shifters are very useful for scaling and bit extraction. Interrupts and Subroutines 16 x 16-bit Parallel Multiplier The DSP320C10 contains a four-level hardware stack The DSP320C10's multiplier performs a 16 x 16-bit, for saving the contents of the program counter during two's complement multiplication in one 122ns instruc- interrupts and subroutine calls. Instructions are avail- tion cycle. The 16-bit T Register temporarily stores the able for saving the DSP320C1 O's complete context. The multiplicand; the P Register stores the 32-bit result. instructions, PUSH stack from accumulator, and POP Multiplier values either come from the data memory or stack to accumulator permit a level of nesting restricted are derived immediately from the MPYK (multiply imme- only by the amount of available RAM. The interrupts diate) instruction word. The fast on-chip multiplier allows used in the DSP320C10 are maskable. the DSP320C10 to perform such fundamental opera- tions as convolution, correlation, and filtering at a very high rate. © 1990 Microchip Technology Inc. D821037B-3 6..7 DSP320C10 INSTRUCTION SET The DSP320C10's comprehensive instruction set sup- Indirect Addressing ports both numeric-intensive operations, such as signal processing, and general purpose operations, such as Indirect addressing forms the data memory from the high-speed control. The instruction set, explained in least significant eight bits of one of two auxiliary regis- Tables 1 and 2, consists primarily of single-cycle single- ters, ARO and AR1. The auxiliary register pointer (ARP) word instructions, permitting execution rates of up to selects the current auxiliary register. The auxiliary eight million instructions per second. Only infrequently registers can be automatically incremented or decre- used branch and 110 instructions are multicycle. mented in parallel with the execution of any indirect instruction to permit single-cycle manipulation of data The DSP320C1 0 also contains a number of instructions tables. The instruction format for indirect addressing is that shift data as part of an arithmetic operation. These as follows: all execute in a single cycle and are very useful for scaling data in parallel with other operations. 1514131211109 8 7 6 5 4 3 2 1 0 Three main addressing modes are available with the DSP320C10 instruction set: direct, indirect, and imme- I D N A diate addressing. OPCODE 1 0 N E A 0 0 R C C R P Direct Addressing In direct addressing, seven bits of the instruction word Bit7 =1 defines indirect addressing mode. The opcode concatenated with the data page pointer form the data is contained in bits 15 through 8. Bits 7 through 0 contain memory address. This implements a paging scheme in indirect addressing control bits. which the first page contains 128 words and the second page contains 16 words. In a typical application, infre- Bit 3 and bit 0 control the Auxiliary Register Pointer quently accessed variables, such as those used for (ARP). If bit 3 = 0, then the content of bit 0 is loaded into servicing an interrupt, are stored on the second page. the ARP. If bit 3 = 1, then content of ARP remain The instruction format for direct addressing is shown unchanged. ARP =0 defines the contents of ARO as below. memory address. ARP = 1 defines the contents of AR1 as memory address. Bit 5 and bit 4 control the auxiliary registers. If bit 5 = 1, 15 14 13 12 11 10 9 8 7 6 543 2 1 0 then the ARP defines which auxiliary register is to be incremented by 1. If bit4 = 1, then the ARP defines which OPCODE 0 DMA auxiliary register is to be decremented by 1. If bit 5 or bit 4 are zero, then neither auxiliary register is incre- mented or decremented. Bits 6,2 and 1 are reserved Bit 7 = 0 defines direct addressing mode. The opcode is and should always be programmed to zero. contained in bits 15 through 8. Bits 6 through 0 contain Indirect addressing can be used with all instructions data memory address. requiring data operands, except for the immediate oper- The seven bits of the data memory address (DMA) field and instructions. can directly address up to 128 words (1 page) of data memory. Use of the data memory page pointer is Immediate Addressing required to address the full 144 words of data memory. The DSP320C1 0 instruction set contains special"imme- Direct addressing can be used with all instructions diate" instructions. These instructions derive data from requiring data operands except for the immediate oper- part of the instruction word rather than from the data and instructions. RAM. Some very useful immediate instructions are multiply immediate (MPVK), load accumulator immedi- ate (LACK), and load auxiliary register immediate (LARK). 05210378-4 © 1990 Microchip Technology Inc. 6-8 DSP320C10 INSTRUCTION SET SUMMARY TABLE 1 -INSTRUCTION SYMBOLS Symbol Meaning ACC Accumulator 0 Data memory address field I Addressing mode bit K Immediate operand field PA 3-bit port address field R 1-bit operand field specifying auxiliary register S 4-bit left-shift code X 3-bit accumulator left-shift field TABLE 2 - ACCUMULATOR INSTRUCTIONS Mne- Number of OpCode - Instruction Register monic Description Cycles Words 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ABS Absolute value of accumulator 1 1 0 1 1 1 1 1 1 1 1 0 0 0 1 0 0 0 ADD Add to accumulator with shift 1 1 0 0 0 0 f----S--> I D , ADDH Add to high-order accumulator bits 1 1 0 1 1 0 0 0 0 0 I E D , ADDS Add to accumulator with no sign 1 1 0 1 1 0 0 0 0 1 I E E D , extension AND AND with accumulator 1 1 0 1 1 1 1 0 0 1 I D , LAC Load accumulator with shift 1 1 0 0 1 0 f---- S--> I E D , LACK Load accumulator immediate 1 1 0 1 1 1 1 1 1 0 E K , OR OR with accumulator 1 1 0 1 1 1 1 0 1 0 E I D , SACH Store high-order accumulator 1 1 0 1 0 1 1 <---X--> I E E D , bits with shift SACL Store low-order accumulator bits 1 1 0 1 0 1 0 0 0 0 I D , SUB Subtract from accumulator 1 1 0 0 0 1 f---- S--> I E E D , with shift SUBC Conditional subtract (for divide) 1 1 0 1 1 0 0 1 0 0 I D , SUBH Subtract from high-order 1 1 0 1 1 0 0 0 1 0 I , E D , SUBS Subtract from accumulator with 1 1 0 1 1 0 0 0 1 1 I , D , no sign extension XOR Exclusive OR with accumulator 1 1 0 1 1 1 1 0 0 0 I E D , ZAC Zero accumulator 1 1 0 1 1 1 1 1 1 1 1 a a a 1 0 0 1 ZALH Zero accumulator and load 1 1 0 1 1 0 0 1 0 1 I , D , high-order bits ZALS Zero accumulator and load 1 1 0 1 1 0 0 1 1 0 I E D , low-order bits with no sign extension © 1990 Microchip Technology Inc. DS21037B-5 6-9 DSP320C10 INSTRUCTION SET SUMMARY (CONT.) TABLE 2 (CONT.) - AUXILIARY REGISTER AND DATA PAGE POINTER INSTRUCTIONS Mne· Number of OpCode • Instruction ,Register monic Description Cycles Words 15 14131211 10 9 8 7 6 5 4 3 2 1 0 LAR LARK LARP Load auxiliary register Load auxiliary register immediate Load auxiliary register 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 R R 0 I E 1 E 0 0 0 D K 0 0 ----- ----- 0 K LDP LDPK pointer immediate Load data memory page pointer Load data memory page pointer 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 1 1 1 0 I 0 E 0 0 0 D 0 0 ----- 0 K ----- immediate MAR SAR Modify auxiliary register and pointer Store auxiliary register 1 1 1 1 0 0 1 0 1 1 0 1 1 0 0 0 0 0 0 R I I E E D D ----- TABLE 2 (CONT.) - BRANCH INSTRUCTIONS Mne- Number of OpCode • Instruction Register monic Description Cycles Words 15 14131211 10 9 8 7 6 5 4 3 2 1 0 B Branch unconditionally 2 2 1 1 1 1 1 0 0 1 0 0 0 0 0 0o 0 0 0 0 0 E BRANCH ADDRESS _____ BANZ Branch on auxiliary register 2 2 1 1 1 1 0 1 0 0 0 0 0 0 0 0o 0 not zero 0 0 0 0 E BRANCH ADDRESS~ BGEZ Branch if accumulator", 0 2 2 1 1 1 1 1 1 0 1 0 0 0 0 0 0o 0 0 0 0 0 E BRANCH ADDRESS _____ BGZ Branch if accumulator> 0 2 2 1 1 1 1 1 1 0 0 0 0 0 0 0 0o 0 BRANCH ADDRESS _____ - BIOZ Branch on BIO = 0 2 2 0 1 0 1 0 1 0 1 E 0 1 1 0 0 0 0 0 0 0o 0 0 0 0 0 E BRANCH ADDRESS _____ BLEZ Branch if accumulator :s; 0 2 2 1 1 1 1 1 0 1 1 0 0 0 0 0 0o 0 0 0 0 0 E BRANCH ADDRESS _____ BLl Branch if accumulator < 0 2 2 1 1 1 1 1 0 1 0 0 0 0 0 0 0o 0 0 0 0 0 ( BRANCH ADDRESS _____ BNZ Branch if accumulator .. 0 2 2 1 1 1 1 1 1 1 0 0 0 0 0 0 0o 0 0 0 0 0 ( BRANCH ADDRESS _____ BV Branch on overflow 2 2 1 1 1 1 0 1 0 1 0 0 0 0 0 0o 0 0 0 0 0 ( BRANCH ADDRESS _____ BZ Branch if accumulator = 0 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0o 0 0 0 0 0 ( BRANCH ADDRESS _____ CALA Call subroutine from accumulator 2 1 0 1 1 1 1 1 1 1 1 0 0 0 1 1 0 0 CALL Call subroutine immediately 2 2 1 1 1 1 1 0 0 0 0 0 0 0 0 0 o 0 0 0 0 0 ( BRANCH ADDRESS _____ RET Return from subroutine or 2 1 0 1 1 1 1 1 1 1 1 0 0 0 1 1 0 1 interrupt routine DS21037B-6 © 1990 Microchip Technology Inc. 6-10 DSP320C10 INSTRUCTION SET SUMMARY (CONT.) TABLE 2 (CONT.) - T REGISTER, P REGISTER, AND MULTIPLY INSTRUCTIONS Mne- Number of OpCode -Instruction Register monic Description Cycles Words 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 APAC Add P register to accumulator 1 1 0 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 LT Load T register 1 1 0 1 1 0 1 0 1 0 I E D ---7 LTA LTA combines LT and APAC 1 1 0 1 1 0 1 1 0 0 I E D ---7 into one instruction LTD lTD combines LT, APAC, and 1 1 0 1 1 0 1 0 1 1 I E D ---7 DMOV into one instnuction MPY Multiply with T register, store 1 1 0 1 1 0 1 1 0 1 I E D ---7 product in P register MPYK Multiply T register with immediate 1 1 1 0 0 E K ) operand; store product in P register PAC Load accumulator from P register 1 1 0 1 1 1 1 1 1 1 1 0 0 0 1 1 1 0 SPAC Subtract P register from 1 1 0 1 1 1 1 1 1 1 1 0 0 1 0 0 0 0 accumulator TABLE 2 (CONT.) - CONTROL INSTRUCTIONS Mne- Number of OpCode - Instruction Register monic Description Cycles Words 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DINT Disable interrupt 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 1 EINT Enable interrupt 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 1 0 lST load status register 1 1 0 1 1 1 1 0 1 1 I E D ---7 NOP No operation 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 POP POP stack to accumulator 2 1 0 1 1 1 1 1 1 1 1 0 0 1 1 1 0 1 PUSH PUSH stack from accumulator 2 1 0 1 1 1 1 1 1 1 1 0 0 1 1 1 0 0 ROVM Reset overflow mode 1 1 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 SOVM Set overflow mode 1 1 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 SST Store status register 1 1 0 1 1 1 1 1 0 0 I E D ---7 TABLE 2 (CONT.) -I/O AND DATA MEMORY OPERATIONS Mne- Number of OpCode - Instruction Register monic Description Cycles Words 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMOV Copy contents of data memory 1 1 0 1 1 0 1 0 0 1 I E D ---7 IN Input data from port 2 1 0 1 0 0 0 +- PA --+ I E D ---7 OUT Output data to port 2 1 0 1 0 0 1 +- PA --+ I E D ---7 TBlR Table read from program 3 1 0 1 1 0 0 1 1 1 I E D ---7 memory to data RAM TBlW Table writ,e from data RAM 3 1 0 1 1 1 1 1 0 1! I E D ---7 to program (external only) © 1990 Microchip Technology Inc. DS21037B-7 6-11 DSP320C10 ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings' "Exceeding these ratings could cause permanent dam- Over specified temperature range (unless otherwise age to the device. This is a stress rating only and noted)" functional operation of this device at these conditions is not implied - operating ranges are specified in Standard Supply voltage, Vce ............................................. -0.3V to 7V Conditions. Exposure to absolute maximum rating All input voltages ........................................ -0.3V to 7V conditions for extended periods may affect reliability. Output voltage ............................................ -0.3V to 7V Continuous power dissipation: Data labeled "typical" is presented for design guidance DSP320C10 (0° to +70°C) ................................... 0.3W only and is not guaranteed. DSP320C101 (-40° to +85°C) ............................ 0.36W DSP320C10-25 (0° to +70°C) ............................ 0.35W DSP320C101-25 (-40° to +85°C) ......................... 0.4W Air temperature range above operating device: - Commercial ......................................... O' C to 70' C -Industrial ........................................... -40' C to 85' C Storage Temperature Range ............. -55· C to 150' C Junction Temperature (TJ) ................................ 165· C DC CHARACTERISTICS 'Vee = 5V, TA = 25' e DSP320C10 DSP320C10-14 DSP320C10-25 DSP320C10-32 Characteristics Unit Conditions Min Nom' Max Min Nom' Max Min Nom' Max Min Nom' Max Supply voltage, Vec 4.5 5.0 5.5 4.5 5.0 5.5 4.5 5.0 5.5 4.5 5.0 5.5 V Supply voltage, Vss - 0 - - 0 - - 0 - - 0 - V High-level input voltage, VIH - All inputs except ClKIN 2.0 - - 2.0 - - 2.0 - - 2.0 - - V -ClKIN .65Vrx - - .65Va - - .65Va - - .65Va - - V low-level input voltage, VIL (all inputs) - - 0.8 - - 0.8 - - 0.8 - - 0.8 V High-level output voltage VOH Voe-.4 - - Voe-. - - Voe-. - - Woe-. - - V IOH= 20l!A 2.4 - - 2.4 - - 2.4 - - 2.4 - - V IOH = 3001!A low-level output voltage, VOL - - 0.4 - - 0.4 - - 0.4 - - 0.4 V IOL= 2rnA Off-state output current, loz - - 20 - - 20 - - 20 - - 20 I!A Vee = 5.5V - - -20 - - -20 - - -20 - - -20 I!A Vo= Vee-.4V Input current, Ii - - ±50 - - ±50 - - ±50 - - ±50 I!A Supply current, Icc - - 50 - - 50 - - 55 - - 65 rnA Vce= 5.5V (tested w/clocks running & part in reset) Input capacitance, CI - Data bus - 25 - - 25 - - 25 - - 25 - pF - All others - 15 - - 15 - - 15 - - 15 - pF f=1MHz, Output capacitance, Co all other pins OV I' - Data bus - 25 - - 25 - - 25 - - 25 - pF - All others - 10 - - 10 - - 10 - - 10 - pF D521 0378-8 © 1990 Microchip Technology Inc. 6-12 DSP320C10 PARAMETER MEASUREMENT INFORMATION FIGURE 2 " TEST LOAD CIRCUIT v = 2.14V From output{L= 870 ohms under test Test Point ~ CL= 100pF TIL Load Condition FIGURE 3 " AC TIMING VOLTAGE REFERENCE LEVELS a. Inputs, TTL compatible b. Outputs, TTL compatible r-- " -- r-- " -- 2.00V 0.80V - - c= VIH (min.) VIL (max.) 2.00V 0.80V - - c= VOH (min.) VOL (max.) © 1990 Microchip Technology Inc. 0521037B-9 6-13 DSP320C10 CLOCK The DSP320C 10 can use either its internal oscillator or an external frequency source for a clock. INTERNAL CLOCK OPTION The internal oscillator is enabled by connecting a crystal across Xl and X2/CLKIN (See Figure 1) . The frequency of CLKOUT is one-fourth the crystal fundamental fre- quency. FIGURE 1 -INTERNAL CLOCK OPTION C1 ~ The crystal should be fundamental mode, and parallel resonant, with an effective series resistance of 30 ohms, a power dissipation of 1mW, and be speCified at a load capacitance of 20pF. EXTERNAL CLOCK OPTION An external frequency source can be used by injecting the frequency directly into X2/CLKIN with Xl left uncon- nected. The external frequency injected must conform to the specifications listed in the table below. CLOCK FREQUENCIES Temperature Characteristics Sym Min Nom Max Unit Range Conditions DSP320Cl0 Crystal frequency fx 6.7 - 20.5 MHz I,C DSP320C 10-14 Crystal frequency fx 6.7 - 14.4 MHz I,C DSP320Cl0-25 Crystal frequency fx 6.7 - 25.6 MHz I,C DSP320Cl0-32 Crystal frequency fx 6.7 - 32.8 MHz I,C Cl,C2 - 10 - pf I,C D521 0378.10 © 1990 Microchip Technology Inc. DSP320C10 CLOCK (CONT.) CLOCK AC CHARACTERISTICS TA (Commercial) = 0' to 70' C TA (Industrial) = _40' to 85' C Timing requirements/Switching Characteristics over Recommended Operating Conditions Vee = 5V + 10%. Vss = OV DSP320Cl0 DSP320Cl0·14 DSP320Cl ()"25 DSP320Cl0·32 Characteristics Sym Min NOll Max Min Nom Max Min Nom Max Min Nom Max Unit Conditions Master elk cycle time Te(MC) 48.78 - 150 69.50 - 150 39 - 150 30.5 - 150 ns Note 1 Rise time mast. elk in. Tr(MC) - 5 10' - 5 10' - 4 8' - 3 6' ns Fall time mast. elk in. TI(MC) - 5 10' - 5 10' - 4 8' - 3 6' ns Pulse dur. mast. elk low, Te(MC) = 70ns Tw(MCl) 14' 20 - 14' 20 - 12' 16 - 8' 12 - ns Pulse dur. mast elk high, Te(MC) = 70ns Tw{MCH) 14' 20 - 14' 20 - 12' 16 - 8' 12 - ns Pulse duro mast elk Tw{MCP) OATele), - 0.6TeIG)' OATClC)' - 0.6TelG)' OA5TClG)' - 0.55TeIG), 0.45TClG)' - 0.55Tc(G)' ns ClKOUT eyele time Te(C) 195.12 - - 277.80 - - 156 - - 122 - - ns ClKOUT rise time Tr(C) - 10 - - 10 - - 10 - - 4 - ns ClKOUT fall time TI(C) - 8 - - 8 - - 8 - - 7 - ns Pis. dur., ClKOUT low Tw(Cl) - 92 - - 131 - - 74 - - 57 - ns See Fig 2 Pls.dur., ClKOUT high Tw(CH) - 90 - - 129 - - 72 - - 54 - ns Delay time to ClKIN! to ClKOUTJ- (Note 2) Td(MCC) 10 - 60 10 - 60 10 - 50 10 - 50 ns Note: (1) Te(e) is the cycle time of CLKOUT. i.e., 4'TC(MC) (4 times eLKIN cycle time if an external oscillator is used) (2) 'These values were derived from characterization data and are not tested or guaranteed. CLOCK TIMING Q3 Q4 Q1 Q2 X2/CLKIN (DSP internal clock) Tw(CH) CLKOUT TF(C) TR(C) Tw(CL) Tc(C) , TD(MCC) and TW(MCP) are referenced to an intermediate level of 1.5 volts on the ClKIN waveform. Note: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless otherwise noted. © 1990 Microchip Technology Inc. DS210378-11 6-15 DSP320C10 MEMORY AND PERIPHERAL INTERFACE TIMING MEMORY AND PERIPHERAL INTERFACE - AC CHARACTERISTICS Over recommended operating conditions Characteristics Sym Min Typ Max Unit Conditions Delay time CLKOUT! to address bus valid (see note) Td1 10' - 3S ns See Figure 2 Delay time CLKOUT! to MEN! Td2 1/4Tc(C) -5' - 1/4Tc(C) +12 ns Delay time CLKOUT! to MENi Td3 -S' - 12 ns Delay time CLKOUT! to DEN! Td4 1/4Tc(C) -5' - 1/4Tc(C) +12 ns Delay time CLKOUT! to DENi TdS -S' - 12 ns Delay time CLKOUT! to WE! Td6 1/2Tc(C) -5' - 1/2Tc(C) +12 ns Delay time CLKOUT! to WEi Td7 -S' - 12 ns Delay time CLKOUT! to data bus OUT valid TdS - - 1/4Tc(C) +40 ns Time after CLKOUT! that data bus starts to be driven Td9 1/4Tc(C) - 5' - - ns Time after CLKOUT! that data bus stops being driven Td10 - - 1/4Tc(C) +30' ns Data bus OUT valid after CLKOUT! Tv 1/4Tc(C) -10 - - ns Delay time DENi. MENi and WEi from RS! Tdll - - Tc(C) + 50' ns Setup time data bus valid prior to CLKOUT! Tsu(D) 38 - - ns Hold time data bus held valid after CLKOUT! Th(D) 0 - - ns Address bus setup time prior to MEN! or DEN! Tsu(A-MD) 1/4Tc(C) -35 - - ns - - - Address bus hold after WEi. MENi or DENi Th(A-WMD) 5 - - ns Address bus setup time prior to WE! TsuIA-WE) 1/2Tc(C) -34 - - ns Data bus setup time prior to WE! TsuID-WE) 1/4Tc(C) -32 - - ns Data bus hold after WEi ThID·WE) 1/4Tc(C) -18 - - ns External memory access time Tacc - - Tc(C) - 69 ns External memory output enable time Toe - - 3/4 Tc(C) - 40 ns 'These values were derived from characterization data and are not tested. Note: 1. Address bus will be valid upon WEi. DENi. or MENi. 2. Data may be removed from the data bus upon MENi or DENi preceding CLKOUT! D821 0378-12 © 1990 Microchip Technology Inc. 6-16 DSP320C10 MEMORY AND PERIPHERAL INTERFACE TIMING (CONT.) MEMORY READ TIMING DIAGRAM Tc(C) CLKOUT MEN Tsu(A-MO) A11-AO ADDRESS BUS VALID 1- Tsu(O) , '. '1 TH(O) 015-00 ___..J>>---------------~ ~NSTRUCTION IN VALID p-------- Note: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts. unless otherwise noted. © 1990 Microchip Technology Inc. 08210378-13 6-17 DSP320C10 INSTRUCTION TIMING DIAGRAMS (CONT.) TBLR INSTRUCTION TIMING DIAGRAM CLKOUT MEN All-AO 015-00 Legend: L TBLR INSTRUCTION PREFETCH 7. ADDRESS BUS VALID 2. DUMMY PREFETCH 8. ADDRESS BUS VALID 3. DATA FETCH 9. INSTRUCTION IN VALID 4. NEXT INSTRUCTION PREFETCH 10. INSTRUCTION IN VALID 5. ADDRESS BUS VALID 11. DATA IN VALID 6. ADDRESS BUS VALID 12. INSTRUCTION IN VALID Note: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless otherwise noted. TBLW INSTRUCTION TIMING DIAGRAM CLKOUT MEN A11-AO WE 015-00 Legend: L TBLW INSTRUCTION PREFETCH 2. DUMMY PREFETCH 7. ADDRESS BUS VALID 3. NEXT INSTRUCTION PREFETCH 8. INSTRUCTION IN VALID 4. ADDRESS BUS VALID 9. INSTRUCTION IN VALID 5. ADDRESS BUS VALID 10. DATA OUT VALID 6. ADDRESS BUS VALID 1 L INSTRUCTION IN VALID Note: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless otherwise noted. OS21 0378-14 © 1990 Microchip Technology Inc. 6-18 DSP320C10 INSTRUCTION TIMING DIAGRAMS (CONT.) IN INSTRUCTION TIMING DIAGRAM Legend: 1. IN INSTRUCTION PREFETCH 5. ADDRESS BUS VALID 2. NEXT INSTRUCTION PREFETCH 6. INSTRUCTION IN VALID 3. ADDRESS BUS VALID 7. DATA IN VALID 4. PERIPHERAL ADDRESS VALID 8. INSTRUCTION IN VALID Note: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless otherwise noted. OUT INSTRUCTION TIMING DIAGRAM CLKOUT MEN A11-AO WE 015-00 Th(D-WE} Legend: 1. OUT INSTRUCTION PRE FETCH 5. ADDRESS BUS VALID 2. NEXT INSTRUCTION PREFETCH 6. INSTRUCTION IN VALID 3. ADDRESS BUS VALID 7. DATA OUT VALID 4. PERIPHERAL ADDRESS VALID Note: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless otherwise noted. © 1990 Microchip Technology Inc. DS210378-15 6-19 DSP320C10 RESET (RS) TIMING RESET TIMING AC CHARACTERISTICS Timing requirements over recommended operating conditions Characteristics Sym Min Nom Max Unit Conditions - Reset (RS) setup time prior to Tsu(R) 38 - - ns CLKOUT. See notes 1-4. DSP320C 10-32 RS pulse duration Tw(R) 5Tc(C) - - ns Delay time DENI, WEI, and Td11 - - Tc(C) + 50· ns See Figure 2 MENI from RSJ., Data bus disable time after RS Tdis(R) - - 3/4Tc(C) + 120· ns I Note: RS can occur anytime during a clock cycle. Time given is minimum to ensure synchronous operation. ·These values were derived from characterization data and are not tested. FIGURE 4 • RESET TIMING CLKOUT ~TdiS(R) 015-00 ----~-------- -----41\ Data In from '-------..r5ata In from pc Addr (0) ~Addr(PC+1) Data shown relative to WE Address Bus =x AB=PC XAB=PC+1 X=~: AB = Address Bus AB=PC=O ~+1 --------- Notes: 1. RS forces DEN, WE, and MEN high and tristates data bus DO through 015. AB outputs (and program counter) are synchronously cleared to zero after the next complete elK cycle from RSJ,. 2. RS must be maintained for a minimum of five clock cycles. 3. Resumption of normal program will commence after one complete elK cycle from RS1'. 4. Due to the synchronizing action on AS, time to execute the function can vary dependent upon when RS1' or RSJ, occur in the ClK cycle. 5. Diagram shown is for definition purpose only. DEN, WE, and MEN are mutually exclusive. 6. Timing measurements are referenced to and from a low voltage of O.S volts and a high voltage of 2.0 volts, unless otherwise noted. 7. During a write cycle, RS may produce an invalid write address. DS21037B-16 © 1990 Microchip Technology Inc. 6-20 DSP320C10 INTERRUPT (INT) TIMING INTERRUPT TIMING AC CHARACTERISTICS Timing requirements over recommended operating conditions * These values are not tested Characteristics Sym Min Nom Max Unit Conditions - Fall time INT Tf(INT) - - 15* ns - Pulse duration INT Tw(lNT) Tc(C) - - ns Setup time INTJ, before CLKOUT J.- T8u(INT) 38 - - ns INTERRUPT TIMING DIAGRAM CLKOUT ~Jl ~t--TSU-(INT-)-..J/ INT ( TF(INT) ~ i ______ Tw(INT) - - - _ _ 0 0 _ - Note: Timing measurements are referenced to and from a low voltage of O.B volts and a high voltage of 2.0 volts. unless otherwise noted. I/O (810) TIMING 1/0 (810) AC CHARACTERISTICS Timing requirements over recommended operating conditions * These values are not tested Characteristics Sym Min Nom Max Unit Conditions Fall time 810 Tf(IO) - - 15* ns - Pulse duration 810 Tw(IO) Tc(C) - - ns Setup time 810J.- before CLKOUT J.- T8u(10) 38 - - ns 1/0 (810) TIMING DIAGRAM CLKOUT ~ \ / \'-----J/ -fJ----L--T Tsu(IO) ~k:=====-TW-(I-O-) BIO "'(0) - - - -.. -'f( Note: Timing measurements are referenced to and from a low voltage of O.B volts and a high voltage of 2.0 volts, unless otherwise noted. © 1990 Microchip Technology Inc. D821037B-17 6-21 DSP320C10 SALES AND SUPPORT To order or to obtain information, e.g., on pricing or delivery, please use the listed part numbers, and refer to the factory or the listed sales offices. PART NUMBERS DSP320C10 • 32 I / P ~ Package: P L Plastic DIP PLCC I Temperature Range: Blank I o to 70° C -40 to 85° C Frequency: 14 14.4 MHz - 20.5 MHz 25 25.6 MHz 32 32.8 MHz I I Device DSP320C10 Digital Signal Processor DS21 0376-18 © 1990 Microchip Technology Inc. 6-22 _ Microchip APPLICATION NOTES DSP320CIO DIGITAL SIGNAL PROCESSOR SUPPORT TOOLS Introduction The following information relates to the support tools available for Microchip's DSP320C10 Digital Signal Processor. A brief description of each tool is provided along with the availability and prices. A part number is assigned for each product and this number should be used when ordering. For more information, please contact your local Microchip sales office. Microchip reserves the rights to change the specifications of each system without notice. Systems & Tools Hardware Tools: Please contact your local sales office or factory for a list of third party support products. These include in-circuit emulators, EVM boards and other plug in modules. Software Tools: IProduct Function C10ASM A cross assembler and linker with macro capabilities for DSP320C1 O. Various computer systems are supported. C10SIM A software instruction level simulator of DSP320C10. Available on various computer systems. Please contact your local sales office or factory for a list of third party support products. These include assemblers/linkers, filter design packages and other DSP libraries. © 1990 Microchip Technology Inc. DS21047B- 1 6-23 DSP320C10 SUPPORT TOOLS CIOASM (ASSEMBLER/L1NKER) Description This is a cross assembler which converts the source code to object code for Microchip's DSP320C10 series of 16-bit digital signal processors. A linker is also provided for combining separately assembled modules into one or more object modules. Multiple object code format is provided and supports formats required by all other Microchip's development systems. One of the output format is 8 bit Intel hex format. Under this format two separate files with high bytes in one and low bytes in another file are produced. This eases programming 8 bit wide EPROMs. Functional Features Absolute and Relocatable addressing. Conditional assembly. Macro capability. External Symbol Reference. Multiple Object code formats. Combines separately assembled modules into one or more object modules. External Symbol resolution. ROM/RAM partitioning. Object code libraries and Multiple Object code formats. Minimum Host Requirements : MS-DOS -- 512k RAM. VAXNMS. Part Number & Ordering Information C10ASM-DS C10 Assembler/Linker for MS-DOS systems/IBM compatibles C10ASM-VS C 10 Assembler/Linker for DEC VAX/VMS D821047B- 2 © 1990 Microchip Technology Inc. 6-24 DSP320C10 SUPPORT TOOLS CIOSIM (SIMULATOR) Description This is a software simulator simulating the DSP320C10 series. The simulator accepts any object code format generated by Microchip's cross assembler, and aids in debugging and testing microcode. Algorithms and software development can be executed without waiting for silicon and other hardware. Since the simulator is totally under software control, the user has a lot more control in execution of his code through complex breakpoints, trace, single stepping, viewing/modifying. Various signals, memory locations and registers can be viewed very easily. Signals can be injected or captured from/to files by redirecting the 110 port to files, and then be analyzed by other software. Functional Features Instruction Boundary Simulation Three execution modes ( execute until break condition, trace and single stepping). Flexible breakpoints : On Instruction acquisition, error conditions, data conditions and maskable memory read/wr,ite. Watch/modify registers and memory locations. 128 instruction trace buffer (can be output to a file). Continuous trace mode Symbolic debug and symbolic disassembler. File associated port I/O. Programmable interrupts. Friendly user interface that can constantly display registers and memory on screen. Input/Output Radix can be Hex, decimal or Octal. Part Number & Ordering Information C10SIM-DS C10 Simulator for MS-DOS systems/IBM compatibles C10SIM-VS C10 Simulator for DEC VAX/VMS © 1990 Microchip Technology Inc. DS21 0478- 3 6-25 DSP320C10 SUPPORT TOOLS NOTES: 08210478- 4 © 1990 Microchip Technology Inc. 6-26 Microchip SECTION 7 QUALITY AND RELIABILITY QA Quality Without Compromise .................................................................................... 7- 1 27Cxxx EPROM Plastic Package Reliability Bulletin ............................................................. 7- 11 © 1990 Microchip Technology Inc. DS00018C 7-i Microchip DS00018C © 1990 Microchip Technology Microchip Quality Without Compromise A CORPORATE COMMITMENT Raising the quality level of Microchip's products and services is a performance alliance built with customers and suppliers. Total quality improvement and quality awareness is powered by company-wide participation. Meeting a customer's expectations is where quality commitment begins. The resolve to continuously im- prove as a supplier never ends. THE CHALLENGE OF COMPLEXITY Integrating An Ideal Microchip's quality programs and business plan are ver- tically integrated and touch all levels of the company. From the top down the President and CEO actively leads and audits programs to ensure continuous improvement is a perpetual process. Quality teams work from the bottom up to improve performance at every department level. Incorporating quality improvement objectives into the business plan creates a unity of purpose and man- dates that the two merge as one measurement. Determination To Be The Best Through statistical management and the use of statisti- cal tools, a framework is built for becoming a continu- ously improving supplier. The programs put in place are to become the foundation for success. © 1990 Microchip Technology Inc. 7-1 OS000476-1 Quality & Reliability PROCESS TECHNOLOGY QUALITY EEPROM Technology Design For Quality And Reliability Microchip's CMOS floating gate EEPROM technology Product reliability is designed into all Microchip proc- produces a non-volatile memory cell by storing or re- esses and products. Design margins are established to moving charge from the floating gate. Charge is trans- guarantee every product can be produced economi- ferred bidirectionally to the floating gate by Fowler- cally, error-free and within the tolerances of the manu- Nordheim tunneling through a sub-1 0 nm oxide over the facturing process. Design committee members repre- drain of the transistor. This technology produces a senting manufacturing, engineering, quality and product memory cell with a guaranteed endurance of > 10" which divisions ensure that exacting standards are met for can be erased automatically and byte written in-situ in a each specific product. system, all in 1 ms. Documentation And Procurement EPROM Technology Specifications The CMOS EPROM technology produces a non-volatile Microchip's positive documentation control program memory cell by storing or removing charge from a self- assures the correct and current document always is aligned floating gate. Electrons are provided to the available at the point of use. Active documents are floating gate via hot electron injection from the drain revision coded and serialized. Procurement specifica- depletion region, and are removed by radiation from a tions bear the same requirements. These positive high intensity UV source. This memory cell is guaran- document control procedures, which are common in the teed to have an endurance of > 100. Programming is industry for military and high reliability products, are done off-line using an EPROM programmer and block employed by Microchip, system wide. erasing accomplished with a high intensity UV source through the package window. In Line Controls And Process Assessment SNOS Technology Product integrity is assured by samplings and inspec- tion plans performed in line. This enables Microchip to Microchip's SNOS EEPROM technology produces a control and improve product quality levels as product non-volatile memory cell which stores or removes charge moves through the manufacturing operation. Micro- from the nitrite/oxide interface by electron tunneling chip's acceptance sampling plans in assembly empha- through a sub-5 nm oxide under the nitride. This cell is size the attempt to eliminate defective product as it is guaranteed to have an endurance> 10'. Individual bytes discovered. Acceptance and sampling plans follow MIL- can be written in-situ in a system at 30 ms but due to STD-SS3C procedures where applicable. layout design constraints, a circuit can only be block To determine whether a process is within normal manu- erased. facturing variation, statistical techniques are put to work Microcontroller and Logic at selected process steps. In-process controls are performed by operators in the wafer fabrication and Logic Products use an N-well CMOS technology. assembly operations. Operators take immediate cor- Depending on functionality and/or performance require- rective action if a process step is out of its control limit. ments, however, different variations of the CMOS proc- Through these in-line controls the true capability of a ess are used. These include ROM, EPROM or EEPROM process is assured and data to guide continuous im- and use of single or double level metallization. Two provement is generated. (See Appendix A - Controls) levels of polysilicon are used for EPROM, EEPROM or Material controls prevent defective piece parts from capacitors (in analog circuits). getting into the line. Microchip's assembly material Oxide spacers are used to obtain DDD (Double Diffused control sample plan is typical of the emphasis placed on Drains) and titanium is used for polycide formation for safeguards. (See Appendix B - Material Controls) low resistance poly lines. The process uses a 250 A gate-oxide thickness and 550 A interpoly oxide thick- Testing For Margin ness. Boron and Phosphorous plugs are used for N- Microchip conducts a product's initial test under strin- contacts and P-contacts to prevent junction spiking. gent requirements. All quality assurance tests are run to tighter limits than customer specifications. As part of an out going quality assurance program, most products are tested at least two machine tolerances tighter than those specified by the customer. Margin testing accounts for normal tolerances of any particular test system and provides customers with the assurance that Microchip's products meet a customer's specifications. DS000478 - 2 7-2 © 1990 Microchip Technology Inc. Quality & Reliability RELIABILITY Variation From Expectation Process Qualification Microchip works to make variation from target as small No priority is more important than the one where proc- as possible. The better process is the one that holds the esses under which Microchip products are built operate narrowest dispersion. Presently Microchip uses electri- without fail. Engineers labor under strict guidelines to cal screens to help eliminate short term failures. The ensure tests of sample lots are precise and reliable. long term program of total quality improvement empha- Exacting internal specifications demand every product sizes continuous improvement. used to qualify a process endure an accelerated life test. EPROMs, EEPROMs, and Logic Products are stressed Individuals in all departments are encouraged to ana- beyond normal use limits when undergoing high tem- lyze the methods employed at their positions and formu- perature reverse bias, operating life, and retention bake late plans to improve performance. Because a customer tests. could receive part of every mistake, definitive programs are continuously formulated at all working levels, de- Package Qualification signed to eliminate mistakes and contain error. Package qualification measures a component's ability to Outgoing Qualitv withstand thermal and mechanical shock, temperature cycles and moisture. Stresses applied to products Quality Control samples all outgoing productfrom Micro- exceed normal parts use. All products are stressed to chip final testing. high level military or industrial specifications to ensure reliability. Ongoing Sampling Of Key Reliability Variables Microchip conducts accelerated mechanical tests, oper- ating life tests and memory retention tests to explore the many ways failures might occur. Data gleaned from continuous testing is used to identify potential reliability problems and for defining action courses to improve product. Microchip's reliability knowledge is shared with customers. This data is available for use in customer's own quality and reliability improvement programs. © 1990 Microchip Technology Inc. 7-3 D5000478 - 3 Quality & Reliability RELIABILITY CONCEPTS Definition Temperature Dependency Reliability is the probability of a system or circuit per- In order to establish failure rates in a reasonable time, it forming its predefined function adequately under spe- is necessary to accelerate by higher environmental cific conditions for a given period of time. Thus. the stress levels, the incidence of the failure modes encoun- reliability of a microcircuit is a function of both stress tered under normal conditions. The accelerating pa- conditions and the time of operation. rameter most employed is junction temperature, al- The reliability (or probability of survival) range runs from though voltage and humidity, for example, are also a (no chance of survival) to 1 (no chance of failure). used. Higher temperatures are capable of accelerating Current microelectronic circuits are manufactured and many common failure modes dramatically. controlled to such tight specifications that reliability Arrhenius Equation figures for the total operation time approaching 1 (i.e., 0.9999) are common. As a result, the complement of A number of mathematical models were developed to reliability, orthe failure probability, is more often quoted quantify the relationship between accelerated failure in current literature. rates and increased junction temperatures. The one model most commonly used is known as the Arrhenius The failure rate isthe rate atwhich failures occur on units Equation. It is as follows: surviving to a specific number of hours of operation. Failure rates per unit circuit-hour would generally be very small. To avoid reporting such small numbers, AF = e', Where: failure rates have been defined for longer periods of circuit-hours. One thousand circuit-hours is defined as one circuit operating for one thousand hours, or 1,000 AF = Acceleration Factor (non-dimensional) circuits operating for 1 hour, etc. The number of circuit- hours is the number of circuits multiplied by the number e = 2.718281828 .... (non-dimensional constant) of operation hours for each circuit. EA =Activation energy level (electron volts) Two methods of failure rate statements are commonly k = Boltzmann's constant = 8.6172754* 10-5 (elec- used: tron-volts/degree Kelvin) * Percent failures per thousand circuit-hours, TN = Normal junction temperature (degrees Kelvin) (represented as A), or TA = Accelerated junction temperature (degrees Kel- * Absolute failures per 109 circuit-hours, or Fits. vin) Note that a failure rate of 0.0001 %/1 000 hours and 1 Fit are equivalent numbers. Thus, the time to achieve a certain probability of failure Bathtub Curve: Failure Rate Over Time at time T 1 under temperature TN can be compressed by the amount T 1 divided by AF at the accelerated tempera- The generic representational graph of failure rate vs. ture T A. Note that for true acceleration, the acceleration time takes the shape of a bathtub curve. (Figure 1). factor AF is independent of the probability olthe fail point The early failure rate (infant mortality) period starts from specified. initial operation (time To) and decreases as time goes on. Time Tl signifies the end of the infant mortality period. The next phase of the curve occurs between time T 1 and FIGURE 1: BATHTUB CURVE T2. This long period of time is distinguished by a nearly constant and very low failure rate. AfterT2 is passed, the failure rate starts to increase slowly. This last phase of FAILURE RATE failure rate vs. time is known as the wear-out period. \..• ... • ", TO • Tl 0001 TIME • V> T2 03000476 - 4 7-4 © 1990 Microchip Technology Inc. Quality & Reliability RELIABILITY TESTS Actiyation Energy Level Operating Life Test The dependent variable AF in the Arrhenius Equation is The Operating Life Test is run under dynamic bias con- a function of several variables. TN and TA are specified ditions where inputs are clocked like a typical application for the situation under consideration. EA is a function of and outputs are loaded in the same way as a typical ap- the particular mode of failure, and can be viewed as the plication. The test is conducted at high temperature to minimum energy required for a particular failure to occur. accelerate the failure mechanisms. The normal tem- perature for the test is + 125·C for 1 ,000 hours. Readouts Activation energy levels in semiconductors generally occur at 24, 168, 500 and 1,000 hours. Early hour are in the 0.4 - 1.1 electron-volt range. Each failure failures are usually associated with test escapes, manu- mode that is accelerated has its own activation energy facturing defects or otherwise marginal material. Longer level. Some typical examples are: term failures are typically caused by metal migration, ionic contamination, and oxide breakdowns. FAILURE MECHANISM EA(eV) High Temperature Reverse Bias (HTRBl Oxide/Dielectric Defects 0.3 Chemical, Galvanic, or Electrolytic 0.3 Microchip employs the High Temperature Reverse Bias Corrosion Silicon Defect 0.5 test on floating gate devices to accelerate any charge Electromigration 0.5 to 0.7 gain onto the floating gate due to oxide defects and to Unknown 0.7 accelerate threshold shifts due to ionic contamination. Broken Bonds 0.7 The test is conducted by putting the device into a special Lifted Die 0.7 test mode whereby 7.0 volts is applied to all poly 2 struc- Surface Related Contamination 1.0 tures with all source, drain and substrate held at ground. Induced Shifts/ Lifted The test is conducted at +150·C and is normally con- Bonds (Au-A1 Interface) 1.0 ducted for 1,000 hours with readouts at 24, 168,500 and Charge Injection 1.3 1,000 hours. Floating Gate Charge Loss 0.6 Hot Electron Trapping -.06 Retention Bake Tunnel Dielectric Breakdown 0.13 The Retention Bake Test is performed to accelerate data loss on floating gate and SNOS devices. The test A compromise value of 0.7 electron-volts is often used consists of unbiased baking at elevated temperature. when there are no specific a prior facts relating to the Usually the test lasts for 1,000 hours at + 150·C. The failure modes being accelerated. failure mechanism that is accelerated is charge leakage from a stored element. There is however, a contino us reliability program at Microchip structured to validate EA values in use and to Endurance Cycling categorize new failure mechanisms. Endurance Cycling establishes the number of times a programmable device can be programmed and erased. Normally the test is conducted at worse ~ase program- ming conditions and is followed by a retention bake. Temperature Cycle The Temperature Cycle test simulates systems that are subject to power up/power down sequences. The test is intended to reveal any deficiencies resulting from ther- mal expansion mismatch of the die/package structure. Normally the test is conducted by cycling between -65·C and +150·C in an air ambient. Duration for the test is normally 1,000 cycles for plastic and 100 cycles for ceramic packages. Endpoint criteria is both electrical and mechanical. © 1990 Microchip Technology Inc. 7-5 0500047B-5 Quality & Reliability RELIABILITY TESTS (CONT.) QUALIFICATION CATEGORIES Thermal Shock Qualification is required for new design, major changes in old design, process or material when either wafer The Thermal Shock test is similar to the Temperature fabrication or package assembly operations are af- Cycle test except that the ambient during cycling is fected. Qualification applies to the following changes: liquid-to-liquid which simulates rapid environment I. New technology changes. The mechanisms accelerated are identical to those in the Temperature Cycle test except that the II. Start-up of Fab or Assembly Thermal Shock test is a more accelerated test with tem- III. Transfer of fab or assembly to another location peratures normally + 125°C to -55°C and the number of cycles are typically 15. IV. Major process changes: A. Process scaling (shrink conversion) Autoclave· B. Change in vendor or material source The autoclave test determines the survivability of de- vices in molded plastic packages to a hot, humid envi- C. New equipment that affects reliability ronment. The test exposes unbiased, plastic packaged V. New die configurations: devices to saturated steam at 121°C and 15 pounds per A. New structures square inch (one atmosphere) gauge pressure. The 168 or more hours of testing allows moisture to penetrate to B. New packaging material the die surface. Chemical corrosion olthe die metalliza- C. Design rule changes tion may occur if ionic contaminants are present and the die surface protection is deficient or damaged. Charge D. Existing package revision (dimensional or leaks from floating gate devices usually happen before layout) a corrosion mechanism develops. QUALIFICATION PROGRAMS Temperature Humidity Test Qualifications guarantee new processes and technolo- The Temperature Humidity test determines the surviva- gies are properly evaluated for reliability performance. bility of devices in molded plastic packages functioning in a humid environment. By convention, test conditions Reliability Monitoring are 85°C and 85% relative humidity. The parts are biased to lend themselves to electrochemical corrosion. Microchip's reliability monitoring program is a compre- The duration of the test is usually 1,000 hours or more. hensive effort to measure the reliability of all process The test checks the adequacy of the die surface protec- families with strict regularity. The program strives to tion and the plastic's lack of ionic impurities. The applied improve performance through failure analysis and cor- bias may be 5 volts on alternating pins or set up for mini- rective action. Numerous screening procedures are mum power to reduce internal heating and consequent used and estimates of product life and expected failure moisture evaporation on the device. Similar to the rates are provided. Autoclave test, charge loss on floating gate devices is a Typical tests and frequency on each process family principle failure mechanism. . include: A. 168 hour operating life - weekly B. 1,000 hour operating life - annually C. Endurance test - weekly D. Data retention test - weekly E. Temperature cycle - weekly F. Temperature humidity - annually G. Long term retention - annually H. Mechanical tests - annually D8000478 - 6 7-6 © 1990 Microchip Technology Inc. Quality & Reliability APPENDIX A - IN-LINE CONTROLS CONTROLS - PLASTIC PACKAGE ASSEMBLY PROCESS REJECT SAMPLE FUNCTION MIL STEP PARAMETER PLAN ~ PROD STD LIMITS REP Die Visual Reject For 100% X 883C Inspection Any Defect Method 2010 B Wafer Saw Report Failure 1 Slice X 883C Modes Per Lot Method Visual 2010 Die Attach Machine 5/Shift X SS3C Inspection Shut Down Each Method Machine 2019 Wire Bond Report Failure 1%AQL X 883C Inspection Mode Each Half Method Machine Shut Shift 2011 D Down 2010 Post Wire Reject For 100% X SS3C Bond Visual Any Defect Method Inspect 2010 Mould Press Machine LTPD X X-Ray Visual Shut Down 15% Monitor A=O Package Report Defects LTPD X N/A Visual 100% Screen 2% For Major Defects A=O Trim & Form Report Defects LTPD X S83C Visual 100% Screen 2% Method For Major Defects A=O 2016 External Final Major Defects LTPD 2% X SS3C Visual 100% Screen A=O Method Inspection 2009 - Run Ticket Verification - Marking Legibility - Package Outline Check - Solderability Monitor - Package Form © 1990 Microchip Technology Inc. 7-7 05000478 - 7 Quality & Reliability CONTROLS· CERAMIC PACKAGE ASSEMBLY PROCESS REJECT SAMPLE FUNCTION MIL STEP PARAMETER PLAN QC. fBQQ STD LIMITS REP Die Visual Reject For 100% X 883C Inspection Any Defect Method 2010 B Wafer Saw Machine 1 Slicel X 883C Inspection Shut Down Lot Method Visual 2010 Die Attach Machine Non-destruct X 883C Inspection Shut Down Each gjyJ; Method Destruct Each Shift 2019 Wire Bond Report Failure 1%AQL X 883C Inspection Mode Each Half Method Machine Shut Shift 2011 D Down 2010 Preseal Reject For LTPD X 883C Visual Any Defect 15% Method Inspection A=O 2010 B Package Machine LTPD X 883C Seal Shut Down 15% Method Inspection A=O 1014 Fine Leak Screen 100% LTPD X 883C Test 5% Method A=O 1014 Gross Leak Screen 100% LTPD X 883C Test 5% Method A=O 2014 Lead Trim Screen 100% LTPD X 883C Visual 2% Method A=O 2016 Package Mark Machine LTPD X 883C Inspection Shut Down 10% Method A=1 2015 Environmental Machine LTPD X 883C Inspection Shut Dow 5% MEithods A=O 1010C 2001E, 1014 External Screen 100% LTPD X 883C Package 10% Method Visual A=1 2009 0500047B-8 7-8 © 1990 Microchip Technology Inc. Quality & Reliability APPENDIX B • MATERIAL CONTROLS MATERIAL CONTROLS - PLASTIC PACKAGE ASSEMBLY PROCESS REJECT SAMPLE PLAN STEP PARAMETER LIMITS Lead Frame Reject For Visual LTPD 2% Inspection Any Failure A=O Functional LTPD 10% A=O Die Mount Functional 3 Sample Runs Epoxy Inspect Test-Reject Any Failure GoldWire Reject For 2 Spools Inspection Any Defect Per Lot A=O Mould Compound Storage Temp 3 Sample Inspection SoC Runs Pellet Weight ±SGMS Functional Test Any Failure © 1990 Microchip Technology Inc. 7-9 08000478 -9 Quality & Reliability MATERIAL CONTROLS - CERAMIC PACKAGE ASSEMBLY PROCESS REJECT SAMPLE PLAN FUNCTION . MIL STEP PARAMETER QC PROD STD LIMITS REP Package Inspection Reject For LTPD % X N/A - Mechanical Visual Any Defect 10A=O - Hermeticity 15A=O - Plating Thickness 10A=O - Bake Visual 15A=O Preform Inspection Reject For LTPD % X N/A Any Defect Visual 10A=O Functional 15A=O Bond Wire Inspection Reject For 2 Spools X N/A Any Defect Per Lot A=O Lid Inspection Reject For LTPD % X N/A Any Defect Visual 7 A=O Functional 10A=O DS000478 - 10 7-10 © 1990 Microchip Technology Inc. Microchip 27Cxxx EPROM Family Plastic Package Reliability Bulletin AVERAGE OUTGOING QUALITY OF PLASTIC OVERVIEW EPROMS Microchip Technology Inc.'s Plastic EPROM products pro- Microchip Technology Inc.'s organized data on outgoing vide competitive leadership in quality and reliability, with quality of plastic EPROMs tracks parametric failures such demonstrated performance of less than 170 FITs (Failures in Time) operating life. The designed-in reliability of Microchip Technology Inc.'s Plastic EPROMs is supported 500 by ongoing reliability data monitors. This document pres- ents current data for your use - to provide you with results 400 you can count on. :! The test descriptions included in this document explain Il. Il. 300 Microchip Technology Inc.'s quality and reliability system, . .;, .~ and the EPROM product data demonstrate its results . U 200 ~ Q The customer's quality requirements are Microchip Tech- 100 nology Inc.'s top priority: Ongoing customer feedback and device performance monitoring drive Microchip Technol- ogy Inc.'s manufacturing and design process, leading to 2Q88 30S8 4088 1089 2089 3089 4Q89 continuing improvements in the long-term quality and Quarter/Year reliability of Microchip Technology Inc.'s products. PRODUCT SCOPE as speed, power and device leakage. Its present level has Subject of this Product Reliability Bulletin are the Plastic reached 200 ppm after programming, with a goal of 100 Packages of Microchip Technology Inc.'s EPROM Prod- ppm. uct Family: As plastic parts have extremely high impact resistance, 27C64-XXlYV 64K (8Kx8) CMOS EPROM visual/mechanical failure rate is expected to run half the 27C128-XXlYV 128K (16Kx8) CMOS EPROM expected failure rate of ceramic parts. 27C256-XXNY 256K (32Kx8) CMOS EPROM 27C512-XXNY 512K (64Kx8) CMOS EPROM 300 " , - - , - - - - , - - - - ; - - - - - , - - - , - - , - - - - , - - - - - - , - - - , These EPROMs are available in a range of access times designated by the XX parameter: 120, 150, 170, 200 and 250 ns. Available plastic packages are identified by the VV parameter: Plastic DIP, PLCC, and SOIC. ~ 200 Il. Il. .~ j 100 RELIABILITY DATA Microchip Technology Inc.'s EPROMs in plastic were pro- duced to offer the customer the flexibility of using the plastic device as a direct substitution for a Cerdip EPROM 1Q8B 2Q88 3088 4088 1089 2Q89 3089 40&9 in one-time-programming applications. Failure Rate Pre- QuarterNear dictions/Operating Life data for plastic EPROMs at 125°C proves to be equivalent to the data of ceramic EPROMs (refer to page 8), opening the way for package substitution for cost savings and inventory reduction. © 1989 Microchip Technology Inc. DS110088-1 7-11 Plastic EPROM Reliability Bulletin FAILURE RATE CALCULATION DEFINITIONS Extended field life is simulated by using high ambient temperature. In the semiconductor technology: high tem- AOQ (Average OUtgoing Quality); The artl.oont of d?" peratures dramatically accelerate the mechanisms lead- feetive product in a populatiOn, usually expressed In ing to component failure. Using performance results at terms of parts per million (PPM). differenttemperatures, an activation energy is determined using the Arrhenius equation. For each type of failure FIT (Failure In Time): Expresses the estimated field mechanism, the activation energy expresses the degree to failure rate in number of failures per billion power-on which temperature increases the failure rate. device-hours. 100 FITS equals 0.01% fall per 1000 device-hours. The activation energy values determined by Microchip Technology Inc. agree closely with those published in the Operating Life Test: The device is dynamically exer- literature. For complex CMOS devices in production at cised at a high ambient temperature (osually 125°C) to Microchip Technology Inc., an activation energy of 0.7 eV quickly simulate field life; Derating from high tempera- has been shown to be most representative of typical ture, an ambient use condition failure rate can be calcu- failures on operating life, while 0.6 eV is representative of lated, charge gain or loss failures. By definition, failure is Temperature cycle: The devices are exposed. to reached when a device no longer meets the data sheet severe extremes of temperator& in an alternaTing fash- specifications as a direct result of the reliability test envi- ion (-65°C for 15 minutes, 150°C for 15 minutes per ronment to which it was exposed. Common failure modes CYCle),. Package strength, bondquafily and consistency for CMOS integrated circuits are identified for each test en- of assembly process are stressed using this environ- vironment. ment EPROM products have an early failure rate (infant mortal- Biased-Humidity: Moisture and bias are used to acceI· ity) of less than 0.05% and thus, a production burn-in erate corrosion-type failures in plastic packaQes, The should not be necessary. For all products shown, the early conditions include $5·C ambient temperature .with 85% and the intermediate failure rates are combined and ex- relative humidity, Typl¢albias voltage is +5vOltsahd pressed as a single failure rate. ground on alternating pins. To establish a field failure rate, the acceleration factor is Autoclave(pressurecoolRQM: Internal leakage path High"emR~ra"re Reverse Blalil (FlTAB): A SpeCial Lifted bond/ball bond chip-out test ll'iode.whichsubjeplS the. entire EPR.QM array.to a Temperature Cycle Lifted bond/ball bond Chip-out high .voltage leVlili and is used tOm&asure charge gain Cracked die or surface cracks and/on~reshQldshifts.. . ,. .... Bond pad corrosion Biased-Humidityl Internal circuit corrosion Autoclave Inter-pin leakage Charge loss High Temp. Bake Charge loss from EPROM cell High Temp. Reverse Charge gain to EPROM cell Bias Parameter drift/shift 05110086-2 © 1989 Microchip Technology Inc. 7-12 Plastic EPROM Reliability Bulletin RELIABILITY CONTROL SYSTEM A comprehensive qualification system ensures that wafer fabrication and made after successful demonstration ensures that released products are assembly process performance is of reliability performance. This system designed, processed, packaged and stable over time. A set of baseline results in reliable field performance, tested to meet both design functional- specifications is maintained that states while enabling the smooth phase-in of ity and strict reliability objectives. Once which changes require requalification. improved designs and product capabil- qualified, a reliability monitor system These process changes can only be ity. ·.~e~~~~~~!!:~=~"'~Q~.·.·.tJ~A~L~IF~tC~~l'!!IOIII~ • • . . t::-~ __-t"''''·RElJABIt.tTYC()NTAQL Pb~tnn~~~bI~es using A88ureOl.itIOlngOuallty Level: 9~alif!~ti,,~;t~ts:. • De$igntejease dOClJment ,. OperlitingUte(12~~Carnbient ' Baseline wafer fabriClitiol1 ~ Temp,~~, .,e!i~f1$)·C process ~ . . rherrnaishock,'-65~f150'O • Baseline assemblyproc:ess ··ESD.IlI~istan(';6,±2000 V • QualifICation release ' . Latch-IJP.(OMOSdevices) • Enter device to Specification • Bia¥d'-hymidit¥;85°Cf85% System 'Autoolave(pr~ssure cooker) • Wafer-level reliability controls retention baklll •.. Pfssembly teliability~ntrols •..• ·HT~B •.... Early failure. rallll. sampling ,. Reliability m~nitoring •.. Statlslloalprop&SS coilfrplJel'ld- back •.•.• AuditspecifiClltibnS ~Analyze . telumedfailures • ReqlJalify devi(';6~ a~ nee (\J .a 'm LL 200 o Quarter/Year HIGH TEMPERATURE REVERSE BIAS (150°C/7 Volts) Microchip Technology Inc.'s EPROMs are designed for en- times is gained from the 7V level based on experimental hanced reliability by having a special test mode which data. This is calculated into the failure rates below. Fail- allows all gates on the array to be simultaneously placed ures which will be detected with this type of stress are: pin at a high voltage stress level in reference to the rest of the holes in the oxide, thin oxide layers, and charge gain circuitry. This test is used to create a high voltage stress failures. on the memory oxide. An additional acceleration of three 800 150°C HTRB derated to 55°C 600 400 200 o 3087 4087 1088 2088 3088 4088 1H89 3089 Quarter/Year © 1989 Microchip Technology Inc. D8110088-5 7-15 Plastic EPROM Reliability Bulletin MOISTURE RESISTANCE TESTING Moisture resistance evaluation of Microchip Technology and plastic to leadframe interface. The objective of this Inc. plastic EPROMs includes both autoclave testing (121°C, testing is to accelerate failure of the device as a result of 15 PSI) and temperature humidity testing (85°CI 85% rela- any moisture contamination on the surface of the die. tive humidity with bias). Moisture resistance could not be Failure mechanisms such as passivation defects (pin- obtained by the industry standard so a layered passivation holes, cracking, lifting), corrosion of bondpads or surface utilizing an Oxy-Nitride film to provide a moisture block metal through passivation defects, leakage and surface while allowing unblocked UV transmission is used. contamination as well as charge loss failures may be identified. The predominantfailure mechanism for EPROMs The autoclave accelerates any moisture penetration through is data loss. the plastic package material or around the metalleadframe AUTOCLAVE (121°C/15 PSI) Product Failures/Sample Size 24Hrs 96 Hrs 168Hrs 27C256/L 0/723 0/766 1/766' 27C64/P 1/767' 0/380 11766' 27C128/P 0/380 1/444' 21443' 27C256/P 0/444 1/450' 3/449' 27C5121P 0/450 31723' 91720' 27Cxxx/X (discounted 0/2764 0/2763 0/2758 for charge loss) , - Failures due to charge loss on EPROM cell HUMIDITY BIAS· 85°C/850/0RH Temperature humidity testing is utilized to accelerate tic package and interaction of the moisture with any con- failures through electrolytic corrosion. This is accom- taminates on the surface of the device and the applied plished by subjecting devices to a high temperature and voltage to the unit, will result in electrolytic corrosion and high humidity atmosphere with bias applied to the device. failure of the device. The combination of moisture penetration through the plas- 20 C\I 85°C/850/0 RH Bias Test M .. III J: ~ -- ::R 0 10 ~ IX: ! ::I =i u.. o 1087 2087 3087 4087 1088 2088 3088 4088 1H89 3089 QuarterlYear OS110089-6 © 1989 Microchip Technology Inc. 7-16 Plastic EPROM Reliability Bulletin DATA RETENTION BAKE Data storage in EPROMs is done by developing a This added screen for detecting infant mortality charge charge on the floating gate structure in the memory cell. loss allows Microchip Technology Inc. 's plastic product to Charge loss in this cell structure results in loss of data. duplicate the excellent data retention characteristics of the In order to detect this type of failure, devices are sub- ceramic EPROM packages. jected to a 150°C bake. This bake accelerates charge loss in the memory cell. 800 150°C Retention Bake -----=:---------- derated to 55°C 600 rn !::: Ii.. -Q) I II a: 400 I!:! ~ 'iii '"'" Ii.. 200 o 1087 2087 3087 4087 1088 2088 3088 4088 1H89 3089 Quarter/Year TEMPERATURE CYCLING (-65°C TO +1S0°C) Product Failures/ Sample Size This stress is used to evaluate the mechanical integrity of the plastic package and the assembly process. Tempera- 100 Cycles 500 Cycles ture cycling consists of cycling the devices between -65°C 27C64/L 0/34 0/0 and + 150°C atthe rate of 4 cycles per hour. This stress will 27C256/L 0/102 0/0 identify failure mechanisms such as plastic package crack- 27C64/P 0/374 0/340 ing, die attach problems, and wire bonds lifting. 27C256/P 0/68 0/68 THERMAL SHOCK (-55°C TO + 125°C) Product Failures/ Sample Size This stress is used to evaluate the mechanical integrity of 15 cycles the plastic package. It consists of rapid immersion of 27C64/P 0/170 devices into liquids of -55°C and + 125°C respectively. 27C256/L 0/34 27C256/P 0/68 © 1989 Microchip Technology Inc. 05110088-7 7-17 Plastic EPROM Reliability Bulletin PRODUCT RELIABILITY DATA 1988/89 FAILURE RATES AT 60% CONFIDENCE Reliability Test Product Failures/Sample Size at 24 Hrs 168 Hrs 500 Hrs 1000 Hrs FITs 125°C Operating Life 27C64 0/871 2/871 0/198 0/45 170 27C128 3/393 1/390 0/216 0/172 301 27C256 2/1243 2/1241 2/882 0/880 100 27C512 4/954 1/949 0/948 0/948 85 27C64 1/749 1/748 2/154 0/0 84 27C128 3/225 0/222 0/45 0/45 157 27C256 1/902 3/901 1/586 0/585 27 27C512 2/411 4/409 2/405 0/284 77 150°C Retention Bake 27C64 1/1074 0/1073 0/813 0/813 9 27C128 0/1562 0/1562 0/1562 0/1562 4 27C256 1/1670 2/1669 1/1509 0/1508 29 27C512 2/477 2/475 0/397 0/397 108 Failure Modes Operating Life: (5) Metal Migration, (10) Oxide Breakdown, (2) Poly Shorts HT Reverse Bias: (12) Oxide Breakdown, (8) Charge Gain Retention Bake: (9) Charge Loss 05110088-8 © 1989 Microchip Technology Inc. 7-18 Microchip SECTION 8 PACKAGING Packaging Outlines and Dimensions .......................................................................................... 8- 1 © 1990 Microchip Technology Inc. DS00018C 8-i Microchip DS00018C © 1990 Microchip Technology 8-ii Microchip PACKAGING Commercial/Industrial Outlines and Parameters COMMERCIAL AND INDUSTRIAL PARTS Part Number Suffix Designations: xxxxxxxxxx -xx X I XX xxx IL ROM Code or Special Requirements L Case Outline P = Plastic Dual In-Line J = Cerdip (with window if EPROM) - all product except Microcontrollers D = Ceramic Side Brazed Dual In-Line L = PLCC (Plastic Leaded Chip Carrier) W = Die in Wafer Form S = Die in Waffle Pack K = LCC (Ceramic Leadless Chip Carrier, not thermally enhanced) SP = Skinny Plastic Dual In-Line SJ = Skinny Cerdip SN = Small Outline Narrow Plastic Gull Wing (150 mil Body) SM = Small Outline Medium Plastic Gull Wing (207 mil Body) SO = Small Outline Wide Plastic Gull Wing (300 mil Body) CB = COB (Chip-On-Board) IC = IC Card JW = Cerdip, windowed - for Microcontrollers only Process Temperature Blank = O°C to +70°C I = -40'C to +85°C H = -40°C to + 110°C E = -40°C to + 125°C 1..--- Speed (EPROM / High Frequency (DSP) Crystal Designation (PIC) Density EEPROM) -35 = 35 ns Blank = 20.5 MHz LP = 41ls -40 = 40 ns -14 = 14.4 MHz RC = 1 I!S -45 = 45 ns -25 = 25.6 MHz XT = IllS -55 = 55 ns -32 = 32.8 MHz HS = 200 ns -70 = 70 ns -90 = 90 ns -10 = 100 ns -12 = 120 ns -15 = 150 ns -17 = 170 ns -20 = 200 ns -25 = 250 ns ....- - - - - Device Type (Up To 10 Digits) © 1990 Microchip Technology Inc. DS00049A 8-1 Microchip DS00049A 8-2 © 1990 Microchip Technology Inc. Microchip PACKAGING TABLE OF CONTENTS SECTION 1: HERMETIC A. Ceramic Side Brazed Dual In-line Package ("0" Case Outlines) Symbol List for Side Brazed Package Parameters ................................................................ 8-1-1 8-Lead, Side Brazed, 300 mil ................................................................................................8-1-2 14-Lead, Side Brazed, 300 mil .............................................................................................. 8-1-3 16-Lead, Side Brazed, 300 mil ..............................................................................................8-1-4 18.. Lead Side Brazed, 300 mil ...............................................................................................8-1-5 20-Lead Side Brazed, 300 mil ............................................................................................... 8-1-6 22-Lead, Side Brazed, 400 mil ..............................................................................................8-1-7 24-Lead, Side Brazed, 600 mil ..............................................................................................8-1-8 24-Lead, Side Brazed, 600 mil, Window ............................................................................... 8-1-9 28-Lead, Side Brazed, 600 mil ..............................................................................................8-1-10 28-Lead, Side Brazed, 600 mil, Window ............................................................................... 8-1-11 40-Lead, Side Brazed, 600 mil ..............................................................................................8-1-12 40-Lead, Side Brazed, 600 mil, Window ............................................................................... 8-1-13 48-Lead, Side Brazed, 600 mil .............................................................................................. 8-1-14 B. Ceramic Cerdip Dualln-iine Package ("J, JW, SJ" Case Outlines) Symbol List for Cerdip Dual In-Line Package Parameters .................................................... 8-1-15 8-Lead, Cerdip, 300 mil .........................................................................................................8-1-16 16-Lead, Cerdip, 300 mil ....................................................................................................... 8-1-17 18-Lead, Cerdip, 300 mil ....................................................................................................... 8-1-18 18-Lead, Cerdip, 300 mil, Window ........................................................................................ 8-1-19 20-Lead, Cerdip, 300 mil ....................................................................................................... 8-1-20 22-Lead, Cerdip, 400 mil ....................................................................................................... 8-1-21 24-Lead, Cerdip, 300 mil ....................................................................................................... 8·1-22 24·Lead, Cerdip, 600 mil .......................................................................................................8-1-23 24-Lead, Cerdip, 300 mil, Window ........................................................................................ 8-1·24 24-Lead, Cerdip, 600 mil, Window ........................................................................................ 8-1-25 28.Lead, Cerdip, 600 mil ....................................................................................................... 8-1-26 28·Lead, Cerdip, 600 mil, Window ........................................................................................ 8-1-27 40-Lead, Cerdip, 600 mil ....................................................................................................... 8-1-28 40·Lead, Cerdip, 600 mil, Window ........................................................................................8-1-29 C. Ceramic Flatpack Symbol List for Ceramic Flatpack Package Parameters ....................................................... 8-1·30 28·Lead .................................................................................................................................8-1-31 O. Ceramic Leadless Chip Carrier (Surface Mount Package, "K" Case Outlines) Symbol List for Ceramic Leadless Chip Carrier Package Parameters .................................. 8-1-32 28·Lead (Square) .................................................................................................................. 8-1-33 28-Lead, Window (Square) ....................................................................................................8-1-34 32·Lead (Rectangle) ..............................................................................................................8-1-35 32·Lead, FRIT (Rectangle) .................................................................................................... 8-1-36 32·Lead, Window (Rectangle) ............................................................................................... 8-1-37 32·Lead, FRIT Window (Rectangle) ...................................................................................... 8-1-38 44-Lead (Square) .................... :............................................................................................. 8-1·39 © 1990 Microchip Technology Inc. 8-3 DS00049A PACKAGING Microchip TABLE OF CONTENTS (Cont'd) SECTION 2: PLASTIC A. Plastic Dual In-Line Package ("P, SP" Case Outlines) Symbol List for Plastic Dual In-Line Package Parameters .................................................... 8-2-1 8-Lead, 300 mil ......................................................................................................................8-2-2 14-Lead, 300 mil ....................................................................................................................8-2-3 16-Lead, 300 mil ....................................................................................................................8-2-4 18-Lead, 300 mil ....................................................................................................................8-2-5 20-Lead, 300 mil ....................................................................................................................8-2-6 22-Lead, 400 mil ....................................................................................................................8-2-7 24-Lead, 300 mil ....................................................................................................................8-2-8 24-Lead, 600 mil ....................................................................................................................8-2-9 28-Lead, 600 mil ....................................................................................................................8-2-10 40-Lead, 600 mil ....................................................................................................................8-2-11 48-Lead, 600 mil ....................................................................................................................8-2-12 B. Plastic Leaded Chip Carrier (Surface Mount, "L" Case Outlines) Symbol List for Plastic Leaded Chip Carrier Package Parameters ....................................... 8-2-13 20-Lead (Square) ..................................................................................................................8-2-14 28-Lead (Square) ..................................................................................................................8-2-15 32-Lead (Retangle) ................................................................................................................8-2-16 44-Lead (Square) ..................................................................................................................8-2-17 C. Plastic Small Outline (SOIC) (Surface Mount, "SN, SM, SO" Case Outlines) Symbol List for Plastic Small Outline Package Parameters .................................................. 8-2-18 8-Lead, 150 mil (Body) ..........................................................................................................8-2-19 8-Lead, 200 mil (Body) .........................................................................................................:8-2-20 14-Lead, 150 mil (Body) ........................................................................................................8-2-21 14-Lead, 300 mil (Body) ........................................................................................................8-2-22 16-Lead, 150 mil (Body) ........................................................................................................8-2-23 16-Lead, 300 mil (Body) ........................................................................................................8-2-24 18-Lead, 300 mil (Body) ........................................................................................................8-2-25 20-Lead, 300 mil (Body) ........................................................................................................8-2-26 24-Lead, 300 mil (Body) ........................................................................................................8-2-27 28-Lead, 300 mil (Body) ........................................................................................................8-2-28 DS00049A 8-4 © 1990 Microchip Technoiogy Inc. Microchip Packaging Diagrams and Parameters Ceramic Side Brazed Dual In-line Family Symbol List for Ceramic Side Brazed Dual In-line Package Parameters Symbol Description of Parameters a. Angular spacing between min and max lead positions measured at the guage plane A Distance between seating plane to highest point of body (lid) A1 Distance between seating plane and base plane A2 Distance from base plane to highest point of body (lid) A3 Base body thickness B Width of terminal leads B1 Width of terminal lead shoulder which locate seating plane (standoff geometry optional) C Thickness of terminal leads 0 Largest overall package parameter of length 01 Body length parameter - end lead center to end lead center E Largest overall package width parameter outside of lead E1 Body width parameters not including leads eA Linear spacing of true minimum lead position center line to center line es Linear spacing between true lead position outside of lead to outside of lead e1 Linear spacing between center lines of body standoffs (terminal leads) L Distance from seating plane to end of lead N Total number of potentially useable lead positions S Distance from true position center line of No.1 lead to the extremity of the body S1 Distance from other end lead edge positions to the extremity of the body Notes: 1. Controlling parameter: inches. 2. Parameter "e," ("e") is non-cumulative. 3. Seating plane (standoff) is defined by board hole size. 4. Parameter "B," is nominal. © 1990 Microchip Technology Inc. 8-1-1 DS00049A ~® Microchip Packaging Diagrams and Parameters Package Type: 8-Lead Ceramic Side Brazed Dual In-line (.300 mil) OIII m N E1 E I a_I PinNo.1_ Indicator 1 /I ~" ~ eA eB---~ Area Base s-t° Sl_·I+- . 1 J j Plane"-- Seating - - I_ _ _ I_ =!Tm~ II I I I I :' Plane L ·.I:j~~" 01-1 I'=-f A, k A" Package Group: Ceramic Side Brazed Dual In·line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a cr 10° cr 10° A 3.302 3.937 0.130 0.155 A1 0.635 1.143 0.025 0.045 A2. 2.032 2.794 0.080 0.110 A3 1.778 2.413 0.070 0.095 B 0.4064 0.508 0.016 0.020 B1 1.3716 1.3716 Typical 0.054 0.054 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical 0 13.0048 13.4112 0.512 0.528 01 7.4168 7.8232 Reference 0.292 0.308 Reference E 7.5692 8.2296 0.298 0.324 E1 7.112 7.620 0.280 0.300 e1 2.540 2.540 Typical 0.100 0.100 Typical 6'\ 7.620 7.620 Reference 0.300 0.300 Reference eB 7.620 9.652 0.300 0.380 L 3.302 3.810 0.130 .150 N 8 8 8 8 S 2.540 3.048 0.100 0.120 81 0.127 - .005 , - DS00049A 8-1-2 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 14-Lead Ceramic Side Brazed Dual In-line (.300 mil) N 11 E1 E Pin No. 1 _ Indicator "'!>r-Tr-"'--rr-"TT"*-rI~ I * I 1/ I~" eA eB----tl~ Area ::-::::=o-=-:::.~ Seating I_~ I~I Plane 11=r A1 A3 A A2 Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.302 4.064 0.130 0.160 A1 0.635 1.143 0.025 0.045 A2 2.032 2.794 0.080 0.110 A3 1.778 2.413 0.070 0.095 B 0.4064 0.508 0.Q16 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical 1-. C 0.2032 0.3048 Typical 0.008 0.012 Typical 0 18.796 19.2278 0.740 0.757 01 15.0368 15.4432 Reference 0.592 0.608 Reference E 7.620 8.382 0.300 0.330 E1 7.0612 7.5692 0.278 0.298 e1 2.3622 2.7432 Typical 0.093 0.108 Typical eA 7.366 7.874 Reference 0.290 0.310 Reference eB 7.620 9.652 0.300 0.380 L 3.175 4.191 0.125 0.165 N 14 14 14 14 S - 2.4892 - 0.098 Sl 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-1-3 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 16-Lead Ceramic Side Brazed Dual In-line (.300 mil) N Seating Plane Package Group: Ceramic Side Brazed Dual In·line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.302 4.064 0.130 0.160 A1 0.635 1.143 0.025 0.045 A2 2.032 2.794 0.080 0.110 A3 1.778 2.413 0.070 0.095 B 0.4064 0.508 0.016 0.020 B1 1.3716 1.3716 Typical 0.054 0.054 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 19.812 20.574 0.780 0.810 D1 17.653 17.907 Reference 0.695 0.705 Reference E 7.620 8.382 0.300 0.330 E1 7.1628 7.4676 0.282 0.294 e1 2.413 2.667 Typical 0.095 0.105 Typical eA 7.366 7.874 Reference 0.290 0.310 Reference es 7.620 9.652 0.300 0.380 L 3.175 4.191 0.125 0.165 N 16 16 16 16 S - 2.032 - 0.080 S1 0.127 - 0.005 - DS00049A © 1990 Microchip Technology Inc. 8-1-4 Microchip Packaging Diagrams and Parameters Package Type: 18-Lead Ceramic Side Brazed Dual In-line (.300 mil) N a_I: /I \\ ~::~ Pin No. 1 _ Indicator "'I"''l't-TT"""TT""TT""TT"'"T"T"-rr'''''''''''' Area ::===D==::'~ Seating Plane -:-ffi =r ~ e1 I... A1 A3 A A2. D1 -I Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.302 4.064 0.130 0.160 A1 0.635 1.143 0.025 0.045 A2 2.032 2.794 0.080 0.110 A3 1.778 2.413 0.070 0.095 B 0.4064 0.508 0.016 0.020 B1 1.3716 1.3716 Typical 0.054 0.054 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 22.352 23.114 0.880 0.910 D1 20.193 20.447 Reference 0.795 0.805 Reference E 7.620 8.382 0.300 0.330 E1 7.0612 7.5692 0.278 0.298 e1 2.413 2.667 Typical 0.095 0.105 Typical eA 7.366 7.874 Reference 0.290 0.310 Reference es 7.620 9.652 0.300 0.380 L 3.175 4.191 0.125 0.165 N 18 18 18 18 S - 2.4892 - 0.098 Sl 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-1-5 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 20-Lead Ceramic Side Brazed Dual In-line (.300 mil) N \\ f'.. - eA - - J eB~ _"I Area Seating Plane 1 + - - - - - - - D 1 - - - - - - .-. 1 Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 0.508 - 0.200 A1 0.381 1.778 0.015 0.070 A2 - - - - A3 3.81 4.445 0.150 0.175 B 0.355 0.584 0.014 0.023 91 1.27 1.27 Typical 0.050 0.050 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 23.876 24.892 0.940 0.980 D1 22.86 22.86 Reference 0.900 0.900 Reference E 7.62 8.382 0.300 0.330 E1 5.588 7.874 0.220 0.310 e1 2.54 2.54 Typical 0.100 0.100 Typical eA 7.62 7.62 Reference 0.300 0.300 Reference eB 7.62 10.16 0.300 00400 L 3.175 3.810 0.125 0.150 N 20 20 20 20 S 0.508 1.397 0.020 0.055 S1 0.381 1.270 0.015 0.050 DS00049A 8-1-6 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 22-Lead Ceramic Side Brazed Dual In-line (.400 mil) DO N TIE1 E a~1I I Pin No.1 Indicator ----- .1 ~ II I.... " eA eB---~ Area 8~:r-- D~~.~ ~------D1 -------~~~I I e1 I ...=r-hru A1 A3 A A2 Package Group: Ceramic Side Brazed Dualln·line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 2.667 4.064 0.105 0.160 A1 0.7112 1.2192 0.028 0.048 A2 2.032 3.302 0.080 0.130 A3 1.778 2.921 0.070 0.115 B 0.4318 0.5842 0.017 0.023 B1 1.016 1.016 Typical 0.040 0.040 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 27.1526 27.8638 1.069 1.091 D1 25.2968 25.6032 Reference 0.992 1.008 Reference E 10.160 10.922 0.400 0.430 E1 9.7282 9.9822 0.383 0.393 e1 2.3368 2.7432 Typical 0.092 0.108 Typical eA 9.906 10.414 Reference 0.390 0.410 Reference eB 10.160 12.192 0.400 0.480 L 3;175 4.191 0.125 0.165 N 22 22 22 22 8 - 2.032 - 0.080 81 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-1-7 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 24-Lead Ceramic Side Brazed Dual In-line (.600 mil) DO..ll N TI E1 E a--II I ~ II Pin No. 1 Indicator ---- [~.. eA e B - -____ ~ Area S~:t= D~~.9rW ~------D1 ------------.~~I e1 I"=f" I trm A1 A3 A A2 Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.445 0.120 0.175 A1 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.778 2.540 0.070 0.100 B 0.4064 0.508 0.016 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 30.1752 30.7848 1.188 1.212 D1 27.7368 28.1432 Reference 1.092 1.108 Reference E 14.986 16.002 0.590 0.630 E1 14.7828 14.9352 0.582 0.588 e1 2.3368 2.7432 Typical 0.092 0.108 Typical eA 14.986 15.748 Reference 0.590 0.620 Reference eB 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 24 24 24 24 S - 2.540 - 0.100 S1 0.127 - 0.005 - DS00049A 8-1-8 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 24-Lead Ceramic Side Brazed Dual In-line with Window (.600 mil) N Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.445 0.120 0.175 A1 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.778 2.540 0.070 0.100 B 0.4064 0.508 0.016 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 30.1752 30.7848 1.188 1.212 D1 27.7368 28.1432 Reference 1.092 1.108 Reference E 14.986 16.002 0.590 0.630 E1 14.7828 14.9352 0.582 0.588 e1 2.3368 2.7432 Typical 0.092 0.108 Typical eA 14.986 15.748 Reference 0.590 0.620 Reference eB 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 24 24 24 24 5 - 2.540 - 0.100 5'1 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-1-9 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Ceramic Side Brazed Dual In-line (.600 mil) I a--II II f~ ~ eA eB----I--l Area ~=-=~D;::==:;.~ ------I~~I I e1 I ..=r±ffif A1 A3 A A2 Package Group: Ceramic Side Brazed Dualln·line (eER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.064 0.120 0.160 A1 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.778 2.540 0.070 0.100 B 0.4572 0.508 0.018 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 35.2044 35.9156 1.386 1.414 D1 32.8168 33.2232 Reference 1.292 1.308 Reference E 14.986 16.002 0.590 0.630 E1 14.7828 15.1892 0.582 0.598 e1 2.4892 2.5908 Typical 0.098 0.102 Typical eA 14.986 15.494 Reference 0.590 0.610 Reference eB 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 28 28 28 28 S - 2.540 - 0.100 S1 0.127 - 0.005 - DS00049A 8-1-10 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Ceramic Side Brazed Dual In-line with Window (.600 mil) N Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.064 0.120 0.160 A1 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.778 2.540 0.070 0.100 B 0.4572 0.508 0.018 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 35.2044 35.9156 1.386 1.414 D1 32.8168 33.2232 Reference 1.292 1.308 Reference E 14.986 16.002 0.590 0.630 E1 14.7828 15.1892 0.582 0.598 e1 2.4892 2.5908 Typical 0.098 0.102 Typical eA 14.986 15.494 Reference 0.590 0.610 Reference eB 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 28 28 28 28 8 - 2.540 - 0.100 81 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-1-11 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 40-Lead Ceramic Side Brazed Dual In-line (.600 mil) DO..llTI N I E1 E a--II ~ II i~" Pin No. 1 Indicator - - eA eB----t Area s--i:r= o~~~~ Hof------- 01 - - - - - - - l... ~1 I e1 I ..=-r- ±Tm A1 A3 A A2 Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.445 0.120 0.175 A1 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.829 2.235 .072 .088 8 0.4064 0.508 0.016 0.020 81 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical 0 50.546 51.308 1.990 2.020 01 48.056 48.463 Reference 1.892 1.908 Reference E 15.240 16.256 0.600 0.640 E1 14.478 15.748 0.570 0.620 e1 2.3368 2.7432 Typical 0.092 0.108 Typical eA 15.240 15.240 Reference 0.600 0.600 Reference aB 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 40 40 40 40 S - 2.4892 - 0.098 S1 0.127 - 0.005 - DS00049A 8-1-12 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 40-Lead Ceramic Side Brazed Dual In-line with Window (.600 mil) N I a~1 /I c-- \\ Area ~::~ ===~D;;:==::.~ ~----------D1------------~~~1 I e1 I.. =rtrm A1 A3 A A2 Package Group: Ceramic Side Brazed Dual In·line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.445 0.120 0.175 A1 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.829 2.235 .072 .088 B 0.4064 0.508 0.016 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical D 50.546 51.308 1.990 2.020 D1 48.056 48.463 Reference 1.892 1.908 Reference E 15.240 16.256 0.600 0.640 E1 14.478 15.748 0.570 0.620 e1 2.3368 2.7432 Typical 0.092 0.108 Typical eA 15.240 15.240 Reference 0.600 0.600 Reference eB 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 40 40 40 40 S - 2.4892 - 0.098 S1 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-1-13 DS00049A ~® Microchip Packaging Diagrams and Parameters Package Type: 48-Lead Ceramic Side Brazed Dual In-line (.600 mil) I a----II /I f~" eA es--_~ Area o~~~~ ~----- 01 - - - - - - - I...~I I e1 I ±Tm --==r Ai A3 A A2 Package Group: Ceramic Side Brazed Dual In-line (CER) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A 3.048 4.445 0.120 0.175 Ai 1.016 1.524 0.040 0.060 A2 2.032 2.921 0.080 0.115 A3 1.829 2.235 0.072 0.088 B 0.4064 0.508 0.Q16 0.020 B1 1.270 1.270 Typical 0.050 0.050 Typical C 0.2286 0.3048 Typical 0.009 0.012 Typical 0 60.3504 61.5696 2.376 2.424 01 58.2168 58.6232 Reference 2.292 2.308 Reference E 15.240 16.256 0.600 0.640 E1 14.478 15.748 0.570 0.620 e1 2.3368 2.7432 Typical 0.092 0.108 Typical eA 15.240 15.290 Reference 0.600 0.600 Reference es 14.986 16.256 0.590 0.640 L 3.302 4.064 0.130 0.160 N 48 48 48 48 8 - 2.4892 - 0.100 81 0.127 - 0.005 - DS00049A 8-1-14 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Ceramic Cerdip Dual In-line Family Symbol List for Ceramic Cerdip Dual In-line Package Parameters Symbol Description of Parameters a Angular spacing between min and max lead positions measured at the guage plane A Distance between seating plane to highest point of body (lid) A1 Distance between seating plane and base plane A2 Distance from base plane to highest point of body (lid) A3 Base body thickness B Width of terminal leads B1 Width of terminal lead shoulder which locate seating plane (standoff geometry optional) C Thickness of terminal leads D Largest overall package parameter of length D1 Body length parameter - end lead center to end lead center E Largest overall package width parameter outside of lead E1 Body width parameters not including leads eA Linear spacing of true minimum lead position center line to center line eB Linear spacing between true lead position outside of lead to outside of lead e1 Linear spacinQ between center lines of body standoffs (terminal leads) L Distance from seating plane to end of lead N Total number of potentially useable lead positions S Distance from true position center line of No.1 lead to the extremity of the body S1 Distance from other end lead edge positions to the extremity of the body Notes: 1. Controlling parameter: inches. 2. Parameter "e," ("e") is non-cumulative. 3. Seating plane (standoff) is defined by board hole size. 4. Parameter "B," is nominal. © 1990 Microchip Technology Inc. DS00049A 8-1-15 Microchip Packaging Diagrams and Parameters Package Type: 8-Lead Cerdip Dual In-line (.300 mil) O N iTIE1 E a~: !-,:-----..,,,...--,-I 1/ Pin No. 1__ IJ I Indicator ~ Area !J Base Plane"-- S - r i = D Sl---:l_ Seating _ _ I _ _ _ 1_ Plane /1111 iTn L J :' :I:~~" I.=-f 1 A, '" A D1-1 Package Group: Ceramic Cerdl~ Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.080 - 0.200 A1 0.381 1.524 0.015 0.060 A2 - - Ref. A3 - - Ref. A3 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 9.398 10.287 0.370 0.405 D1 7.620 7.620 Reference 0.300 0.300 Reference E 7.620 8.255 0.300 0.325 E1 5.588 7.874 0.220 0.310 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 7.366 8.128 Referemce 0.290 0.320 Reference 8S 7.620 10.160 0.300 0.400 L 3.175 3.810 0.125 0.150 N 8 8 8 8 S 5.08 1.397 0.020 0.055 Sl 0.381 1.270 0.Q15 0.050 DS00049A 8-1-16 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 16-Lead Ceramic Cerdip Dual In-line (.300 mil) N ITT E1 E ex-" /I 11-------1 \\ Pin No. 1 _ Indicator "'~TT"TT""TT""TT"TT""TT"-r~ I! I ~:~ Area D--J~~ JJ i-t-----------h ; Seating Plane -:-±Trr -- =r e1 I... A1 A3 A ~----- D1 -----I~~I Package Group: Ceramic Cerdip Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes ex 0° 10° 0° 10° A 4.191 5.080 0.165 0.200 A1 0.381 1.524 0.015 0.060 A2 - - Ref. A3 - - Ref. A3 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 19.050 20.320 0.750 0.800 01 17.780 17.780 Reference 0.700 0.700 Reference E 7.493 8.255 0.295 0.325 E1 5.588 7.874 0.220 0.310 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 7.366 8.128 Reference 0.290 0.320 Reference eB 7.62 10.160 0.300 0.400 L 3.175 3.810 0.125 0.150 N 16 16 16 16 S 5.08 1.397 0.020 0.055 S1 0.381 1.270 0.D15 0.050 © 1990 Microchip Technology Inc. 8-1-17 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 18-Lead Ceramic Cerdip Dual In-line (.300 mil) N iTT E1 E a~1 /I ll------I Indicator ..,...,.~ J ! Pin No. 1 _ ...Ih-,..,....,......TT""TT"..,............ Area D-_.~ ~J i-+--------+;_I _~ -- e I I.. =sTTT =r A1 A3 A ~------D1------·~1 Package Group: Ceramic Cerdip Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.080 - 0.200 A1 0.381 1.524 0.015 0.070 A2 - - Ref. A3 - - Ref. A3 Aa 3.180 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 22.352 23.622 0.880 0.930 D1 20.320 20.320 Reference 0.800 0.800 Reference E 7.620 8.382 0.300 0.330 E1 5.588 7.874 0.220 0.310 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 7.366 8.128 Reference 0.290 0.320 Reference eB 7.62 10.160 0.300 0.400 L 3.175 3.810 0.125 0.150 N 18 18 18 18 8 5.08 1.397 0.020 0.055 81 0.381 1.270 0.015 0.050 DS00049A 8-1-18 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 18-Lead Cerdip Dual In-line with Window (.300 mil) N iTT E1 E a---." ll---...,,---U' PinNo.l~ ....... IJ I "" Indicator Area ...,.-JL:::h.L TT""TT""TT""TT"""TT""TT"....... -I Seating - Plane A1 A3 A A2 ~-----D1-----~ Package Group: Ceramic Cerdip Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.080 - 0.200 A1 0.381 1.524 0.015 0.070 A2 3.810 4.699 0.150 0.185 A3 3.180 4.445 0.150 0.175 8 0.356 0.584 0.014 0.023 81 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.Q15 Typical D 22.352 23.622 0.880 0.930 D1 20.320 20.320 Reference 0.800 0.800 Reference E 7.620 8.382 0.300 0.330 E1 5.588 7.874 0.220 0.310 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 7.366 8.128 Reference 0.290 0.320 Reference eB 7.62 10.160 0.300 0.400 L 3.175 3.810 0.125 0.150 N 18 18 18 18 S 5.08 1.397 0.020 0.055 Sl 0.381 1.270 0.015 0.050 © 1990 Microchip Technology Inc. 8-1-19 DS00049A ~. Microchip Packaging Diagrams and Parameters Package Type: 20-Lead Ceramic Dual In-line (.300 mil) Package Group: Ceramic Cerdip Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes IX 0° 10° 0° 10° A - .508 - 0.200 A1 0.381 1.778 0.015 0.070 A2 - - Ref. A3 - - Ref. A3 A3 3.81 4.445 0.150 0.175 8 0.355 0.584 0.014 0.023 81 1.27 typ 1.27 typ Typical 0.050 typ 0.050typ Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 23.876 24.892 0.940 0.980 D1 22.86 22.86 Reference 0.900 0.900 Reference E 7.62 8.382 0.300 0.330 E1 5.588 7.874 0.220 0.310 a1 2.54 2.54 Typical 0.100 0.100 Typical eA 7.62 7.62 Reference 0.300 0.300 Reference aB 7.62 10.16 0.300 0.400 L 3.175 3.81 0.125 0.150 N 20 20 20 20 8 0.508 1.397 0.020 0.055 81 0.381 1.27 0.015 0.050 DS00049A 8-1-20 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 22-Lead Ceramic Cerdip Dual In-line (.400 mil) N r\\lTI a-." /I ll----.,.....--U ~~i~a~~~---~~~ Area ~::-----I~ 8 ~I-I"I-------- 0 i-f------"""'" .--------+-1 --t---J"----l~ Ht------ 01 - - - - -__~ Package Group: Ceramic Cerdip Dualln·line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.715 - 0.225 A1 0.381 1.524 0.015 0.070 A2 - - Ref. A3 - - Ref. A3 A3 3.180 4.445 0.150 0.175 8 0.356 0.584 0.014 0.023 81 1.270 1.651 Typical 0.050 0.065 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical 0 26.670 27.940 1.050 1.100 01 25.400 25.400 Reference 1.000 1.000 Reference E 10.160 10.922 0.400 0.430 E1 8.890 10.414 0.350 0.410 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 9.906 10.668 Reference 0.390 0.420 Reference eB 10.160 12.700 0.400 0.500 L 3.175 3.810 0.125 0.150 N 18 18 22 22 8 - 1.270 - 0.050 81 0.127 1.270 0.005 0.050 © 1990 Microchip Technology Inc. 8-1-21 DSO0049A Microchip Packaging Diagrams and Parameters Package Type: 24-Lead Ceramic Cerdip Dual In-line (.300 mil) N :;~;-Dull ll-------i 0;~1 /I Area S ~I"""I-------- 0 ...--1----------. .---------__r, __ +-"':""'...l-- !*------- 01 ------~ Package Group: Ceramic Cerdil Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes 0; O· 10· O· 10· A - 5.715 - 0.225 A1 0.381 1.905 0.015 0.075 A2 - - Ref. A3 - - Ref. A3 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical 0 31.115 32.385 1.225 1.275 01 27.940 27.940 Reference 1.100 1.100 Reference E 7.620 8.382 0.300 0.330 E1 5.588 7.894 0.220 0.310 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 7.366 8.128 Reference 0.290 0.320 Reference es 7.62 11.43 0.300 0.450 L 3.175 3.810 0.125 0.150 N 24 24 24 24 S 1.016 2.286 0.040 0.090 S1 0.381 1.778 0.015 0.070 DS00049A 8-1-22 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 24-Lead Ceramic Cerdip Dual In-line with Window (.300 mil) N ll---~-_i IX-'" "" 11 Area ~------D1 -----~~ Package Group: Ceramic Cerdip Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes IX 0° 10° 0° 10° A - 5.715 - 0.225 A1 0.381 1.905 0.015 0.075 A2 3.810 4.699 0.150 0.185 A3 3.810 4.445 0.150 0.175 8 0.356 0.584 0.014 0.023 81 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 31.115 32.385 1.225 1.275 D1 27.940 27.940 Reference 1.100 1.100 Reference E 7.62 8.382 0.300 0.330 E1 5.588 7.874 0.220 0.310 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 7.366 8.128 Reference 0.290 0.320 Reference eB 7.62 11.43 0.300 0.450 L 3.175 3.810 0.125 0.150 N 24 24 24 24 S 1.016 2.286 0.040 0.090 S1 0.381 1.778 0.015 0.070 © 1990 Microchip Technology Inc. 8-1-23 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 24-Lead Ceramic Cerdip Dual In-line (.600 mil) OOTT N Pin No.1 Indicator - *I -=:!:::.l.. Area 5 ~I-I~I-------- 0 ri------"""\ t"-------t-, --t-L--l- \1It------- 01 ------~ Package Group: Ceramic Cerdi Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a. 0° 10° 0° 10° A - 5.715 - 0.225 A1 0.381 1.524 0.015 0.075 A2 - - Ref. A3 - - Ref. A3 A3 3.810 4.445 0.150 0.175 6 0.356 0.584 0.014 0.023 61 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical 0 31.115 32.385 1.225 1.275 01 27.940 27.940 Reference 1.100 1.100 Reference E 15.240 15.875 0.600 0.625 E1 12.954 15.240 0.510 0.600 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 14.986 15.748 Reference 0.590 0.620 Reference eB 15.240 18.034 0.600 0.710 L 3.175 3.810 0.125 0.150 N 24 24 24 24 5 1.016 2.286 0.040 0.090 51 0.127 1.778 0.015 0.070 DSOOO49A 8-1-24 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 24-Lead Ceramic Cerdip Dual In-line with Window (.600 mil) N I 1----::---1 a-II II " Area I· ~-----------D1 ---------~~ Package Group: Ceramic Cerdi) Oualln-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.715 - 0.225 A1 0.381 1.524 0.015 0.075 A2 3.810 4.699 0.150 0.185 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 31.115 32.385 1.225 1.275 D1 27.940 27.940 Reference 1.100 1.100 Reference E 15.240 15.875 0.600 0.625 E1 12.954 15.240 0.510 0.600 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 14.986 15.748 Reference 0.590 0.620 Reference es 15.240 18.034 0.600 0.710 L 3.175 3.810 0.125 0.150 N 24 24 24 24 S 1.016 2.286 0.040 0.090 S1 0.127 1.778 0.015 0.070 © 1990 Microchip Technology Inc. 8-1-25 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Ceramic Cerdip Dual In-line (.600 mil) N P;oN01 Indicator - Area DuITM 8 ~......- - - - - - - - D a-II /I II-----~ r - t - - - - - - " " " " \ . - - - - - - - - h --t--L...-L- ~------ D1 ------~ Package Group: Ceramic Cerdip Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.461 - 0.215 A1 0.381 1.524 0.015 0.060 A2 - - Ref. A3 - - Ref. A3 A3 3.810 4.445 0.150 0.175 8 0.356 0.584 0.014 0.023 81 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 36.195 36.195 1.425 1.475 D1 33.020 33.020 Reference 1.300 1.300 Reference E 15.240 15875 0.600 0.625 E1 12.954 15.240 0.510 0.600 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 14.986 8.128 Reference 0.590 0.620 Reference eB 15.240 18.034 0.600 0.710 L 3.175 3.810 0.125 0.150 N 28 28 28 28 8 1.016 2.286 0.040 0.090 81 0.381 1.778 0.015 0.070 DS00049A 8-1-26 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Ceramic Cerdip Dual In-line with Window (.600 mil) N I 1----:::---1 a-II II /I Area ~------ D1 -----~~ Package Group: Ceramic CerdiJ Oualln-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.461 - 0.215 A1 0.381 1.524 0.015 0.060 A2 3.810 4.699 0.150 0.185 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 36.195 36.195 1.425 1.475 D1 33.020 33.020 Reference 1.300 1.300 Reference E 15.240 15875 0.600 0.625 E1 12.954 15.240 0.510 0.600 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 14.986 8.128 Reference 0.590 0.620 Reference es 15.240 18.034 0.600 0.710 L 3.175 3.810 0.125 0.150 N 28 28 28 28 8 1.016 2.286 0.040 0.090 81 0.381 1.778 I 0.015 0.070 © 1990 Microchip Technology Inc. 8-1-27 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 40-Lead Ceramic Cerdip Dual In-line (.600 mil) N D~TI I 1----:::----1 ex~1 /I ~~i~~~:- Area ~~ ld ~::----J S ~"'''I-------- 0 rl------~ r - - - - - - - i - " 1 --1-''--'- ~----------01------------~ Package Group: Ceramic Cerdip Dualln·line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes ex 0° 10° 0° 10° A 4.318 5.715 0.170 0.225 A1 0.381 1.778 0.015 0.070 A2 - - Ref. A3 - - Ref. A3 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical 0 51.435 52.705 2.025 2.075 01 48.260 48.260 Reference 1.900 1.900 Reference E 15.240 15875 0.600 0.625 E1 12.954 15.240 0.510 0.600 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 14.986 16.002 Reference 0.590 0.630 Reference eB 15.240 18.034 0.600 0.710 L 3.175 3.810 0.125 0.150 N 40 40 40 40 S 1.016 2.286 0.040 0.090 S1 0.381 1.778 0.015 0.070 DSOOO49A 8+28 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 40-Lead Ceramic Cerdip Dual In-line with Window (.600 mil) N ll---....,,---I 0.-11 II " I_ Area ~------ D1 ----------~~ Package Group: Ceramic Cerdi Dual In-line (COP) Millimeters Inches Symbol Min Max Notes Min Max Notes 0. 0° 10° 0° 10° A 4.318 5.715 0.170 0.225 A1 0.381 1.778 0.Q15 0.070 A2 3.810 4.699 Ref. A3 0.150 0.185 Ref. A3 A3 3.810 4.445 0.150 0.175 B 0.356 0.584 0.014 0.023 B1 1.270 1.651 Typical 0.050 0.065 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 51.435 52.705 2.025 2.075 D1 48.260 48.260 Reference 1.900 1.900 Reference E 15.240 15875 0.600 0.625 E1 12.954 15.240 0.510 0.600 e1 2.540 2.540 Typical 0.100 0.100 Typical eA 14.986 16.002 Reference 0.590 0.630 Reference eB 15.240 18.034 0.600 0.710 L 3.175 3.810 0.125 0.150 N 40 40 40 40 8 1.016 2.286 0.040 0.090 81 0.381 1.778 0.015 0.070 © 1990 Microchip Technology Inc. DS00049A 8-1-29 Microchip Packaging Diagrams and Dimensions Ceramic Flatpack Family Symbol List for Ceramic Flatpack Package Parameters Symbol Description of Parameters A Distance between seating plane to highest pOint of body (lid) B Width of terminal leads C Thickness of terminal leads D Largest overall package parameter of length D1 Body length parameter - end lead center to end lead center E Largest overall package width parameter outside of lead E2. E3 Body width parameters not including leads e Linear spacing between center lines of body standoffs (terminal leads) H Other package width parameter L Distance from package body to end of lead N Total number of potentially useable lead positions Q Distance between seating plane and lead S Distance from true position center line of No.1 lead to the extremity of the body S1 Distance from other end lead edge positions to the extremity of the body Notes: 1. Controlling parameter: inches. 2. Parameter "el" ("e") is non-cumulative. 3. Seating plane (standoff) is defined by board hole size. 4. Parameters "B" and "C" are nominal. DS00049A 8-1-30 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Package Type: 28-Lead Ceramic Flatpack Terminal N -- PinNo.1~ Indicator 1 1 1 -- 1 !+- 81 I-- 8 ---1 B r- 1 1 -Ier- r- 1 I" 01 --I 0 Package Group: Ceramic Flatpack (CFPK) Millimeters Inches Symbol Min Max Notes Min Max Notes A 2.286 3.302 0.090 0.130 B 0.381 0.4826 0.015 0.019 Typical C 0.0762 0.1524 0.003 0.006 Typical 0 17.780 18.796 0.700 0.740 01 16.307 16.713 0.642 0.658 Reference E 9.652 10.668 0.380 0.420 E2 9.756 - 0.180 - E3 0.762 - 0.030 - e 1.270 1.270 0.050 0.050 Typical H 22.352 29.464 0.880 1.160 L 6.350 9.398 0.250 0.370 N 28 28 28 28 Q 0.660 1.143 0.026 0.045 8 0.889 1.016 0.035 0.040 81 0.254 0.381 0.010 0.015 © 1990 Microchip Technology Inc. 8-1-31 DS00049A Microchip Packaging Diagrams and Parameters Ceramic Leadless Chip Carrier Family Symbol List for Ceramic Leadless Chip Carrier Package Parameters Symbol Description of Parameters A Thickness of base body A1 Total package height A2 Distance from base body to highest point of body (lid) 8 Width of terminal lead pin D Largest overall package dimension of length D1, E1 80dy length dimension - end lead center to end lead center E Largest overall package dimension of width e Linear spacing e1 Linear spacing between edges of true lead positions (of corner terminal lead pads) lead corner to lead corner h Depth of major index feature j Width of minor index feature L Distance from package edge to end of effective pad N Total number of potentially useable lead positions Notes: 1. Controlling dimension: inches. 2. Dimension "e;' ("e") is non-cumulative. 3. Seating plane (standoff) is defined by PC board hole size. 4. Dimension "8" is nominal. 5. Corner configuration optional. DS00049A 8-1-32 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Ceramic Leadless Chip Carrier N '-------'-- Pin No.1 Indicator (size and type of indicator may vary) ----ll .~ Ir . j x 45° Index Corner ! l 1'1 I J Seating Plane f f A1 A A2 Package Group: Ceramic Leadless Chip Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.397 2.159 0.055 0.085 A1 1.651 2.540 0.065 0.100 A2 0.254 0.381 0.010 0.015 B 0.5588 0.7112 Typical 0.022 0.028 Typical 0 11.2268 11.684 0.442 0.460 01 7.620 7.620 Reference 0.300 0.300 Reference E 11.2268 11.684 0.442 0.460 E1 7.620 7.620 Reference 0.300 0.300 Reference e 1.270 1.270 Typical 0.050 0.050 Typical e1 0.38 - Typical 0.015 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 0.51 0.51 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 28 28 28 28 © 1990 Microchip Technology Inc. 8-1-33 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Ceramic Leadless Chip Carrier with Window N Pin No.1 Indicator (size and type of indicator may vary) --II. . -I r j x45' Index Corner Seating Plane --'-t--.t-. . . . . . 1'1 ..........1_ _--1...1.....1'.....1--11 F A1 A A2 Package Group: Ceramic Leadless Chip Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.397 2.159 0.055 0.085 A1 2.286 3.302 0.090 0.100 A2 0.889 1.143 0.035 0.045 B 0.5588 0.7112 Typical 0.022 0.028 Typical 0 11.2268 11.684 0.442 0.460 01 7.620 7.620 Reference 0.300 0.300 Reference E 11.2268 11.684 0.442 0.460 E1 7.620 7.620 Reference 0.300 0.300 Reference e 1.270 1.270 Typical 0.050 0.050 Typical e1 0.38 - Typical 0.015 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 0.51 0.51 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 28 28 28 28 DS00049A 8-1-34 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 32-Lead Ceramic Leadless Chip Carrier N Pin No.1 Indicator (size and type of indicator may vary) j x 45° Index Corner i ~ i Seating Plane tt A1 A 1'1 I I 1'1 IF A2 Package Group: Ceramic Leadless Chi!! Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.397 2.159 0.055 0.085 A1 2.54 3.048 0.100 0.120 A2 0.254 0.381 0.010 0.015 B 0.635 0.7112 Typical 0.025 0.026 Typical D 13.716 14.224 0.540 0.560 D1 9.98 10.34 Reference 0.393 0.407 Reference E 11.2268 11.684 0.442 0.458 E1 7.442 7.80 Reference 0.293 0.307 Reference e 1.270 1.270 Typical 0.050 0.050 Typical - e1 0.38 - Typical 0.015 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 0.51 0.51 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 32 32 32 32 © 1990 Microchip Technology Inc. DS00049A 8-1-35 Microchip Packaging Diagrams and Parameters Package Type: 32-Lead Ceramic Leadless Chip Carrier - FRIT N E h'~O~~ Pin No. 1 Indicator (size and type of indicator may vary) j x 45° Index Corner ! i i Seating Plane -t-r--""""t- I I L......J....IL. . OII_ _.l-IIL....OI-J1 F A1 A ~ Package Group: Ceramic Leadless Chip Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.397 2.159 0.055 0.085 A1 2.286 3.302 0.090 0.130 A2 0.635 1.143 0.025 0.045 B 0.5588 0.7112 Typical 0.022 0.028 Typical 0 13.716 14.224 0.540 0.560 01 7.620 7.620 Reference 0.300 0.300 Reference E 11.2268 11.6332 0.442 0.458 E1 10.160 10.160 Reference 0.400 0.400 Reference e 1.270 1.270 Typical 0.050 0.050 Typical 91 0.38 - Typical 0.015 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 0.51 0.51 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 32 32 32 32 DS00049A 8-1-36 © 1990 Microchip Technology Inc. ~® Microchip Packaging Diagrams and Parameters Package Type: 32·Lead Ceramic Leadless Chip Carrier with Window t:D ar., I _...... I f \ N E \ / Pin No.1 Indicator = I '- ..-' I (size and type of indicator may vary) • mill / j x 45° Index Corner Seating Plane """""'j.----jr-- L...-.L......L-'-_ _ _..L-lC-.l--' A1 A A2 Package Group: Ceramic Leadless Chip Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.397 2.159 0.055 0.085 A1 2.286 3.302 0.090 0.130 A2 0.889 1.143 0.035 0.045 B 0.5588 0.7112 Typical 0.022 0.028 Typical D 13.716 14.224 0.540 0.560 D1 7.620 7.620 Reference 0.300 0.300 Reference E 11.2268 11.6332 0.442 0.458 E1 10.160 10.160 Reference 0.400 0.400 Reference e 1.270 1.270 Typical 0.050 0.050 Typical 81 0.38 - Typical 0.015 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 1.02 1.02 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 32 32 32 32 © 1990 Microchip Technology Inc. 8-1-37 DS00049A ~® Microchip Packaging Diagrams and Parameters Package Type: 32-Lead Ceramic Leadless Chip Carrier with FRIT Window .... -. ( \ N \ I Pin No.1 Indicator (size and type of indicator may vary) I~'--------' j x 45° Index Corner Seating Plane ---;j.-----jr-- III I 1111=l== I-.L....J.-L.._ _ _...L...J'-'---' A1 A k Package Group: Ceramic Leadless Chip Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.397 2.159 0.055 0.085 A1 2.286 3.302 0.090 0.130 A2 0.889 1.143 0.035 0.045 B 0.5588 0.7112 Typical 0.022 0.028 Typical D 13.716 14.224 0.540 0.560 D1 7.620 7.620 Reference 0.300 0.300 Reference E 11.2268 11.6332 0.442 0.458 E1 10.160 10.160 Reference 0.400 0.400 Reference e 1.270 1.270 Typical 0.050 0.050 Typical e1 0.38 - Typical 0.015 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 0.51 0.51 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 32 32 32 32 DS00049A 8-1-38 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters LD - Package Type: 44-Lead Ceramic Leadless Chip Carrier II : • E L ~~~._J-- N Pin No.1 Indicator (size and type of II IIIIII! IIIIII! • -----' L indicator may vary) ~ Ir j x 450 Index Corner l J Seating Plane rII A1 1 1 A Package Group: Ceramic Leadless Chip Carrier (LCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 1.37 2.082 0.054 0.082 A1 1.778 3.048 0.070 0.120 A2 0.254 1.143 0.010 0.045 B 0.584 0.7112 Typical 0.023 0.028 Typical D 16.256 16.8148 0.640 0.662 D1 12.700 12.700 Reference 0.500 0.500 Reference E 16.256 16.8148 0.640 0.662 E1 12.700 12.700 Reference 0.500 0.500 Reference e 1.270 1.270 Typical 0.050 0.050 Typical e1 0.38 - Typical 0.Q15 - Typical h 1.02 1.02 Reference 0.040 0.040 Reference j 0.51 0.51 Reference 0.020 0.020 Reference L 1.143 1.397 Typical 0.045 0.055 Typical N 44 44 44 44 © 1990 Microchip Technology Inc. 8-1-39 DS00049A Microchip Packaging Diagrams and Parameters DS00049A 8-1-40 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Plastic Dual In-line Family Symbol List for Plastic Dual In-line Package Parameters Symbol Description of Parameters a Angular spacing between min and max lead positions measured at the guage plane A Distance between seating plane to highest point of body A1 Distance between seating plane and base plane A2 Base body thickness B Width of terminal leads B1 Width of terminal lead shoulder which locate seating plane (standoff geometry optional) C Thickness of terminal leads D Largest overall package parameter of length D1 Body length parameter - end lead center to end lead center E Largest overall package width parameter outside of lead E1 Body width parameters not including leads eA Linear spacing of true minimum lead poSition center line to center line es Linear spacing between true lead position outside of lead to outside of lead e1 Linear spacing between center lines of body standoffs (terminal leads) L Distance from seating plane to end of lead N Total number of potentially useable lead positions S Distance from true position center line of No.1 lead to the extremity of the body S1 Distance from other end lead edge positions to the extremity of the body Notes: 1. Controlling parameter: inches. 2. Parameter "e,· ("e") is non-cumulative. 3. Seating plane (standoff) is defined by board hole size. 4. Parameter "B, " is nominal. 5. Details of pin No. 1 identifier are optional. © 1990 Microchip Technology Inc. 8-2-1 DS00049A Microchip Packaging Diagrams and Dimensions Package Type: a-Lead Plastic Dual In-line (.300 mil) a~: ~----~~il II \\ ~::~ Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 00 100 00 100 A - 4.064 - 0.160 A1 0.381 - 0.015 - A2 3.048 3.810 0.120 0.150 B 0.356 0.559 0.014 0.022 B1 1.524 1.524 Typical 0.060 0.060 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical D 9.144 10.922 0.360 0.430 D1 7.620 7.620 Reference 0.300 0.300 Reference E 7.620 8.255 0.300 0.325 E1 6.096 7.112 0.240 0.280 81 2.489 2.591 Typical 0.098 0.102 Typical 8A 7.620 7.620 Reference 0.300 0.300 Reference 8S 7.874 9.906 0.310 0.390 L 3.048 3.556 0.120 0.140 N 8 8 8 8 5 0.889 - 0.035 - 51 0.127 - 0.005 - DS00049A 8-2-2 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Package Type: 14-Lead Plastic Dual In-line (.300 mil) N TI a~1 II------l !I /I j:~ eA es----..J Pin No. 1__ Indicator .1h-TT""TT""TT""TT""TT...r Area Packaae Group: Plastic Dual In-line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 4.064 - 0.160 A1 0.381 - 0.Q15 - A2 3.048 3.810 0.120 0.150 B 0,356 0.559 0.014 0.022 B1 1.524 1.524 Typical 0.060 0.060 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical 0 18.415 19.431 0.725 0.765 01 15.240 15.240 Reference 0.600 0.600 Reference E 7.620 8.255 0.300 0.325 E1 6.096 7.112 0.240 0.280 e1 2.4892 2.591 Typical 0.098 0.102 Typical eA 7.620 7.620 Reference 0.300 0.300 Reference es 7.874 9.906 0.310 0.390 L 3.048 3.556 0.120 0.140 N 14 14 14 14 8 0.889 - 0.035 - 81 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-2-3 DS00049A Microchip Packaging Diagrams and Dimensions Package Type: 16-Lead Plastic Dual In-line (.300 mil) N iTT E1 E a-" 1/ 11---,.....---1 \\ Pin No. 1__ Indicator 1I!IIh-,..,....,.,........,.......,.......,.......,.......J J J ~::~ Area D-~.~ JJ e1 :-~ =r I.. A1 A2. A ~----D1--------··1 Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 4.064 - 0.160 A1 0.381 - 0.015 - A2. 3.048 3.810 0.120 0.150 B 0.356 0.559 0.014 0.022 B1 1.524 1.524 Typical 0.060 0.060 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical D 18.923 19.939 0.745 0.785 D1 17.780 17.780 Reference 0.700 0.700 Reference E 7.620 8.255 0.300 0.325 E1 6.096 7.112 0.240 0.280 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 7.620 7.620 Reference 0.300 0.300 Reference eB 7.874 9.906 0.310 0.390 L 3.0480 3.556 0.120 0.140 N 16 16 16 16 5 0.889 - 0.035 - 51 0.127 - 0.005 - DS00049A © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Package Type: 18-Lead Plastic Dual In-line (.300 mil) N fTIE1 E u-" 1/ I 1--------1 PinNo.1~ ....1-T-TT""TT""TT""TT"..,.,.....,..,.....,........,...!.::hL Indicator IJ I " I~ ~ :: '" ~1 - - - - - l.. Area 1+------ D1 - - - - - - Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes u 0° 100 00 100 A - 4.064 - 0.160 A1 0.381 - 0.Q15 - A2 3.048 3.810 0.120 0.150 8 0.356 0.559 0.014 0.022 81 1.524 1.524 Typical 0.060 0.060 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 22.479 23.495 0.885 0.925 D1 20.320 20.32 Reference 0.800 0.800 Reference E 7.620 8.255 0.300 0.325 E1 6.096 7.112 0.240 0.280 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 7.620 7.620 Reference 0.300 0.300 Reference ee 7.874 9.906 0.310 0.390 L 3.048 3.556 0.120 0.140 N 18 18 18 18 8 0.889 - 0.035 - 81 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-2-5 DS00049A ~. Microchip Packaging Diagrams and Dimensions Package Type: 20-Lead Plastic Dual In-line (.300 mil) Area I4-----D-_~~ ~~ _I_+lr- 1 4 - - - - - - - D 1 - - - - - -•• 1 =r=sTTT ----+ e1 I.. 1 A1 A2 A Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 4.064 - 0.160 A1 0.381 - 0.015 - A2 3.048 3.810 0.120 0.150 B 0.355 0.558 0.014 0.022 B1 1.524 1.524 Typical 0.060 0.060 Typical C 0.203 0.381 Typical 0.008 0.Q15 Typical D 24.892 26.924 0.980 1.060 D1 22.86 22.86 Reference 0.900 0.900 Reference E 7.620 8.255 0.300 0.325 E1 6.096 7.112 0.240 0.280 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 7.620 7.620 Reference 0.300 0.300 Reference eB 7.874 9.906 0.310 0.390 L 3.048 3.556 0.120 0.140 N 20 20 20 20 5 0.889 - 0.035 - 51 0.127 - 0.005 - DS00049A 8-2-6 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Package Type: 22-Lead Plastic Dual In-line (.400 mil) N P;ON01_uuF..l:.i Indicator Area ([--/I /I f~ I 1--------1 1 eA eB------I~ ~----- D1 - - - - - - . . - 1 Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes ([ 0° 10° 0° 10° A - .180 - .180 A1 0.381 - 0.015 - A2 3.175 3.810 0.125 0.150 8 0.356 0.559 0.014 0.022 81 1.524 1.524 Typical 0.060 0.060 Typical C 0.203 0.381 Typical 0.008 0.015 Typical D 26.670 28.448 1.050 1.120 D1 25.400 25.400 Reference 1.000 1.000 Reference E 9.906 10.795 0.390 0.425 E1 8.382 9.398 0.330 0.370 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 10.160 10.160 Reference 0.400 0.400 Reference eB 10.160 12.192 0.400 0.480 L 3.048 3.556 0.120 0.140 N 22 22 22 22 8 0.889 - 0.035 - 81 0.127 - 0.005 - © 1990 Microchip Technology Inc. 8-2-7 DS00049A Microchip Packaging Diagrams and Dimensions Package Type: 24-Lead Plastic Dual In-line (.600 mil) N l\\lTI a~n n 11-------1 c--~.~- \\ ~~i~a~~:--~~M Area 1'.. :: - - - - I..~\\I S ~"",,.I-------- D r - i - - - - - - - - - . . .---------+_. --+--'--'- ~-----D1------~ Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.080 - 0.200 A1 0.508 - 0.020 - A2 3.175 4.064 0.125 0.160 8 0.356 0.559 0.014 0.022 81 1.270 1.270 Typical 0.050 0.050 Typical C 0.2032 0.381 Typical 0.008 0.Q15 Typical D 30.353 32.385 1.195 1.275 D1 27.940 27.940 Reference 1.100 1.100 Reference E 15.240 15.875 0.600 0.625 E1 12.827 14.224 0.505 0.560 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 15.240 15.240 Reference 0.600 0.600 Reference eB 15.494 17.272 0.610 0.680 L 3.048 3.556 0.120 0.140 N 24 24 24 24 S 0.889 - 0.035 - S1 0.127 - 0.005 - DS00049A 8-2-8 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Package Type: 24-Lead Plastic Dual In-line (.300 mil) N l 1-----:---1 a.----II r \\1F II .'""01_ Indicator Area ~~11 ~----------01-----------~ Package Group: Plastic Dual In-line Package (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a. 0° 10° 0° 10° A - 4.064 - 0.160 A1 0.381 - 0.015 - A2 3.048 3.810 0.120 0.150 B 0.356 0.559 0.014 0.022 B1 1.524 1.524 Typical 0.060 0.060 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical 0 31.242 32.258 1.230 1.270 01 27.940 27.940 Reference 1.100 1.100 Reference E 7.620 8.255 0.300 0.325 E1 6.096 7.112 0.240 0.280 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 7.620 7.620 Reference 0.300 0.300 Reference eB 7.874 9.906 0.310 0.390 L 3.048 3.556 0.120 0.140 N 24 24 24 24 S 0.889 - 0.035 - S1 0.381 - 0.015 - © 1990 Microchip Technology Inc. 8-2-9 DS00049A Microchip Packaging Diagrams and Dimensions Package Type: 28-Lead Dual In-line Plastic (.600 mil) I ~--~---I a--II C'-~I .......- II \\ i~" :: ~\ I - - - - - I.. ~-----01------~ Package Group: Plastic Dual-In-Llne (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0 0 10 0 0 0 10 0 A - 5.080 - 0.200 A1 0.508 - 0.020 - A2 3.175 4.064 0.125 0.160 B 0.356 0.559 0.014 0.022 B1 1.270 1.778 Typical 0.050 0.070 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical 0 35.560 37.084 1.400 1.460 01 33.020 33.020 Reference 1.300 1.300 Reference E 15.240 15.875 0.600 0.625 E1 12.827 13.970 0.505 0.550 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 15.240 15.240 Reference 0.600 0.600 Reference es 15.240 17.272 0.600 0.680 L 2.921 3.683 0.115 0.145 N 28 28 28 28 S 0.889 - 0.035 - 81 0.508 - 0.020 - DS00049A 8-2-10 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Dimensions Package Type: 40-Lead Plastic Dual In-line (.600 mil) N ~"~.1 ll------l a--II l\\lr Indicator--~~M II " I.... :: ----I..-.JI Area !*------ 01 - - - - - - - . 1 Package Group: Plastic Dualln·line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.080 - 0.200 A1 0.381 - 0.015 - A2 3.175 4.064 0.125 0.160 B 0.356 0.559 0.014 0.022 B1 1.270 1.778 Typical 0.050 0.070 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical 0 51.181 52.197 2.015 2.055 01 48.260 48.260 Reference 1.900 1.900 Reference E 15.240 15.875 0.600 0.625 E1 13.462 13.970 0.530 0.550 e1 2.489 2.591 Typical 0.098 0.102 Typical eA 15.240 15.240 Reference 0.600 0.600 Reference eB 15.240 17.272 0.600 0.680 L 2.921 3.683 0.115 0.145 N 40 40 40 40 S 1.270 - 0.050 - Sl 0.508 - 0.020 - © 1990 Microchip Technology lric. 8-2-11 DS00049A Microchip Packaging Diagrams and Dimensions Package Type: 48-Lead Plastic Dual In-line (.600 mil) N A"~.1 QuIT I 1---,.------1 ~ a~n C---'.I~- n \\ Area ~ f~" :: ---·~\\I Indicator - - 8 ~""""I-------- D 1 - 1 - - - - - - - , . ~-------+-i -~f___l--l- 1*----- D1 -------.1 Package Group: Plastic Dual In-line (PLA) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 10° 0° 10° A - 5.080 - 0.200 A1 0.381 - 0.015 - A2. 3.175 4.064 0.125 0.160 8 0.356 0.559 0.014 0.022 81 1.270 1.270 Typical 0.050 0.050 Typical C 0.2032 0.381 Typical 0.008 0.015 Typical D 61.468 62.230 2.420 2.450 D1 58.420 58.420 Reference 2.300 2.300 Reference E 15.240 15.875 0.600 0.625 E1 13.716 14.224 0.540 0.560 81 2.489 2.591 Typical 0.098 0.102 Typical eA 15.240 15.240 Reference 0.600 0.600 Reference es 15.240 17.272 0.600 0.680 L 2.921 3.683 0.115 0.145 N 48 48 48 48 8 1.270 - 0.050 - 81 0.508 - 0.020 - DS00049A 8-2-12 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Plastic Leaded Chip Carrier Family Symbol List for Plastic Leaded Chip Carrier Package Parameters Symbol Description of Parameters A Distance from seating plane to highest point of body A1 Distance from lead shoulder to seating plane CP Seating plane coplanarity DIE Outside dimension D1/E1 Plastic body dimension D2/E2 Footprint D3/E3 Footprint LT Lead th ickness N Total number of potentially useable lead positions Nd Total number of leads on short side (rectangular) Ne Total number of leads on long side (rectangular) Notes: All dimensions and tolerances conform to ANSI Y14.5M-1982. ffi Location to datumsQgand IJ3Jto be determined at plane Q±] . ffi Datum planet8jlocated at top of mold parting A All dimensions and tolerances include lead trim offset and lead finish. line and coincident with top of lead. Where lead exits plastic body. Lit These two dimensions determine maxi- & DatumslQ;E!andlF-Glto be determined where center leads exit plastic body at datum plane[8j . mum angle of the lead for certain socket applications. If unit is intended to be socketed, it is advisable to review these dimensions with the socket supplier. To be determined at seating planel::Qj. Transition is optional. & Controlling dimension: inches. Plastic body details between leads are optional. & (.007) Sum of dam bar protrusions to be 0.17 max per lead. Dimensions Dl and El do not include mold protrusion. Allowable mold protrusion is .254 & Feature is not required, but is optional at manufacturer's discretion. mm/.Ol0 in. per side. Dimensions D and E include mold mismatch and are dtermined at parting line. & Square: Details of pin 1 identifier are optional but must be located within one of the two zones indicated. Rectangle: Details of pin 1 identifier are optional but must be located within zone indicated. If the number of terminals on a side is odd, terminal 1 is the center terminal. ©1990 Microchip Technology Inc. 8-2-13 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 20-Lead Plastic Leaded Chip Carrier (Square) ~ :::::::~ ) ..... i ~ ~ T M.Qa "'-'=-->L..:'-=-.,--+-,~i--L"'T'" .020 1.651 .065 R 1.14/0.64 i 0.254 Max .010 ~.. :: -~ ~.508 ~ MOllil& ---c 1.651 .065 R 1.14/0.64 .0451.025 .045/.025 Package Group: Plastic Leaded Chip Carrier (PLCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 4.191 4.572 0.165 0.180 A1 2.413 2.921 0.095 0.115 D 9.779 10.033 0.385 0.395 D1 8.890 9.042 0.350 0.356 D2 7.493 8.255 0.295 0.325 D3 5.080 5.080 Reference 0.200 0.200 .Reference E 9.779 10.033 0.385 0.395 E1 8.890 9.042 0.350 0.356 E2 7.493 8.255 0.295 0.325 E3 5.080 5.080 Reference 0.200 0.200 Reference N 20 20 20 20 CP - 0.1016 - 0.004 LT 0.203 0.381 0.008 0.015 DS00049A 8-2-14 ©1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Plastic Leaded Chip Carrier (Square) D rl.I~~~BI~~ m .. D, .... II .. ~ Innnn L : : ~:::::::~....: ~fo ~ ~ L..JL..JL..JL..JL..JL..JL..J tJ' /3'.,.fT1-1 1-1 I· ~6b?,7 ®I AI ® Ell F-G OOi~500 ~... ~~rm& 1.651 :: --r:. 1.651 .065 .065 R 1.14/0.64 R 1.14/0.64 .0451.025 .0451.025 Package Group: Plastic Leaded Chip Carrier (PLCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 4.191 4.572 0.165 0.180 A1 2.413 2.921 0.095 0.115 D 12.319 12.573 0.485 0.495 D1 11.430 11.582 0.450 0.456 02 10.414 10.922 0.410 0.430 03 7.620 7.620 Reference 0.300 0.300 Reference E 12.319 12.573 0.485 0.495 E1 11.430 11.582 0.450 0.456 E2 10.414 10.922 0.410 0.430 E3 7.620 7.620 Reference 0.300 0.300 Reference N 28 28 28 28 . CP - 0.1016 - 0.004 LT 0.203 0.381 0.008 0.015 ©1990 Microchip Technology Inc. 8-2-15 DS00049A ~~~~=~~ .. .. -.--.~- Microchip Packaging· Diagrams and Parameters Package Type: 32-Lead Plastic Leaded Chip Carrier (Rectangle) N. 1.14 .045 R 1.0210.76 i*. 0.12 .005 ,, ax & 0.51 ~MOOOA --r.1.:!!.. .045 R 1.0210.76 .0401.030 .040/.030 Package Group: Plastic Leaded Chip Carrier (PLCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 3.048 3.556 0.120 0.140 A1 1.905 2.413 0.075 0.095 D 12.319 12.573 0.485 0.495 D1 11.35 11.506 0.447 0.453 D2 4.826 5.334 0.190 0.210 D3 7.620 7.620 Reference 0.300 0.300 Reference E 14.859 15.113 0.585 0.595 E1 13.893 14.046 0.547 0.553 E2 6.096 6.858 0.240 0.270 E3 10.160 10.160 Reference 0.400 0.400 Reference N 32 32 32 32 Nd 7 7 7 7 Ne 9 9 9 9 CP - 0.1016 - 0.004 LT 0.203 0.381 0.008 0.015 DSOOO49A 8-2-16 ©1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 44-Lead Plastic Leaded Chip Carrier (Square) 0 r'.I~~BI~~ 01 .. ....11.. r:o:JA\. ,i-inMnnM .: :::::::~.l t~ E1 E .~ ~ .1"3\.1- _~II- 1$1~6h~7®IAIF-G® 1.651 .065 R 1.14/0.64 i 0.254 Max .010 ~... :: -~ ~.508 ~MOQD& -r,1.651 .065 R 1.14/0.64 .0451.025 .045/.025 Package Group: Plastic Leaded Chip Carrier (PLCC) Millimeters Inches Symbol Min Max Notes Min Max Notes A 4.191 4.572 0.165 0.180 A1 2.413 2.921 0.095 0.115 0 17.399 17.653 0.685 0.695 01 16.510 16.662 0.650 0.656 02 15.494 16.002 0.610 0.630 03 12.700 12.700 Reference 0.500 0.500 Reference E 17.399 17.653 0.685 0.695 E1 16.510 16.662 0.650 0.656 E2 15.494 16.002 0.610 0.630 E3 12.700 12.700 Reference 0.500 0.500 Reference N 44 44 44 44 CP - 0.1016 - 0.004 LT 0.203 0.381 0.008 0.Q15 ©1990 Microchip Technology Inc. 8-2-17 OS00049A Microchip Packaging Diagrams and Parameters Plastic Small Outline Family Symbol List for Small Outline Package Parameters Symbol Description of Parameters IX Angular spaciing between min and max lead positions measured at the guage plane A Distance between seating plane to highest point of body A1 Distance between seating plane and base plane B Width of terminals C Thickness of terminals 0 Largest overall package parameter of length E Largest overall package width parameter not including leads e Linear spacing of true minimum lead position center line to center line H Largest overall package dimension of width L Length of terminal for soldering to a substrate N Total number of potentially useable lead postions CP Seating plane coplanarity Notes: 1. Controlling parameter: inches. 2. All packages are gull wing lead form. 3. "0" and "E" are reference datums and do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .15 mm (.0086 inches). 4. The chamfer on the body is optional. If it is not present, a visual index feature must be located within the crosshatched area to indicate pin 1 position. 5. Terminal numbers are shown for reference. DSOO049A 8-2-18 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 8-Lead Plastic Surface Mount (SOle - Narrow, 150 mil Body) Index Area Chamfer ~~D-1 CP t II - :i===r1=~- Seating Plane i Base Plane A1 A Package Group: Plastic sOle (SN) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 8° 0° 8° A 1.3716 1.7272 0.054 0.068 A1 0.1016 0.2489 0.004 0.0098 B 0.3556 0.4826 0.014 0.019 C 0.1905 0.2489 0.0075 0.0098 0 4.8006 4.9784 0.189 0.196 E 3.810 3.9878 0.150 0.157 e 1.270 1.270 Typical 0.050 0.050 Typical H 5.8166 6.1976 0.229 0.244 h 0.381 0.762 0.015 0.030 L 0.508 1.016 0.020 0.040 N 8 8 8 8 CP - 0.1016 I - 0.004 © 1990 Microchip Technology Inc. 8-2-19 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 8-Lead Plastic Surface Mount (SOle - Medium, 200 mil Body) Index Area Chamfer h x 45° -L~D-1 CP Seating - *t=t;==~-Base t Plane Plane A1 A Package Group: Plastic SOIC (SM) Millimeters Inches Symbol Min Max Notes Min Max Notes IX 0° 8° 0° 80 A 1.778 2.032 0.070 0.080 A1 0.1016 0.2489 0.004 0.0098 B 0.3556 0.4826 0.014 0.019 C 0.1905 0.2489 0.0075 0.0098 D 5.08 5.334 0.200 0.210 E 5.156 5.410 0.203 0.213 e 1.270 1.270 Typical 0.050 0.050 Typical H 7.62 8.382 0.300 0.330 h 0.381 0.762 0.015 0.030 L 0.508 1.016 0.020 0.040 N 14 14 14 14 CP - 0.1016 - 0.004 DSOo049A 8-2-20 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 14-Lead Plastic Surface Mount (SOle - Narrow, 150 mil Body) -+I e ~ I I Index Area Chamfer h x 45° -.LI~ 0 ·1 CP Sealing - =i=t==i1r===~ t - Base Plane Plane Al A Package Group: Plastic sOle (SN) Millimeters Inches Symbol Min Max Notes Min Max Notes n 0° 8° 0° 8° A 1.3716 1.7272 0.054 0.068 Al 0.1016 0.2489 0.004 0.0098 B 0.3556 0.4826 0.014 0.019 C 0.1905 0.2489 0.0075 0.0098 0 5.08 5.334 0.387 0.393 E 3.810 3.9878 0.150 0.157 e 1.270 1.270 Typical 0.050 0.050 Typical H 5.8166 6.1976 0.229 0.244 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.016 0.045 N 14 14 16 16 CP - 0.1016 - 0.004 © 1990 Microchip Technology Inc. 8-2-21 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 14-Lead Plastic Surface Mount (SOle - Wide. 300 mil Body) -I e l- I I Index Area Chamfer h x 45° --.LI~ D ~I Plane CP Seating - t==;1r====~ - =i=+ Base Plane A1 A Package Group: Plastic SOIC (SO) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 8° 0° 8° A 2.3622 2.6416 0.093 0.104 A1 0.1016 0.2997 0.004 0.0118 B 0.3556 0.4826 0.014 0.019 C 0.2413 0.3175 0.0095 0.0125 D 0.8763 9.271 0.345 0.365 E 7.4168 7.5946 0.292 0.299 e 1.270 1.270 Typical 0.050 0.050 Typical H 10.0076 10.6426 0.394 0.419 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.016 0.045 N 14 14 14 14 cp - 0.1016 - 0.004 DS00049A 8-2-22 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 16-Lead Plastic Surface Mount (SOle - Narrow, 150 mil Body) -I e l- I I Index Area Chamfer h x 45° ~~ D ~I Plane CP ;::t Seating - - t ==;:::=~q;;J 1 - Base Plane Al A PackaQe Group: Plastic sOle (SN) Millimeters Inches Symbol Min Max Notes Min Max Notes CL 0° 8° 0° 8° A 1.3716 1.7272 0.054 0.068 Al 0.1016 0.2489 0.004 0.0098 B 0.3556 0.4826 0.014 0.019 C 0.1905 0.2489 0.0075 0.0098 D 5.08 5.334 0.387 0.393 E 3.810 3.9878 0.150 0.157 e 1.270 1.270 Typical 0.050 0.050 Typical H 5.8166 6.1976 0.229 0.244 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.016 0.045 N 14 14 16 16 CP - 0.1016 - 0.004 © 1990 Microchip Technology Inc. 8-2-23 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 16-Lead Plastic Surface Mount (SOle - Wide, 300 mil Body) --I e 14- Index Area I I Tl h x 45° -I ~ Chamfer h x 45° --.L~ D ~I Plane CP :;::+ Seating - . . i :::::;::=~ 1 'q;;gJ - Base Plane Al A Package Group: Plastic SOIC (SO) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 8° 0° 8° A 2.3622 2.6416 0.093 0.104 Al 0.1016 0.2997 0.004 0.0118 B 0.3556 0.4826 0.014 0.019 C 0.2413 0.3175 0.0095 0.0125 D 10.1092 10.4902 0.398 0.413 E 7.4168 7.5946 0.292 0.299 e 1.270 1.270 Typical 0.050 0.050 Typical H 10.0076 10.6426 0.394 0.419 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.Q16 0.045 N 16 16 16 16 CP - 0.1016 - 0.004 DSO0049A 8-2-24 © 1990 Microchip Technology inc. Microchip Packaging Diagrams and Parameters Package Type: 18-Lead Plastic Surface Mount (SOle - Wide, 300 mil Body) --J e 14- Index Area I I T1 h x 45° -I ~ Chamfer h x 45° ~~ .1 0 Plane CP Seating - t :::::r:=~'qRfJ *=+ ' I - Base Plane A1 A Package Group: Plastic sOle (SO) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 8° 0° 8° A 2.3622 2.6416 0.093 0.104 A, 0.1016 0.2997 0.004 0.0118 B 0.3556 0.4826 0.014 0.019 C 0.2413 0.3175 0.0095 0.0125 0 11.3538 11.7348 0.447 0.462 E 7.4168 7.5946 0.292 0.299 e 1.270 1.270 Typical 0.050 0.050 Typical H 10.0076 10.6426 0.394 0.419 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.016 0.045 N 18 18 18 18 CP - 0.1016 - 0.004 © 1990 Microchip Technology Inc. 8-2-25 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 20-Lead Plastic Surface Mount (SOle - Wide, 300 mil Body) Index Area Chamfer h x 450 ~~ D .1 Plane CP Seating - 1 ==r====rtHHH;\\iKtJ i=* 1 - Plane Base A1 A Package Group: Plastic sOle (SO) Millimeters Inches Symbol Min Max Notes Min Max Notes a 00 80 00 80 ~ 2.3622 2.6416 0.093 0.104 A1 0.1016 0.2997 0.004 0.0118 B 0.3556 0.4826 0.014 0.019 C 0.2413 0.3175 0.0095 0.0125 D 12.5984 13.0048 0.496 0.512 E 7.4168 7.5946 0.292 0.299 e 1.27.0 1.270 Typical 0.050 0.050 Typical H 10.0076 10.6426 0.394 0.419 h 0.381 0.762 0.G15 0.030 L 0.4064 1.143 0.016 0.045 N 20 20 20 20 CP - 0.1016 - 0.004 DSOOO49A 8-2-26 © 1990 Microchip Technology Inc. Microchip Packaging Diagrams and Parameters Package Type: 24·Lead Plastic Surface Mount (SOle· Wide, 300 mil Body) Index Area Chamfer h x 45° ~I~ D ~I Plane CP Seating - - i ===r==~ i=* 'I \iKFJ - Base Plane A1 A Package Group: Plastic sOle (SO) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 8° 0° 8° A 2.3622 2.6416 0.093 0.104 A1 0.1016 0.2997 0.004 0.0118 B 0.3556 0.4826 0.014 0.019 C 0.2413 0.3175 0.0095 0.0125 D 15.2146 15.5956 0.599 0.614 E 7.4168 7.5946 0.292 0.299 e 1.270 1.270 Typical 0.050 0.050 Typical H 10.0076 10.6426 0.394 0.419 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.016 0.045 N 24 24 24 24 CP - 0.1016 - 0.004 © 1990 Microchip Technology Inc. 8-2-27 DS00049A Microchip Packaging Diagrams and Parameters Package Type: 28-Lead Plastic Surface Mount (SOle - Wide, 300 mil Body) ~ e I-- Index Area I I Tl -I h x 45° ~ Chamfer h x 45° .-L~ D ~I Plane CP Seating - t ==r===~'qf;J--Base 1 i=+ Plane A1 A Package Group: Plastic sOle (SO) Millimeters Inches Symbol Min Max Notes Min Max Notes a 0° 8° 0° 8° A 2.3622 2.6416 0.093 0.104 A1 0.1016 0.2997 0.004 0.0118 B 0.3556 0.4826 0.014 0.019 C 0.2413 0.3175 0.0095 0.0125 D 17.7038 18.0848 0.697 0.712 E 7.4168 7.5946 0.292 0.299 e 1.270 1.270 Typical 0.050 0.050 Typical H 10.0076 10.6426 0.394 0.419 h 0.381 0.762 0.015 0.030 L 0.4064 1.143 0.016 0.045 N 28 28 28 28 CP - 0.1016 - 0.004 DS00049A 8-2-28 © 1990 Microchip Technology Inc. Microchip APPENDIX OFFICE LOCATIONS Factory Representatives ........................................................................................................................ A- 1 Distributors .................................................................................................................................. A- 5 Field Offices .................................................................................................................................. A- 12 © 1990 Microchip Technology Inc. DS00018C A-i Microchip DSOOOl8C © 1990 Microchip Technology A-ii Field Offices Factory Representatives CANADA SOUTH AMERICA USA British Columbja ~ Alabama Enerlec Sales, Ltd. Hitech Commercial & Industrial Electramark, Inc. 3671 Viking Way #7 Av. Eng. Luiz Carlos Berrini 801 4950 Corporate Dr., Suite 130L Richmond, B.C. V6V 1W1 Conj. 111/121 - CEP: 04571 Huntsville, AL 35805 Tel: 604 273 0882 Brooklin, Sao Paulo Tel: 205 830 4400 Fax: 604273 0884 Tel: 011 531 9355 Fax: 205 830 4406 Fax: 011 240 2650 ~ Telex: 11 53288 Admna Dynasty Components, Inc. Western High Tech Marketing, Inc. 6295 Northam Drive, Unit 1 9414 E. San Salvador Missisauga, Ont. L4V 1W8 Scottsdale, AZ 85258 Tel: 4166725977 Tel: 602 860 2702 Fax: 416 672 6252 Fax: 602 8602712 Dynasty Components, Inc. Arkansas 174 Colonnade Road - Unit 21 Comptech Sales, Inc. Nepean, Ontario K2E 7J5 9810 E. 42nd Street, Suite 219 Tel:613 723 0725 Tulsa, OK 74146 Fax: 613 723 8820 Tel: 918 622 7744 Fax: 918 660 0340 ~ Dynasty Components, Inc. California 1870 Blvd. des Sources, # 304 QuadRep Southern Pointe Claire, P.Q. H9R 5N4 28720 Roadside Dr. - Suite 227 Tel: 514 694 0275 Agoura, CA 91301 Fax: 5146946826 Tel: 818 597 0222 Fax: 818 5971116 QuadRep Southern 4 Jenner Street, Suite 120 Irvine, CA 92718 Tel: 7147274222 Fax: 714 727 4033 QuadRep Southern 7585 Ronson Road, Suite 100 San Diego, CA 92111 Tel: 619 560 8330 Fax: 619 560 9156 QuadRep, Inc. 2713 North First Street San Jose, CA 95134 Tel: 408 432 3300 Fax: 408 432 3428 Colorado Western Region Marketing 9176 Marshall Place Westminster, CO 80030 Tel: 303 428 8088 Fax: 303 426 8585 © 1990 Microchip Technology Inc. DSOOO56C-1 A-1 Factory· Representatives Field Offices Connecticut Illinois Kentucky VISTAssociates, Inc. Janus Incorporated Electro Reps, Inc. 2505 Main Street 650 E. Devon Ave. 7240 Shadeland Station #275 Stratford, CT 06497 Itasca, IL 60143 Indianapolis, IN 46256 Tel: 203 375 5456 Tel: 708 250 9650 Tel: 317 8427202 Fax: 203 375 6907 Fax: 708 250 8761 Fax: 317 8410230 Delaware SPS Associates, Ltd. JMK Electronics Tritek Sales 3301 Rider Trail So.uth 7921 Euclid Rd., Suite B 21 E. Euclid Avenue Earth City, MO 63045 Cincinnati, OH 45243 Haddonfield, NJ 08033 Tel: 314291 0520 Tel: 513 271 3860 Tel: 609429 1551 Fax: 314 291 7138 Fax: 513 271 6321 Fax: 609 429 4915 ~ Louisiana District of Columbia Electro Reps, Inc. Comptech Sales, Inc. Parogem, Inc. 407 Airport North Office Park 15415 Katy Fwy., Suite 102 3201 Harness Creek Road Fort Wayne, IN 46825 Houston, TX 77094 Annapolis, MD 21403 Tel: 219 489 8205 Tel: 7134920005 Tel: 301 2691898 Fax: 219484 2897 Fax: 7134926116 Fax: 301 9748170 Electro Reps, Inc. Comptech Sales, Inc. 7240 Shadeland Station #275 2401 Gateway Dr., Suite 114 .E!m:i.d.a Indianapolis, IN 46256 Irving, TX 75063 Electramark, Inc. Tel: 317 842 7202 Tel: 214 751 1181 401 Whooping Loop, Suite 1565 Fax: 317 8410230 Fax: 214 550 8113 Altamonte Springs, FL 32701 Tel: 407 830 0844 .!mu Maine Fax: 407 830 0847 SPS Associates, Ltd. VISTAssociates, Inc. Electramark, Inc. 119 - 19th Street, Suite 102 237 Cedar Hill Street 1700 N Dixie Hwy - Suite 126 West Des Moines, IA 50265 Marlborough, MA 01752 Boca Raton, FL 33432 Tel: 515 225 0607 Tel: 508 481 9277 Tel: 407 3921763 Fax: 515 225 8713 Fax: 508 4601869 Fax: 407 392 7188 Telex: TWX:910 380 Telex: 710-380-0466 Electramark, Inc. Kansas Maryland 6105E Memorial Hwy SPS Associates, Ltd. Parogem, Inc. Tampa, FL 33615 300 A. Clairborne 3201 Harness Creek Road Tel: 813 889 7775 Olathe, KS 66062 Annapolis, MD 21403 Fax: 813 889 7772 Tel: 913 7644460 Tel: 301 2691898 Fax: 913 764 6161 Fax: 301 974 8170 Georgia Electramark, Inc. SPS Associates, Ltd. Massachusetts 6030H Unity Drive 501 Lancaster Dr. VISTAssociates, Inc. Norcross, GA 30071 Wichita, KS 67230 237 Cedar Hill Street Tel: 404 446 7915 Tel: 316 733 4415 Marlborough, MA 01752 Fax: 404 263 6389 Fax: 316 733 5218 Tel: 508481 9277 Fax: 508 460 1869 ~ Telex: 710-380-0466 QR/Crown, Inc. 1111 South Orchard, Suite 112 Michigan Boise, ID 83702 J.L.MontgomeryAssociates, Inc. Tel: 208 3449588 34405 W. 12 Mile Rd., Suite 149 Fax: 208 344 9550 Farmington Hills, MI 48333-2726 Tel: 313 489 0099 Fax: 313 489 0189 DS00056C-2 © 1990 Microchip Technology Inc. A-2 Field Offices Factory Representatives Minnesota New Jersey QhiQ Comprehensive Technical Sales, Technical Marketing Group JMK Electronics Inc. 175-3C Fairfield Ave. 7921 Euclid Rd., Suite B 6525 City West Parkway W. Caldwell. NJ 07006 Cincinnati, OH 45243 Eden Prairie, MN 55344 Tel: 201 2263300 Tel: 513 271 3860 Tel: 612 9417181 Fax: 2012269518 Fax: 513 271 6321 Fax: 612 9414322 Tritek Sales JMK Electronics Mississippi 21 E. Euclid Avenue 124B Woolery Lane Electramark, Inc. Haddonfield, NJ 08033 Dayton, OH 45415 4950 Corporate Dr., Suite 130L Tel: 609 4291551 Tel: 513 898 8834 Huntsville, AL 35805 Fax: 6094294915 Fax: 513 898 8863 Tel: 205 830 4400 Fax: 205 830 4406 New Mexico JMK Electronics Western High Tech Marketing 7050 Engle Road, Suite 100 Missouri 4205 Montgomery, NE Middleburg Heights, OH 44130 Albuquerque, NM 87109 Tel: 216 2341202 SPS Associates, Ltd. Fax: 216 2341912 3301 Rider Trail South Tel: 505 884 2256 Earth City, MO 63045 Fax: 505 884 2258 Oklahoma Tel: 314 291 0520 Fax: 314 291 7138 New York Comptech Sales, Inc. Apex Associates, Inc., 9810 E. 42nd Street, Suite 219 Montana 121 0 Jefferson Rd. Tulsa, OK 74146 Rochester, NY 14623 Tel: 918 622 7744 OR/Crown, Inc. Fax: 918 660 0340 1111 South Orchard, Suite 112 Tel: 716 272 7040 Boise, 1083702 Fax: 716 272 7756 Qwum Tel: 208 344 9588 Fax: 208 344 9550 Technical Marketing Group OR/Crown, Inc. 20 Broad Hollow Rd., #3001 17020 SW Upper Boones Nebraska Melville, NY 11747 Ferry Road, Suite 202 Tel: 516 3518833 Portland, OR 97224 SPS Associates, Ltd. Fax: 516 351 8667 Tel: 503 620 8320 21930 Locust Street Fax: 503 639 4023 Panama, NE 68419 Technical Marketing Group Tel: 402 788 2536 175-3C Fairfield Ave. Pennsylyania Fax: 402 788 2537 W. Caldwell, NJ 07006 Tritek Sales Tel: 201 2263300 21 E. Euclid Avenue ~ Fax: 201 2269518 Haddonfield, NJ 08033 OuadRep, Inc. Tel: 609 4291551 2713 North First Street North Carolina Fax: 609429 4915 San Jose, CA 95134 Zucker Associates Tel: 408 432 3300 4070 Barrett Drive JMK Electronics Fax: 408 432 3428 Raleigh, NC 27609 7921 Euclid Rd., Suite B Tel: 919 782 8433 Cincinnati, OH 45243 Western High Tech Marketing, Inc. Fax: 919 782 8476 Tel: 513 271 3860 9414 E. San Salvador Fax: 513 271 6321 Scottsdale, AZ 85258 North Dakota Tel: 602 860 2702 Rhode Island Fax: 602 860 2712 Compo Technical Sales, Inc. 6525 City West Parkway VISTAssociates, Inc. New Hampshire Eden Prairie, MN 55344 237 Cedar Hill Street Tel: 612 941 7181 Marlborough, MA 01752 VISTAssociates, Inc. Fax: 612 9414322 Tel: 508481 9277 237 Cedar Hill Street Fax: 5084601869 Marlborough, MA 01752 Telex: 710-380-0466 Tel: 508 481 9277 Fax: 508 460 1869 Telex: 710-380-0466 © 1990 Microchip Technology Inc. DS00056C-3 A-3 Factory Representatives Field Offices South Carolina Utah Zucker Associates Western Region Marketing 4070 Barrett Drive 3539 S Main - Suite 210 Raleigh, NC 27609 Salt Lake City, UT 84115 Tel: 919 782 8433 Tel: 801 2689768 Fax: 919 782 8476 Fax: 801 2689773 South Dakota Vermont Compo Technical Sales, Inc. VISTAssociates, Inc. 0525 City West Parkway 237 Cedar Hill Street Eden Prairie, MN 55344 Marlborough, MA 01752 Tel: 612 941 7181 Tel: 508 481 9277 Fax: 612 9414322 Fax: 508460 1869 Telex: 710-380-0466 Tennessee Electramark, Inc. Virginia 4950 Corporate Dr., Suite 130L Parogem, Inc. Huntsville, AL 35805 3201 Harness Creek Road Tel: 205 830 4400 Annapolis, MD 21403 Fax: 205 830 4406 Tel: 301 269 1898 Fax: 301 974 8170 Zucker Associates 4070 Barrett Drive Washington Raleigh, NC 27609 QR/Crown, Inc. Tel: 919 782 8433 375 118th Ave., Suite 110 Fax: 919 782 8476 Bellevue, WA 98005 Tel: 206 4535100 Texas Fax: 206 646 8775 Comptech Sales, Inc. 11130 Jollyville Rd., Suite 200 West Virginia Austin, TX 78759 JMK Electronics Tel: 512 343 0300 124B Woolery Lane Fax: 512 345 2530 Dayton, OH 45415 Tel: 513 898 8834 Comptech Sales, Inc. Fax: 5138988863 802 E Harrison - Suite 19 Harlingen, TX 78523 Wisconsin Tel: 5124287503 Fax: 512 428 0242 Janus, Inc. W239 N 1690 Busse Road Comptech Sales, Inc. Waukesha, WI 53188 15415 Katy Fwy., Suite 102 Tel: 414 542 7575 Houston, TX 77094 Fax: 414 542 7634 Tel: 713 492 0005 Fax: 7134926116 Wyoming Western Region Marketing Comptech Sales, Inc. 9176 Marshall Place 2401 Gateway Dr., Suite 114 Westminster, CO 80030 Irving, TX 75063 Tel: 303 428 8088 Tel:2147511181 Fax: 303 426 8585 Fax: 214 550 8113 Western High Tech Marketing, Inc. 4205 Montgomery NE Albuquerque, NM 87109 Tel: 505 884 2256 Fax: 505 884 2258 DS00056C·4 © 1990 Microchip Technology Inc. A-4 Field Offices Distributors AFRICA CANADA QnIm:!g ITT Multicomponents South Africa AIbma 300 N. RivermedFl Road Concord, ant. L4K 2Z4 Pace Electronic Components (PTY) ITT Multicomponents Tel: 416 736-1144 LTD. 3015 - 5th Ave. N.E. - Suite 210 Fax: 416 736-4831 Cnr. Van Acht & Gewel Streets Calgary, Alberta, T2A 6T8 P.O. Box 7014 Tel: 403 273-2780 Future Electronics Isando 1600ITransvaai Fax: 403 273-7458 82 St. Regis Tel: 11 9741211/6 Downs View, ant. M3J 1S6 Fax: 11 9741271 Future Electronics Tel: 416638-4771 Telex: 4-29023 3833 - 29th Street N.E. Fax: 416 638-2936 Calgary, Alta. T1Y 6B5 ASIA Tel: 403 250-5550 ITT Multicomponents Fax: 403 291-7054 39 Robertson Rd. ~ ITT Multicomponents #506, Bell Mews Nepean, ant. K2H 8R2 Marubeni Hytech Corporation 9840 - 47th Avenue - Suite 3 Tel: 613 596-6980 Marubeni Hytech Bldg. Edmonton, Alta. T6E 5P3 Fax: 613 596-6987 4-20-22, Koishikawa Tel: 403 436-9555 Bunkyo-Ku, Tokyo 112, Fax: 403 438-4983 Future Electronics Tel: 81 3817-4921 1050 Baxter Road Fax: 81 3817-4880 Future Electronics Ottawa, ant. K2C 3P2 5312 Calgary Trail Tel: 613 820-8313 KQru Edmonton, Alta. T6H 4J8 Fax: 613 820-3271 Daeho Corporation Tel: 403 438-2858 Fax: 403 434-0812 1004, Keo Yang Building ~ 51-8 Soosong Dong British Columbia Future Electronics Chongro-Ku,Seoul, 237 Hymus Boulevard Tel: 82 2 739-8543 ITT Multicomponents Pointe Claire, P.O. H9R 5C7 Fax: 82 2 739-6040 3455 Gardner Court Tel: 514 694-7710 Burnaby, B.C., V5G 4J7 Fax: 514 695-3707 Tel: 604291-8866 Fax: 604 291-1227 Future Electronics 1990 Charest Blvd. West - #190 Future Electronics St. Foy, P.O. G1N 4K8 1695 Boundary Road Tel: 418 682-8092 Vancouver, B.C., V5K 4X7 Fax: 418 682-8303 Tel: 604 294-1166 Fax: 604294-1206 ITT Multicomponents 5713 Chemin St. Francois Manitoba Ville St. Laurent, P.O. H4S 1W9 Future Electronics Tel: 514 335-7697 106 King Edward Fax: 514 335-9330 Winnipeg, Man. R3H ON8 Tel: 204 786-7711 Saskatchewan ITT Multicomponents ITT Multicomponents 3521 - 8th St. East, #209 1313 Border Street - Suite 35 Saskatoon, Sask. S7H OW5 Winnipeg, Manitoba, R3H OM4 Tel: 306 373-7138 Tel: 204 697-2300 Fax: 306 373-7390 Fax: 204 697-2293 © 1990 Microchip Technology Inc. DS00056C-5 A-5 -. .~--.-~-. -~~~~~ Distributors Field Offices EUROPE France (cont.) Italy (cont.) P.E.P. Kevin Austria 6 Rue Ambroise Croizat Via del Gradenigo, 3 ZI des Glaises 20148 Milano Bacher EI. Geraete GmbH 91122 Palaiseau Cedex Tel: 2 4870 6300 Rotenmuehlgasse 26 Tel: 64470031 Fax: 2 4870 6500 A-1120Wien Fax: 64 47 00 84 Tel: 0222 813564 Netherlands Fax: 0222 834276 Mecodis Semicon B.V. Parc d'Activites Belgium P.O. Box 258, Gulberg 33 3 Allee des Erables NL-5670 AG Nuenen Velleman N.V. 94042 Creteil Cedex Tel: 040 837075 Legen Heirweg Tel: 43 99 44 00 Fax: 040 832300 Industrieterrein 27 Fax: 43 99 98 28 B-9751 Gavere Tel: 091 843611 Germany ~ Fax: 091 844362 Telex: 11668 Morgenstierne & Co. AlS Metronik GmbH Konghellengaten 3/5 Leonhardsweg 2 Denmark N-0569 Oslo 5 8025 Unterhaching Tel: 02356110 Nordisk Elektronik AS Tel: 089611080 Transiormervej 17 Fax: 089 611468 Portugal DK-2730 Herlev Tel: 02 842000 Semitron W. Roeck GmbH Digicontrole 1m Gut 1 Dpt. Comercial England D-7891 Kuessaberg 6 Ave. Eng. Arantes E Oliveira 52d Tel: 07742 7011 1900 Lisboa Polar Electronics PLC Fax: 07742 6901 Tel: 11 805 730 Cherrycourt Way Fax: 11 890 373 Leighton Buzzard Electronic 2000 Vertriebs AG Bedfordshire LU7 8YV Tel: 0525 377093 Stahlgruberring 12 sam D-8000 Muenchen 82 Sagitron V.S.1. Electronics Ltd. Tel: 089 42001-0 Corazon de Maria 80/82 Roydonbury Ind. Park Fax: 08942001210 28402 Madrid Horsecroit Road Tel: 1 4169261 Harlow, Essex CM19 5BY !m!aruI Fax: 14158652 Tel: 0279 29666 Eltech Agencies, ltd. Lehanaghmore Sweden Campbell Collins Ltd. Farmers Cross, Cork Bexab Technology AS 162 High Street Kemistvaegen 10 Stevenage lmJ! Box 523, KAJC Hertfordshire Tel: S-18325 Taeby Elina Ltd. Tel: 0438 369466 3, Hametzuda Street Fax: 08 732 8980 Azur 58001, Holon Future Electronics Ltd. Tel: 3 559 0275/6 Switzerland Petersfield Avenue Fax: 3 559 0270 OmniRayAG Slough, Berkshire, SL2 5EA Industriestrasse 31 .Ei.!:l.I.and. !lilY CH-8305 Dietlikon Deutsche ITT/lntesi 01 8352111 KomdelOy Tel: 01 8335081 Viale Milanofiori, E/5 Meteorinkatu 3 20090 Assago Milano SF-02211 Espoo ~ Tel: 2 8247 0215 Tel: 0 885011 Fax: 2 8247 0278 Electro f!:mg Sanayiva Ticaret Koli. StL Eurelettronica Sri Ahmet Rasim Sok. No. 16 Ericsson Viale E. Fermi 8 Hasanpasa, Kadikoy, Istanbul 1 parc Club Ariane 20094 Assago Milano Tel: 01 3372245 Rue Helene Boucher Tel: 2 488 0022 Fax: 01 3368814 78284 Guyancourt Fax: 2 488 0275 Tel: 30640900 Fax: 30 64 11 46 DS00056C-6 © 1990 Microchip Technology Inc. A-6 Field Offices Distributors USA California California (cont.) Future Electronics Hall-Mark Electronics Alabama 9301 Oakdale Ave. - Suite 210 580 Menlo Drive - Suite 2 Chatsworth, CA 91311 Rocklin, CA 95677 Future Electronics Tel: 818 772-6240 Tel: 916 624-9781 4950 Corporate Dr. - Suite 145 Fax: 818 772-6247 Fax: 916 961-0922 Huntsville, AL 35081 Tel: 205830-2322 Hall-Mark Electronics Future Electronics Fax: 205 830-6664 9420 Topanago Canyon Blvd. 3940 Ruffin Road #E Chatsworth, CA 91311 San Diego, CA 92123 Hall-Mark Electronics Tel: 818 773-4500 Tel: 619 278-5020 4900 Bradford Drive Fax: 818 773-4555 Fax: 619 576-8564 Huntsville, AL 35805 Tel: 205 837-8700 Bell Microproducts, Inc. Hall-Mark Electronics Fax: 205 830-2565 18350 Mt. Langley - Suite 207 3878 Ruffin Road Fountain Valley, CA 92708 San Diego, CA 92123 Reptron Electronics Tel: 714 963-0667 Tel: 619 268-1201 4950 Corporate Dr. - Suite 105C Fax: 714 968-3195 Fax: 619 268-0209 Huntsville, AL 35805 Tel: 205 722-9500 Future Electronics Hall-Mark Electronics Fax: 205 722-9565 1692 Browning Ave. 2105 Lundy Avenue Irvine, CA 92714 San Jose, CA 95131 A!:.imDi Tel: 714 250-4141 Tel: 408 432-0900 Future Electronics Fax: 714250-4185 4636 E. University Dr. - Suite 245 Future Electronics Phoenix, AZ 85034 Falcon Electronics 575 River Oaks Parkway Tel: 602 968-7140 2301 Dupont Drive - Suite 160 San Jose, CA 95134 Fax: 602 968-0334 Irvine, CA 92715 Tel: 408 434-1122 Tel: 714 757-1955 Hall-Mark Electronics Fax: 714 757-1890 4637 South 36th Place Phoenix, AZ 85040 Hall-Mark Electronics Tel: 602437-1200 1 Maunchly Fax: 602 437-2348 Irvine, CA 92718 Tel: 714 727-6000 Fax: 714 727-6066 Bell Microproducts, Inc. 550 Sycamore Drive Milpitas, CA 95035 Tel: 408 434-1150 Fax: 408 434-0778 © 1990 Microchip Technology Inc. DS00056C-7 A-7 Distributors Field Offices Colorado Florida (cont.> Georgia (cont.) Future Electronics Future Electronics Reptron Electronics 9030 Yukon Street - Suite 2700 4900 M Creekside Drive 3040 Business Park Dr. - Suite H Broomfield, CO 80021 Clearwater, FL 34620 Norcross, GA 30071 Tel: 303 421-0123 Tel: 813 578-2770 Tel: 404 446-1300 Fax: 813 576-7600 Fax: 404 446-2991 Hall-Mark Electronics 12503 E. Euclid Drive - Suite 20 Vantage Components, Inc. Illinois Englewood, CO 80111 1761 W. Hillsborough Ave. - #318 Advent Electronics Tel: 303 790-1662 Deerfield Beach, FL 33441 7110 - 16 N. Lyndon Street Fax: 303 790-4991 Tel: 305 429-1001 Rosemont, IL 60018 Fax: 305481-3586 Tel: 708 297-6200 Connecticut Fax: 708 297-6650 Future Electronics Reptron Electronics 24 Stoney Hill Road 3320 N.W. 53rd SI. - Suite 206 Future Electronics Bethel, CT 06801 FI. Lauderdale, FL 33309 1000 East State Parkway - Suite B Tel: 203 743-9594 Tel: 305 735-1112 Schaumburg, IL 60195 Fax: 203 798-9745 Fax: 305 735-1121 Tel: 708 882-1255 Hall-Mark Electronics Hall-Mark Electronics Reptron Electronics 615 West Johnson Ave. - Bldg. 3 10491 - 72nd SI. North 1000 East State Pkwy - Suite K Cheshire, CT 06410 Largo, FL 34647 Schaumburg, IL 60195 Tel: 203 271-2844 Tel: 813 541-7440 Tel: 708 882-1700 Fax: 813 544-4394 Fax: 708 882-8904 Falcon Electronics 5 Higgins Drive Hall-Mark Electronics Hall-Mark Electronics Milford, CT 06460 3161 SW. 15th Street 210 Mittel Drive Tel: 203 878-5272 McNabb Road Wood Dale, IL 60191 Fax: 203 877-2010 Pompano Beach, FL33069 Tel: 708 860-3800 Tel: 305 971-9280 Florida Fax: 305 971-9339 !ruWmil Future Electronics Reptron Electronics CAM/RPC 380 S. Northlake Blvd. - Suite 1048 14401 McCormick Drive 1329 W. 96th SI. - Suite 10 Altamonte Springs, FL 32701 Tampa, FL 33626 Indianapolis, IN 46260 Tel: 407 767-8414 Tel: 813 855-4656 Tel: 317 578-1111 Fax: 407 834-9318 Fax: 813 855-7660 Fax: 317 578-3338 Vantage Components, Inc. Falcon Electronics Advent Electronics 1110 Douglas Ave. - Suite 2050 1265 S. Semoran Blvd. - Suite 1203 8446 Moller Road Altamonte Springs, FL 32714 Winter Park, FL 32792 Indianapolis, IN 46268 Tel: 407 682-1199 Tel: 407 671-3739 Tel: 317 872-4910 Fax: 407 682-1286 Fax: 407 679-3255 Fax: 317 872-9987 Hall-Mark Electronics Georgia Hall-Mark Electronics 489 E. Semoran Blvd. - Suite 145 4275 West 96th Street Casselberry, FL 32707 Future Electronics Indianapolis, IN 46268 Tel: 407 830-5855 3000 Northwoods Pkwy. - #295 Tel: 317 872-8875 Fax: 407 767-5002 Norcross, GA 30071 Fax: 317 876-7165 Tel: 404 441-7676 Fax: 404441-7580 Hall-Mark Electronics 3425 Corporate Way - Suite A Duluth, GA 30136 Tel: 404 623-4400 Fax: 404 476-8806 DS00056C-8 © 1990 Microchip Technology Inc. A-8 Field Offices Distributors !Qn Massachussetts Michigan (cont.) Advent Electronics Vantage Components, Inc. Hall-Mark Electronics 682 - 58th Ave. Court S.W. 200 Bullfinch Drive 38027 Schoolcraft Road Cedar Rapids, IA 52404 Andover, MA 01810 Livonia, MI48150 Tel: 319 363-0221 Tel: 508 687-3900 Tel: 313 462-1205 Fax: 319 363-4514 Fax: 508 687-4116 Fax: 313 462-1830 KmHi Hall-Mark Electronics Reptron Electronics Hall-Mark Electronics 6 Cook St. - Pinehurst Park 34403 Glendale Road 10809 Lakeview Drive Billerica, MA 01821 Livonia, MI 48150 Lenexa, KS 66215 Tel: 617 935-9777 Tel: 313 525-2700 Tel: 913 888-4747' Fax: 617 667-4129 Fax: 313 525-3209 Fax: 913 888-0523 Falcon Electronics Minnesota Maryland 500 Franklin Village Dr. #302 Future Electronics Franklin, MA 02038 10025 Valley View Road - #196 Falcon Electronics Tel: 508 520-0323 1520 Caton Research Ctr. #0 Eden Prairie, MN 55344 Fax: 508 528-2626 Tel: 612 944-2200 Baltimore, MD 21227 Tel: 301 247-5800 Fax: 612 944-2520 Future Electronics Fax: 301 247-5893 133 Flanders Road Hall-Mark Electronics Westborough, MA 01581 10300 Valley View Road - #101 Vantage Components, Inc. Tel: 508 366-2400 6925 R. Oakland Mills Road Eden Prairie, MN 55344 Fax: 508 366-1195 Tel: 612 941-2600 Columbia, MD 21045 Tel: 301720-5100 Fax: 612 941-5778 Bell Microproducts, Inc. Fax: 301381-2172 16 Upton Drive Reptron Electronics Wilmington, MA 01887 5959 Baker Road - Suite 405 Future Electronics Tel: 508 658-0222 7165 Columbia Gateway Dr. #G Minnetonka, MN 55344 Fax: 508 694-9987 Tel: 612 938-0000 Columbia, MD 21046 Tel: 301 995-1222 Fax: 612 938-3995 Michigan Fax: 301 290-0328 Advent Electronics Missouri Hall-Mark Electronics 24713 Crestview Court Hall-Mark Electronics 10240 Old Columbia Road Farmington Hills, MI 48333 3783 Rider Trail South Columbia, MD 21046 Tel: 313 477-1650 Earth City, MO 63045 Tel: 301 988-9800 Fax: 313 477-2630 Tel: 314 291-5350 Fax: 301381-2036 Fax: 314 291-0362 CAM/RPC 32468 Schoolcraft Road Future Electronics Livonia, MI48150 1067 N. Mason Road - Suite 15 Tel: 313 427-4800 St. Louis, MO 63141 Fax: 313 427-4820 Tel: 314 469-6805 Fax: 314 469-7226 Future Electronics 35200 Schoolcraft Road - #106 Livonia, MI48150 Tel: 313 261-5270 Fax: 313 261-8125 © 1990 Microchip Technology Inc. DS00056C-9 A-9 Distributors Field Offices New Jersey New York North carolina Vantage Components, Inc. Hall-Mark Electronics Future Electronics 23 Sebago Street 6605 Pittsford Palmyra Rd. #E-8 1515 Mockingbird Lane Clifton, NJ 07013 Fairport, NY 14450 Charlotte, NC 28209 Tel: 201 777-4100 Tel: 716 425-3300 Tel: 704529-5500 Fax: 201 777-6194 Fax: 716 425-7195 Fax: 704 527-2222 Future Electronics Falcon Electronics Hall-Mark Electronics 122 Fairfield Road 1383-18 Veterans Memorial Hwy. 5234 Green's Dairy Road Fairfield, NJ 07006 Hauppauge, NY 11788 Raleigh, NC 27604 Tel: 201 227-4346 Tel: 516 724-0980 Tel: 919 872-0712 Fax: 201 227-5305 Fax: 516 724-0993 Fax: 919 878-8729 Future Electronics Future Electronics Future Electronics 520 Fellowship Road 801 Motor Parkway 1304 Paddock Dr. - Suite F100 Mt. Laurel, NJ 08054 Hauppauge, NY 11788 Raleigh, NC 27609 Tel: 609 778-7600 Tel: 516 234-4000 Tel: 919 790-7111 Fax: 609778-4621 Fax: 516 234-6183 Fax: 919 790-9022 Hall-Mark Electronics Future Electronics Reptron Electronics 11000 Midlantic Drive - Suite 5 7453 Morgan Road 5954-A Six Forks Road Mt. Laurel, NJ 08054 Liverpool, NY 13090 Raleigh, NC 27609 Tel: 609 235-1900 Tel: 315 451-2371 Tel: 919 870-5189 Fax: 609 235-3381 Fax: 315 451-7258 Fax: 919 870-5210 Future Electronics CAM/RPC ~ 1259 Route 46 East 2975 Brighton Henrietta CAM/RPC Parsippany, NJ 07054 Town Line Road 749 Miner Road Tel: 201 299-0400 Rochester, NY 14623 Cleveland, OH 44143 Fax: 201299-1377 Tel: 716 427-9999 Tel: 800 283-5588 Fax: 716 427-7559 Fax: 216 461-4329 Hall-Mark Electronics 200 Lanidex Plaza - 2nd Floor Future Electronics CAM/RPC Parsippany, NJ 07054 333 Metro Park 15 Bishop Drive - Suite 104 Tel: 201 575-4415 Rochester, NY 14623 Columbus, OH 43081 Fax: 201 525-4475 Tel: 716 272-1120 Tel: 614 888-7777 Fax: 716 272-7182 Fax: 614 895-1550 Hall-Mark Electronics CAM/RPC 3075 Veterans Memorial Hwy. 7973-B Washington Woods Drive Ronkonkoma, NY 11779 Dayton, OH 45459 Tel: 516 737-0600 Tel: 513 898-1111 Fax: 516 737-0838 Fax: 513 433-6792 Vantage Components, Inc. Hall-Mark Electronics 1056 West Jericho Turnpike 5821 Harper Road Smithtown, NY 11787 Solon, OH 44139 Tel: 516 543-2000 Tel: 216 349-4632 Fax: 516 543-2030 Fax: 216 248-4803 Reptron Electronics 30640 Bainbridge Road Solon, OH 44139 Tel: 216 349-1415 Fax: 216 349-1634 DSOOO56C-10 © 1990 Microchip Technology Inc. A-10 Field Offices Distributors Ohio (cont.) Pennsylvania 1.HIh Hall-Mark Electronics CAM/RPC Future Electronics 400 E. Wilson Bridge Rd. - #S 620 Alpha Drive 2250 S. Redwood Road Worthington, OH 43085 Pittsburgh, PA 15238 Salt Lake City, UT 84119 Tel: 614 888-3313 Tel: 800 245-2519 Tel: 801 972-8489 Fax: 614 888-0767 Fax: 412 963-6210 Fax: 801 972-3602 Reptron Electronics lull Washington 404 E. Wilson Bridge Rd. #A Hall-Mark Electronics Falcon Electronics Worthington, OH 43085 12211 Technology Blvd. 19231 - 36th ave. West Tel: 614 436-6675 Austin, TX 78727 Lynnwood, WA 98036 Fax: 614 436-4285 Tel: 512 258-8848 Tel: 206 774-3005 Fax: 512 258-3777 Oklahoma Future Electronics Hall-Mark Electronics Hall-Mark Electronics 4038 - 148th Ave. N.E. 5411 S. 125th E. Ave. - Suite 305 11420 Pagemill Road Redmond, WA 98052 Tulsa, OK 74146 Dallas, TX 75243 Tel: 206 881-8199 Tel: 918 251-1108 Tel: 214 553-4300 Fax: 206 881-5232 Fax: 918 254-6207 Fax: 214 553-4395 Hall-Mark Electronics Hall-Mark Electronics 250 N.W. 39th - Suite 4 Future Electronics 8000 Westglen Seattle, WA 98107 15236 N.w. Greenbrier Pkwy. Houston, TX 77063 Tel: 206 547-0415 Beaverton, OR 97006 Tel: 713 781-6100 Tel: 503 645-9454 Fax: 713 953-8420 Wisconsin Fax: 503 645-1559 Hall-Mark Electronics Future Electronics 16255 W. Lincoln Ave. 11271 Richmond Ave. - Suite 106 New Berlin, WI 53151 Houston, TX 77082 Tel: 414 797-7844 Tel: 713 556-8696 Fax: 414 797-9259 Fax: 713 589-7069 Future Electronics 1850 N. Greenville Ave. - Suite 146 Richardson, TX 75081 Tel: 214 437-2437 Fax: 214 669-2347 © 1990 Microchip Technology Inc. DS00056C-11 A-11 Field Offices ASIA EUROPE USA ASIAN HEADQUARTERS EUROPEAN HEADQUARTERS Hong Kong England California Arizona Microchip Technology Ltd. Arizona Microchip Technology Microchip Technology Inc. 75, Mody Road, Tsimshatsui East Unit 3, Meadow Bank, Furlong 1411 W. 190th Street, Suite 230 Rm 1103, Tower 1, So. Seas Ctr. Road Gardena, CA 90248 Kowloon Bourne End, Bucks SL8 5AJ Tel: 213 3231888 Tel: 311 6103 Tel: 0628 850303 Fax: 213 3231424 Fax: 311 5125 Fax: 0628 850178 Telex: 44611 Microchip Technology Inc. ~ 2107 North First Street, #410 ~ Arizona Microchip Technology San Jose, CA 95131 Microchip Technology Inc. 2, Rue du Buisson aux Fraises Tel: 408 436 7950 4F Madre Matsuda Bldg. F-91300 Massy Fax: 408 436 7955 4-13, Kioi-Cho, Tel: 1 69309090 Chiyoda-Ku, Tokyo 102 Fax: 1 69 30 90 79 Georgia Tel: 3 234 8774 Microchip Technology Inc. Fax: 3 234 8549 Germany 2860 Johnson Ferry Rd. N.E., Arizona Microchip Technology #250B KQru Alte Landstr. 12-14 Marietta, GA 30062 Microchip Technology Inc. D-8012 Ottobrunn Tel: 404 642 6933 c/o Daeho Corp. Tel: 089 609 6072 Fax: 404 642 6890 1004 Keo Yang Bldg. Fax: 089 6091997 51-8 Soosong Dong Telex: 524518 Illinois Chongro-Ku, Seoul Microchip Technology Inc. Tel: 2 7209800 800 East Diehl Road, Suite 175 Fax: 2 7396040 Naperville, IL 60563 Telex: 26880 Tel: 708 505 0022 Fax: 708 505 0065 Singapore Arizona Microchip Technology Ltd. Massachusetts Singapore Representative Office Microchip Technology Inc. 10 Anson Road, #14-02 Five The Mountain Road, Suite 120 International Plaza Framingham, MA 01701 Singapore 0207 Tel: 508 820 3334 Tel: 2224962 Fax: 508 872 0923 Fax: 2224939 New York !§iY!am Microchip Technology Inc. Microchip Technology Taiwan 300 Wheeler Road., Suite 206 Liaison Office Hauppage, NY 11788 5F, 41 Ming Chuan Road Tel: 516 2321930 Hsin-Tien, Taipei Fax: 516 232·1935 Tel: 2 911 3431 Fax: 2 914 6234 Iu.u Microchip Technology Inc. 17480 N Dallas Pkwy., Suite 114 Dallas, TX 75287 ~. Tel: 214 733 0391 Fax: 214 250 4631 Microchip Microchip Technology Inc.· 2355 W. Chandler Blvd.· Chandler, AZ85224-6199· (602) 963-7373· Printed in USA ©9005 OS00056C-12 © 1990 Microchip Technology Inc. A-12 - - - - - - - - - - - - -- - - - - - - -.. " Microchip Technology Inc, 2355 W Chandler Blvd. Chandler, AZ 85224-6199 Microchip Tel:602 963 7373 FAX:602 345 3390 DS00018C Printed in USA