Using External RAM with PIC17CXX Devices PIC17C42 PIC17C43 PIC17C Microchip Technology Inc. DS91004A-page 1

Similar documents
AN566. Using the PORTB Interrupt on Change as an External Interrupt USING A PORTB INPUT FOR AN EXTERNAL INTERRUPT INTRODUCTION

HCS410/WM. Crypto Read/Write Transponder Module FEATURES PACKAGE TYPES BLOCK DIAGRAM HCS410 IMMOBILIZER TRANSPONDER. Security. Operating.

MCP100/101. Microcontroller Supervisory Circuit with Push-Pull Output FEATURES PACKAGES DESCRIPTION BLOCK DIAGRAM

TC1225 TC1226 TC1227. Inverting Dual ( V IN, 2V IN ) Charge Pump Voltage Converters FEATURES GENERAL DESCRIPTION TYPICAL APPLICATIONS

27C K (32K x 8) CMOS EPROM FEATURES PACKAGE TYPES DESCRIPTION

TC4426 TC4427 TC A DUAL HIGH-SPEED POWER MOSFET DRIVERS GENERAL DESCRIPTION FEATURES ORDERING INFORMATION

Connecting Sensor Buttons to PIC12CXXX MCUs

TCM828 TCM829. Switched Capacitor Voltage Converters FEATURES GENERAL DESCRIPTION APPLICATIONS ORDERING INFORMATION

AN528. Implementing Wake-Up on Key Stroke. Implementing Wake-Up on Key Stroke INTRODUCTION IMPLEMENTATION FIGURE 1 - TWO KEY INTERFACE TO PIC16C5X

PIC14C000. Errata Sheet for PIC14C000 Revision A. USING THE I 2 C MODULE IN SMBus MODE USING AN1 AND AN5 AS ANALOG INPUTS

TC4423 TC4424 TC4425 3A DUAL HIGH-SPEED POWER MOSFET DRIVERS GENERAL DESCRIPTION FEATURES ORDERING INFORMATION

TC623. 3V, Dual Trip Point Temperature Sensor. Package Type. Features. Applications. General Description. Device Selection Table

M TC3682/TC3683/TC3684

Optical Pyrometer. Functions

TC643 INTEGRATED FAN / MOTOR DRIVER GENERAL DESCRIPTION FEATURES APPLICATIONS ORDERING INFORMATION

AN562. Using Endurance Predictive Software. Using the Microchip Endurance Predictive Software INTRODUCTION TOTAL ENDURANCE PREDICTIVE SOFTWARE

TC52. Dual Channel Voltage Detector. Features. General Description. Typical Applications. Functional Block Diagram. Device Selection Table

AN820. System Supervisors in ICSP TM Architectures CIRCUITRY BACKGROUND INTRODUCTION. MCP120 Output Stage. Microchip Technology Inc.

AN603. Continuous Improvement THE EEPROM TECHNOLOGY TEAM INTRODUCTION TO MICROCHIP'S CULTURE. Continuous Improvement is Essential

SUPER CHARGE PUMP DC-TO-DC VOLTAGE CONVERTER

TC1044S. Charge Pump DC-TO-DC Voltage Converter FEATURES GENERAL DESCRIPTION ORDERING INFORMATION

Using the TC1142 for Biasing a GaAs Power Amplifier. CTL High-Side. FET Switch GND V IN V OUT TC GND. Inductorless Boost/Buck Regulator

TC51. 1µA Voltage Detector with Output Delay TC51. General Description. Features. Applications. Device Selection Table. Functional Block Diagram

TC mA Charge Pump Voltage Converter with Shutdown. Features. Package Type. Applications. General Description. Device Selection Table

TCM680 +5V TO ±10V VOLTAGE CONVERTER GENERAL DESCRIPTION FEATURES APPLICATIONS ORDERING INFORMATION

TC4467 TC4468 TC4469 LOGIC-INPUT CMOS QUAD DRIVERS GENERAL DESCRIPTION FEATURES APPLICATIONS ORDERING INFORMATION

PIC16C622A PIC16F628 Migration

TC1221/TC1222. High Frequency Switched Capacitor Voltage Converters with Shutdown in SOT Packages. 6-Pin SOT-23A. Features. General Description

TC57 Series. Linear Regulator Controller GENERAL DESCRIPTION FEATURES TYPICAL APPLICATIONS ORDERING INFORMATION PART CODE TC57 XX 02 ECT XX

