PIC12(L)F1501/PIC16(L)F150X
8/14/20-Pin, 8-Bit Flash Microcontrollers Product Brief
High-Performance RISC CPU:
• C Compiler Optimized Architecture
• Only 49 Instructions
• Up to 14 Kbytes Linear Program Memory
Addressing
• Up to 512 bytes Linear Data Memory Addressing
• Operating Speed:
- DC – 20 MHz clock input
- DC – 125 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
Low-Power Features
(PIC12LF1501/PIC16LF150X):
• Standby Current:
- 20 nA @ 1.8V, typical
• Watchdog Timer Current:
- 300 nA @ 1.8V, typical
• Operating Current:
- 30
A/MHz
@ 1.8V, typical
• Timer1 Oscillator:
- 600 nA @ 32 kHz, 1.8V, typical
(PIC16LF1508/09 devices only)
Peripheral Features:
• Analog-to-Digital Converter (ADC):
- 10-bit resolution
- Up to 12 external channels
- 2 internal channels:
- Fixed Voltage Reference channel
- Temperature Indicator channel
- Auto acquisition capability
- Conversion available during Sleep
• Up to 2 Comparators:
- Rail-to-rail inputs
- Power mode control
- Software controllable hysteresis
• Voltage Reference module:
- Fixed Voltage Reference (FVR) with 1.024V,
2.048V and 4.096V output levels
- Up to 1 rail-to-rail resistive 5-bit DAC with
positive and negative reference selection
• Up to 17 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
Programmable Prescaler
• Enhanced Timer1:
- 16-bit timer/counter with prescaler
- External Gate Input mode
• Timer2: 8-Bit Timer/Counter with 8-Bit Period
Register, Prescaler and Postscaler
• Four 10-bit PWM modules
• Up to 1 Master Synchronous Serial Port (MSSP)
with SPI and I
2
C™ with:
- 7-bit address masking
- SMBus/PMBus™ compatibility
• Up to 1 Enhanced Universal Synchronous Asyn-
chronous Receiver Transmitter (EUSART):
- RS-232, RS-485 and LIN compatible
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
• Three External Clock modes up to 20 MHz
Special Microcontroller Features:
• Operating Voltage Range:
- 1.8V to 3.6V (PIC12LF1501/PIC16LF150X)
- 2.3V to 5.5V (PIC12F1501/PIC16F150X)
• Self-Programmable under Software Control
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Programmable Low-Power Brown-Out Reset
(LPBOR)
• Extended Watchdog Timer (WDT):
- Programmable period from 1 ms to 256s
• Programmable Code Protection
• In-Circuit Serial Programming™ (ICSP™) via Two
Pins
• Enhanced Low-Voltage Programming (LVP)
• Power-Saving Sleep mode:
- Low-Power Sleep mode
- Low-Power BOR (LPBOR)
• Integrated Temperature Indicator
2011 Microchip Technology Inc.
Advance Information
DS41454C-page 1
PIC12(L)F1501/PIC16(L)F150X
- Auto-baud detect
- Auto-wake-up on Start
• Up to 4 Configurable Logic Cell (CLC) modules:
- Up to 16 selectable input source signals
- Four inputs per module
- Software control of combinational/sequential
logic/state/clock functions
- AND/OR/XOR/D Flop/D Latch/SR/JK
- External or internal inputs/outputs
- Operation while in Sleep
• Numerically Controlled Oscillator (NCO):
- 20-bit accumulator
- 16-bit increment
- True linear frequency control
- High-speed clock input
- Selectable Output modes
- Fixed Duty Cycle (FDC)
- Pulse Frequency Modulation (PFM)
• Complementary Waveform Generator (CWG):
- Up to 8 selectable signal sources
- Selectable falling and rising edge dead-band
control
- Polarity control
- Up to 4 auto-shutdown sources
- Multiple input sources: PWM, CLC, NCO
TABLE 1:
Device
PIC12F1501
PIC12LF1501
PIC16F1503
PIC16LF1503
PIC16F1507
PIC16LF1507
PIC16F1508
PIC16LF1508
PIC16F1509
PIC16LF1509
PIC12(L)F1501/PIC16(L)F150X FAMILY TYPES
Program
SRAM
10-bit A/D
Timers
I/Os
Comparators DAC
PWM EUSART MSSP CWG CLC NCO ICD XLP
Memory Flash
8/16-bit
(bytes)
(ch)
(words)
1024
2048
2048
4096
8192
64
128
128
256
512
6
12
18
18
18
4
8
12
12
12
1
2
—
2
2
1
1
—
1
1
2/1
2/1
2/1
2/1
2/1
4
4
4
4
4
—
—
—
1
1
—
1
—
1
1
1
1
1
1
1
2
2
2
4
4
1
1
1
1
1
—
—
—
V3
V3
—
—
—
X
X
Note:
Pin details are subject to change.
FIGURE 1:
8-PIN PDIP, SOIC, MSOP, DFN DIAGRAM FOR PIC12(L)F1501
PDIP, SOIC, MSOP, DFN (2X3)
PIC12(L)F1501
V
DD
RA5
RA4
MCLR/V
PP
/RA3
1
2
3
4
8
7
6
5
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
Note:
See
Table 2
for location of all peripheral functions.
DS41454C-page 2
Advance Information
2011 Microchip Technology Inc.
PIC12(L)F1501/PIC16(L)F150X
FIGURE 2:
14-PIN PDIP, SOIC, TSSOP DIAGRAM FOR PIC16(L)F1503
PDIP, SOIC, TSSOP
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
1
PIC16(L)F1503
2
3
4
5
6
7
14
13
12
11
10
9
8
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
Note:
See
Table 3
for location of all peripheral functions.
FIGURE 3:
QFN (3x3)
16-PIN QFN DIAGRAM FOR PIC16(L)F1503
16 15 14 13
RA5
RA4
MCLR/V
PP
/RA3
RC5
PIC16(L)F1503
V
DD
NC
NC
Vss
1
2
3
4
12
11
10
9
-
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
5 6 7 8
Note:
See
Table 3
for location of all peripheral functions.
2011 Microchip Technology Inc.
Advance Information
RC4
RC3
RC2
RC1
DS41454C-page 3
PIC12(L)F1501/PIC16(L)F150X
FIGURE 4:
20-PIN PDIP, SOIC, SSOP DIAGRAM FOR PIC16(L)F1507/8/9
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
RC6
RC7
RB7
1
2
PIC16(L)F1507/8/9
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
RB4
RB5
RB6
PDIP, SOIC, SSOP
Note 1:
See
Table 4
for location of all PIC16(L)F1507 peripheral functions.
2:
See
Table 5
for location of all PIC16(L)F1508/9 peripheral functions
FIGURE 5:
20-PIN QFN DIAGRAM FOR PIC16(L)F1507/8/9
RA4
RA5
V
DD
Vss
RA0/ICSPDAT
20 19 18 17 16
QFN (4x4)
MCLR/V
PP
/RA3
RC5
RC4
RC3
RC6
PIC16(L)F1507/8/9
1
2
3
4
5
15
14
13
12
11
-
RA1/ICSPCLK
RA2
RC0
RC1
RC2
6 7 8 9 10
Note 1:
See
Table 4
for location of all PIC16(L)F1507 peripheral functions.
2:
See
Table 5
for location of all PIC16(L)F1508/9 peripheral functions
DS41454C-page 4
Advance Information
RC7
RB7
RB6
RB5
RB4
2011 Microchip Technology Inc.
PIC12(L)F1501/PIC16(L)F150X
TABLE 2:
8-Pin PDIP/SOIC/MSOP/DFN
8-PIN ALLOCATION TABLE (PIC12(L)F1501)
Comparator
Reference
Interrupt
Timer
RA0
RA1
RA2
RA3
RA4
RA5
V
DD
V
SS
7
6
5
4
3
2
1
8
AN0
AN1
AN2
—
AN3
—
—
—
DACOUT1
V
REF
+
DACOUT2
—
—
—
—
—
C1IN+
C1IN0-
C1OUT
—
C1IN1-
—
—
—
—
—
T0CKI
T1G
(2)
T1G
(1)
T1CKI
—
—
CWGB
(1)
—
CWGA
(1)
CWGFLT
—
CWGB
(2)
CWGA
(2)
—
—
—
NCOOUT
(1)
—
—
—
NCOCLK
NCOOUT
(2)
—
—
CLC2IN1
CLC2IN0
PWM2
—
IOC
IOC
INT
IOC
IOC
IOC
IOC
—
—
ICSPDAT
ICSPCLK
—
MCLR
V
PP
CLKOUT
CLKIN
V
DD
V
SS
CLC1OUT
(1)
PWM1
CLC1IN0
—
CLC1OUT
(2)
PWM3
CLC2OUT
CLC1IN1
—
—
PWM4
—
—
Note 1:
Default location for peripheral pin function. Alternate location can be selected using the APFCON register.
2:
Alternate location for peripheral pin function selected by the APFCON register.
TABLE 3:
14-Pin PDIP/SOIC/TSSOP
14-PIN ALLOCATION TABLE (PIC16(L)F1503)
Comparator
16-Pin QFN
Reference
Interrupt
MSSP
Timer
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC2
RC3
RC4
RC5
V
DD
V
SS
13
12
11
4
3
2
10
9
8
7
6
5
1
14
12
11
10
3
2
1
9
8
7
6
5
4
16
13
AN0
AN1
AN2
—
AN3
—
AN4
AN5
AN6
AN7
—
—
—
—
DACOUT1
V
REF
+
DACOUT2
—
—
—
—
—
—
—
—
—
—
—
C1IN+
C1IN0-
C2IN0-
C1OUT
—
—
—
C2IN+
C1IN1-
C2IN1-
C1IN2-
C2IN2-
C1IN3-
C2IN3-
C2OUT
—
—
—
—
—
T0CKI
T1G
(2)
T1G
(1)
T1CKI
—
—
—
—
—
—
—
—
—
—
CWGFLT
—
—
—
—
—
—
—
CWGB
CWGA
—
—
—
—
—
—
NCOOUT
(2)
NCOCLK
—
NCOOUT
(1)
—
—
—
—
—
—
—
—
CLC1OUT
(1)
CLC1IN0
—
CLC1IN1
CLC2OUT
—
—
CLC2IN0
CLC2IN1
CLC1OUT
(2)
—
—
—
—
PWM3
—
—
—
—
PWM4
—
PWM2
—
PWM1
—
—
—
—
—
SS
(2)
SDO
(2)
—
SCL
SCK
SDA
SDI
SDO
(1)
SS
(1)
—
—
—
—
IOC
IOC
INT
IOC
IOC
IOC
IOC
—
—
—
—
—
—
—
—
ICSPDAT
ICSPCLK
—
MCLR
V
PP
CLKOUT
CLKIN
—
—
—
—
—
—
V
DD
V
SS
Note 1:
2:
Default location for peripheral pin function. Alternate location can be selected using the APFCON register.
Alternate location for peripheral pin function selected by the APFCON register.
2011 Microchip Technology Inc.
Advance Information
DS41454C-page 5
Basic
PWM
CWG
NCO
ADC
CLC
I/O
Basic
PWM
CWG
NCO
ADC
CLC
I/O