Описание
The PIC12F510 devices from Microchip Technology are low-cost, high-performance, 8-bit, fullystatic, Flash-based CMOS microcontrollers. They employ a RISC architecture with only 33 single-word/ single-cycle instructions. All instructions are singlecycle except for program branches, which take two cycles. The PIC12F510 devices deliver performance in 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 easyto-remember instruction set reduces development time significantly. The PIC12F510 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 external Reset circuitry. There are four oscillator configurations to choose from (six on the PIC16F506), including INTOSC 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 PIC12F510 devices allow the customer to take full advantage of Microchip’s price leadership in Flash programmable microcontrollers, while benefiting from the Flash programmable flexibility. The PIC12F510 products are supported by a full-featured macro assembler, a software simulator, an in-circuit emulator, a ‘C’ compiler, a low-cost development programmer and a full featured programmer. All the tools are supported on IBM PC and compatible machines.
- 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