PIC16(L)F1454/5/9
14/20-Pin, 8-Bit Flash USB Microcontroller with
XLP Technology
High-Performance RISC CPU:
•
•
•
•
•
C Compiler Optimized Architecture
Only 49 Instructions
14 Kbytes Linear Program Memory Addressing
1024 Bytes Linear Data Memory Addressing
Operating Speed:
- DC – 48 MHz clock input
- DC – 83 ns instruction cycle
- Selectable 3x or 4x PLL for specific frequencies
• 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)
capable of accessing both data or program
memory
- FSRs can read program and data memory
Extreme Low-Power Management
PIC16LF145X with XLP:
•
•
•
•
Sleep mode: 25 nA @ 1.8V, typical
Watchdog Timer Current: 290 nA @ 1.8V, typical
Timer1 Oscillator: 600 nA @ 32 kHz, typical
Operating Current: 25
A/MHz
@ 1.8V, typical
Flexible Oscillator Structure:
• 16 MHz Internal Oscillator Block:
- Factory calibrated to ±0.25%, typical
- Software selectable frequency range from
16 MHz to 31 kHz
- Tunable to 0.25% across temperature range
- 48 MHz with 3x PLL
• 31 kHz Low-Power Internal Oscillator
• Clock Switching with run from:
- Primary Oscillator
- Secondary Oscillator (SOSC)
- Internal Oscillator
• Clock Reference Output:
- Clock Prescaler
- CLKOUT
Special Microcontroller Features:
• Operating Voltage Range:
- 1.8V to 3.6V (PIC16LF145X)
- 2.3V to 5.5V (PIC16F145X)
• Self-Programmable under Software Control
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Programmable Brown-Out Reset (BOR)
• Low-Power BOR (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
• 128 Bytes High-Endurance Flash
- 100,000 write Flash endurance (minimum)
Analog Features
(1)
:
• Analog-to-Digital Converter (ADC):
- 10-bit resolution
- Up to nine external channels
- Two internal channels:
- Fixed Voltage Reference channel
- DAC output channel
- Auto acquisition capability
- Conversion available during Sleep
• Two 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 One Rail-to-Rail Resistive 5-Bit DAC with
Positive Reference Selection
Note 1:
Analog features are not available on
PIC16(L)F1454 devices.
Universal Serial Bus (USB) Features:
• Self-Tuning from USB Host
(eliminates need for external crystal)
• USB V2.0 Compliant SIE
• Low Speed (1.5 Mb/s) and Full Speed (12 Mb/s)
• Supports Control, Interrupt, Isochronous and Bulk
Transfers
• Supports up to Eight Bidirectional Endpoints
• 512-Byte Dual Access RAM for USB
• Interrupt-on-Change (IOC) on D+/D- for USB Host
Detection
• Configurable Internal Pull-up Resistors for use
with USB
2012-2014 Microchip Technology Inc.
DS40001639B-page 1
PIC16(L)F145X
Peripheral Features:
• Up to 14 I/O Pins and Three Input-only Pins:
- 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
• Two 10-bit PWM modules
• Complementary Waveform Generator (CWG)
(1)
:
- Up to four selectable signal sources
- Selectable falling and rising edge dead-band
control
- Polarity control
- Up to four auto-shutdown sources
- Multiple input sources: PWM, Comparators
• Master Synchronous Serial Port (MSSP) with SPI
and I
2
C™ with:
- 7-bit address masking
- SMBus/PMBus™ compatibility
• Enhanced Universal Synchronous
Asynchronous Receiver Transmitter (EUSART):
- RS-232, RS-485 and LIN compatible
- Auto-baud detect
- Auto-wake-up on Start
Note 1:
Not available on PIC16(L)F1454 devices.
PIC16(L)F145X Family Types
Program Memory
Flash (words)
MSSP (I
2
C™/SPI)
Data Sheet Index
Clock Reference
10-bit ADC (ch)
Comparators
Data SRAM
(bytes)
Timers
(8/16-bit)
EUSART
Debug
(1)
I/H
I/H
I/H
I/Os
(2)
PWM
CWG
DAC
USB
Device
PIC16(L)F1454 (1) 8192 1024 11 — — —
2/1
2
1
1
—
1
1
PIC16(L)F1455 (1) 8192 1024 11 5
2
1
2/1
2
1
1
1
1
1
PIC16(L)F1459 (1) 8192 1024 17 9
2
1
2/1
2
1
1
1
1
1
Note 1:
I - Debugging, Integrated on Chip; H - Debugging, Available using Debug Header;
E - Emulation, Available using Emulation Header.
2:
Three pins are input-only.
Data Sheet Index:
1:
DS41639
PIC16(L)F1454/1455/1459 Data Sheet, 14/20-Pin Flash, 8-Bit USB Microcontrollers.
Note:
For other small form-factor package availability and marking
www.microchip.com/packaging or contact your local sales office.
information,
please
visit
DS40001639B-page 2
2012-2014 Microchip Technology Inc.
XLP
Y
Y
Y
PIC16(L)F145X
FIGURE 1:
14-PIN PDIP, SOIC, TSSOP DIAGRAM FOR PIC16(L)F1454/1455
PDIP, SOIC, TSSOP
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
1
PIC16(L)F1454
PIC16(L)F1455
Vss
NC
2
3
4
5
6
7
14
13
12
11
10
9
8
V
SS
RA0/D+/ICSPDAT
(1)
RA1/D-/ICSPCLK
(1)
V
USB3V3
RC0/ICSPDAT
RC1/ICSPCLK
RC2
Note 1:
LVP support for PIC18(L)F1XK50 legacy designs.
2:
See
Table 1
and
Table 2
for location of all peripheral functions.
FIGURE 2:
16-PIN QFN/UQFN DIAGRAM FOR PIC16(L)F1454/1455
QFN, UQFN (4x4)
V
DD
RA5 1
RA4 2
MCLR/V
PP
/RA3 3
RC5 4
5
RC4
6
RC3
7
RC2
8
ICSPCLK/RC1
PIC16(L)F1454
PIC16(L)F1455
16 15 14 13
12 RA0/D+/ICSPDAT
(1)
11 RA1/D-/ICSPCLK
(1)
10 V
USB3V3
9
RC0/ICSPDAT
Note 1:
LVP support for PIC18(L)F1XK50 legacy designs.
2:
See
Table 1
and
Table 2
for location of all peripheral functions.
2012-2014 Microchip Technology Inc.
NC
DS40001639B-page 3
PIC16(L)F145X
FIGURE 3:
20-PIN PDIP, SOIC, SSOP DIAGRAM FOR PIC16(L)F1459
PDIP, SOIC, SSOP
V
DD
RA5
RA4
MCLR/V
PP
/RA3
RC5
RC4
RC3
RC6
RC7
1
2
PIC16(L)F1459
3
4
5
6
7
8
9
20
19
V
SS
RA0/D+/ICSPDAT
(1)
18 RA1/D-/ICSPCLK
(1)
17 V
USB3V3
16 RC0/ICSPDAT
15
14
13
12
11
RC1/ICSPCLK
RC2
RB4
RB5
RB6
RB7 10
Note 1:
LVP support for PIC18(L)F1XK50 legacy designs.
2:
See
Table 3
for location of all peripheral functions.
FIGURE 4:
20-PIN QFN/UQFN DIAGRAM FOR PIC16(L)F1459
QFN, UQFN (4x4)
RA4
RA5
V
DD
Vss
RA0/D+/ICSPDAT
(1)
20 19 18 17 16
MCLR/V
PP
/RA3
RC5
RC4
RC3
RC6
1
2
3
4
5
15
14
13
12
11
RA1/D-/ICSPCLK
(1)
V
USB3V3
RC0/ICSPDAT
RC1/ICSPCLK
RC2
PIC16(L)F1459
6 7 8 9 10
RC7
RB7
RB6
RB5
RB4
Note 1:
LVP support for PIC18(L)F1XK50 legacy designs.
2:
See
Table 3
for location of all peripheral functions.
DS40001639B-page 4
2012-2014 Microchip Technology Inc.
PIC16(L)F145X
TABLE 1:
14-PIN ALLOCATION TABLE (PIC16(L)F1454)
14-Pin PDIP/SOIC/TSSOP
16-Pin QFN/UQFN
EUSART
Interrupt
MSSP
Timer
RA0
RA1
RA3
RA4
13
12
4
3
12
11
3
2
—
—
T1G
(2)
SOSCO
T1G
(1)
SOSCI
T1CKI
—
—
—
—
—
T0CKI
—
—
—
D+
D-
—
—
—
—
—
—
—
—
—
—
—
—
SS
(2)
SDO
(2)
IOC
IOC
IOC
IOC
ICSPDAT
(3)
ICSPCLK
(3)
MCLR
V
PP
CLKOUT
OSC2
CLKR
(1)
CLKIN
OSC1
ICSPDAT
ICSPCLK
—
CLKR
(2)
—
—
V
DD
V
SS
—
RA5
RC0
RC1
RC2
RC3
RC4
RC5
V
DD
V
SS
V
USB
3
V
3
Note 1:
2:
3:
2
10
9
8
7
6
5
1
14
11
1
9
8
7
6
5
4
16
13
10
—
—
—
—
—
—
—
—
—
V
USB
3
V
3
—
—
—
—
—
TX
CK
RX
DT
—
—
—
PWM2
(2)
—
—
—
PWM2
(1)
—
PWM1
—
—
—
—
SCL
SCK
SDA
SDI
SDO
(1)
SS
(1)
—
—
—
—
—
IOC
—
INT
—
—
—
—
—
—
—
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.
LVP support for PIC18(L)F1XK50 legacy designs.
2012-2014 Microchip Technology Inc.
DS40001639B-page 5
Basic
PWM
USB
I/O