PIC16(L)F1825/9 14/20-Pin Flash Microcontrollers with XLP Technology High-Performance RISC CPU Extreme Low-Power Management PIC16LF1825/9 with XLP Only 49 Instructions to Learn: - All single-cycle instructions except branches Sleep mode: 20 nA 1.8V, typical Operating Speed: Watchdog Timer: 300 nA 1.8V, typical - DC 32 MHz oscillator/clock input Timer1 Oscillator: 650 nA 32 kHz, 1.8V, typical - DC 125 ns instruction cycle Operating Current: 48 A/MHz 1.8V, typical Up to 16 Kbytes Linear Program Memory Analog Features Addressing Up to 1024 bytes Linear Data Memory Addressing Analog-to-Digital Converter (ADC) Module: Interrupt Capability with Automatic Context - 10-bit resolution, up to 12 channels Saving - Auto acquisition capability 16-Level Deep Hardware Stack with Optional - Conversion available during Sleep Overflow/Underflow Reset Analog Comparator Module: Direct, Indirect and Relative Addressing modes: - Two rail-to-rail analog comparators - Two full 16-bit File Select Registers (FSRs) - Power mode control - FSRs can read program and data memory - Software controllable hysteresis Voltage Reference Module: Flexible Oscillator Structure - Fixed Voltage Reference (FVR) with 1.024V, 2.048V and 4.096V output levels Precision 32 MHz Internal Oscillator Block: - 5-bit rail-to-rail resistive DAC with positive - Factory calibrated to 1%, typical - Software selectable frequencies range of and negative reference selection 31 kHz to 32 MHz Peripheral Highlights 31 kHz Low-Power Internal Oscillator Up to 17 I/O Pins and 1 Input Only Pin: Four Crystal modes up to 32 MHz - High current sink/source 25 mA/25 mA Three External Clock modes up to 32 MHz - Programmable weak pull-ups 4x Phase Lock Loop (PLL) - Programmable interrupt-on-change pins Fail-Safe Clock Monitor: Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler - Allows for safe shutdown if peripheral clock Enhanced Timer1: stops - 16-bit timer/counter with prescaler Two-Speed Oscillator Start-Up - External Gate Input mode Reference Clock Module: - Dedicated, low-power 32 kHz oscillator driver - Programmable clock output frequency and Three Timer2-types: 8-Bit Timer/Counter with 8-Bit duty cycle Period Register, Prescaler and Postscaler Special Microcontroller Features Two Capture, Compare, PWM (CCP) Modules Two Enhanced CCP (ECCP) Modules: 1.8V-5.5V Operation PIC16F1825/9 - Software selectable time bases 1.8V-3.6V Operation PIC16LF1825/9 - Auto-shutdown and auto-restart Self-Programmable under Software Control - PWM steering Power-on Reset (POR), Power-up Timer (PWRT) Up to Two Master Synchronous Serial Port and Oscillator Start-up Timer (OST) 2 TM C with: (MSSP) with SPI and I Programmable Brown-out Reset (BOR) - 7-bit address masking Extended Watchdog Timer (WDT) TM - SMBus/PMBus compatibility In-Circuit Serial Programming (ICSP) via Enhanced Universal Synchronous Asynchronous Two Pins Receiver Transmitter (EUSART) Module In-Circuit Debug (ICD) via Two Pins mTouch Sensing Oscillator Module: Enhanced Low-Voltage Programming (LVP) - Up to 12 input channels Programmable Code Protection Power-Saving Sleep mode 2010-2015 Microchip Technology Inc. DS40001440E-page 1PIC16(L)F1825/9 Peripheral Highlights (Continued) Data Signal Modulator Module: - Selectable modulator and carrier sources SR Latch: - Multiple Set/Reset input options - Emulates 555 Timer applications PIC12(L)F1822/1840/PIC16(L)F182x/1847 Family Types Device PIC12(L)F1822 (1) 2K 256 128 6 4 4 1 2/1 1 1 0/1/0 Y I/H Y PIC12(L)F1840 (2) 4K 256 256 6 4 4 1 2/1 1 1 0/1/0 Y I/H Y PIC16(L)F1823 (1) 2K 256 128 12 8 8 2 2/1 1 1 1/0/0 Y I/H Y PIC16(L)F1824 (3) 4K 256 256 12 8 8 2 4/1 1 1 1/1/2 Y I/H Y PIC16(L)F1825 (4) 8K 256 1024 12 8 8 2 4/1 1 1 1/1/2 Y I/H Y PIC16(L)F1826 (5) 2K 256 256 16 12 12 2 2/1 1 1 1/0/0 Y I/H Y PIC16(L)F1827 (5) 4K 256 384 16 12 12 2 4/1 1 2 1/1/2 Y I/H Y PIC16(L)F1828 (3) 4K 256 256 18 12 12 2 4/1 1 1 1/1/2 Y I/H Y PIC16(L)F1829 (4) 8K 256 1024 18 12 12 2 4/1 1 2 1/1/2 Y I/H Y PIC16(L)F1847 (6) 8K 256 1024 16 12 12 2 4/1 1 2 1/1/2 Y I/H Y Note 1: I - Debugging, Integrated on Chip H - Debugging, available using Debug Header. 2: One pin is input-only. Data Sheet Index: (Unshaded devices are described in this document.) 1: DS41413 PIC12(L)F1822/PIC16(L)F1823 Data Sheet, 8/14-Pin Flash Microcontrollers. 2: DS41441 PIC12(L)F1840 Data Sheet, 8-Pin Flash Microcontrollers. 3: DS41419 PIC16(L)F1824/1828 Data Sheet, 28/40/44-Pin Flash Microcontrollers. 4: DS41440 PIC16(L)F1825/1829 Data Sheet, 14/20-Pin Flash Microcontrollers. 5: DS41391 PIC16(L)F1826/1827 Data Sheet, 18/20/28-Pin Flash Microcontrollers. 6: DS41453 PIC16(L)F1847 Data Sheet, 18/20/28-Pin Flash Microcontrollers. Note: For other small form-factor package availability and marking information, please visit www.microchip.com/packaging or contact your local sales office. DS40001440E-page 2 2010-2015 Microchip Technology Inc. Data Sheet Index Program Memory Flash (words) Data EEPROM (bytes) Data SRAM (bytes) (2) I/Os 10-bit ADC (ch) CapSense (ch) Comparators Timers (8/16-bit) EUSART 2 MSSP (I C/SPI) ECCP (Full-Bridge) ECCP (Half-Bridge) CCP SR Latch (1) Debug XLP