PIC16F527 20-Pin, 8-Bit Flash Microcontroller Processor Features: eXtreme Low-Power (XLP) Features Interrupt Capability Sleep mode 50 nA 2.0V, typical PIC16F527 Operating Speed: Watchdog Timer (WDT): 500 nA 2.0V, typical - DC 20 MHz Crystal oscillator - DC 200 ns Instruction cycle Microcontroller Features: High-Endurance Program and Flash Data Brown-out Reset (BOR) Memory Cells: Power-on Reset (POR) - 1024 x 12 user execution memory Device Reset Timer (DRT) - 64 x 8 self-writable data memory Watchdog Timer (WDT) with a Dedicated RC - 100,000 write program memory endurance Oscillator - 1,000,000 write Flash data memory Programmable Code Protection (CP) endurance Power-Saving Sleep mode with Wake-up on - Program and Flash data retention: >40 years Change Feature General Purpose Registers (SRAM): Selectable Oscillator Options: - 68 x 8 for PIC16F527 - INTOSC: Precision 4 or 8 MHz internal Only 36 Single-Word Instructions to Learn: oscillator - Added RETURN and RETFIE instructions - EXTRC: Low-cost external RC oscillator - Added MOVLB instruction - LP: Power-saving, low-frequency crystal All Instructions are Single-Cycle except for - XT: Standard crystal/resonator Program Branches which are Two-Cycle - HS: High-speed crystal/resonator Four-Level Deep Hardware Stack - EC: High-speed external clock Direct, Indirect and Relative Addressing modes Variety of Packaging Options: for Data and Instructions - 20-Lead PDIP, SOIC, SSOP, QFN, UQFN Peripheral Features: CMOS Technology: Device Features: Low-Power, High-Speed CMOS Flash Technology - One Input-only pin Fully-Static Design - 17 I/Os Wide Operating Voltage and Temperature Range: - Individual direction control - Industrial: 2.0V to 5.5V - High-current source/sink - Extended: 2.0V to 5.5V 8-Bit Real-Time Clock/Counter (TMR0) with 8-Bit Operating Current: Programmable Prescaler - 170 uA 2V, 4 MHz, typical In-Circuit Serial Programming (ICSP) via Two - 15 uA 2V, 32 kHz, typical External Pin Connections Standby Current: Analog Comparator (CMP): - Two analog comparators - 100 nA 2V, typical - Absolute and programmable references Analog-to-Digital Converter (ADC): - 8-bit resolution - Eight external input channels - One internal channel to convert comparator - 0.6V reference input Operational Amplifiers (op amps): - Two operational amplifiers - Fully-accessible visibility 2012-2016 Microchip Technology Inc. DS40001652D-page 1PIC16F527 TABLE 1: PIC16F527 AND PIC16F570 FAMILY TYPES PIC16F527 (1) 18 1 KW 64 68 8 2 2 1 Y 4 Y Y 4 4 Y PIC16F570 (2) 25 2 KW 64 132 8 2 2 1 Y 4 Y Y 8 8 Y Note 1: One pin is input-only. Data Sheet Index: (Unshaded devices are described in this document.) 1: DS40001652 PIC16F527 Data Sheet, 20-Pin, 8-bit Flash Microcontroller. 2: DS40001684 PIC16F570 Data Sheet, 28-Pin, 8-bit Flash Microcontroller. FIGURE 1: 20-PIN DIAGRAM FOR PIC16F527 PDIP, SSOP, SOIC VDD 1 VSS 20 RA5 2 19 RA0/ICSPDAT RA4 3 18 RA1/ICSPCLK RA3/MCLR/VPP 4 17 RA2 RC5 5 16 RC0 RC4 6 15 RC1 RC3 7 14 RC2 RB4 RC6 8 13 12 RB5 9 RC7 11 RB6 RB7 10 FIGURE 2: 20-PIN DIAGRAM FOR PIC16F527 QFN, UQFN RA3/MCLR/VPP 15 RA1/ICSPCLK 1 14 RC5 RA2 2 13 RC4 3 RC0 4 12 RC3 RC1 11 5 RC6 RC2 DS40001652D-page 2 2012-2016 Microchip Technology Inc. PIC16F527 Device Data Sheet Index (1) I/O Pins Flash Data EE (B) SRAM (B) 6 20 RA4 RC7 8-Bit ADC 19 7 RA5 RB7 Channels 18 RB6 8 VDD PIC16F527 17 9 VSS RB5 Op Amp 16 RB4 10 RA0/ICSPDAT Comparator 8-Bit Timers BOR Stack Levels Interrupts 8 MHz Int. Osc. Interrupt-on-Change Pins Weak Pull-up Pins XLP