PIC16(L)F1516/7/8/9
28/40/44-Pin Flash Microcontrollers with XLP Technology
Devices Included In This Data Sheet:
• PIC16F1516
• PIC16F1517
• PIC16F1518
• PIC16F1519
• PIC16LF1516
• PIC16LF1517
• PIC16LF1518
• PIC16LF1519
Extreme Low-Power Management
PIC16LF1516/7/8/9 with XLP:
•
•
•
•
Sleep mode: 20 nA @ 1.8V, typical
Watchdog Timer: 300 nA @ 1.8V, typical
Secondary Oscillator: 600 nA @ 32 kHz
Operating Current: 30
A/MHz @ 1.8V, typical
High-Performance RISC CPU:
• C Compiler Optimized Architecture
• Only 49 Instructions
• Up to 28 Kbytes Linear Program Memory
Addressing
• Up to 1024 Bytes Linear Data Memory
Addressing
• Operating Speed:
- DC – 20 MHz clock input @ 2.5V
- DC – 16 MHz clock input @ 1.8V
- DC – 200 ns instruction cycle
• Interrupt Capability with Automatic Context
Saving
• 16-Level Deep Hardware Stack with Optional
Overflow/Underflow Reset
• Direct, Indirect and Relative Addressing modes:
- Two full 16-bit File Select Registers (FSRs)
- FSRs can read program and data memory
Special Microcontroller Features:
• Operating Voltage Range:
- 2.3V-5.5V (PIC16F1516/7/8/9)
- 1.8V-3.6V (PIC16LF1516/7/8/9)
• Self-Programmable under Software Control
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Low-Power Brown-out Reset (LPBOR)
• Extended Watchdog Timer (WDT)
• In-Circuit Serial Programming™ (ICSP™) via
two pins
• In-Circuit Debug (ICD) via Two Pins
• Enhanced Low-Voltage Programming (LVP)
• Programmable Code Protection
• Low-Power Sleep mode
• 128 Bytes High-Endurance Flash
- 100,000 write Flash endurance (minimum)
Flexible Oscillator Structure:
• 16 MHz Internal Oscillator Block:
- Software selectable frequency range from
16 MHz to 31 kHz
• 31 kHz Low-Power Internal Oscillator
• External Oscillator Block with:
- Four crystal/resonator modes up to 20 MHz
- Three external clock modes up to 20 MHz
• Fail-Safe Clock Monitor
- Allows for safe shutdown if peripheral clock
stops
• Two-Speed Oscillator Start-up
• Oscillator Start-up Timer (OST)
Peripheral Highlights:
• Up to 35 I/O Pins and 1 Input-Only Pin:
- High current sink/source 25 mA/25 mA
- Individually programmable weak pull-ups
- Individually programmable
interrupt-on-change (IOC) pins
• Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler
• Enhanced Timer1:
- 16-bit timer/counter with prescaler
- External Gate Input mode
- Low-power 32 kHz secondary oscillator driver
• Timer2: 8-Bit Timer/Counter with 8-Bit Period
Register, Prescaler and Postscaler
• Two Capture/Compare (CCP) modules:
• Master Synchronous Serial Port (MSSP) with SPI
and I
2
C
TM
with:
- 7-bit address masking
- SMBus/PMBus
TM
compatibility
• Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART) module:
- RS-232, RS-485 and LIN compatible
- Auto-Baud Detect
- Auto-wake-up on start
Analog Features:
• Analog-to-Digital Converter (ADC):
- 10-bit resolution
- Up to 28 channels
- Auto acquisition capability
- Conversion available during Sleep
• Voltage Reference module:
- Fixed Voltage Reference (FVR) with 1.024V,
2.048V and 4.096V output levels
• Temperature Indicator
2010-2012 Microchip Technology Inc.
DS41452C-page 1
PIC16(L)F1516/7/8/9
PIC16(L)F151X/152X Family Types
Program Memory
Flash (words)
Advanced Control
MSSP (I
2
C™/SPI)
Data Sheet Index
ADC
Data SRAM
(bytes)
Timers
(8/16-bit)
EUSART
I/O’s
(2)
10-bit (ch)
Debug
(1)
I
I
I
I
I
I
I
I
CCP
Device
PIC16(L)F1512
(1)
2048
128
25
17
Y
2/1
1
1
PIC16(L)F1513
(1)
4096
256
25
17
Y
2/1
1
1
PIC16(L)F1516
(2)
8192
512
25
17
N
2/1
1
1
PIC16(L)F1517
(2)
8192
512
36
28
N
2/1
1
1
PIC16(L)F1518
(2)
16384
1024
25
17
N
2/1
1
1
PIC16(L)F1519
(2)
16384
1024
36
28
N
2/1
1
1
PIC16(L)F1526
(3)
8192
768
54
30
N
6/3
2
2
PIC16(L)F1527
(3)
16384
1536
54
30
N
6/3
2
2
Note 1:
I - Debugging, Integrated on Chip; H - Debugging, available using Debug Header.
2:
One pin is input-only.
Data Sheet Index:
(Unshaded devices are described in this document.)
1:
DS41624
PIC16(L)F1512/13 Data Sheet, 28-Pin Flash, 8-bit Microcontrollers.
2:
DS41452
PIC16(L)F1516/7/8/9 Data Sheet, 28/40/44-Pin Flash, 8-bit MCUs.
3:
DS41458
PIC16(L)F1526/27 Data Sheet, 64-Pin Flash, 8-bit MCUs.
Note:
For other small form-factor package availibility and marking information, please visit
http://www.microchip.com/packaging
or contact your local sales office.
2
2
2
2
2
2
10
10
DS41452C-page 2
2010-2012 Microchip Technology Inc.
XLP
Y
Y
Y
Y
Y
Y
Y
Y
PIC16(L)F1516/7/8/9
FIGURE 1:
28-PIN SPDIP, SOIC, SSOP PACKAGE DIAGRAM FOR PIC16(L)F1516/1518
28-Pin SPDIP, SOIC, SSOP
V
PP
/MCLR/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
RC0
RC1
RC2
RC3
1
2
3
4
PIC16F1516/1518
PIC16LF1516/1518
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
RC6
RC5
RC4
Note:
See
Table 1
for location of all peripheral functions.
FIGURE 2:
28-Pin UQFN
28-PIN UQFN (4X4) PACKAGE DIAGRAM FOR PIC16(L)F1516/1518
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
Note:
See
Table 1
for location of all peripheral functions.
2010-2012 Microchip Technology Inc.
RC0
RC1
RC2
RC3
RC4
RC5
RC6
8
9
10
11
12
13
14
1
2
3
4
5
6
7
21
20
19
PIC16F1516/1518
18
PIC16LF1516/1518
17
16
15
28
27
26
25
24
23
22
RA1
RA0
RE3/MCLR/V
PP
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
DS41452C-page 3
PIC16(L)F1516/7/8/9
FIGURE 3:
40-PIN PDIP PACKAGE DIAGRAM FOR PIC16(L)F1517/1519
40-Pin PDIP
V
PP
/MCLR/RE3
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
V
DD
V
SS
RA7
RA6
RC0
RC1
RC2
RC3
RD0
RD1
1
2
3
4
5
6
7
PIC16F1517/1519
PIC16LF1517/1519
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RB3
RB2
RB1
RB0
V
DD
V
SS
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
Note:
See
Table 1
for location of all peripheral functions.
DS41452C-page 4
2010-2012 Microchip Technology Inc.
PIC16(L)F1516/7/8/9
FIGURE 4:
40-PIN UQFN (5X5) PACKAGE DIAGRAM FOR PIC16(L)F1517/1519
40
39
38
37
36
35
34
33
32
31
RC7
RD4
RD5
RD6
RD7
V
SS
V
DD
RB0
RB1
RB2
1
2
3
4
5
6
7
8
9
10
PIC16F1517/1519
PIC16LF1517/1519
30
29
28
27
26
25
24
23
22
21
Note:
See
Table 1
for location of all peripheral functions.
RC6
RC5
RC4
RD3
RD2
RD1
RD0
RC3
RC2
RC1
RC0
RA6
RA7
V
SS
V
DD
RE2
RE1
RE0
RA5
RA4
44
43
42
41
40
39
38
37
36
35
34
RC6
RC5
RC4
RD3
RD2
RD1
RD0
RC3
RC2
RC1
NC
40-Pin UQFN
FIGURE 5:
44-PIN TQFP PACKAGE DIAGRAM FOR PIC16(L)F1517/1519
44-Pin TQFP
RB3
RB4
RB5
ICSPCLK/RB6
ICSPDAT/RB7
V
PP
/MCLR/RE3
RA0
RA1
RA2
RA3
11
12
13
14
15
16
17
18
19
20
RC7
RD4
RD5
RD6
RD7
V
SS
V
DD
RB0
RB1
RB2
RB3
Note:
See
Table 1
for location of all peripheral functions.
2010-2012 Microchip Technology Inc.
NC
NC
RB4
RB5
ICSPCLK/RB6
ICSPDAT/RB7
RE3
RA0
RA1
RA2
RA3
12
13
14
15
16
17
18
19
20
21
22
1
2
3
4
5
6
7
8
9
10
11
PIC16F1517/1519
PIC16LF1517/1519
33
32
31
30
29
28
27
26
25
24
23
NC
RC0
RA6
RA7
V
SS
V
DD
RE2
RE1
RE0
RA5
RA4
DS41452C-page 5