27C64. 64K (8K x 8) CMOS EPROM PACKAGE TYPES FEATURES DESCRIPTION. This document was created with FrameMaker 404

M TC1426/TC1427/TC1428

TB003. An Introduction to KEELOQ Code Hopping INTRODUCTION. Remote Control Systems. The Solution. Code Scanning. Code Grabbing

MCP V 10-Bit A/D Converter with SPI Serial Interface FEATURES PACKAGE TYPES APPLICATIONS FUNCTIONAL BLOCK DIAGRAM DESCRIPTION

rfpic Development Kit 1 Quick Start Guide


HCS509. KEELOQ Code Hopping Decoder* FEATURES PACKAGE TYPE BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications

TC620/TC621. 5V, Dual Trip Point Temperature Sensors. Features. Package Type. Applications. Device Selection Table. General Description

1.5A Dual Open-Drain MOSFET Drivers. 8-Pin PDIP/SOIC/CERDIP IN A A BOTTOM IN B B TOP A TOP B BOTTOM IN A B TOP IN B

PIC16C65A. PIC16C65A Rev. A Silicon Errata Sheet. 2. Module: CCP (Compare Mode) 1. Module: CCP (Compare Mode) SWITCHING

AN797. TC4426/27/28 System Design Practice INTRODUCTION. FIGURE 1: TC4426 output. FIGURE 2: Output stage IC layout.

MCP V Dual Channel 12-Bit A/D Converter with SPI Serial Interface PACKAGE TYPES FEATURES APPLICATIONS FUNCTIONAL BLOCK DIAGRAM DESCRIPTION

TC7662A. Charge Pump DC-to-DC Converter. Features. Package Type. General Description. Applications. Device Selection Table. 8-Pin PDIP 8-Pin CERDIP

1.5A Dual High-Speed Power MOSFET Drivers. Temp. Range

AN765. Using Microchip's Micropower LDOs INTRODUCTION APPLICATIONS. Optimizing Output Voltage Accuracy of 1070/1071 Adjustable LDOs

TC652 Fan Control Demo Board User s Guide

2-Wire Serial Temperature Sensor and Thermal Monitor

TC Low Power, Quad Input, 16-Bit Sigma-Delta A/D Converter Features Package Type 16-Pin PDIP 16-Pin QSOP TC3402 Applications

AN663. Simple Code Hopping Decoder KEY FEATURES OVERVIEW

27LV K (32K x 8) Low-Voltage CMOS EPROM FEATURES PACKAGE TYPES DESCRIPTION PDIP

MCP3204/ V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface FEATURES PACKAGE TYPES APPLICATIONS FUNCTIONAL BLOCK DIAGRAM

HCS362. HCS362 Data Sheet Errata. Clarifications/Corrections to the Data Sheet: 1. Module: Low Voltage Detector LOW VOLTAGE DETECTOR

TC mA Fixed Low Dropout Positive Regulator TC2117. General Description. Features. Applications. Typical Application Device Selection Table

TC1029. Linear Building Block Dual Low Power Op Amp. General Description. Features. Applications. Device Selection Table. Functional Block Diagram

HCS200. Code Hopping Encoder FEATURES PACKAGE TYPES BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications PDIP, SOIC

Electromechanical Switch Replacement

TB059. Using The MCP2150 Developer s Board With The MCP2155 INTRODUCTION MCP2150 DEVELOPER S BOARD LAYOUT

AN763. Latch-Up Protection For MOSFET Drivers INTRODUCTION. CONSTRUCTION OF CMOS ICs PREVENTING SCR TRIGGERING. Grounds. Equivalent SCR Circuit.

Electromechanical Timer Replacement Solutions Cubed Real-Time Clock

Voltage-To-Frequency/Frequency-To-Voltage Converters

HCS201. Code Hopping Encoder

TC1034/TC1035 Linear Building Block Single Operational Amplifiers in SOT Packages Features General Description Applications Device Selection Table

AN654. PWM, a Software Solution for the PIC16CXXX METHODS INTRODUCTION

Linear Building Block Low-Power Comparator with Op Amp and

AN867. Temperature Sensing With A Programmable Gain Amplifier INTRODUCTION INTERFACING THE PGA TO THERMISTORS

HCS509. KEELOQ Code Hopping Decoder* PACKAGE TYPE FEATURES BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications

