PIC16F7X7 28/40/44-Pin, 8-Bit CMOS Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology Low-Power Features: Peripheral Features: Power-Managed modes: High Sink/Source Current: 25 mA - Primary Run (XT, RC oscillator, 76 A, Two 8-bit Timers with Prescaler 1MHz, 2V) Timer1/RTC module: - RC RUN (7 A, 31.25 kHz, 2V) - 16-bit timer/counter with prescaler - SEC RUN (9 A, 32 kHz, 2V) - Can be incremented during Sleep via - Sleep (0.1 A, 2V) external 32 kHz watch crystal Timer1 Oscillator (1.8 A, 32 kHz, 2V) Master Synchronous Serial Port (MSSP) with 2 TM 3-wire SPI and I C (Master and Slave) modes Watchdog Timer (0.7 A, 2V) Addressable Universal Synchronous Two-Speed Oscillator Start-up Asynchronous Receiver Transmitter (AUSART) Three Capture, Compare, PWM modules: Oscillators: - Capture is 16-bit, max. resolution is 12.5 ns Three Crystal modes: - Compare is 16-bit, max. resolution is 200 ns - LP, XT, HS (up to 20 MHz) - PWM max. resolution is 10 bits Two External RC modes Parallel Slave Port (PSP) 40/44-pin devices only One External Clock mode: - ECIO (up to 20 MHz) Special Microcontroller Features: Internal Oscillator Block: Fail-Safe Clock Monitor for protecting critical - 8 user-selectable frequencies (31 kHz, applications against crystal failure 125 kHz, 250 kHz, 500 kHz, 1 MHz, 2 MHz, Two-Speed Start-up mode for immediate code 4MHz, 8MHz) execution Power-on Reset (POR), Power-up Timer (PWRT) Analog Features: and Oscillator Start-up Timer (OST) 10-bit, up to 14-channel Analog-to-Digital Converter: Programmable Code Protection - Programmable Acquisition Time Processor Read Access to Program Memory - Conversion available during Sleep mode Power-Saving Sleep mode Dual Analog Comparators In-Circuit Serial Programming (ICSP) via Programmable Low-Current Brown-out Reset two pins (BOR) Circuitry and Programmable Low-Voltage MPLAB In-Circuit Debug (ICD) via two pins Detect (LVD) MCLR pin function replaceable with input only pin MSSP Program Data Memory 10-bit CCP Timers Device SRAM I/O 2 AUSART I C ( Single-Word A/D (ch) (PWM) 8/16-bit SPI (Bytes) (Master) Instructions) PIC16F737 4096 368 25 16 11 2 3 Yes Yes Yes 2/1 PIC16F747 4096 368 36 17 14 2 3 Yes Yes Yes 2/1 PIC16F767 8192 368 25 16 11 2 3 Yes Yes Yes 2/1 PIC16F777 8192 368 36 17 14 2 3 Yes Yes Yes 2/1 2003-2013 Microchip Technology Inc. DS30498D-page 1 Interrupts ComparatorsPIC16F7X7 Pin Diagrams PDIP, SOIC, SSOP (28-pin) 1 28 RB7/PGD MCLR/VPP/RE3 2 27 RB6/PGC RA0/AN0 26 3 RB5/AN13/CCP3 RA1/AN1 4 25 RB4/AN11 RA2/AN2/VREF-/CVREF (1) RB3/CCP2 /AN9 RA3/AN3/VREF+ 5 24 6 23 RB2/AN8 RA4/T0CKI/C1OUT 7 22 RB1/AN10 RA5/AN4/LVDIN/SS/C2OUT 8 21 RB0/INT/AN12 VSS OSC1/CLKI/RA7 9 20 VDD VSS OSC2/CLKO/RA6 10 19 11 18 RC7/RX/DT RC0/T1OSO/T1CKI (1) 17 RC6/TX/CK RC1/T1OSI/CCP2 12 RC2/CCP1 16 RC5/SDO 13 RC4/SDI/SDA RC3/SCK/SCL 14 15 QFN (28-pin) 28 27 26 25 24 23 22 (1) RA2/AN2/VREF-/CVREF 1 21 RB3/CCP2 /AN9 RA3/AN3/VREF+ 2 20 RB2/AN8 RA4/T0CKI/C1OUT 3 19 RB1/AN10 PIC16F737 RA5/AN4/LVDIN/SS/C2OUT 4 18 RB0/INT/AN12 PIC16F767 VSS 17 5 VDD OSC1/CLKI/RA7 6 16 VSS OSC2/CLKO/RA6 7 15 RC7/RX/DT 89110 11213 14 (1) QFN (44-pin) 33 RC7/RX/DT 1 OSC2/CLKO/RA6 32 RD4/PSP4 OSC1/CLKI/RA7 2 31 RD5/PSP5 VSS 3 30 RD6/PSP6 VSS 4 PIC16F747 RD7/PSP7 29 NC 5 28 VDD VSS 6 VDD PIC16F777 27 RE2/CS/AN7 7 VDD 26 RE1/WR/AN6 8 RB0/INT/AN12 RE0/RD/AN5 9 25 RB1/AN10 RA5/AN4/LVDIN/SS/C2OUT 24 10 RB2/AN8 23 RA4/T0CKI/C1OUT 11 Note 1: For the QFN package, it is recommended that the bottom pad be connected to VSS. 2: Pin location of CCP2 is determined by the CCPMX bit in Configuration Word Register 1. DS30498D-page 2 2003-2013 Microchip Technology Inc. (2) RB3/CCP2 /AN9 12 44 RC6/TX/CK 13 NC 43 RC5/SDO RB4/AN11 14 42 RC4/SDI/SDA RB5/AN13/CCP3 15 41 RD3/PSP3 RB6/PGC 16 40 RD2/PSP2 RB7/PGD 17 39 RD1/PSP1 MCLR/VPP/RE3 18 38 RD0/PSP0 RA0/AN0 19 37 RC3/SCK/SCL RA1/AN1 20 36 RC2/CCP1 (1) PIC16F737/767 RA2/AN2/VREF-/CVREF 21 35 RC1/T1OSI/CCP2 RA3/AN3/VREF+ 22 34 RC0/T1OSO/T1CKI RC0/T1OSO/T1CKI RA1/AN1 (1) RC1/T1OSI/CCP2 RA0/AN0 RC2/CCP1 MCLR/VPP/RE3 RC3/SCK/SCL RB7/PGD RC4/SDI/SDA RB6/PGC RC5/SDO RB5/AN13/CCP3 RC6/TX/CK RB4/AN11