PIC16(L)F18326/18346 Full-Featured, 14/20 Low Pin Count Microcontrollers with XLP Description PIC16(L)F18326/18346 microcontrollers feature Analog, Core Independent Peripherals and Communication Peripherals, combined with eXtreme Low Power (XLP) for a wide range of general purpose and low-power applications. The Peripheral Pin Select (PPS) functionality enables pin mapping when using the digital peripherals (CLC, CWG, CCP, PWM and communications) to add flexibility to the application design. Core Features Power-Saving Functionality C Compiler Optimized RISC Architecture IDLE mode: ability to put the CPU core to Sleep Operating Speed: while internal peripherals continue operating from - DC 32 MHz clock input the system clock - 125 ns minimum instruction cycle DOZE mode: ability to run the CPU core slower Interrupt Capability than the system clock used by the internal 16-Level Deep Hardware Stack peripherals Up to Four 8-bit Timers SLEEP mode: Lowest Power Consumption Up to Three 16-bit Timers Peripheral Module Disable (PMD): peripheral Low-Current Power-on Reset (POR) power disable hardware module to minimize Power-up Timer (PWRTE) power consumption of unused peripherals Brown-out Reset (BOR) Option Low-Power BOR (LPBOR) Option Digital Peripherals Extended Watchdog Timer (WDT) with Dedicated Configurable Logic Cell (CLC): On-Chip Oscillator for Reliable Operation - Four CLCs Programmable Code Protection - Integrated combinational and sequential logic Complementary Waveform Generator (CWG): Memory - Two CWGs 28 Kbytes Program Flash Memory - Rising and falling edge dead-band control 2 KB Data SRAM Memory - Full-bridge, half-bridge, 1-channel drive 256B of EEPROM - Multiple signal sources Direct, Indirect and Relative Addressing Modes Capture/Compare/PWM (CCP) modules: - Four CCPs Operating Characteristics - 16-bit resolution for Capture/Compare modes - 10-bit resolution for PWM mode Operating Voltage Range: Pulse-Width Modulators (PWM): - 1.8V to 3.6V (PIC16LF18326/18346) -Two 10-bit PWMs - 2.3V to 5.5V (PIC16F18326/18346) Numerically Controlled Oscillator (NCO): Temperature Range: - Precision linear frequency generator ( 50% - Industrial: -40C to 85C duty cycle) with 0.0001% step size of source - Extended: -40C to 125C input clock - Input Clock: 0 Hz < F < 32 MHz NCO eXtreme Low-Power (XLP) Features 20 - Resolution: F /2 NCO Sleep mode: 40 nA 1.8V, typical Serial Communications: Watchdog Timer: 250 nA 1.8V, typical - EUSART Secondary Oscillator: 300 nA 32 kHz - RS-232, RS-485, LIN compatible Operating Current: - Auto-Baud Detect, auto-wake-up on start -8 A 32 kHz, 1.8V, typical - Master Synchronous Serial Port (MSSP) -37 A/MHz 1.8V, typical - SPI 2 C, SMBus, PMBus compatible -I Data Signal Modulator (DSM): - Modulates a carrier signal with digital data to create custom carrier synchronized output waveforms 2016-2017 Microchip Technology Inc. Preliminary DS40001839B-page 1PIC16(L)F18326/18346 Up to 18 I/O Pins: Analog Peripherals - Individually programmable pull-ups 10-bit Analog-to-Digital Converter (ADC): - Slew rate control - 17 external channels - Interrupt-on-change with edge-select - Conversion available during Sleep - Input level selection control (ST or TTL) Comparator: - Digital open-drain enable - Two comparators Peripheral Pin Select (PPS): - Fixed Voltage Reference at non-inverting - I/O pin remapping of digital peripherals input(s) Timer modules: - Comparator outputs externally accessible -Timer0: 5-bit Digital-to-Analog Converter (DAC): - 8/16-bit timer/counter - 5-bit resolution, rail-to-rail - Synchronous or asynchronous operation - Positive Reference Selection - Programmable prescaler/postscaler - Unbuffered I/O pin output - Time base for capture/compare function - Internal connections to ADCs and - Timer1/3/5 with gate control: comparators - 16-bit timer/counter Voltage Reference: - Programmable internal or external clock - Fixed Voltage Reference with 1.024V, 2.048V sources and 4.096V output levels Flexible Oscillator - Multiple gate sources Structure - Multiple gate modes High-Precision Internal Oscillator: - Time base for capture/compare function - Software-selectable frequency range up to 32 - Timer2/4/6: MHz - 8-bit timers - 1% at nominal 4 MHz calibration point - Programmable prescaler/postscaler 4x PLL with External Sources - Time base for PWM function Low-Power Internal 31 kHz Oscillator (LFINTOSC) External Low-Power 32 kHz Crystal Oscillator (SOSC) External Oscillator Block with: - Three Crystal/Resonator modes up to 20 MHz - Three External Clock modes up to 20 MHz - Fail-Safe Clock Monitor - Detects clock source failure - Oscillator Start-up Timer (OST) - Ensures stability of crystal oscillator sources DS40001839B-page 2 Preliminary 2016-2017 Microchip Technology Inc.