TC1030. Linear Building Block Quad Low Power Op Amp with Shutdown Modes. General Description. Features. Applications. Device Selection Table

MIC5528. High Performance 500 ma LDO in Thin and Extra Thin DFN Packages. General Description. Features. Applications.

TC115. PFM/PWM Step-Up DC/DC Converter. Package Type. Features. Applications. General Description. Device Selection Table. Functional Block Diagram

AN606. Low Power Design Using PICmicro Microcontrollers INTRODUCTION DESIGN TECHNIQUES RESISTOR TO LOWER POWER IN RC MODE CONTROL CIRCUIT

Design Alternatives To The TC682 For Performing Inverting Voltage Doubler Functions. DC/DC Converter +5V 6 V IN V OUT TC682 NC GND 5

TC Bit Digital-to-Analog Converter with Two-Wire Interface TC1321. General Description. Features. Applications. Device Selection Table

HCS300. KEELOQ Code Hopping Encoder DESCRIPTION FEATURES PACKAGE TYPES HCS300 BLOCK DIAGRAM. Security. Operating. Other. Typical Applications

FACT002. Mastering the PIC16C7X A/D Converter BASICS. General. Step by Step. Specifications

AN798. TC4420/4429 Universal Power MOSFET Interface IC INTRODUCTION PARAMETERS AND ATTRIBUTES OF THE TC4420/4429 TIMING. Rise and Fall Times

AN513. Analog to Digital Conversion Using a PIC16C54 INTRODUCTION THEORY OF OPERATION VOLTMETER A/D CONVERTER VOLTMETER MEASUREMENT CYCLE CYCLE

TC1240/TC1240A. Positive Doubling Charge Pumps with Shutdown in a SOT-23 Package. Features. General Description. Applications

AN824. KEELOQ Encoders Oscillator Calibration OVERVIEW WHY CALIBRATION? CALIBRATION BASICS. Microchip Technology Inc.

HCS200. KEELOQ Code Hopping Encoder* PACKAGE TYPES FEATURES BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications PDIP, SOIC

Linear Building Block Low-Power Voltage Reference with Dual Op Amp, Dual Comparator, and Shutdown Mode

4-1/2 Digit Analog-To-Digital Converter with On-Chip LCD Drivers

AN677. Designing a Base Station Coil for the HCS410 INTRODUCTION OVERVIEW FEATURES. Overview of Inductive Communication.

TC520A. Serial Interface Adapter for TC500 A/D Converter Family. General Description. Features. Applications. Device Selection Table.

TC7650. Chopper Stabilized Operational Amplifier. Package Type. Features. Applications. Device Selection Table. 8-Pin DIP TC7650CPA.

PICmicro Microcontroller Firmware Flow Chart of DV Demo Reader for MCRF3XX and MCRF4XX Devices. RFID Top-Level MAIN INITIALIZE

TB081. Soft-Start Controller For Switching Power Supplies IMPLEMENTATION OVERVIEW. Hardware SCHEMATIC. Keith Curtis Microchip Technology Inc.

MCP1252/3. Low Noise, Positive-Regulated Charge Pump. Description. Features. Applications. Package Types

300mW Audio Power Amplifier with Shutdown Mode

TC7652. Low Noise, Chopper Stabilized Operational Amplifier. General Description. Features. Applications. Device Selection Table.

HCS515. Code Hopping Decoder PACKAGE TYPE FEATURES BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications. Compatible Encoders

TYPICAL SEGMENT OUTPUT. 0.5mA. 2mA INTERNAL DIGITAL GROUND C AZ C INT V INT INTEGRATOR TO DIGITAL SECTION A/Z COMPARATOR

PFM/PWM Step-Down DC/DC Controller. Operating Temp. Range C SS SHDN TC105333ECT EXT GND. 3.3V Regulated Supply Using 6V NiMH Battery Pack Input

HCS500. Code Hopping Decoder PACKAGE TYPE FEATURES BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications. Compatible Encoders

AN232. Low Frequency Magnetic Transmitter Design ABOUT THIS APPLICATION NOTE INTRODUCTION LFMC LINK COMPONENTS

TC1026. Linear Building Block Low Power Comparator with Op Amp and Voltage Reference. General Description. Features. Applications

