PIC16(L)F1508/9 20-Pin Flash, 8-Bit Microcontrollers with XLP Technology High-Performance RISC CPU: eXtreme Low-Power (XLP) Features(PIC16LF1508/9): C Compiler Optimized Architecture Only 49 Instructions Sleep Current: Operating Speed: - 20 nA 1.8V, typical - DC 20 MHz clock input Watchdog Timer Current: - DC 200 ns instruction cycle - 260 nA 1.8V, typical Interrupt Capability with Automatic Context Operating Current: Saving -30 A/MHz 1.8V, typical 16-Level Deep Hardware Stack with Optional Secondary Oscillator Current: Overflow/Underflow Reset - 700 nA 32 kHz, 1.8V, typical Direct, Indirect and Relative Addressing modes: - Two full 16-bit File Select Registers (FSRs) Peripheral Features: - FSRs can read program and data memory Analog-to-Digital Converter (ADC): Flexible Oscillator Structure: - 10-bit resolution 16 MHz Internal Oscillator Block: - 12 external channels - Factory calibrated to 1%, typical - Three internal channels: - Software selectable frequency range from - Fixed Voltage Reference 16 MHz to 31 kHz - Digital-to-Analog Converter (DAC) 31 kHz Low-Power Internal Oscillator - Temperature Indicator channel Three External Clock modes up to 20 MHz - Auto acquisition capability - Conversion available during Sleep Special Microcontroller Features: 5-Bit Digital-to-Analog Converter (DAC): Operating Voltage Range: - Output available externally - 1.8V to 3.6V (PIC16LF1508/9) - 2.3V to 5.5V (PIC16F1508/9) - Positive reference selection Self-Programmable under Software Control - Internal connections to comparators and ADC Power-on Reset (POR) Two Comparators: Power-up Timer (PWRT) - Rail-to-rail inputs Programmable Low-Power Brown-out Reset - Power mode control (LPBOR) - Software controllable hysteresis Extended Watchdog Timer (WDT): Voltage Reference: - Programmable period from 1 ms to 256s - 1.024V Fixed Voltage Reference (FVR) with Programmable Code Protection 1x, 2x and 4x Gain output levels In-Circuit Serial Programming (ICSP) via Two 18 I/O Pins (1 Input-only Pin): Pins - High current sink/source 25 mA/25 mA Enhanced Low-Voltage Programming (LVP) - Individually programmable weak pull-ups In-Circuit Debug (ICD) via Two Pins - Individually programmable Power-Saving Sleep mode: Interrupt-on-Change (IOC) pins - Low-Power Sleep mode Timer0: 8-Bit Timer/Counter with 8-Bit - Low-Power BOR (LPBOR) Programmable Prescaler Integrated Temperature Indicator Enhanced Timer1: 128 Bytes High-Endurance Flash - 16-bit timer/counter with prescaler - 100,000 write Flash endurance (minimum) - External Gate Input mode Timer2: 8-Bit Timer/Counter with 8-Bit Period Memory: Register, Prescaler and Postscaler Up to 8 Kwords Linear Program Memory Four 10-bit PWM modules Addressing Master Synchronous Serial Port (MSSP) with SPI Up to 512 bytes Linear Data Memory Addressing 2 and I C with: High-Endurance Flash Data Memory (HEF) - 7-bit address masking - 128 bytes if nonvolatile data storage - SMBus/PMBus compatibility - 100k erase/write cycles 2011-2015 Microchip Technology Inc. DS40001609E-page 1PIC16(L)F1508/9 Numerically Controlled Oscillator (NCO): Peripheral Features (Continued): - 20-bit accumulator Enhanced Universal Synchronous Asynchronous - 16-bit increment Receiver Transmitter (EUSART) - True linear frequency control - RS-232, RS-485 and LIN compatible - High-speed clock input - Auto-Baud Detect - Selectable Output modes - Auto-wake-up on Start - Fixed Duty Cycle (FDC) mode Four Configurable Logic Cell (CLC) modules: - Pulse Frequency (PF) mode - 16 selectable input source signals Complementary Waveform Generator (CWG): - Four inputs per module - Eight selectable signal sources - Software control of combinational/sequential - Selectable falling and rising edge dead-band logic/state/clock functions control - AND/OR/XOR/D Flop/D Latch/SR/JK - Polarity control - Inputs from external and internal sources - Four auto-shutdown sources - Output available to pins and peripherals - Multiple input sources: PWM, CLC, NCO - Operation while in Sleep PIC12(L)F1501/PIC16(L)F150X FAMILY TYPES Device PIC12(L)F1501 (1) 1024 64 6 4 1 1 2/1 4 1 2 1 H PIC16(L)F1503 (2) 2048 128 12 8 2 1 2/1 4 1 1 2 1 H PIC16(L)F1507 (3) 2048 128 18 12 2/1 4 1 2 1 H PIC16(L)F1508 (4) 4096 256 18 12 2 1 2/1 4 1 1 1 4 1 I/H Y PIC16(L)F1509 (4) 8192 512 18 12 2 1 2/1 4 1 1 1 4 1 I/H Y Note 1: Debugging Methods: (I) - Integrated on Chip (H) - using Debug Header (E) - using Emulation Header. 2: One pin is input-only. Data Sheet Index: (Unshaded devices are described in this document.) 1: DS40001615 PIC12(L)F1501 Data Sheet, 8-Pin Flash, 8-bit Microcontrollers. 2: DS40001607 PIC16(L)F1503 Data Sheet, 14-Pin Flash, 8-bit Microcontrollers. 3: DS40001586 PIC16(L)F1507 Data Sheet, 20-Pin Flash, 8-bit Microcontrollers. 4: DS40001609 PIC16(L)F1508/9 Data Sheet, 20-Pin Flash, 8-bit Microcontrollers. Note: For other small form-factor package availability and marking information, please visit