PIC16(L)F1512/1513
Data Sheet
28-Pin Flash Microcontrollers
with XLP Technology
2012 Microchip Technology Inc.
Preliminary
DS41624B
Note the following details of the code protection feature on Microchip devices:
•
•
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
•
•
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
EE
L
OQ
, K
EE
L
OQ
logo, MPLAB, PIC, PICmicro, PICSTART,
PIC
32
logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, chipKIT,
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP,
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB,
MPLINK, mTouch, Omniscient Code Generation, PICC,
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE,
rfLAB, Select Mode, Total Endurance, TSHARC,
UniWinDriver, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2012, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 9781620763483
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
==
ISO/TS 16949
==
DS41624B-page 2
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
®
MCUs and dsPIC
®
DSCs, K
EE
L
OQ
®
code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
Preliminary
2012 Microchip Technology Inc.
PIC16(L)F1512/3
28-Pin Flash Microcontrollers with XLP Technology
High-Performance RISC CPU:
• C Compiler Optimized Architecture
• Only 49 Instructions
• Up to 7 Kbytes Linear Program Memory
Addressing
• Up to 256 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
Extreme Low-Power Management
PIC16LF1512/3 with XLP:
• Sleep mode: 20 nA @ 1.8V, typical
• Watchdog Timer: 300 nA @ 1.8V, typical
• Secondary Oscillator: 600 nA @ 32 kHz, 1.8V,
typical
• Operating Current: 30
A/MHz
@ 1.8V, typical
Special Microcontroller Features:
• Operating Voltage Range:
- 2.3V-5.5V (PIC16F1512/3)
- 1.8V-3.6V (PIC16LF1512/3)
• Self-Programmable under Software Control
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Programmable 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:
- Factory calibrated to ± 1%, typical
- 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 25 I/O Pins (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 17 channels
- Special Event Triggers
- Conversion available during Sleep
- Hardware Capacitive Voltage Divider (CVD)
- Double sample conversions
- Two result registers
- Inverted acquisition
- 7-bit pre-charge timer
- 7-bit acquisition timer
- Two guard ring output drives
- Adjustable sample and hold capacitor array
• Voltage Reference module:
- Fixed Voltage Reference (FVR) with 1.024V,
2.048V and 4.096V output levels
• Integrated Temperature Indicator
2012 Microchip Technology Inc.
Preliminary
DS41624B-page 3
PIC16(L)F1512/3
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, Requires Debug Header.
2:
One pin is input-only.
Data Sheet Index:
(Unshaded devices are described in this document.)
1:
Future Product
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.
2
2
2
2
2
2
10
10
FIGURE 1:
28-PIN SPDIP, SOIC, SSOP PACKAGE DIAGRAM FOR PIC16(L)F1512/3
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
5
PIC16F1512/3
PIC16LF1512/3
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/ICDDAT
RB6/ICSPCLK/ICDCLK
RB5
RB4
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
RC6
RC5
RC4
DS41624B-page 4
Preliminary
2012 Microchip Technology Inc.
XLP
Y
Y
Y
Y
Y
Y
Y
Y
PIC16(L)F1512/3
FIGURE 2:
28-PIN UQFN (4X4) PACKAGE DIAGRAM FOR PIC16(L)F1512/3
28-Pin UQFN
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
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
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RA1
RA0
RE3/MCLR/V
PP
RB7/ICSPDAT/ICDDAT
RB6/ICSPCLK/ICDCLK
RB5
RB4
PIC16F1512/3
PIC16LF1512/3
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
Preliminary
DS41624B-page 5