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