PIC12/16(L)F161X
8/14/20-Pin, 8-Bit Flash Microcontroller Product Brief
Description:
PIC12/16(L)F161X microcontrollers deliver on-chip features that are unique to the design for embedded control of small
motors and general purpose applications in 8/14/20-pin count packages. Features like 10-bit A/D, CCP, 24-bit SMT and
Zero-Cross Detection offer an excellent solution to the variety of applications. The product family also has a CRC+
memory scan and Windowed WDT to support safety-critical systems in home appliances, white goods and other end
equipment.
Core Features:
• C Compiler Optimized RISC Architecture
• Only 49 Instructions
• Operating Speed:
- DC – 32 MHz clock input
- 125 ns minimum instruction cycle
• Interrupt Capability
• 16-Level Deep Hardware Stack
• Up to Four 8-bit Timers
• Up to Three 16-bit Timers
• Low Current Power-on Reset (POR)
• Configurable Power-up Timer (PWRT)
• Brown-out Reset (BOR) with Selectable Trip Point
• Window Watchdog Timer (WWDT):
- Variable prescaler selection
- Variable window size selection
- All sources configurable in hardware or
software
Digital Peripherals:
• Configurable Logic Cell (CLC):
- Up to four CLCs
- Integrated combinational and sequential
logic
• Complementary Waveform Generator (CWG):
- Rising and falling edge dead-band control
- Full-bridge, half-bridge, 1-channel drive
- Multiple signal sources
• Two Capture/Compare/PWM (CCP) modules
• PWM: Two 10-bit Pulse-Width Modulators
• Two Signal Measurement Timers (SMT):
- 24-bit timer/counter with prescaler
- Multiple gate and clock inputs
• Angular Timer:
- Single pulse
- Multiple pulses with missing pulse recovery
• Hardware Limit Timer (HLT):
- 8-bit timer with prescaler
- 8-bit period register and postscaler
- Asynchronous H/W reset sources
• Math Accelerator:
- Four operation modes
- Add and multiply
- Simple multiplier
- Multiply and Accumulate (MAC)
- Programmable PID controller
• Cyclic Redundancy Check with Memory Scan
(CRC):
- Software configurable
• Serial Communications:
- Enhanced USART (EUSART)
- SPI, I
2
C™, RS-232, RS-485, LIN compatible
- Auto-Baud Detect, Auto-Wake-up on start
• Up to 18 I/O Pins:
- Individually programmable pull-ups
- Slew rate control
- Interrupt-on-change with edge-select
• Peripheral Pin Select (PPS):
- Enables pin mapping of digital I/O
Memory:
•
•
•
•
Up to 8 KW Flash Program Memory
Up to 1024 Bytes Data SRAM Memory
Direct, Indirect and Relative Addressing modes
High-Endurance Flash Data Memory (HEF):
- 128 B (nonvolatile), 100K Erase/Write Cycles
Operating Characteristics:
• Operating Voltage Range:
- 1.8V to 3.6V (PIC16LF161X)
- 2.3V to 5.5V (PIC16F161X)
• Temperature Range:
- Industrial: -40°C to 85°C
- Extended: -40°C to 125°C
eXtreme Low-Power (XLP) Features:
•
•
•
•
Sleep mode: 50 nA @ 1.8V, typical
Watchdog Timer: 500 nA @ 1.8V, typical
Secondary Oscillator: 500 nA @ 32 kHz
Operating Current:
- 8 uA @ 32 kHz, 1.8V, typical
- 32 uA/MHz @ 1.8V, typical
2014 Microchip Technology Inc.
Advance Information
DS40001745A-page 1
PIC12/16(L)F161X
Intelligent Analog Peripherals:
• 10-Bit Analog-to-Digital Converter (ADC):
- Up to 12 external channels
- Conversion available during Sleep
• Two Comparators (CMP):
- Low-Power/High-Speed mode
- Up to three external inverting inputs
- Fixed Voltage Reference at non-inverting
input(s)
- Comparator outputs externally accessible
• 8-Bit Digital-to-Analog Converter (DAC):
- 8-bit resolution, rail-to-rail
- Positive Reference Selection
• Voltage Reference:
- Fixed Voltage Reference (FVR): 1.024V,
2.048V and 4.096V output levels
• Zero-Cross Detect (ZCD):
- Detect when AC signal on pin crosses
ground
Clocking Structure:
• 16 MHz Internal Oscillator:
- ±1% at calibration
- Selectable frequency range from 32 MHz to
31 kHz
• 31 kHz Low-Power Internal Oscillator
• 4x Phase-Locked Loop (PLL):
- For up to 32 MHz internal operation
• External Oscillator Block with:
- Three external clock modes up to 32 MHz
TABLE 1:
PIC12/16(L)F161X FAMILY TYPES
CRC with Memory Scan
Program Memory Flash
(W)
8-bit/16-bit Timers
Window Watchdog
Timer
Zero-Cross Detect
Math Accelerator
Data Sheet Index
CCP/10-bit PWM
10-bit ADC (ch)
Angular Timer
Comparators
Data SRAM
(bytes)
I
2
C™/SPI
0
0
1
1
1
1
SMT/HLT
EUSART
Device
PIC12(L)F1612
PIC16(L)F1613
PIC16(L)F1614
PIC16(L)F1615
PIC16(L)F1618
PIC16(L)F1619
Note 1:
A.
B.
C.
Data Sheet Index:
(A)
(A)
(B)
(C)
(B)
(C)
2048
2048
4096
8192
4096
8192
256
256
512
1024
512
1024
6
12
12
12
18
18
1/1
1/1
1/3
1/3
1/3
1/3
1
2
2
2
2
2
4
8
8
8
12
12
1
1
1
1
1
1
2/0
2/0
2/2
2/2
2/2
2/2
1
1
1
1
1
1
0
0
2
4
2
4
2/3
2/3
2/3
2/3
2/3
2/3
0
0
1
1
1
1
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
0
0
1
1
1
1
0
0
Y
Y
Y
Y
0
0
1
1
1
1
Debugging Methods: (I) – Integrated on Chip; (H) – via ICD Header; E – using Emulation Product.
DS40001737
Future Release
Future Release
PIC12(L)F1612/16(L)F1613 Data Sheet, 8/14-Pin, 8-bit Flash Microcontrollers
PIC16(L)F1614/8 Data Sheet, 14/20-Pin, 8-bit Flash Microcontrollers
PIC16(L)F1615/9 Data Sheet, 14/20-Pin, 8-bit Flash Microcontrollers
Note:
For other small form-factor package availability and marking information, please visit
http://www.microchip.com/packaging
or contact your local sales office.
DS40001745A-page 2
Advance Information
2014 Microchip Technology Inc.
Debug
(1)
I/H
I/H
I/H
I/H
I/H
I/H
I/O Pins
CWG
CLC
PPS
PIC12/16(L)F161X
TABLE 2:
Packages
PIC12(L)F1612
PIC16(L)F1613
PIC16(L)F1614
PIC16(L)F1615
PIC16(L)F1618
PIC16(L)F1619
PACKAGES
PDIP
X
X
X
X
X
X
SOIC
X
X
X
X
X
X
DFN
X
UDFN
X
X
X
X
X
X
X
X
X
X
X
X
TSSOP
QFN
UQFN
SSOP
Note:
Pin details are subject to change.
PIN DIAGRAMS
FIGURE 1:
8-PIN PDIP, SOIC, DFN, UDFN
PIC12(L)F1612
V
DD
RA5
RA4
RA3
1
2
3
4
8
7
6
5
V
SS
RA0
RA1
RA2
FIGURE 2:
14-PIN PDIP, SOIC, TSSOP
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
1
PIC16(L)F1613
2
3
4
5
6
7
14
13
12
11
10
9
8
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
FIGURE 3:
16-PIN QFN, UQFN
V
DD
NC
NC
Vss
16 15 14 13
RA5
RA4
RA3/MCLR/V
PP
RC5
1
2
3
4
12
11
10
9
RA0
RA1
RA2
RC0
2014 Microchip Technology Inc.
Advance Information
RC4
RC3
RC2
RC1
C
PI
16
)F
(L
16
13
5
6 7
8
DS40001745A-page 3
PIC12/16(L)F161X
FIGURE 4:
14-PIN PDIP, SOIC, TSSOP
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
1
14
V
SS
RA0/ICSPDAT
RA1/ICSPCLK
RA2
RC0
RC1
RC2
PIC16(L)F1614/5
2
3
4
5
6
7
13
12
11
10
9
8
FIGURE 5:
16-PIN QFN
V
DD
NC
NC
Vss
16 15 14 13
C
PI
(L
16
)F
1
16
5
4/
5
6 7
8
RA5
RA4
RA3/MCLR/V
PP
RC5
1
2
3
4
12
11
10
9
RA0
RA1
RA2
RC0
FIGURE 6:
20-PIN PDIP, SOIC, SSOP
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
RC6
RC7
RB7
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
V
SS
RA0
RA1
RA2
RC0
RC1
RC2
RB4
RB5
RB6
FIGURE 7:
20-PIN QFN
RA4
RA5
V
DD
Vss
RA0
20 19 18 17 16
RA3/MCLR/V
PP
RC5
RC4
RC3
RC6
1
2
3
4
5
8/
9
RC7
RB7
RB6
RB5
RB4
PIC16(L)F1618/9
RC4
RC3
RC2
RC1
15
-
14
13
12
11
DS40001745A-page 4
Advance Information
PI
C
RA1
RA2
RC0
RC1
RC2
16
(
6 7 8 9 10
L)
F1
61
2014 Microchip Technology Inc.
PIC12/16(L)F161X
PIN ALLOCATION TABLES
TABLE 3:
8-Pin PDIP, SOIC, DFN, UDFN
8-PIN ALLOCATION TABLE (PIC12(L)F1612)
Comparator
Reference
Interrupt
Pull-up
Timers
I/O
RA0
RA1
RA2
RA3
RA4
RA5
V
DD
V
SS
Note
1:
7
6
5
4
3
2
1
8
AN0
AN1
AN2
—
AN3
—
—
—
DAC1OUT1
V
REF
+
—
—
—
—
—
—
C1IN+
C1IN0-
C1OUT
—
C1IN1-
—
—
—
—
—
T0CKI
T4IN
T1G
(1)
T6IN
T1G
T1CKI
T2IN
—
—
CCP2
—
CCP1
—
—
CCP1
—
—
(1)
CWG1B
—
CWG1A
CWG1IN
—
CWG1B
(1)
CWG1A
—
—
(1)
—
ZCD1OUT
ZCD1IN
—
—
—
—
—
IOC
IOC
INT
IOC
IOC
IOC
IOC
—
—
—
—
SMTSIG2
SMTWIN2
SMTSIG1
SMTWIN1
—
—
Y
Y
Y
Y
Y
Y
—
—
ICSPDAT
ICSPCLK
—
MCLR/V
PP
CLKOUT
CLKIN
V
DD
V
SS
Alternate pin function selected with the APFCON register.
TABLE 4:
14-Pin PDIP, SOIC, TSSOP
14/16-PIN ALLOCATION TABLE (PIC16(L)F1613)
16-Pin QFN, UQFN
Comparator
Reference
Interrupt
Pull-up
Timers
I/O
RA0
RA1
RA2
RA3
RA4
RA5
RC0
RC1
RC2
RC3
RC4
RC5
V
DD
V
SS
Note
1:
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
—
—
—
—
DAC1OUT1
V
REF
+
—
—
—
—
—
—
—
—
—
—
—
—
C1IN+
C1IN0-
C2IN0-
C1OUT
—
—
—
C2IN+
C1IN1-
C2IN1-
C1IN2-
C2IN2-
C1IN3-
C2IN3-
C2OUT
—
—
—
—
—
T0CKI
T4IN
T1G
(1)
T6IN
T1G
T1CKI
T2IN
—
T4IN
—
—
—
—
—
—
—
—
—
—
—
CCP2
(1)
—
—
—
CCP2
—
CCP1
—
—
—
—
CWG1IN
—
—
—
—
—
CWG1D
CWG1C
CWG1B
CWG1A
—
—
—
ZCD1OUT
ZCD1IN
—
—
—
—
—
—
—
—
—
—
—
IOC
IOC
INT
IOC
IOC
IOC
IOC
IOC
IOC
IOC
IOC
IOC
IOC
—
—
—
—
—
SMTWIN2
SMTSIG1
SMTWIN1
—
SMTSIG2
—
—
—
—
—
—
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
—
—
ICSPDAT
ICSPCLK
—
MCLR/V
PP
CLKOUT
CLKIN
—
—
—
—
—
—
V
DD
V
SS
Alternate pin function selected with the APFCON register.
2014 Microchip Technology Inc.
Advance Information
DS40001745A-page 5
Basic
CWG
CCP
SMT
ZCD
A/D
Basic
CWG
CCP
SMT
ZCD
A/D