PIC16(L)F1507 20-Pin 8-Bit Flash Microcontroller Product Brief High-Performance RISC CPU: Analog Features: C Compiler Optimized Architecture Analog-to-Digital Converter (ADC): Only 49 Instructions - 10-bit resolution Up to 3.5 Kbytes Linear Program Memory - Up to 12 channels Addressing - Auto acquisition capability Up to 128 bytes Linear Data Memory Addressing - Conversion available during Sleep Operating Speed: - FVR available as channel - DC 20 MHz clock input Voltage Reference module: - DC 125 ns instruction cycle - Fixed Voltage Reference (FVR) with 1.024V, Interrupt Capability with Automatic Context 2.048V and 4.096V output levels Saving Peripheral Features: 16-Level Deep Hardware Stack with Optional Overflow/Underflow Reset Up to 18 I/O Pins and 1 Input-only Pin: - High current sink/source 25 mA/25 mA Direct, Indirect and Relative Addressing modes: - Two full 16-bit File Select Registers (FSRs) - Individually programmable weak pull-ups - FSRs can read program and data memory - Individually programmable interrupt-on- change (IOC) pins Flexible Oscillator Structure: Timer0: 8-Bit Timer/Counter with 8-Bit 16 MHz Internal Oscillator Block: Programmable Prescaler - Accurate to 1%, typical Enhanced Timer1: - Software selectable frequency range from - 16-bit timer/counter with prescaler 16 MHz to 31 kHz - External Gate Input mode 31 kHz Low-Power Internal Oscillator Timer2: 8-Bit Timer/Counter with 8-Bit Period Three External Clock modes up to 20 MHz Register, Prescaler and Postscaler Four 10-bit PWM modules Special Microcontroller Features: Two Configurable Logic Cell (CLC) modules: Operating Voltage Range: - 12 selectable input source signals - 1.8V to 3.6V (PIC16LF1507) - Four inputs per module - 2.3V to 5.5V (PIC16F1507) - Software control of combinational/sequential Self-Programmable under Software Control logic/state/clock functions Power-on Reset (POR) - AND/OR/XOR/XOD/SR/JK Power-up Timer (PWRT) - External or internal inputs/outputs Programmable Low-Power Brown-Out Reset - Operation while in Sleep (LPBOR) Direct Digital Synthesis (DDS): Extended Watch-Dog Timer (WDT): - 24-bit Accumulator - Programmable period from 1 ms to 256s - 16-bit Addend Programmable Code Protection - True linear frequency control In-Circuit Serial Programming (ICSP) via two - High-speed clock input pins - Selectable Output modes Enhanced Low-Voltage Programming (LVP) - Fixed Duty Cycle (FDC) Power-Saving Sleep mode - Pulse Frequency Modulation (PFM) Complementary Waveform Generator (CWG): Low-Power Features (PIC16LF1507): - 6 selectable signal sources Standby Current: - Selectable falling and rising edge deadband - 30 nA 1.8V, typical control Operating Current: - Polarity control -30 A per MHz 1.8V, typical - 2 auto-shutdown sources Low-Power Watchdog Timer Current: - Multiple input sources: PWM, CLC, DDS - 300 nA 1.8V, typical Secondary Oscillator: - 600 nA 32 kHz 2011 Microchip Technology Inc. Advance Information DS41454A-page 1PIC16(L)F1507 TABLE 1: PIC16(L)F1507 FAMILY TYPES Program SRAM 10-bit A/D Timers Device Memory Flash I/Os PWM CWG CLC DDS (bytes) (ch) 8/16-bit (words) PIC16F1507 2048 128 18 12 2/1 4 Yes 2 Yes PIC16LF1507 Note: Pin details are subject to change. FIGURE 1: 20-PIN PDIP, SOIC, SSOP PACKAGE DIAGRAM FOR PIC16(L)F1507 PDIP, SOIC, SSOP VDD 1 20 VSS RA0 RA5 19 2 RA4 18 RA1 3 17 RA2 RA3 4 RC5 16 RC0 5 RC4 6 15 RC1 14 RC2 RC3 7 RC6 8 13 RB4 RC7 9 12 RB5 RB7 10 11 RB6 Note: See Table 2 for location of all peripheral functions. DS41454A-page 2 Advance Information 2011 Microchip Technology Inc. PIC16F1507 PIC16LF1507