Example: dental hygienist

PIC16F87XA Data Sheet - Microchip Technology

2003 Microchip Technology Sheet28/40/44-Pin Enhanced FlashMicrocontrollersDS39582B-page ii 2003 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 criticalcomponents in life support systems is not authorized exceptwith express written approval by Microchip .

• Up to 8K x 14 words of Flash Program Memory, Up to 368 x 8 bytes of Data Memory (RAM), Up to 256 x 8 bytes of EEPROM Data Memory • Pinout compatible to other 28-pin or 40/44-pin PIC16CXXX and PIC16FXXX microcontrollers Peripheral Features: • Timer0: 8-bit timer/counter with 8-bit prescaler • Timer1: 16-bit timer/counter with prescaler,

Tags:

  Flash

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of PIC16F87XA Data Sheet - Microchip Technology

1 2003 Microchip Technology Sheet28/40/44-Pin Enhanced FlashMicrocontrollersDS39582B-page ii 2003 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 criticalcomponents in life support systems is not authorized exceptwith express written approval by Microchip .

2 No licenses areconveyed, implicitly or otherwise, under any intellectualproperty Microchip name and logo, the Microchip logo, Accuron,dsPIC, KEELOQ, MPLAB, PIC, PICmicro, PICSTART, PRO MATE and PowerSmart are registered trademarks ofMicrochip Technology Incorporated in the and , FilterLab, microID, MXDEV, MXLAB, PICMASTER,SEEVAL and The Embedded Control Solutions Company areregistered trademarks of Microchip Technology Incorporatedin the Maestro, dsPICDEM, , ECAN,ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, microPort,Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM,PICkit, PICDEM, , PowerCal, PowerInfo,PowerMate, PowerTool, rfLAB, rfPIC, Select Mode,SmartSensor, SmartShunt, SmartTel and Total Endurance aretrademarks of Microchip Technology Incorporated in and other Quick Turn Programming (SQTP) is a service markof Microchip Technology Incorporated in the other trademarks mentioned herein are property of theirrespective companies.

3 2003, Microchip Technology Incorporated, Printed in , All Rights Reserved. Printed on recycled the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular Microchip Data Sheet . Microchip believes that its family of products is one of the most secure families 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 knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip 's Data Sheets.

4 Most likely, the person doing so is 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. Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that 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.

5 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 certified. 2003 Microchip Technology 1 PIC16F87 XADevices Included in this Data Sheet :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 Up to 8K x 14 words of flash Program Memory, Up to 368 x 8 bytes of Data Memory (RAM), Up to 256 x 8 bytes of EEPROM Data Memory Pinout compatible to other 28-pin or 40/44-pin PIC16 CXXX and PIC16 FXXX microcontrollersPeripheral Features: Timer0: 8-bit timer/counter with 8-bit prescaler Timer1.

6 16-bit timer/counter with prescaler,can be incremented during Sleep via external crystal/clock Timer2: 8-bit timer/counter with 8-bit periodregister, prescaler and postscaler Two Capture, Compare, PWM modules- Capture is 16-bit, max. resolution is ns- Compare is 16-bit, max. resolution is 200 ns- PWM max. resolution is 10-bit Synchronous Serial Port (SSP) with SPI (Master mode) and I2C (Master/Slave) Universal Synchronous Asynchronous Receiver Transmitter (USART/SCI) with 9-bit address detection Parallel Slave Port (PSP) 8 bits wide withexternal RD, WR and CS controls (40/44-pin only) Brown-out detection circuitry forBrown-out Reset (BOR)Analog Features: 10-bit, up to 8-channel Analog-to-Digital Converter (A/D) Brown-out Reset (BOR) Analog Comparator module with.

7 - Two analog comparators- Programmable on-chip voltage reference (VREF) module- Programmable input multiplexing from device inputs and internal voltage reference- Comparator outputs are externally accessibleSpecial Microcontroller Features: 100,000 erase/write cycle Enhanced flash program memory typical 1,000,000 erase/write cycle Data EEPROM memory typical Data EEPROM Retention > 40 years Self-reprogrammable under software control In-Circuit Serial Programming (ICSP ) via two pins Single-supply 5V In-Circuit Serial Programming 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 Debug (ICD) via two pinsCMOS Technology .

