8-Pin, 8-Bit CMOS Microcontroller with A/D Converter
and EEPROM Data Memory
Devices Included in this Data Sheet:
•
•
•
•
PIC12C671
PIC12C672
PIC12CE673
PIC12CE674
Note:
Throughout this data sheet
PIC12C67X
refers to the PIC12C671, PIC12C672,
PIC12CE673 and PIC12CE674.
PIC12CE67X
refers to PIC12CE673 and
PIC12CE674.
Pin Diagrams:
PDIP, SOIC, Windowed CERDIP
V
DD
GP5/OSC1/CLKIN
GP4/OSC2/AN3/
CLKOUT
GP3/MCLR/V
PP
1
2
3
4
8
7
6
5
V
SS
GP0/AN0
GP1/AN1/V
REF
GP2/T0CKI/AN2/
INT
PDIP, Windowed CERDIP
V
DD
GP5/OSC1/CLKIN
GP4/OSC2/AN3/
CLKOUT
GP3/MCLR/V
PP
1
2
3
4
8
7
6
5
V
SS
GP0/AN0
GP1/AN1/V
REF
GP2/T0CKI/AN2/
INT
PIC12C671
PIC12C672
PIC12CE673
PIC12CE674
High-Performance RISC CPU:
• Only 35 single word instructions to learn
• All instructions are single cycle (400 ns) except for
program branches which are two-cycle
• Operating speed: DC - 10 MHz clock input
DC - 400 ns instruction cycle
Memory
Device
Program
PIC12C671
PIC12C672
PIC12CE673
PIC12CE674
•
•
•
•
•
•
1024 x 14
2048 x 14
1024 x 14
2048 x 14
Data
RAM
128 x 8
128 x 8
128 x 8
128 x 8
Data
EEPROM
—
—
16 x 8
16 x 8
Special Microcontroller Features:
•
•
•
•
•
•
•
•
•
•
•
•
In-Circuit Serial Programming (ICSP™)
Internal 4 MHz oscillator with programmable calibration
Selectable clockout
Power-on Reset (POR)
Power-up Timer (PWRT) and Oscillator Start-up
Timer (OST)
Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
Programmable code protection
Power saving SLEEP mode
Interrupt-on-pin change (GP0, GP1, GP3)
Internal pull-ups on I/O pins (GP0, GP1, GP3)
Internal pull-up on MCLR pin
Selectable oscillator options:
- INTRC: Precision internal 4 MHz oscillator
- EXTRC: External low-cost RC oscillator
- XT:
Standard crystal/resonator
- HS:
High speed crystal/resonator
- LP:
Power saving, low frequency crystal
14-bit wide instructions
8-bit wide data path
Interrupt capability
Special function hardware registers
8-level deep hardware stack
Direct, indirect and relative addressing modes for
data and instructions
Peripheral Features:
• Four-channel, 8-bit A/D converter
• 8-bit real time clock/counter (TMR0) with 8-bit
programmable prescaler
• 1,000,000 erase/write cycle EEPROM data
memory
• EEPROM data retention > 40 years
CMOS Technology:
• Low-power, high-speed CMOS EPROM/EEPROM
technology
• Fully static design
• Wide operating voltage range 2.5V to 5.5V
• Commercial, Industrial and Extended
temperature ranges
• Low power consumption
< 2 mA @ 5V, 4 MHz
15
A
typical @ 3V, 32 kHz
< 1
A
typical standby current
1997-2013 Microchip Technology Inc.
DS30561C-page 1
PIC12C67X
Table of Contents
1.0 General Description ...................................................................................................................................................................... 3
9.0 Special Features of the CPU....................................................................................................................................................... 53
10.0 Instruction Set Summary............................................................................................................................................................. 69
11.0 Development Support ................................................................................................................................................................. 83
13.0 DC and AC Characteristics ....................................................................................................................................................... 109
14.0 Packaging Information .............................................................................................................................................................. 115
Appendix B:Code for Accessing EEPROM Data Memory ................................................................................................................. 119
Index .................................................................................................................................................................................................. 121
Please help me figure out how to analyze this. How are the capacitance and resistance calculated? The above fixed values are not correct. The book does not give fixed values. How should I calculate it...
I use the full comparison unit to output PWM square waves. It works fine on the development board. The frequency does not change, but the amplitude sometimes changes. However, it does not affect the c...
Hello everyone: I need to use the ADXL345 gravity sensor in my work recently, so I am working hard to learn it. But since it is my first time using this sensor, there are still some problems that I ca...
Today's computer peripherals are pursuing high speed and high versatility. In order to meet user needs, seven companies led by Intel launched the USB (Universal Serial Bus) bus protocol in 1994, wh...[Details]
The solidification and modularization of intelligent video analysis algorithms are the current trends in the application of intelligent video analysis technology. It perfectly combines intelligent ...[Details]
1 Introduction
PROFIBUS is an international, open, and manufacturer-independent fieldbus standard. It is widely used in manufacturing automation, process industry automation, and automatio...[Details]
Problems such as the depletion of natural resources, air pollution, traffic congestion, and rising fossil fuel prices have forced societies and individuals to seek alternative means of transportati...[Details]
Motors, especially those with brushes, generate a lot of noise. This noise must be dealt with if the appliance is to meet the requirements of EMC standards. The means to solve EMC are nothing more ...[Details]
Only a small number of LED manufacturers can produce high-quality LEDs. For applications that are only used for simple indication, low-quality LEDs are sufficient. However, high-quality LEDs must...[Details]
1. Introduction
With the increasing popularity of fully automatic washing machines, consumers have higher and higher requirements for their environmenta...[Details]
0 Introduction
Under normal circumstances, the three-phase power in the power system is symmetrical, and they meet certain amplitude and phase conditions; but when the load changes, the syst...[Details]
Analysis of the three core aspects of digital TV transmission standards
According to the differences in regionality, transmission method and modulation method, the transmission method needs to...[Details]
LED is the abbreviation of the English word. Its main meanings are: LED = Light Emitting Diode, a solid-state semiconductor device that can convert electrical energy into visible light. It can dire...[Details]
Currently, the commonly used solar cell technologies include monocrystalline silicon solar cells and polycrystalline silicon thin-film solar cells. Production process: Monocrystalline silicon solar...[Details]
In recent years, with the increasing maturity of LED technology, LED light sources have been increasingly widely used due to their advantages of using low-voltage power supply, low energy consumpti...[Details]
Currently, high-frequency and high-efficiency DCDC converters are increasingly used in automotive electronic systems.
High switching frequency can use smaller power inductors and output filter...[Details]
1 Introduction
With the development of computer technology and information technology in the world, the global information age has arrived. All countries are formulating their own development p...[Details]
1 Introduction
At present, advocating health has become the focus of people's attention, and the emergence of treadmills has become more and more popular. People can exercise at home or in the ...[Details]