PIC16F630/676 Microcontroller Family The PIC16F630/676 microcontroller products merge all the advantages of the mid-range x14 architecture and the flexibility of Flash program memory into a 14-pin package. The PIC16F6XX devices feature a 14-bit instruction set, small footprint package, and a wide operating voltage of 2.0-5.5 volts. In addition, these devices offer an internal programmable 4 MHz oscillator, on-board EEPROM data memory, on-chip voltage reference, and up to 8 channels of 10-bit A/D. These 14-pin microcontrollers provide the features and intelligence not previously available due to cost and board space limitations. With the flexibility of Flash and an excellent development tool suite including a low cost In-Circuit Debugger (ICD), In-Circuit Serial ProgrammingTM (ICSPTM) and full ICE 2000 emulation, these devices are ideal for just about any embedded control application. High-Performance RISC CPU: * Only 35 single word instructions to learn * All single cycle instructions except program branches, which are two-cycle * Operating Speed: DC - 20 MHz oscillator/clock input DC - 200 ns instruction cycle * Memory: - 1024 x 14 words of Flash Program Memory - 64 x 8 bytes of Data Memory (SRAM) - 128 x 8 bytes of EEPROM Data Memory * 8-level deep stack * Direct, Indirect, and Relative Addressing modes for data and instructions Peripheral Features: * * * * * High current sink/source: 25 mA 12 I/O pins with individual direction control Programmable interrupt-on-pin change Programmable pull-ups on input pins Timer0 module: 8-bit timer/counter with 8-bit prescaler * Timer1 module: 16-bit timer/counter with prescaler, can be incremented during Sleep via external crystal/clock Advanced Analog Features: * Analog-to-Digital Converter A/D with: - 10-bit resolution - Programmable 8-channel input - Voltage reference input * Analog Comparator module with 1 comparator: - Programmable On-Chip Voltage Reference (CVREF) module - Programmable input multiplexing from device inputs - Comparator output is externally accessible Special Microcontroller Features: * * * * * * * * * * 100,000 erase/write cycle Flash program memory 1,000,000 erase/write cycle data EEPROM memory Low-power Brown-out Reset (BOR) Low-power Power-on Reset (POR) Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation Programmable code protection Power saving Sleep mode Internal 4 MHz oscillator In-Circuit Serial ProgrammingTM (ICSPTM) via two pins Low cost MPLAB(R) In-Circuit Debugger (ICD) CMOS Technology: * * * * * Low-power, high-speed Flash technology Fully static design Wide operating voltage range (2.0V to 5.5V) Industrial and Extended temperature ranges Low-power consumption PICmicro(R) Microcontrollers Microchip Technology Inc.* The Embedded Control Solutions Company(R) Additional Information: * Microchip's web site: www.microchip.com * Microchip's Technical Library CD-ROM, Order No. DS00148 * Application Notes are available in: - Embedded Control Handbook, Order No. DS00092 - Embedded Control Handbook Update 2000, Order No. DS00711 * Microchip's Quality Systems and Customer Interface System, Order No. DS00169 PIC16F630/676 Microcontroller Family Device Flash Program Memory Bytes Data RAM Bytes EEPROM Data Bytes I/O Pins ADC 10 bits Comparator BOR Timers ICSPTM Comments PIC16F630 1792 64 128 12 - 1 Yes 1x8-bit, 1x16-bit, 1-WDT Yes 4 MHz Internal Oscillator, ICD* PIC16F676 1792 64 128 12 8 1 Yes 1x8-bit, 1x16-bit, 1-WDT Yes 4 MHz Internal Oscillator, ICD* * Requires purchase of separate adapter module. Abbreviation: ADC = Analog-to-Digital Converter WDT = Watchdog Timer ICSPTM = In-Circuit Serial Programming BOR = Brown-out Reset ICD = In-Circuit Debugger Development Tools from Microchip MPLAB(R) IDE Integrated Development Environment (IDE) (Hardware/Software Project Manager) MPASMTM Assembler Universal PICmicro(R) Macro-assembler Software MPLINKTM Object Linker Linker Software MPLIBTM Object Librarian Librarian Software MPLAB SIM Simulator Software Simulator MPLAB ICE 2000 Full-featured Modular in-circuit Emulator PICSTART(R) Plus Programmer Entry-level Program Loader and Development Kit PRO MATE(R) II Device Programmer Full-featured, Modular Device Programmer MPLAB ICD2 In-Circuit Debugger AC162052 Header Adapter for ICD2 Americas Atlanta Asia/Pacific (770) 640-0034 Australia Europe 61-2-9868-6733 Austria Boston (978) 692-3848 China - Beijing 86-10-85282100 Denmark Chicago (630) 285-0071 China - Chengdu 86-28-86766200 France Dallas (972) 818-7423 China - Fuzhou 86-591-7503506 Germany Detroit (248) 538-2250 China - Shanghai 86-21-6275-5700 Italy Kokomo (765) 864-8360 China - Shenzhen 86-755-82350361 Los Angeles (949) 263-1888 China - Shunde 86-765-839550-7 86-532-5027355 Phoenix (480) 792-7966 China - Qingdao San Jose (480) 436-7950 Hong Kong Toronto (905) 673-0699 India 91-80-2290061 81-45-471-6166 Taiwan 45-4420-9895 33-1-69-53-63-20 49-89-627-144-0 39-039-65791-1 31-416-690399 44 118 921 5869 852-2401-1200 Japan Singapore Netherlands United Kingdom 43-7242-2244-399 65-6334-8870 886-2-2717-7175 Microchip Technology Inc. * 2355 W. Chandler Blvd. * Chandler, AZ 85224-6199 * (480) 792-7200 * Fax (480) 792-9210 Information subject to change. The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, MPLAB, PIC, PICmicro, PICSTART, PRO MATE and PowerSmart are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AmpLab, FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Application Maestro, dsPICDEM, dsPICDEM.net, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, microPort, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartShunt, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Serialized Quick Turn Programming (SQTP) is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. (c) 2003 Microchip Technology Inc. All rights reserved. Printed in the U.S.A. DS40041B 09/03 *DS40041B*