PIC16(L)F15325/45 Full-Featured 14/20-Pin Microcontrollers Description PIC16(L)F15325/45 microcontrollers feature Analog, Core Independent Peripherals and Communication Peripherals, combined with eXtreme Low-Power (XLP) technology for a wide range of general purpose and low-power applications. The devices feature multiple PWMs, multiple communication, temperature sensor, and memory features like Memory Access Partition (MAP) to support customers in data protection and bootloader applications, and Device Information Area (DIA) which stores factory calibration values to help improve temperature sensor accuracy. Core Features Power-Saving Functionality C Compiler Optimized RISC Architecture DOZE mode: Ability to Run the CPU Core Slower Only 48 Instructions than the System Clock Operating Speed: IDLE mode: Ability to halt CPU Core while Internal - DC 32 MHz clock input Peripherals Continue Operating - 125 ns minimum instruction cycle SLEEP mode: Lowest Power Consumption Interrupt Capability Peripheral Module Disable (PMD): 16-Level Deep Hardware Stack - Ability to disable hardware module to Timers: minimize active power consumption of - 8-bit Timer2 with Hardware Limit Timer (HLT) unused peripherals - 16-bit Timer0/1 Low-Current Power-on Reset (POR) eXtreme Low-Power (XLP) Features Configurable Power-up Timer (PWRTE) Sleep mode: 50 nA 1.8V, typical Brown-out Reset (BOR) Watchdog Timer: 500 nA 1.8V, typical Low-Power BOR (LPBOR) Option Secondary Oscillator: 500 nA 32 kHz Windowed Watchdog Timer (WWDT): Operating Current: - Variable prescaler selection -8 A 32 kHz, 1.8V, typical - Variable window size selection -32 A/MHz 1.8V, typical - All sources configurable in hardware or software Programmable Code Protection Digital Peripherals Four Configurable Logic Cells (CLC): Memory - Integrated combinational and sequential logic Complementary Waveform Generator (CWG): Up to 14 KB Flash Program Memory - Rising and falling edge dead-band control Up to 1 KB Data SRAM - Full-bridge, half-bridge, 1-channel drive Direct, Indirect and Relative Addressing modes - Multiple signal sources Memory Access Partition (MAP): Two Capture/Compare/PWM (CCP) module: - Write protect - 16-bit resolution for Capture/Compare modes - Customizable Partition - 10-bit resolution for PWM mode Device Information Area (DIA) Four 10-Bit PWMs Device Configuration Information (DCI) Numerically Controlled Oscillator (NCO): - Generates true linear frequency control and Operating Characteristics increased frequency resolution Operating Voltage Range: - Input Clock: 0 Hz < F < 32 MHz NCO 20 - 1.8V to 3.6V (PIC16LF15325/45) - Resolution: F /2 NCO - 2.3V to 5.5V (PIC16F15325/45) Two EUSART, RS-232, RS-485, LIN compatible Temperature Range: One SPI 2 - Industrial: -40C to 85C One I C, SMBus, PMBus compatible - Extended: -40C to 125C 2016 Microchip Technology Inc. Preliminary DS40001865BPIC16(L)F15325/45 Digital Peripherals (Cont.) Flexible Oscillator Structure I/O Pins: High-Precision Internal Oscillator: - Individually programmable pull-ups - Software selectable frequency range up to 32 - Slew rate control MHz, 1% typical - Interrupt-on-change with edge-select x2/x4 PLL with Internal and External Sources - Input level selection control (ST or TTL) Low-Power Internal 32 kHz Oscillator - Digital open-drain enable (LFINTOSC) Peripheral Pin Select (PPS): External 32 kHz Crystal Oscillator (SOSC) - Enables pin mapping of digital I/O External Oscillator Block with: - Three crystal/resonator modes up to 20 MHz - Three external clock modes up to 32 MHz Analog Peripherals Fail-Safe Clock Monitor: Analog-to-Digital Converter (ADC): - Allows for safe shutdown if primary clock - 10-bit with up to 43 external channels stops - Operates in Sleep Oscillator Start-up Timer (OST): Two Comparators: - Ensures stability of crystal oscillator - FVR, DAC and external input pin available on resources inverting and noninverting input - Software selectable hysteresis - Outputs available internally to other modules, or externally through PPS 5-Bit Digital-to-Analog Converter (DAC): - 5-bit resolution, rail-to-rail - Positive Reference Selection - Unbuffered I/O pin output - Internal connections to ADCs and comparators Voltage Reference: - Fixed Voltage Reference with 1.024V, 2.048V and 4.096V output levels Zero-Cross Detect module: - AC high voltage zero-crossing detection for simplifying TRIAC control - Synchronized switching control and timing 2016 Microchip Technology Inc. Preliminary DS40001865B-page 2