PIC16(L)F1512/3 28-Pin Flash Microcontrollers with XLP Technology High-Performance RISC CPU Analog Features C Compiler Optimized Architecture Analog-to-Digital Converter (ADC): Only 49 Instructions - 10-bit resolution Operating Speed: - Up to 17 channels - DC 20 MHz clock input 2.5V - Special Event Triggers - DC 16 MHz clock input 1.8V - Conversion available during Sleep - DC 200 ns instruction cycle Hardware Capacitive Voltage Divider (CVD) Interrupt Capability with Automatic Context - Double sample conversions Saving - Two-result registers 16-Level Deep Hardware Stack with Optional - Inverted acquisition Overflow/Underflow Reset - 7-bit pre-charge timer Direct, Indirect and Relative Addressing modes: - 7-bit acquisition timer - Two full 16-bit File Select Registers (FSRs) - Two guard ring output drives - FSRs can read program and data memory - Adjustable sample and hold capacitor array Voltage Reference module: Memory - Fixed Voltage Reference (FVR) with 1.024V, 2.048V and 4.096V output levels Up to 7 Kbytes Linear Program Memory - Integrated Temperature Indicator Addressing Up to 256 Linear Data Memory Addressing eXtreme Low-Power (XLP) Management High-Endurance Flash Data Memory (HEF) PIC16LF1512/3 with XLP - 128B of nonvolatile data storage Sleep mode: 20 nA 1.8V, typical 100K erase/write cycles Watchdog Timer: 300 nA 1.8V, typical Flexible Oscillator Structure Secondary Oscillator: 600 nA 32 kHz, 1.8V, typical 16 MHz Internal Oscillator Block: Operating Current: 30 A/MHz 1.8V, typical - Factory-calibrated to 1%, typical - Software selectable frequency range from Special Microcontroller Features 16 MHz to 31 kHz Operating Voltage Range: 31 kHz Low-Power Internal Oscillator - 2.3V-5.5V (PIC16F1512/3) External Oscillator Block with: - 1.8V-3.6V (PIC16LF1512/3) - Four crystal/resonator modes up to 20 MHz Self-Programmable under Software Control - Three external clock modes up to 20 MHz Power-on Reset (POR) Fail-Safe Clock Monitor: Power-up Timer (PWRT) - Allows for safe shutdown if peripheral clock Programmable Low-Power Brown-out Reset stops (LPBOR) Two-Speed Oscillator Start-up Extended Watchdog Timer (WDT) Oscillator Start-up Timer (OST) In-Circuit Serial Programming (ICSP) via Two Pins In-Circuit Debug (ICD) via Two Pins Enhanced Low-Voltage Programming (LVP) Programmable Code Protection Low-Power Sleep mode 2012-2016 Microchip Technology Inc. DS40001624D-page 1PIC16(L)F1512/3 Peripheral Highlights Up to 25 I/O Pins (1 input-only pin): - 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 Prescaler Enhanced Timer1: - 16-bit timer/counter with prescaler - External Gate Input mode - Low-power 32 kHz secondary oscillator driver Timer2: 8-Bit Timer/Counter with 8-Bit Period Register, Prescaler and Postscaler Two Capture/Compare (CCP) modules: Master Synchronous Serial Port (MSSP) with SPI 2 C with: and I - 7-bit address masking TM - SMBus/PMBus compatibility Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module: - RS-232, RS-485 and LIN compatible - Auto-Baud Detect - Auto-wake-up on start DS40001624D-page 2 2012-2016 Microchip Technology Inc.