TC7136 TC7136A. Low Power 3-1/2 Digit Analog-To-Digital Converters FEATURES GENERAL DESCRIPTION TYPICAL APPLICATIONS ORDERING INFORMATION

FACT003. Care and Feeding of the PIC16C74 and Its Peripherals. A/D Converter Mysteries. Assumptions

HCS512. Code Hopping Decoder* FEATURES PACKAGE TYPE BLOCK DIAGRAM DESCRIPTION. Security. Operating. Other. Typical Applications. Compatible Encoders

AN720. Measuring Temperature Using the Watch Dog Timer (WDT) THEORY INTRODUCTION HARDWARE REQUIRED. Equation 1: Microchip Technology Inc.

Single Cell Lithium-Ion Charge Management Controller with Mode Indicator and Charge Current Monitor. + Single Lithium-Ion

AN861. Smart Air Handler using ProMPT and the PIC18F2539 APPLICATION OVERVIEW INTRODUCTION. Microchip Technology Inc.

Transcription:

This document was created with FrameMaker 0 Using External RAM with PICCXX Devices TB00 Author: Introduction Rodger Richey Advanced Microcontroller and Technology Division This Technical Brief shows how to connect a PICCXX device to external memory. It also provides instructions and calculations to help determine which speeds of SRAM work with which frequency crystal. System Configuration Are you doing FFT s? Storing arrays of data? Typically, low speed designs would use EEPROM to hold the data that is being generated. On the other hand, high speed designs need to use static RAM because of the faster access times. External SRAM can easily be integrated with a PICCXX device to create the SRAM bank your design requires. Data storage and retrieval is accomplished through table read and table write instructions. All the equations for lead timing can also be applied to EPROMs. The first thing you need to know is how much RAM the system requires. Table shows how much external memory can be used with the PICCXX family members. The microcontroller is put into extended microcontroller mode which can access both the internal and external memory. Both the internal and external memory is -bits wide. TABLE : Device PICC PICC PICC INTERNAL/EXTERNAL MEMORY Internal External Internal External Internal External Size (Words) Address Range 0 0x0000-0x0FF 0x000-0xFFFF 0 0x0000-0x0FFF 0 0x000-0xFFFF 0x0000-0xFFF 0x000-0xFFFF The next step is to connect the external SRAM to the PICCXX. Appendix A shows the schematic for connecting two MTC (Kx) SRAM devices to a PICC. The MTC can be obtained from Micron Semiconductor. The only additional hardware required is two latches (ACTs or ACTs). Both chips are octal latches but the ACT has the inputs and the outputs on opposite sides of the chip which makes interfacing to the microcontroller easier. DS00A-page

READ TIMINGS Now that we know how to connect the hardware, the next step is to determine the speed grade of the SRAM. Let s first take a look at the read timings. Figure shows a combined timing diagram for the read cycle of a PICCX device and the MTC SRAM. FIGURE : PICCX/MTC READ CYCLE TIMING DIAGRAM Q Q Q Q Q Q OSC ALE OE TADZOEL TOE TOEL AD<:0> Addr out Data in Addr out WR '' TPD TADVALL TALLADI TACC TADVOEH TOEHADI '' A<:0> Addr Valid CE TPDGAL DQ Data Valid TLZOE TLZCE TAOE THZOE TACE The value of TACE shows which speed grade of SRAM is required for the read cycle. Figure has three key locations marked that help define TACE. Table summarizes these locations. TABLE : LOCATION MARKER DESCRIPTIONS FOR FIGURE Location Description Value Address Setup Time. This location marks the spot where the address becomes valid out of the PICCXX before ALE goes LOW. (Q cycle) 0. * TCY - 0 time in nanoseconds before the Q cycle (TADVALL) Propagation delay of the ACT. This is the spot where the address to the SRAM becomes valid. (Q cycle) time in nanoseconds before the Q cycle (TPD) Propagation delay of the address decoder. This spot is where the CE signal from the address decoder to the SRAM goes LOW. (Q cycle) TPDGAL time in nanoseconds before the Q cycle DS00A-page

