2009 Microchip Technology Inc.
DS41236E-page 7
PIC12F508/509/16F505
1.0
GENERAL DESCRIPTION
The PIC12F508/509/16F505 devices from Microchip
Technology are low-cost, high-performance, 8-bit,
fully-static, Flash-based CMOS microcontrollers. They
employ a RISC architecture with only 33 single-word/
single-cycle instructions. All instructions are single
cycle (200
μs) except for program branches, which
take two cycles. The PIC12F508/509/16F505 devices
deliver performance an order of magnitude higher than
their competitors in the same price category. The 12-bit
wide instructions are highly symmetrical, resulting in a
typical
2:1
code
compression
over
other
8-bit
microcontrollers in its class. The easy to use and easy
to remember instruction set reduces development time
significantly.
The PIC12F508/509/16F505 products are equipped
with special features that reduce system cost and
power requirements. The Power-on Reset (POR) and
Device Reset Timer (DRT) eliminate the need for exter-
nal Reset circuitry. There are four oscillator configura-
tions to choose from (six on the PIC16F505), including
INTRC Internal Oscillator mode and the power-saving
LP (Low-Power) Oscillator mode. Power-Saving Sleep
mode, Watchdog Timer and code protection features
improve system cost, power and reliability.
The PIC12F508/509/16F505 devices are available in
the cost-effective Flash programmable version, which
is suitable for production in any volume. The customer
can take full advantage of Microchip’s price leadership
in
Flash
programmable
microcontrollers,
while
benefiting from the Flash programmable flexibility.
The PIC12F508/509/16F505 products are supported
by a full-featured macro assembler, a software simula-
tor, an in-circuit emulator, a ‘C’ compiler, a low-cost
development programmer and a full featured program-
mer. All the tools are supported on IBM PC and
compatible machines.
1.1
Applications
The PIC12F508/509/16F505 devices fit in applications
ranging from personal care appliances and security
systems to low-power remote transmitters/receivers.
The Flash technology makes customizing application
programs
(transmitter
codes,
appliance
settings,
receiver frequencies, etc.) extremely fast and conve-
nient. The small footprint packages, for through hole or
surface mounting, make these microcontrollers perfect
for applications with space limitations. Low cost, low
power, high performance, ease-of-use and I/O flexibil-
ity make the PIC12F508/509/16F505 devices very ver-
satile even in areas where no microcontroller use has
been considered before (e.g., timer functions, logic and
PLDs in larger systems and coprocessor applications).
TABLE 1-1:
PIC12F508/509/16F505 DEVICES
PIC12F508
PIC12F509
PIC16F505
Clock
Maximum Frequency of Operation (MHz)
4
20
Memory
Flash Program Memory (words)
512
1024
Data Memory (bytes)
25
41
72
Peripherals
Timer Module(s)
TMR0
Wake-up from Sleep on Pin Change
Yes
Features
I/O Pins
5
11
Input Pins
1
Internal Pull-ups
Yes
In-Circuit Serial Programming
Yes
Number of Instructions
33
Packages
8-pin PDIP, SOIC,
MSOP, DFN
8-pin PDIP, SOIC,
MSOP, DFN
14-pin PDIP, SOIC,
TSSOP
The PIC12F508/509/16F505 devices have Power-on Reset, selectable Watchdog Timer, selectable code-protect, high I/O current
capability and precision internal oscillator.
The PIC12F508/509/16F505 devices use serial programming with data pin RB0/GP0 and clock pin RB1/GP1.