PIC12(L)F1571/2 8-Pin MCU with High-Precision 16-Bit PWMs Description: PIC12(L)F1571/2 microcontrollers combine the capabilities of 16-bit PWMs with Analog to suit a variety of applications. These devices deliver three 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 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 - Three 16-bit PWMs with independent timers One 16-Bit Timer - Multiple Output modes (Edge-Aligned, Three Additional 16-Bit Timers available using the Center-Aligned, Set and Toggle on Register Match) 16-Bit PWMs Power-on Reset (POR) - User settings for phase, duty cycle, period, offset and polarity Power-up Timer (PWRT) - 16-bit timer capability Low-Power Brown-out Reset (LPBOR) - Interrupts generated based on timer matches Programmable Watchdog Timer (WDT) up to 256s with Offset, Duty Cycle, Period and Phase Programmable Code Protection registers Complementary Waveform Generator (CWG): Memory: - Rising and falling edge dead-band control Up to 3.5 Kbytes Flash Program Memory - Multiple signal sources Up to 256 Bytes Data SRAM Memory Enhanced Universal Synchronous Asynchronous Direct, Indirect and Relative Addressing modes Receiver Transceiver (EUSART): High-Endurance Flash Data Memory (HEF) - Supports LIN applications - 128 bytes if nonvolatile data storage - 100k erase/write cycles Device I/O Port Features: Operating Characteristics: Six I/Os Individually Selectable Weak Pull-ups Operating Voltage Range: Interrupt-On-Change Pins Option with - 1.8V to 3.6V (PIC12LF1571/2) Edge-Selectable Option - 2.3V to 5.5V (PIC12F1571/2) Temperature Range: - Industrial: -40C to +85C - Extended: -40C to +125C Internal Voltage Reference module In-Circuit Serial Programming (ICSP) via Two Pins 2013-2015 Microchip Technology Inc. DS40001723D-page 1PIC12(L)F1571/2 Analog Peripherals: Clocking Structure: 10-Bit Analog-to-Digital Converter (ADC): Precision Internal Oscillator: - Up to four external channels - Factory calibrated 1%, typical - Conversion available during Sleep - Software-selectable clock speeds from 31 kHz to 32 MHz Comparator: External Oscillator Block with: - Low-Power/High-Speed modes - Resonator modes up to 20 MHz - Fixed Voltage Reference at (non)inverting input(s) - Two External Clock modes up to 32 MHz - Comparator outputs externally accessible Fail-Safe Clock Monitor - Synchronization with Timer1 clock source Digital Oscillator Input Available - 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 PIC12(L)F1571/2 FAMILY TYPES Device (2) PIC12(L)F1571 A 1 128 128 6 2/4 134110 I Y (2) PIC12(L)F1572 A 2 256 128 6 2/4 1 3 4 1 1 1 I Y Note 1: I Debugging integrated on chip. 2: Three additional 16-bit timers available when not using the 16-bit PWM outputs. Data Sheet Index: (Unshaded devices are described in this document.) A DS40001723 PIC12(L)F1571/2 Data Sheet, 8-Pin Flash, 8-Bit MCU with High-Precision 16-Bit PWM. DS40001723D-page 2 2013-2015 Microchip Technology Inc. Data Sheet Index Program Memory Flash (K words) Data SRAM (bytes) High-Endurance Flash (bytes) I/O Pins 8-Bit/16-Bit Timers Comparators 16-Bit PWM 10-Bit ADC (ch) 5-Bit DAC CWG EUSART (1) Debug XLP