Transcription of 28-Pin, 8-Bit CMOS FLASH Microcontroller with A/D Converter
1 2002 Microchip Technology Inc. DS39597 BPIC16F72 Data Sheet28-Pin, 8-Bit CMOS FLASHM icrocontroller with A/D ConverterMDS39597B - page ii 2002 Microchip Technology contained in this publication regarding deviceapplications and the like is intended through suggestion onlyand may be superseded by updates. It is your responsibility toensure that your application meets with your representation or warranty is given and no liability isassumed by Microchip Technology Incorporated with respectto the accuracy or use of such information, or infringement ofpatents or other intellectual property rights arising from suchuse or otherwise. Use of Microchip s products as critical com-ponents in life support systems is not authorized except withexpress written approval by Microchip.
2 No licenses are con-veyed, implicitly or otherwise, under any intellectual Microchip name and logo, the Microchip logo, FilterLab,KEELOQ, microID, MPLAB, PIC, PICmicro, PICMASTER,PICSTART, PRO MATE, SEEVAL and The Embedded ControlSolutions Company are registered trademarks of Microchip Tech-nology Incorporated in the and other , ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,In-Circuit Serial Programming, ICSP, ICEPIC, microPort,Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM,MXDEV, MXLAB, PICC, PICDEM, , rfPIC, SelectMode and Total Endurance are trademarks of MicrochipTechnology Incorporated in the Quick Turn Programming (SQTP) is a service markof Microchip Technology Incorporated in the other trademarks mentioned herein are property of theirrespective companies.
3 2002, Microchip Technology Incorporated, Printed in , All Rights Reserved. Printed on recycled received QS-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999 and Mountain View, California in March 2002. The Company s quality system processes and procedures are QS-9000 compliant for its PICmicro 8-Bit MCUs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, non-volatile memory and analog products. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 9001 the following details of the code protection feature on PICmicro MCUs. The PICmicro family meets the specifications contained in the Microchip Data Sheet.
4 Microchip believes that its family of PICmicro microcontrollers is one of the most secure products of its kind on the market today, when used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowl-edge, require using the PICmicro Microcontroller in a manner outside the operating specifications contained in the data sheet. The person doing so may be engaged in theft of intellectual property. Microchip is willing to work with the customer who is concerned about the integrity of their code. Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as unbreakable.
5 Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our you have any further questions about this matter, please contact the local sales office nearest to you. 2002 Microchip Technology 1 MPIC16F72 Device Included: PIC16F72 High Performance RISC CPU: Only 35 single word instructions to learn All single cycle instructions except for program branches, which are two-cycle Operating speed: DC - 20 MHz clock inputDC - 200 ns instruction cycle 2K x 14 words of Program Memory, 128 x 8 bytes of Data Memory (RAM) Pinout compatible to PIC16C72/72A and PIC16F872 Interrupt capability Eight-level deep hardware stack Direct, Indirect and Relative Addressing modesPeripheral Features: High Sink/Source Current: 25 mA Timer0: 8-Bit timer/counter with 8-Bit prescaler Timer1: 16-bit timer/counter with prescaler, can be incremented during SLEEP via external crystal/clock Timer2.
6 8-Bit timer/counter with 8-Bit period register, prescaler and postscaler Capture, Compare, PWM (CCP) module- Capture is 16-bit, max. resolution is ns- Compare is 16-bit, max. resolution is 200 ns- PWM max. resolution is 10-bit 8-Bit , 5-channel analog-to-digital Converter Synchronous Serial Port (SSP) with SPI (Master/Slave) and I2C (Slave) Brown-out detection circuitry forBrown-out Reset (BOR)CMOS Technology: Low power, high speed CMOS FLASH technology Fully static design Wide operating voltage range: to Industrial temperature range Low power consumption:- < mA typical @ 3V, 4 MHz-20 A typical @ 3V, 32 kHz-< 1 A typical standby currentPin DiagramsSpecial Microcontroller Features: 1,000 erase/write cycle FLASH program memory typical Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST) Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation Programmable code protection Power saving SLEEP mode Selectable oscillator options In-Circuit Serial Programming (ICSP )
7 Via 2 pins Processor read access to program memoryMCLR/VPPRA0/AN0RA1/AN1RA2/AN2RA3/A N3/VREFRA4/T0 CKIRA5/AN4/SSVSSOSC1/CLKIOSC2/CLKORC0/T1 OSO/T1 CKIRC1/T1 OSIRC2/CCP1RC3/SCK/SCLRB7/PGDRB6/PGCRB5R B4RB3RB2RB1RB0/INTVDDVSSRC7RC6RC5/SDORC4 /SDI/SDA 1234567891011121314282726252423222120191 8171615 PDIP, SOIC, SSOPQFN2345617RA2/AN2RA3/AN3/VREFRA4/T0 CKIRA5/AN4/SSVSSOSC1/CLKIOSC2/CLKO151617 18192021RB3RB2RB1RB0/INTVDDVSSRC7RC0/T1 OSO/T1 CKIRC1/T1 OSIRC2/CCP1RC3/SCK/SCLRC4/SDI/SDARC5/SDO RC623242526272822RA1/AN1RA0/AN0 MCLR/VPPRB7/PGDRB6/PGCRB5RB410 118 912 13 14 PIC16F72 PIC16F7228-Pin, 8-Bit CMOS FLASH MCU with A/D ConverterPIC16F72DS39597B-page 2 2002 Microchip Technology Reference Manual FeaturesPIC16F72 Operating FrequencyDC - 20 MHzRESETS and (Delays)POR, BOR, (PWRT, OST) FLASH Program Memory - (14-bit words, 1000 E/W cycles)2 KData Memory - RAM ( 8-Bit bytes)128 Interrupts8I/O PortsPORTA, PORTB, PORTCT imersTimer0, Timer1, Timer2 Capture/Compare/PWM Modules1 Serial CommunicationsSSP8-bit A/D Converter5 channelsInstruction Set (No.)
8 Of Instructions)35 2002 Microchip Technology 3 PIC16F72 Table of Overview .. Organization .. Ports .. Program Memory .. Module .. Module .. Module .. (CCP) Module .. Serial Port (SSP) Module .. Analog-to-Digital Converter (A/D) Module .. Special Features of the Instruction Set Summary .. Development Electrical Characteristics .. DC and AC Characteristics Graphs and Package Marking 117 Appendix A:Revision History .. 123 Appendix B:Conversion 123 Index .. 125On-Line 131 Reader Response .. 132 Product Identification System .. 133TO OUR VALUED CUSTOMERSIt is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchipproducts. To this end, we will continue to improve our publications to better suit your needs.
9 Our publications will be refined andenhanced as new volumes and updates are introduced. If you have any questions or comments regarding this publication, please contact the Marketing Communications Department viaE-mail at or fax the Reader Response Form in the back of this data sheet to (480) welcome your Current Data SheetTo obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at: can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any last character of the literature number is the version number, ( , DS30000A is version A of document DS30000).ErrataAn errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for currentdevices.
10 As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revisionof silicon and revision of document to which it determine if an errata sheet exists for a particular device, please check with one of the following: Microchip s Worldwide Web site; Your local Microchip sales office (see last page) The Microchip Corporate Literature Center; FAX: (480) 792-7277 When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (includeliterature number) you are Notification SystemRegister on our web site at to receive the most current information on all of our 4 2002 Microchip Technology : 2002 Microchip Technology OVERVIEWThis document contains device specific information forthe operation of the PIC16F72 device.