TABLE : MEMORY INTERFACE READ REQUIREMENTS Sym Characteristic Min Typ Max Units TADVALL AD:AD0 (address) valid to ALE (address setup time) 0.Tcy - 0 ns TALLADI ALE to address out invalid (address hold time) * ns TADZOEL AD:AD0 hi-impedance to OE 0 ns TADVOEH Data in valid before OE (data setup time) ns TOEHADI OE to data in invalid (data hold time) 0 ns TOEL OE pulse width 0.Tcy - ns TOE Output enable access time (OE low to Data Valid) 0.TCY - ns TPD Propagation delay input to output ns TACC Address access time 0.Tcy - 0 ns TPDGAL Propagation delay input to combinatorial output. - ns TLZOE OE to output in Low - Z 0 ns TAOE OE access time - ns TLZCE CE to output in Low - Z ns TACE CE access time 0 - ns THZOE Output disable to output in High - Z - ns To determine TACE from Figure, the following equation can be used. Each part of the equation is related to a timing parameter or one of the marked locations in Figure. TACE = 0. * TCY - 0 - Address access time - TACC - Propagation delay of the ACT - TPD - Propagation delay of the address decoder Finally, lets find some example speed grades for various crystal frequencies. One thing to remember is that this is only the read timing speed grade. You must also calculate the write timing speed grade. As you can see the speed grade for the SRAM is dependent on the address decoder. Typically, programmable array logic devices such as a V or a V0 are used. The propagation delays of these devices can be anywhere from ns up to 0 ns. MHz (TCY = 00 ns) MHz (TCY = 0 ns) 0 MHz (TCY = 00 ns) MHz (TCY = 0 ns) TACE = 0. * 00-0 TACE = 0. * 0-0 TACE = 0. * 00-0 TACE = 0. * 0-0 TACE = TACE =. TACE = TACE = 0 TACE = TACE =. TACE = TACE = To reduce the total propagation delay of the ACT and the address decoder, the address/data lines and ALE from the PICCX can be routed to the address decoder. Now the address latches and the address decoding can be performed in parallel. DS00A-page

WRITE TIMINGS Now that you have determined the read timing speed grade, it is time to calculate the write timing speed grade of the SRAM for your design. Figure shows the combined timings for a write cycle of the PICCX devices and the MTC. Again, there are markings for some key locations which are described in Table. FIGURE : PICCX/MTC WRITE CYCLE TIMING DIAGRAM OSC Q Q Q Q Q Q ALE OE WR AD<:0> TALLADI TADVALL TWRL addr out data out addr out TPD TADVWRL TWRHADI A<:0> addr valid CE TPDGAL D<:0> data valid TDS TWP = TWRL TCW TAW TDH TABLE : LOCATION MARKER DESCRIPTIONS FOR FIGURE Location Description Value Address Setup Time. This location marks the spot where the address becomes valid out of the PICCXX before ALE goes LOW. (Q cycle) Propagation delay of the ACT. This is the spot where the address to the SRAM becomes valid. (Q cycle) Propagation delay of the address decoder. This spot is where the CE signal from the address decoder to the SRAM goes LOW. (Q cycle) Write pulse goes LOW. The SRAM specifies that the address at it s inputs must be valid at or before this point. (Q cycle) 0. * TCY - 0 time in nanoseconds before the Q cycle (TADVALL) time in nanoseconds before the Q cycle TPDGAL time in nanoseconds before the Q cycle DS00A-page

TABLE : MEMORY INTERFACE WRITE REQUIREMENTS Sym Characteristic Min Typ Max Units TADVALL AD<:0> (address) valid to ALE (address setup time) 0.Tcy - 0 ns TALLADI ALE to address out invalid (address hold time) 0 ns TADVWRL Data out valid to WR (data setup time) 0.Tcy - 0 ns TWRHADI WR to data out invalid (data hold time) 0.TCY ns TWRL WR pulse width 0.TCY ns TPD Propagation delay input to output ns TPDGAL Propagation delay input to combinatorial output. - ns TDS Data setup time - 0 ns TCW CE to end of write - ns TAW Address valid to end of write - ns TDH Data hold time 0 ns TWP WE pulse width Low - ns The critical timing specification for the write cycle is when the CE signal from the address decoder to the SRAM goes LOW. Typically the SRAM specifies this parameter (TAS for the MTC). The other important SRAM specifications to check against the PICCX are: TWP - Write enable LOW pulse width TDS - Data setup time, data valid before WE goes HIGH TDH - Data hold time, data valid after WE goes HIGH The following are some calculations for the write cycle of various speed grades. These calculations are used to determine if any of the above specifications are invalid. The Micron MTC specifies the following values for the above parameters: TAS - 0 ns min. for all speed grades TWP - ns min. for the ns speed grade TDS - 0 ns min. for the ns speed grade TDH - 0 ns min. for all speed grades The PICCX specifies the following values: TWP - 0. * TCY TWRL TDS - 0. * TCY - 0 + TWP min. TADVWRL TDH - 0. * TCY TWRHADI DS00A-page

