
PIC16F917/916/914/913 Data Sheet 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology © 2005 Microchip Technology Inc. Preliminary DS41250E Note 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. 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 our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, ensure that your application meets with your specifications. PRO MATE, PowerSmart, rfPIC, and SmartShunt are MICROCHIP MAKES NO REPRESENTATIONS OR WAR- registered trademarks of Microchip Technology Incorporated RANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, in the U.S.A. and other countries. WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB, LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, PICMASTER, SEEVAL, SmartSensor and The Embedded MERCHANTABILITY OR FITNESS FOR PURPOSE. Control Solutions Company are registered trademarks of Microchip disclaims all liability arising from this information and Microchip Technology Incorporated in the U.S.A. its use. Use of Microchip’s products as critical components in Analog-for-the-Digital Age, Application Maestro, dsPICDEM, life support systems is not authorized except with express dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, written approval by Microchip. No licenses are conveyed, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial implicitly or otherwise, under any Microchip intellectual property Programming, ICSP, ICEPIC, Linear Active Thermistor, rights. MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance and WiperLock are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. 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. © 2005, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona and Mountain View, California in October 2003. The Company’s quality system processes and procedures are for its PICmicro® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified. DS41250E-page ii Preliminary © 2005 Microchip Technology Inc. PIC16F917/916/914/913 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology High-Performance RISC CPU: Low-Power Features: • Only 35 instructions to learn: • Standby Current: - All single-cycle instructions except branches - <100 nA @ 2.0V, typical • Operating speed: • Operating Current: - DC – 20 MHz oscillator/clock input -8.5μA @ 32 kHz, 2.0V, typical - DC – 200 ns instruction cycle -100μA @ 1 MHz, 2.0V, typical • Program Memory Read (PMR) capability • Watchdog Timer Current: μ • Interrupt capability -1 A @ 2.0V, typical • 8-level deep hardware stack Peripheral Features: • Direct, Indirect and Relative Addressing modes • Liquid Crystal Display module: Special Microcontroller Features: - Up to 60 pixel drive capability on 28-pin • Precision Internal Oscillator: devices - Factory calibrated to ±1% - Up to 96 pixel drive capability on 40-pin - Software selectable frequency range of devices 8 MHz to 32 kHz - Four commons - Software tunable • Up to 35 I/O pins and 1 input-only pin: - Two-Speed Start-up mode - High-current source/sink for direct LED drive - Crystal fail detect for critical applications - Interrupt-on-pin change - Clock mode switching during operation for - Individually programmable weak pull-ups power savings • In-Circuit Serial Programming™ (ICSP™) via two • Power-saving Sleep mode pins • Wide operating voltage range (2.0V-5.5V) • Analog comparator module with: • Industrial and Extended temperature range - Two analog comparators • Power-on Reset (POR) - Programmable on-chip voltage reference (CVREF) module (% of VDD) • Power-up Timer (PWRT) and Oscillator Start-up - Comparator inputs and outputs externally Timer (OST) accessible • Brown-out Reset (BOR) with software control • A/D Converter: option - 10-bit resolution and up to 8 channels • Enhanced Low-Current Watchdog Timer (WDT) • Timer0: 8-bit timer/counter with 8-bit with on-chip oscillator (software selectable programmable prescaler nominal 268 seconds with full prescaler) with software enable • Enhanced Timer1: - 16-bit timer/counter with prescaler • Multiplexed Master Clear with pull-up/input pin - External Gate Input mode • Programmable code protection - Option to use OSC1 and OSC2 as Timer1 • High-Endurance Flash/EEPROM cell: oscillator if INTOSCIO or LP mode is - 100,000 write Flash endurance selected - 1,000,000 write EEPROM endurance • Timer2: 8-bit timer/counter with 8-bit period - Flash/Data EEPROM retention: > 40 years register, prescaler and postscaler • Addressable Universal Synchronous Asynchronous Receiver Transmitter (AUSART) • Up to 2 Capture, Compare, PWM modules: - 16-bit Capture, max. resolution 12.5 ns - 16-bit Compare, max. resolution 200 ns - 10-bit PWM, max. frequency 20 kHz • Synchronous Serial Port (SSP) with I2C™ © 2005 Microchip Technology Inc. Preliminary DS41250E-page 1 PIC16F917/916/914/913 Program Data Memory LCD Timers Memory 10-bit A/D Device I/O (segment CCP 8/16- (ch) Flash SRAM EEPROM drivers) bit (words/bytes) (bytes) (bytes) PIC16F913 4K/7K 256 256 24 5 16 1 2/1 PIC16F914 4K/7K 256 256 35 8 24 2 2/1 PIC16F916 8K/14K 352 256 24 5 16 1 2/1 PIC16F917 8K/14K 352 256 35 8 24 2 2/1 Pin Diagrams – PIC16F914/917, 40-Pin 40-pin PDIP RE3/MCLR/VPP 1 40 RB7/ICSPDAT/ICDDAT/SEG13 RA0/AN0/C1-/SEG12 2 39 RB6/ICSPCLK/ICDCK/SEG14 RA1/AN1/C2-/SEG7 3 38 RB5/COM1 RA2/AN2/C2+/VREF-/COM2 4 37 RB4/COM0 RA3/AN3/C1+/VREF+/SEG15 5 36 RB3/SEG3 RA4/C1OUT/T0CKI/SEG4 6 35 RB2/SEG2 RA5/AN4/C2OUT/SS/SEG5 7 34 RB1/SEG1 RE0/AN5/SEG21 8 33 RB0/INT/SEG0 RE1/AN6/SEG22 9 32 VDD RE2/AN7/SEG23 10 31 VSS VDD 11 30 RD7/SEG20 VSS 12 29 RD6/SEG19 RA7/OSC1/CLKI/T1OSI 28 13 PIC16F914/917 RD5/SEG18 RA6/OSC2/CLKO/T1OSO 14 27 RD4/SEG17 RC0/VLCD1 15 26 RC7/RX/DT/SDI/SDA/SEG8 RC1/VLCD2 16 25 RC6/TX/CK/SCK/SCL/SEG9 RC2/VLCD3 17 24 RC5/T1CKI/CCP1/SEG10 RC3/SEG6 18 23 RC4/T1G/SDO/SEG11 RD0/COM3 19 22 RD3/SEG16 RD1 20 21 RD2/CCP2 DS41250E-page 2 Preliminary © 2005 Microchip Technology Inc. PIC16F917/916/914/913 Pin Diagrams – PIC16F913/916, 28-Pin 28-pin PDIP, SOIC, SSOP RE3/MCLR/VPP 1 28 RB7/ICSPDAT/ICDDAT/SEG13 RA0/AN0/C1-/SEG12 2 27 RB6/ICSPCLK/ICDCK/SEG14 RA1/AN1/C2-/SEG7 3 26 RB5/COM1 RA2/AN2/C2+/VREF-/COM2 4 25 RB4/COM0 RA3/AN3/C1+/VREF+/COM3/SEG15 5 24 RB3/SEG3 RA4/C1OUT/T0CKI/SEG4 6 23 RB2/SEG2 RA5/AN4/C2OUT/SS/SEG5 7 22 RB1/SEG1 VSS 8 21 RB0/INT/SEG0 RA7/OSC1/CLKI/T1OSI 9 20 VDD RA6/OSC2/CLKO/T1OSO 10 19 VSS RC0/VLCD1 11 PIC16F913/916 18 RC7/RX/DT/SDI/SDA/SEG8 RC1/VLCD2 12 17 RC6/TX/CK/SCK/SCL/SEG9 RC2/VLCD3 13 16 RC5/T1CKI/CCP1/SEG10 RC3/SEG6 14 15 RC4/T1G/SDO/SEG11 28-pin QFN PP /V RA1/AN1/C2-/SEG7 RA0/AN0/C1-/SEG12 RE3/MCLR RB7/ICSPDAT/ICDDAT/SEG13 RB6/ICSPCLK/ICDCK/SEG14 RB5/COM1 RB4/COM0 28 27 26 25 24 23 22 RA2/AN2/C2+/VREF-/COM2 1 21 RB3/SEG3 RA3/AN3/C1+/VREF+/COM3/SEG15 2 20 RB2/SEG2 RA4/C1OUT/T0CKI/SEG4 3 19 RB1/SEG1 RA5/AN4/C2OUT/SS/SEG5 4 PIC16F913/916 18 RB0/INT/SEG0 VSS 5 17 VDD RA7/OSC1/CLKI/T1OSI 6 16 VSS RA6/OSC2/CLKO/T1OSO 7 15 RC7/RX/DT/SDI/SDA/SEG8 8 9 10 11 12 13 14 RC3/SEG6 RC0/VLCD1 RC1/VLCD2 RC2/VLCD3 /SDO/SEG11 RC4/T1G RC5/T1CKI/CCP1/SEG10 RC6/TX/CK/SCK/SCL/SEG9 © 2005 Microchip Technology Inc. Preliminary DS41250E-page 3 PIC16F917/916/914/913 Pin Diagrams – PIC16F914/917, 44-Pin 44-pin TQFP /SDO/SEG11 RC6/TX/CK/SCK/SCL/SEG9 RC5/T1CKI/CCP1/SEG10 RC4/T1G RD3/SEG16 RD2/CCP2 RD1 RD0/COM3 RC3/SEG6 RC2/VLCD3 RC1/VLCD2 NC 44 43 42 41 40 39 37 36 35 34 RC7/RX/DT/SDI/SDA/SEG8
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages272 Page
-
File Size-