PIC16(L)F707 40/44-Pin Flash Microcontrollers with XLP and mTouch Technology Operating Voltage Range: Devices included in this data sheet - 1.8V to 3.6V (PIC16LF707) PIC16F707 - 1.8V to 5.5V (PIC16F707) PIC16LF707 Extreme Low-Power Management PIC16LF707 with XLP High-Performance RISC CPU Sleep mode: 20 nA 1.8V, typical Only 35 Single-Word Instructions to Learn: Watchdog Timer: 500 nA 1.8V, typical - All single-cycle instructions except branches Timer1 Oscillator: 600 nA 1.8V, typical Operating Speed: 32 kHz - DC 20 MHz clock input - DC 200 ns instruction cycle mTouch Technology Features Interrupt Capability 8-Level Deep Hardware Stack Up to 32 Channels Direct, Indirect and Relative Addressing modes Two Capacitive Sensing modules: Processor Read Access to Program Memory - Acquire two samples simultaneously Pinout Compatible to other 40-Pin PIC16CXXX Multiple Power modes: and PIC16FXXX Microcontrollers - Operation during Sleep - Proximity sensing with ultra low A current Memory Adjustable Waveform Min. and Max. for Optimal Noise Performance 8K x 14 Words of Flash Program Memory 1.8V to 5.5V Operation (3.6V max. for 363 Bytes of Data Memory (SRAM) PIC16LF707) Special Microcontroller Features Analog Features Precision Internal Oscillator: A/D Converter: - 16 MHz or 500 kHz operation - 8-bit resolution and up to 14 channels - Factory calibrated to 1%, typical - Conversion available during Sleep - Software selectable 1, 2, 4 or 8 divider - Selectable 1.024V/2.048V/4.096V voltage 31 kHz Low-Power Internal Oscillator reference External Oscillator Block with: On-chip 3.2V Regulator (PIC16F707 device only) - Three crystal/resonator modes up to 20 MHz - Three external clock modes up to 20 MHz Peripheral Highlights Power-on Reset (POR) Power-up Timer (PWRT) Up to 35 I/O Pins and One Input-only Pin: Oscillator Start-Up Timer (OST) - High current source/sink for direct LED drive Brown-out Reset (BOR): - Interrupt-on-pin change - Selectable between two trip points - Individually programmable weak pull-ups - Disabled in Sleep option Timer0/A/B: 8-Bit Timer/Counter with 8-Bit Watchdog Timer (WDT) Prescaler Programmable Code Protection Enhanced Timer1/3: In-Circuit Serial Programming (ICSP) via Two - Dedicated low-power 32 kHz oscillator driver Pins - 16-bit timer/counter with prescaler In-Circuit Debug (ICD) via Two Pins - External Gate Input mode with toggle and Multiplexed Master Clear with Pull-up/Input Pin single shot modes Industrial and Extended Temperature Range - Interrupt-on-gate completion Timer2: 8-Bit Timer/Counter with 8-Bit Period Register, Prescaler and Postscaler 2010-2015 Microchip Technology Inc. DS40001418C-page 1PIC16(L)F707 Two Capture, Compare, PWM modules (CCP): Voltage Reference module: - 16-bit Capture, max. resolution 12.5 ns - Fixed Voltage Reference (FVR) with 1.024V, - 16-bit Compare, max. resolution 200 ns 2.048V and 4.096V output levels - 10-bit PWM, max. frequency 20 kHz - 5-bit rail-to-rail resistive DAC with positive refer- Addressable Universal Synchronous Asynchronous ence selection Receiver Transmitter (AUSART) Synchronous Serial Port (SSP): - SPI (Master/Slave) 2 C (Slave) with Address Mask -I Program High Timers Memory SRAM Capacitive 8-bit A/D Device Endurance I/Os AUSART CCP 8/16-bit Flash (bytes) Touch Channels (ch) Flash (bytes) (words) PIC16(L)F707 8192 363 128 36 32 14 Yes 2 4/2 PIN DIAGRAMS FIGURE 1: 40-PIN PDIP VPP/MCLR/RE3 1 40 RB7/CPSB15/ICSPDAT (3) (2) VCAP /SS /AN0/RA0 2 39 RB6/CPSB14/ICSPCLK CPSA0/AN1/RA1 3 38 RB5/AN13/CPSB13/T1G/T3CKI DACOUT/CPSA1/AN2/RA2 37 4 RB4/AN11/CPSB12 (1) CPSA2/VREF/AN3/RA3 5 36 RB3/AN9/CPSB11/CCP2 TACKI/T0CKI/CPSA3/RA4 6 35 RB2/AN8/CPSB10 (3) (2) VCAP /SS /CPSA4/AN4/RA5 RB1/AN10/CPSB9 7 34 CPSA5/AN5/RE0 RB0/AN12/CPSB8/INT 8 33 VDD CPSA6/AN6/RE1 9 32 CPSA7/AN7/RE2 31 VSS 10 VDD 30 11 RD7/CPSA15 VSS 12 29 RD6/CPSA14 CLKIN/OSC1/CPSB0/RA7 28 RD5/CPSA13 13 (3) VCAP /CLKOUT/OSC2/CPSB1/RA6 RD4/CPSA12 27 14 T1CKI/T1OSO/CPSB2/RC0 RC7/CPSA11/RX/DT 15 26 (1) CCP2 /T1OSI/CPSB3/RC1 25 RC6/CPSA10/TX/CK 16 TBCKI/CCP1/CPSB4/RC2 24 RC5/CPSA9/SDO 17 SCL/SCK/RC3 23 RC4/SDI/SDA 18 T3G/CPSB5/RD0 22 RD3/CPSA8 19 RD2/CPSB7 CPSB6/RD1 20 21 Note 1: CCP2 pin location may be selected as RB3 or RC1. 2: SS pin location may be selected as RA5 or RA0. 3: PIC16F707 only. DS40001418C-page 2 2010-2015 Microchip Technology Inc. PIC16F707/PIC16LF707