MHz (TCY = 00 ns) MHz (TCY = 0 ns) 0 MHz (TCY = 00 ns) MHz (TCY = 0 ns) TADVALL = 0. * 00-0 TADVALL = 0. * 0-0 TADVALL = 0. * 0-0 TADVALL = 0. * 0-0 TAS = TADVALL TAS = TADVALL TAS = TADVALL TAS = TADVALL + TCY + TCY + TCY + Tcy TWRL = 0. * 00 TWRL = 0. * 0 TWRL = 0. * 0 TWRL = 0. * 0 TADVWRL = 0. * 00-0 + 0. * 00 TADVWRL = 0. * 0-0 + 0. * 0 TADVWRL = 0. * 0-0 + 0. * 0 TADVWRL = 0. * 0-0 + 0. * 0 TWRHADI = 0. * 00 TWRHADI = 0. * 0 TWRHADI = 0. * 0 TWRHADI = 0. * 0 TADVALL = TADVALL =. TADVALL = 0 TADVALL = 0 TAS = TAS =. TAS = 0 TAS = 0 + +. + 0 + 0 TWRL = TWRL =. TWRL = 0 TWRL = 0 TADVWRL = 0 TADVWRL =. TADVWRL = 0 TADVWRL = 0 TWRHADI = TWRHADI =. TWRHADI = 0 TWRHADI = 0 TADVALL = TADVALL =. TADVALL = 0 TADVALL = 0 TAS = TWRL > ns TADVWRL > ns TWRHADI > 0 ns Assuming that a V with propagation delay of ns is used for the address decoder, you can see that all crystal frequencies have a TAS greater than 0. The other parameters TADVWRL, TWRHADI, and TWRL all have at least ns of spare room. The parameters TADVWRL, TWRHADI, and TWRL were taken from a ns speed grade SRAM. Therefore, all the speed grades of the MTC can be used for the write cycle of a PICCX with an external oscillator frequency up to MHz. CONCLUSION TAS = TWRL > ns TADVWRL > ns TWRHADI > 0 ns TAS = TWRL > ns TADVWRL > ns TWRHADI > 0 ns TAS = TWRL > ns TADVWRL > ns TWRHADI > 0 ns So now that we have done the calculations, let s determine the proper SRAM speed grade for the various frequencies. The only assumption is that a ns V is used for address decoding. MHz can use up to a 00 ns SRAM MHz can use up to a ns SRAM 0 MHz can use up to a 0 ns SRAM MHz can use up to a 0 ns SRAM DS00A-page

APPENDIX A: PICCX EXTERNAL RAM SCHEMATIC C R 0. µf.k AD0 AD AD AD AD AD AD AD 0 0 U RC0/AD0 RC/AD RC/AD RC/AD RC/AD RC/AD RC/AD RC/AD Vss RB0/CAP RB/CAP RB/PWM RB/PWM RB/TCLK RB/TCLK RB RB OSC/CLKIN OSC/CLKOUT RD0/AD RD/AD RD/AD0 RD/AD RD/AD RD/AD RD/AD RD/AD MCLR/VPP VSS RE0/ALE RE/OE RE/WR TEST R/INT RA/T0CKI RA RA RA/RX/DT R/TX/CK 0 0 C Note Y C Note Note Note : The value of the crystal is dependent on your system requirements. : The value of capacitors C and C is dependent on the crystal. Address Decoder AD AD AD0 AD AD AD AD AD AD0 AD AD AD AD AD AD AD AD AD AD0 AD AD AD AD AD U D D D D D D D D Q Q Q Q Q Q Q Q C OC Vcc GND ACT 0 0 0. µf C U D D D D D D D D Q Q Q Q Q Q Q Q C OC Vcc GND ACT 0 0 C 0. µf A A A A A A A A A A A A A A A A A A A A A A A A A A A 0 0 0 0 U A A A A A A A A A D D D D D D D D CE OE WE Vss Vcc MTC U A A A A A A A A A D D D D D D D D CE OE WE Vss Vcc MTC AD0 AD AD AD AD AD AD AD C 0. µf AD0 AD AD AD AD AD AD AD C 0. µf DS00A-page

