PIC12F609/615/617 8 位闪存微控制器Microchip 的 PIC12 微控制器 MCU 是世界首个 8 引脚微控制器。 最初已经作为一次可编程 OTP 部件推出,此系列设备继续扩展为额外功能且添加了附加改进功能。 PIC12F609/615/617 系列微控制器基于 Microchip 的中级芯,带 8 级深硬件堆栈和 35 个指令。 这些 MCU 提供高达 5 MIPS、3.5 字节程序内存和高达 128 字节 RAM 的数据存储器。 板载可配置 RC 振荡器,精确度为 ±1%。### 特点35 指令 8 级硬件堆栈 8 MHz 内部振荡器 – 可选 4 MHz 或 8 MHz 5 个输入/输出 1 个比较器 4 通道 10 位模拟到数字转换器 ADC – 仅限 PIC12F615/F617 一个 8 位计时器 – PIC12F615/F617 两个 8 位计时器 一个 16 位计时器 在线串行编程 ICSP ### PIC12F 微控制器### Microchip PIC12F 8 位 PIC® 微控制器Microchip 的 PIC12F 微控制器 MCU 是世界首个 8 引脚微控制器。 最初已经作为一次可编程 OTP 部件推出,此系列的设备将继续扩展为 Microchip 添加额外功能,进一步提高规格,并继续提供比以前更大的值。 PIC12F 成功的关键是在一个 8 引脚封装中允许六个输入/输出通道的内部 RC 振荡器。 此 RC 振荡器的更高版本可在 31kHz 和 32MHz 之间配置。
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