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
Our forum level is all based on prestige, which is a bit unreasonable. I suggest that we consider it comprehensively based on the number of posts, prestige and core coins.This is the only way to stimu...
This is what it looks like when I open it. This is my first time using this and I really don't know how to start. Is there something wrong with my installation?...
1. Before installing VxWorks on VMware, do I need to install Tornado 2.2 first, and then install and create a virtual machine? 2. Is VMware 6.5.1 better, 6.0, or 5.0? 3. If the target machine is a vir...
Jobs' 2005 Stanford University Commencement Speech - Thank you. I'm honored to be with you today for your commencement from one of the finest universities in the world. Truth be told, I never graduate...
Sailing is gaining more and more attention. How to use modern technology to assist training and improve competition results is particularly important. Considering the real-time data collection in t...[Details]
System design is a complex process. It is not enough to just use ICs. There are many details to consider. This article uses a high-fidelity music playback system as an example to introduce how to s...[Details]
This paper establishes a fuel cell engine test platform based on the NI integrated hardware and software environment. This platform can realize the test and control of fuel cell engines and their a...[Details]
AD8205 is
a single-supply high-performance differential
amplifier
launched by
Analog
Devices of the United States
. The typical single-supply voltage is 5V, and its common-mode volta...[Details]
Among the many members of the single-chip microcomputer family, the MCS-51 series of single-chip microcomputers has occupied the main market of industrial measurement and control and automation eng...[Details]
From the previous section, we have learned that the timer/counter in the microcontroller can have multiple uses, so how can I make them work for the purpose I need? This requires setting the timer/...[Details]
In the "digital pressure measurement" experimental device of applied physics, the subject technical knowledge of analog circuits, digital circuits, sensors and single-chip microcomputers is used. In o...[Details]
Introduction
Today, as IC (integrated circuit) has developed to a super-large scale, IC design based on IP (Intellectual Property) cores and their reuse are important means to ensure the ef...[Details]
Zarlink Semiconductor has developed an ultra-low-power RF transceiver chip for pacemakers, neurostimulators, drug pumps, and other such implantable medical devices. It has high data rates, low power c...[Details]
People who often surf the Internet until late at night, their families always complain that turning on the big lights in the living room affects their rest, but some people don't have keyboard ligh...[Details]
The future energy storage hotspot is not coal or iron ore, but lithium. This lightest metal in nature may be the heaviest resource in the future energy landscape. China launched an ambitious electr...[Details]
Don’t just look at the power when choosing a power supply
We know that a power supply with a low rated power can hardly meet the power supply needs of the system, which may cause frequent free...[Details]
The power consumption of a switching power supply includes fixed losses caused by parasitic resistances such as semiconductor switches, magnetic components, and wiring, as well as switching losses ...[Details]
1. Advantages of CAN-bus in coal mine communication
Coal mine production is a field closely related to the national economy and people's livelihood. Among them, coal mine safety is undoubtedly ...[Details]
1 Introduction
CAN (Controller Area Network) bus is a kind of field bus. It is used in many industrial sectors due to its outstanding advantages such as high performance, high reliability, high...[Details]