PIC16(L)F1454/5/9 14/20-Pin, 8-Bit Flash USB Microcontroller with XLP Technology High-Performance RISC CPU: Extreme Low-Power Management C Compiler Optimized Architecture PIC16LF145X with XLP: Only 49 Instructions Sleep mode: 25 nA 1.8V, typical 14 Kbytes Linear Program Memory Addressing Watchdog Timer Current: 290 nA 1.8V, typical 1024 Bytes Linear Data Memory Addressing Timer1 Oscillator: 600 nA 32 kHz, typical Operating Speed: Operating Current: 25 A/MHz 1.8V, typical - DC 48 MHz clock input - DC 83 ns instruction cycle Flexible Oscillator Structure: - Selectable 3x or 4x PLL for specific frequencies 16 MHz Internal Oscillator Block: Interrupt Capability with Automatic Context - Factory calibrated to 0.25%, typical Saving - Software selectable frequency range from 16-Level Deep Hardware Stack with Optional 16 MHz to 31 kHz Overflow/Underflow Reset - Tunable to 0.25% across temperature range Direct, Indirect and Relative Addressing modes: - 48 MHz with 3x PLL - Two full 16-bit File Select Registers (FSRs) 31 kHz Low-Power Internal Oscillator capable of accessing both data or program Clock Switching with run from: memory - Primary Oscillator - FSRs can read program and data memory - Secondary Oscillator (SOSC) - Internal Oscillator Special Microcontroller Features: Clock Reference Output: Operating Voltage Range: - Clock Prescaler - 1.8V to 3.6V (PIC16LF145X) -CLKOUT - 2.3V to 5.5V (PIC16F145X) (1) Self-Programmable under Software Control Analog Features : Power-on Reset (POR) Analog-to-Digital Converter (ADC): Power-up Timer (PWRT) - 10-bit resolution Programmable Brown-Out Reset (BOR) - Up to nine external channels Low-Power BOR (LPBOR) - Two internal channels: Extended Watchdog Timer (WDT): - Fixed Voltage Reference channel - Programmable period from 1 ms to 256s - DAC output channel Programmable Code Protection - Auto acquisition capability In-Circuit Serial Programming (ICSP) via Two - Conversion available during Sleep Pins Two Comparators: Enhanced Low-Voltage Programming (LVP) - Rail-to-rail inputs Power-Saving Sleep mode - Power mode control 128 Bytes High-Endurance Flash - Software controllable hysteresis - 100,000 write Flash endurance (minimum) Voltage Reference module: - Fixed Voltage Reference (FVR) with 1.024V, Universal Serial Bus (USB) Features: 2.048V and 4.096V output levels Self-Tuning from USB Host Up to One Rail-to-Rail Resistive 5-Bit DAC with (eliminates need for external crystal) Positive Reference Selection USB V2.0 Compliant SIE Low Speed (1.5 Mb/s) and Full Speed (12 Mb/s) Supports Control, Interrupt, Isochronous and Bulk Note 1: Analog features are not available on Transfers PIC16(L)F1454 devices. 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-2020 Microchip Technology Inc. DS40001639C-page 1PIC16(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 (1) Complementary Waveform Generator (CWG) : - 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 2 and I 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 Device PIC16(L)F1454 (1) 8192 1024 11 2/1 2 1 1 1 1 I/H Y PIC16(L)F1455 (1) 8192 1024 11 5 2 1 2/1 2 1 1 1 1 1 I/H Y PIC16(L)F1459 (1) 8192 1024 17 9 2 1 2/1 2 1 1 1 1 1 I/H Y 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/5/9 Data Sheet, 14/20-Pin Flash, 8-Bit USB Microcontrollers. Note: For other small form-factor package availability and marking information, please visit www.microchip.com/packaging or contact your local sales office. DS40001639C-page 2 2012-2020 Microchip Technology Inc. Data Sheet Index Program Memory Flash (words) Data SRAM (bytes) (2) I/Os 10-bit ADC (ch) Comparators DAC Timers (8/16-bit) PWM EUSART 2 MSSP (I /SPI) CWG USB Clock Reference (1) Debug XLP