WORLDWIDE SALES AND SERVICE AMERICAS Corporate Office West Chandler Blvd. Chandler, AZ - Tel: 0--00 Fax: 0-- Technical Support: 0-- Web Address: http://www.microchip.com Atlanta 00 Sugar Mill Road, Suite 00B Atlanta, GA 00 Tel: 0-0-00 Fax: 0-0-00 Boston Mount Royal Avenue Marlborough, MA 0 Tel: 0-0-0 Fax: 0-0- Chicago Pierce Road, Suite 0 Itasca, IL 0 Tel: 0--00 Fax: 0--00 Dallas 0 Westgrove Drive, Suite 0 Addison, TX Tel: -- Fax: -- Dayton Two Prestige Place, Suite 0 Miamisburg, OH Tel: -- Fax: -- Detroit Tri-Atria Office Building Northwestern Highway, Suite 0 Farmington Hills, MI Tel: --0 Fax: --0 Los Angeles 0 Von Karman, Suite 00 Irvine, CA Tel: -- Fax: -- New York 0 Motor Parkway, Suite 0 Hauppauge, NY Tel: --0 Fax: -- San Jose 0 North First Street, Suite 0 San Jose, CA Tel: 0--0 Fax: 0-- AMERICAS (continued) Toronto Airport Road, Suite 00 Mississauga, Ontario LV W, Canada Tel: 0-0- Fax: 0-0- ASIA/PACIFIC Hong Kong Microchip Asia Pacific Unit 0, Tower Metroplaza Hing Fong Road Kwai Fong, N.T., Hong Kong Tel: --0-00 Fax: --0- Beijing Microchip Technology, Beijing Unit, Chaoyangmen Bei Dajie Dong Erhuan Road, Dongcheng District New China Hong Kong Manhattan Building Beijing 000 PRC Tel: -0-00 Fax: -0-0 India India Liaison Office No., Legacy, Convent Road Bangalore 0 0, India Tel: -0--00 Fax: -0--00 Japan Microchip Technology Intl. Inc. Benex S- F --0, Shinyokohama Kohoku-Ku, Yokohama-shi Kanagawa -00 Japan Tel: -- Fax: --- Korea Microchip Technology Korea -, Youngbo Bldg. Floor Samsung-Dong, Kangnam-Ku Seoul, Korea Tel: ---00 Fax: --- Shanghai Microchip Technology RM 0 Shanghai Golden Bridge Bldg. 0 Yan an Road West, Hong Qiao District Shanghai, PRC 00 Tel: ---00 Fax: --00 ASIA/PACIFIC (continued) Singapore Microchip Technology Singapore Pte Ltd. 00 Middle Road #0-0 Prime Centre Singapore 0 Tel: --0 Fax: --0 Taiwan, R.O.C Microchip Technology Taiwan 0F-C 0 Tung Hua North Road Taipei, Taiwan, ROC Tel: --- Fax: ---0 EUROPE United Kingdom Arizona Microchip Technology Ltd. 0 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG TU Tel: Fax: - - Denmark Microchip Technology Denmark ApS Regus Business Centre Lautrup hoj - Ballerup DK-0 Denmark Tel: 0 Fax: 0 0 France Arizona Microchip Technology SARL Parc d Activite du Moulin de Massy Rue du Saule Trapu Batiment A - ler Etage 00 Massy, France Tel: -----0 Fax: ---0-0- Germany Arizona Microchip Technology GmbH Gustav-Heinemann-Ring D- München, Germany Tel: --- 0 Fax: ---- Italy Arizona Microchip Technology SRL Centro Direzionale Colleoni Palazzo Taurus V. Le Colleoni 00 Agrate Brianza Milan, Italy Tel: -0-- Fax: -0- // Microchip received QS-000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July. The Company s quality system processes and procedures are QS-000 compliant for its PICmicro -bit MCUs, KEELOQ code hopping devices, Serial EEPROMs and microperipheral products. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 00 certified. All rights reserved. Microchip Technology Incorporated. Printed in the USA. / Printed on recycled paper. Information contained in this publication regarding device applications and the like is intended for suggestion only and may be superseded by updates. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo and name are registered trademarks of in the U.S.A. and other countries. All rights reserved. All other trademarks mentioned herein are the property of their respective companies.