PIC12F609/HV609
PIC12F615/HV615
Data Sheet
8-Pin Flash-Based, 8-Bit
CMOS Microcontrollers
* 8-bit, 8-pin Devices Protected by Microchip’s Low Pin Count Patent: U.S. Patent No. 5,847,450. Additional U.S. and
foreign patents and applications may be issued or pending.
©
2006 Microchip Technology Inc.
Preliminary
DS41302A
Note the following details of the code protection feature on Microchip devices:
•
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
•
•
•
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EE
L
OQ
, microID, MPLAB, PIC, PICmicro, PICSTART,
PRO MATE, PowerSmart, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB,
SEEVAL, SmartSensor and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active
Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB,
rfPICDEM, Select Mode, Smart Serial, SmartTel, Total
Endurance, UNI/O, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2006, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona, Gresham, Oregon and Mountain View, California. The
Company’s quality system processes and procedures are for its PIC
®
8-bit MCUs, K
EE
L
OQ
®
code hopping devices, Serial EEPROMs,
microperipherals, nonvolatile memory and analog products. In addition,
Microchip’s quality system for the design and manufacture of
development systems is ISO 9001:2000 certified.
DS41302A-page ii
Preliminary
©
2006 Microchip Technology Inc.
PIC12F609/615/12HV609/615
8-Pin Flash-Based, 8-Bit CMOS Microcontrollers
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
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
(CV
REF
) module (% of V
DD
)
- 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 Programming
TM
(ICSP
TM
) via two
pins
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: 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
PIC12F615/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
Low-Power Features:
• Standby Current:
- 50 nA @ 2.0V, typical
• Operating Current:
- 11
μA
@ 32 kHz, 2.0V, typical
- 260
μA
@ 4 MHz, 2.0V, typical
• Watchdog Timer Current:
- 1
μA
@ 2.0V, typical
Note:
Voltage across the shunt regulator should
not exceed 5V.
©
2006 Microchip Technology Inc.
Preliminary
DS41302A-page 1
PIC12F609/615/12HV609/615
Program Memory
Device
PIC12F609
PIC12HV609
PIC12F615
PIC12HV615
Flash
(words)
1024
1024
1024
1024
Data Memory
I/O
SRAM (bytes)
64
64
64
64
5
5
5
5
10-bit A/D
Comparators
(ch)
0
0
4
4
1
1
1
1
Timers
8/16-bit
1/1
1/1
2/1
2/1
Voltage Range
2.0V-5.5V
2.0V-user defined
2.0V-5.5V
2.0V-user defined
8-Pin Diagram, PIC12F609/HV609 (PDIP, SOIC, TSSOP, DFN)
V
DD
GP5/T1CKI/OSC1/CLKIN
GP4/CIN1-/T1G/OSC2/CLKOUT
GP3/MCLR/V
PP
1
2
3
4
8
PIC12F609/
7
HV609
6
5
V
SS
GP0/CIN+/ICSPDAT
GP1/CIN0-/ICSPCLK
GP2/T0CKI/INT/COUT
TABLE 1:
I/O
GP0
GP1
GP2
GP3
(1)
GP4
GP5
—
—
Note 1:
2:
7
6
5
4
3
2
1
8
PIC12F609/HV609 PIN SUMMARY (
PDIP, SOIC, TSSOP, DFN
)
Pin
Comparators
CIN+
CIN0-
COUT
—
CIN1-
—
—
—
Timer
—
—
T0CKI
—
T1G
T1CKI
—
—
Interrupts
IOC
IOC
INT/IOC
IOC
IOC
IOC
—
—
Pull-ups
Y
Y
Y
Y
(2)
Y
Y
—
—
Basic
ICSPDAT
ICSPCLK
—
MCLR/V
PP
OSC2/CLKOUT
OSC1/CLKIN
V
DD
V
SS
Input only.
Only when pin is configured for external MCLR.
DS41302A-page 2
Preliminary
©
2006 Microchip Technology Inc.
PIC12F609/615/12HV609/615
8-Pin Diagram, PIC12F615/HV615 (PDIP, SOIC, TSSOP, DFN)
V
DD
GP5/T1CKI/P1A*/OSC1/CLKIN
GP4/AN3/CIN1-/T1G/P1B*/OSC2/CLKOUT
GP3/T1G*/MCLR/V
PP
1
2
3
4
8
PIC12F615/
7
HV615
6
5
V
SS
GP0/AN0/CIN+/P1B/ICSPDAT
GP1/AN1/CIN0-/V
REF
/ICSPCLK
GP2/AN2/T0CKI/INT/COUT/CCP1/P1A
*
Alternate pin function.
TABLE 2:
I/O
GP0
GP1
GP2
GP3
(1)
GP4
GP5
—
—
*
Note 1:
2:
Pin
7
6
5
4
3
2
1
8
PIC12F615/HV615 PIN SUMMARY (
PDIP, SOIC, TSSOP, DFN
)
Analog
AN0
AN1
AN2
—
AN3
—
—
—
Comparators
CIN+
CIN0-
COUT
—
CIN1-
—
—
—
Timer
—
—
T0CKI
T1G*
T1G
T1CKI
—
—
CCP
P1B
—
CCP1/P1A
—
P1B*
P1A*
—
—
Interrupts
IOC
IOC
INT/IOC
IOC
IOC
IOC
—
—
Pull-ups
Y
Y
Y
Y
(2)
Y
Y
—
—
Basic
ICSPDAT
ICSPCLK/V
REF
—
MCLR/V
PP
OSC2/CLKOUT
OSC1/CLKIN
V
DD
V
SS
Alternate pin function.
Input only.
Only when pin is configured for external MCLR.
©
2006 Microchip Technology Inc.
Preliminary
DS41302A-page 3