DEVICE OVERVIEW The PIC12F609/615/617/12HV609/615 devices are covered by this data sheet. They are available in 8-pin PDIP, SOIC, MSOP and DFN packages. Block Diagrams and pinout descriptions of the devices are as follows: • PIC12F609/HV609 (Figure 1-1, Table 1-1) • PIC12F615/617/HV615 (Figure 1-2, Table 1-2) High-Performance RISC CPU: • Only 35 Instructions to Learn: - All single-cycle instructions except branches • Operating Speed: - DC – 20 MHz oscillator/clock input - DC – 200 ns instruction cycle • Interrupt Capability • 8-Level Deep Hardware Stack • Direct, Indirect and Relative Addressing modes Special Microcontroller Features: • Precision Internal Oscillator: - Factory calibrated to ±1%, typical - Software selectable frequency: 4 MHz or 8 MHz • Power-Saving Sleep mode • Voltage Range: - PIC12F609/615/617: 2.0V to 5.5V - PIC12HV609/615: 2.0V to user defined maximum (see note) • Industrial and Extended Temperature Range • Power-on Reset (POR) • Power-up Timer (PWRT) and Oscillator Start-up Timer (OST) • Brown-out Reset (BOR) • Watchdog Timer (WDT) with independent Oscillator for Reliable Operation • Multiplexed Master Clear with Pull-up/Input Pin • Programmable Code Protection • High Endurance Flash: - 100,000 write Flash endurance - Flash retention: > 40 years • Self Read/ Write Program Memory (PIC12F617 only) Low-Power Features: • Standby Current: - 50 nA @ 2.0V, typical • Operating Current: - 11A @ 32 kHz, 2.0V, typical - 260A @ 4 MHz, 2.0V, typical • Watchdog Timer Current: - 1A @ 2.0V, typical Peripheral Features: • Shunt Voltage Regulator (PIC12HV609/615 only): - 5 volt regulation - 4 mA to 50 mA shunt range • 5 I/O Pins and 1 Input Only • High Current Source/Sink for Direct LED Drive - Interrupt-on-pin change or pins - Individually programmable weak pull-ups • Analog Comparator module with: - One analog comparator - Programmable on-chip voltage reference (CVREF) module (% of VDD) - Comparator inputs and output externally accessible - Built-In Hysteresis (software selectable) • Timer0: 8-Bit Timer/Counter with 8-Bit Programmable Prescaler • Enhanced Timer1: - 16-bit timer/counter with prescaler - External Timer1 Gate (count enable) - Option to use OSC1 and OSC2 in LP mode as Timer1 oscillator if INTOSC mode selected - Option to use system clock as Timer1 • In-Circuit Serial ProgrammingTM (ICSPTM) via Two Pins PIC12F615/617/HV615 ONLY: • Enhanced Capture, Compare, PWM module: - 16-bit Capture, max. resolution 12.5 ns - Compare, max. resolution 200 ns - 10-bit PWM with 1 or 2 output channels, 1 output channel programmable “dead time,” max. frequency 20 kHz, auto-shutdown • A/D Converter: - 10-bit resolution and 4 channels, samples internal voltage references • Timer2: 8-Bit Timer/Counter with 8-Bit Period Register, Prescaler and Postscaler