Datasheet

© 2007 Microchip Technology Inc. DS41268D-page 1
PIC12F510/16F506
Devices Included In This Data Sheet:
•PIC16F506
•PIC12F510
High-Performance RISC CPU:
Only 33 Single-Word Instructions to Learn
All Single-Cycle Instructions except for Program
Branches, which are Two-Cycle
12-Bit Wide Instructions
Two-Level Deep Hardware Stack
Direct, Indirect and Relative Addressing modes
for Data and Instructions
8-Bit Wide Data Path
10 Special Function Hardware Registers
(PIC12F510)
13 Special Function Hardware Registers
(PIC16F506)
Operating Speed:
- DC – 8 MHz Crystal Oscillator (PIC12F510)
- DC – 500 ns instruction cycle (PIC12F510)
- DC – 20 MHz Crystal Oscillator (PIC16F506)
- DC – 200 ns instruction cycle (PIC16F506)
Special Microcontroller Features:
4 or 8 MHz Selectable Precision Internal
Oscillator:
- Factory calibrated to ±1%
In-Circuit Serial Programming™ (ICSP™)
In-Circuit Debugging (ICD) Support
Power-on Reset (POR)
Device Reset Timer (DRT):
- Short DRT (1.125 ms, typical) for INTOSC,
EXTRC and EC
- DRT (18 ms, typical) for HS, XT and LP
Watchdog Timer (WDT) with Dedicated On-Chip
RC Oscillator for Reliable Operation
Programmable Code Protection
Multiplexed MCLR Input Pin
Selectable Internal Weak Pull-Ups on I/O Pins
Power-Saving Sleep mode
Wake-up from Sleep on Pin Change
Wake-up from Sleep on Comparator Change
Selectable Oscillator Options:
- INTOSC: 4/8 MHz precision Internal
oscillator
- EXTRC: External low-cost RC oscillator
- XT: Standard crystal/resonator
- LP: Power-saving, low-frequency crystal
- HS: High-speed crystal/resonator
(PIC16F506 only)
- EC: High-speed external clock input
(PIC16F506 only)
Analog-to-Digital (A/D) Converter:
- 8-bit resolution
- 4-input channels (1 channel is dedicated to
conversion of the internal 0.6V absolute
voltage reference)
High Current Sink/Source for Direct LED Drive
8-Bit Real-Time Clock/Counter (TMR0) with 8-Bit
Programmable Prescaler
Low-Power Features/CMOS Technology:
Operating Current:
-< 175μA @ 2V, 4 MHz, typical
Standby Current:
- 100 nA @ 2V, typical
Low-Power, High-Speed Flash Technology:
- 100,000 cycle Flash endurance
- > 40-year retention
Fully Static Design
Wide Operating Voltage Range: 2.0V to 5.5V
Wide Temperature Range:
- Industrial: -40°C to +85°C
- Extended: -40°C to +125°C
Peripheral Features (PIC12F510):
6 I/O Pins:
- 5 I/O pins with individual direction control
- 1 input only pin
1 Analog Comparator with Absolute Reference
Peripheral Features (PIC16F506):
12 I/O Pins:
- 11 I/O pins with individual direction control
- 1 input only pin
2 Analog Comparators with Absolute Reference
and Programmable Reference
8/14-Pin, 8-Bit Flash Microcontroller