PIC16(L)F1574/5/8/9 14/20-Pin MCUs with High-Precision 16-Bit PWMs Description PIC16(L)F1574/5/8/9 microcontrollers combine the capabilities of 16-bit PWMs with Analog to suit a variety of applications. These devices deliver four 16-bit PWMs with independent timers for applications where high resolution is needed, such as LED lighting, stepper motors, power supplies and other general purpose applications. The core independent peripherals (16-bit PWMs, Complementary Waveform Generator), Enhanced Universal Synchronous Asynchronous Receiver Transceiver (EUSART) and Analog (ADCs, Comparator and DAC) enable closed-loop feedback and communication for use in multiple market segments. The Peripheral Pin Select (PPS) functionality allows for I/O pin remapping of the digital peripherals for increased flexibility. The EUSART peripheral enables the communication for applications such as LIN. Core Features eXtreme Low-Power (XLP) Features: C Compiler Optimized RISC Architecture Sleep mode: 20 nA 1.8V, typical Only 49 Instructions Watchdog Timer: 260 nA 1.8V, typical Operating Speed: Operating Current: - DC 32 MHz clock input - 30 A/MHz 1.8V, typical - 125 ns minimum instruction cycle Digital Peripherals Interrupt Capability 16-Level Deep Hardware Stack 16-Bit PWM: Two 8-Bit Timers - Four 16-bit PWMs with independent timers One 16-Bit Timer - Multiple output modes (standard, center- Four additional 16-Bit Timers available using the aligned, set and toggle on register match) 16-Bit PWMs - User settings for phase, duty cycle, period, Power-on Reset (POR) offset and polarity Power-up Timer (PWRT) - 16-bit timer capability Low-Power Brown-out Reset (LPBOR) - Interrupts generated based on timer matches with offset, duty cycle, period and phase Programmable Watchdog Timer (WDT) up to 256s registers Programmable Code Protection Complementary Waveform Generator (CWG): Memory - Rising and falling edge dead-band control - Multiple signal sources Up to 14 KB Flash Program Memory Enhanced Universal Synchronous Asynchronous Up to 1024 Bytes Data SRAM Memory Receiver Transceiver (EUSART): Direct, Indirect and Relative Addressing modes - Supports LIN applications High-Endurance Flash Data Memory (HEF) Peripheral Pin Select (PPS): - 128 bytes if nonvolatile data storage - 100k erase/write cycles - I/O pin remapping of digital peripherals Operating Characteristics Device I/O Port Features Operating Voltage Range: Up to 18 I/Os - 1.8V to 3.6V (PIC16LF1574/5/8/9) Individually Selectable Weak Pull-ups - 2.3V to 5.5V (PIC16F1574/5/8/9) Interrupt-on-Change Pins Option with Edge- Temperature Range: Selectable Option - Industrial: -40C to 85C - Extended: -40C to 125C Internal Voltage Reference module In-Circuit Serial Programming (ICSP) via Two Pins 2016 Microchip Technology Inc. DS40001782C-page 1PIC16(L)F1574/5/8/9 Analog Peripherals Clocking Structure 10-Bit Analog-to-Digital Converter (ADC): Precision Internal Oscillator: - Up to 12 external channels - Factory calibrated 1%, typical - Conversion available during Sleep - Software-selectable clock speeds from 31 kHz to 32 MHz Two Comparators: External Oscillator Block with: - Low-Power/High-Speed modes - Two external clock modes up to 32 MHz - Fixed Voltage Reference at (non)inverting input(s) Digital Oscillator Input Available - Comparator outputs externally accessible - Synchronization with Timer1 clock source - Software hysteresis enable 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 TABLE 1: PIC12(L)F1571/2 AND PIC16(L)F1574/5/8/9 FAMILY TYPES Device (2) PIC12(L)F1571 (A) 1 1.75 128 6 2/4 134110 N I (2) PIC12(L)F1572 (A) 2 3.5 256 6 2/4 1 3 4 1 1 1 N I (3) PIC16(L)F1574 (B) 4 7 512 12 2/5 2 4 8 1 1 1 Y I (3) PIC16(L)F1575 (B) 8 14 1024 12 2/5 2 4 8 1 1 1 Y I (3) PIC16(L)F1578 (B) 4 7 512 18 2/5 2 4 12 1 1 1 Y I (3) PIC16(L)F1579 (B) 8 14 1024 18 2/5 2 4 12 1 1 1 Y I Note 1: I Debugging integrated on chip. 2: Three additional 16-bit timers available when not using the 16-bit PWM outputs. 3: Four additional 16-bit timers available when not using the 16-bit PWM outputs. Data Sheet Index: A) DS-40001723 PIC12(L)F1571/2 Data Sheet, 8-Pin Flash, 8-bit MCU with High-Precision 16-bit PWM B) Future Release PIC16(L)F1574/5/8/9 Data Sheet, 8-Pin Flash, 8-bit MCU with High-Precision 16-bit PWM Note: For other small form-factor package availability and marking information, please visit