8 Low-power, high-speed flash /EEPROM Technology Fully static design Wide operating voltage range ( to ) Commercial and Industrial temperature ranges Low-power consumption PIC16F873A PIC16F874A PIC16F876A PIC16F877 ADeviceProgram MemoryDataSRAM(Bytes)EEPROM(Bytes)I/O10- bitA/D (ch)CCP(PWM)MSSPUSARTT imers8/16-bitComparatorsBytes# Single WordInstructionsSPIM asterI2 CPIC16F873A Enhanced flash MicrocontrollersPIC16F87 XADS39582B-page 2 2003 Microchip Technology DiagramsPIC16F873A/876A10112345618791213 141516171819202324252627282221 MCLR/VPPRA0/AN0RA1/AN1RA2/AN2/VREF-/CVRE FRA3/AN3/VREF+RA4/T0 CKI/C1 OUTRA5/AN4/SS/C2 OUTVSSOSC1/CLKIOSC2/CLKORC0/T1 OSO/T1 CKIRC1/T1 OSI/CCP2RC2/CCP1RC3/SCK/SCLRB7/PGDRB6/PG CRB5RB4RB3/PGMRB2RB1RB0/INTVDDVSSRC7/RX/ DTRC6/TX/CKRC5/SDORC4/SDI/SDA28-Pin PDIP, SOIC.

9 SSOP2345617 MCLR/VPPRA2/AN2/VREF-/CVREFRA3/AN3/VREF+ RA4/T0 CKI/C1 OUTRA5/AN4/SS/C2 OUTVSSOSC1/CLKI15161718192021RB3/PGMVDDV SSRB0/INTRC7/RX/DTRC1/T1 OSI/CCP2RC2/CCP1RC3/SCK/SCLRC4/SDI/SDARC 5/SDORC6/TX/CK23242526272822RA1/AN1RA0/A N0RB7/PGDRB6/PGCRB5RB410118912131428-Pin QFNPIC16F873 APIC16F876 ARB2RB1RC0/T1 OSO/T1 CKIOSC2/CLKO1011234561181920212212131415 3887444342414039161729303132332324252627 283634359 PIC16F874A37RA3/AN3/VREF+RA2/AN2/VREF-/C VREFRA1/AN1RA0/AN0 MCLR/VPPRB3/PGMRB7/PGDRB6/PGCRB5RB4 NCRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PSP3RD2 /PSP2RD1/PSP1RD0/PSP0RC3/SCK/SCLRC2/CCP1 RC1/T1 OSI/CCP2RC0/T1 OSO/T1 CKIOSC2/CLKOOSC1/CLKIVSSVSSVDDVDDRE2/CS/ AN7RE1/WR/AN6RE0/RD/AN5RA5/AN4/SS/C2 OUTRA4/T0 CKI/C1 OUTRC7/RX/DTRD4/PSP4RD5/PSP5RD6/PSP6RD7/ PSP7 VSSVDDVDDRB0/INTRB1RB244-Pin QFNPIC16F877A 2003 Microchip Technology 3 PIC16F87 XAPin Diagrams (Continued)

10 RB7/PGDRB6/PGCRB5RB4RB3/PGMRB2RB1RB0/INT VDDVSSRD7/PSP7RD6/PSP6RD5/PSP5RD4/PSP4RC 7/RX/DTRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PS P3RD2/PSP2 MCLR/VPPRA0/AN0RA1/AN1RA2/AN2/VREF-/CVRE FRA3/AN3/VREF+RA4/T0 CKI/C1 OUTRA5/AN4/SS/C2 OUTRE0/RD/AN5RE1/WR/AN6RE2/CS/AN7 VDDVSSOSC1/CLKIOSC2/CLKORC0/T1 OSO/T1 CKIRC1/T1 OSI/CCP2RC2/CCP1RC3/SCK/SCLRD0/PSP0RD1/P SP11234567891011121314151617181920403938 3736353433323130292827262524232221 PIC16F874A/877A40-Pin PDIP101112131415161718192021222324252644 8765432127282930313233343536373839404142 439 PIC16F874 ARA4/T0 CKI/C1 OUTRA5/AN4/SS/C2 OUTRE0/RD/AN5 OSC1/CLKIOSC2/CLKORC0/T1 OSO/T1CK1 NCRE1/WR/AN6RE2/CS/AN7 VDDVSSRB3/PGMRB2RB1RB0/INTVDDVSSRD7/PSP7 RD6/PSP6RD5/PSP5RD4/PSP4RA3/AN3/VREF+RA2 /AN2/VREF-/CVREFRA1/AN1RA0/AN0 MCLR/VPPNCRB7/PGDRB6/PGCRB5RB4 NCNCRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PSP3R D2/PSP2RD1/PSP1RD0/PSP0RC3/SCK/SCLRC2/CC P1RC1/T1 OSI/CCP210112345611819202122121314153887 4443424140391617293031323323242526272836 34359 PIC16F874A37RA3/AN3/VREF+RA2/AN2/VREF-/C VREFRA1/AN1RA0/AN0 MCLR/VPPNCRB7/PGDRB6/PGCRB5RB4 NCRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PSP3RD2 /PSP2RD1/PSP1RD0/PSP0RC3/SCK/SCLRC2/CCP1 RC1/T1 OSI/CCP2 NCNCRC0/T1 OSO/T1 CKIOSC2/CLKOOSC1/CLKIVSSVDDRE2/CS/AN7RE1 /WR/AN6RE0/RD/AN5RA5/AN4/SS/C2


Related search queries