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: Digital Peripherals: C Compiler Optimized RISC Architecture 16-Bit PWM: Only 49 Instructions - Three 16-bit PWMs with independent timers Operating Speed: - Multiple output modes (standard, center aligned, set and toggle on register match) - DC 32 MHz clock input - User settings for phase, duty cycle, period, - 125 ns minimum instruction cycle offset and polarity Interrupt Capability - 16-bit timer capability 16-Level Deep Hardware Stack - Interrupts generated based on timer matches Two 8-Bit Timers with offset, duty cycle, period and phase reg- One 16-Bit Timer isters Three additional 16-Bit Timers available using the Complementary Waveform Generator (CWG): 16-Bit PWMs - Rising and falling edge dead-band control Power-on Reset (POR) - Multiple signal sources Power-up Timer (PWRT) Enhanced Universal Synchronous Asynchronous Low-Power Brown-out Reset (LPBOR) Receiver Transceiver (EUSART): Programmable Watchdog Timer (WDT) up to - Supports LIN applications 256s Programmable Code Protection Device I/O Port Features: - Six I/Os Memory: - Individually selectable weak pull-ups Up to 2 KW Flash Program Memory - Interrupt-on-change pins option with Up to 256 Bytes Data SRAM Memory edge-selectable option Direct, Indirect and Relative Addressing modes Low-Power Features: Operating Characteristics: Sleep mode: 20 nA 1.8V, typical Operating Voltage Range: Watchdog Timer: 260 nA 1.8V, typical - 1.8V to 3.6V (PIC12LF1571/2) Operating Current: - 2.3V to 5.5V (PIC12F1571/2) - 30 uA/MHz 1.8V, typical Temperature Range: - Industrial: -40C to 85C - Extended: -40C to 125C Internal Voltage Reference module In-Circuit Serial Programming (ICSP) via Two Pins 2013-2014 Microchip Technology Inc. Preliminary DS40001723B-page 1PIC12(L)F1571/2 Analog Peripherals: Clocking Structure: 10-Bit Analog-to-Digital Converter (ADC): 16 MHz Internal Oscillator Block: - Up to four external channels - 1% at calibration temperature - Conversion available during Sleep - Selectable frequency range from 31 kHz to 16 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 Two-Speed Oscillator Start-up - Software hysteresis enable Digital Oscillator Input available 5-Bit Digital-to-Analog Converter (DAC): Package: - 5-bit resolution, rail-to-rail - Positive Reference Selection 8-pin PDIP, SOIC, MSOP, DFN - 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 1128 6 2/4 13 4 1 1 0 I (2) PIC12(L)F1572 A 2 256 6 2/4 1 3 4 1 1 1 I 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. DS40001723B-page 2 Preliminary 2013-2014 Microchip Technology Inc. Data Sheet Index Program Memory Flash (Kwords) Data SRAM (bytes) I/O Pins 8-Bit/16-Bit Timers Comparators 16-Bit PWM 10-Bit ADC (ch) 5-Bit DAC CWG EUSART (1) Debug