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
I pass the 110V AC voltage through a diode to make it half-wave, and then send it to the microcontroller for AD conversion. What algorithm can I use to accurately obtain the actual AC voltage? I would...
I'm studying FPGA recently. I bought NI Single-Board 9606 board from NI official website, but it's just a bare board without any connecting wires. There is an interface on the board, which is 240-pin,...
How to make the parameters of printf output in CodeWarrior be displayed in the hyperterminal ?
Attach the code:
#include "support_common.h" /* include peripheral declarations and more */ #if (CONSOLE_...
I have the software icc avr and avr studio; AT90PWM3 chip and manual, some entry-level programs and tutorials for other chips (atmega16, atmega128). I have read all the above information, but I can't ...
The intelligent driving community has its own rhythm. Some are busy pushing new versions and focusing on R&D, others are busy with publicity and promotion, and still others are immersed in mass pro...[Details]
On August 24th, Jin Yuzhi, CEO of Huawei's Intelligent Automotive Solutions BU, announced the first automotive application of Huawei Qiankun's unique Limera technology. This technology eliminates t...[Details]
New energy vehicles are increasingly popular with consumers due to policies and energy conservation. Once you've purchased your vehicle, maintenance is essential. However, due to the different powe...[Details]
"Have you set your calendar reminder?"
On August 24, Nvidia Robotics' official account posted a photo of a black gift box on a social media platform, with an attached greeting card sig...[Details]
In recent years, the government has increasingly supported electric vehicles, and the number of electric vehicles has increased. Observant drivers will notice that there are many more green license...[Details]
On August 18th, Galaxis, a specialist in integrated intelligent intralogistics robotics, officially unveiled its next-generation, ultra-narrow aisle forklift mobile robot, the "VFR Ultra-Narrow Ser...[Details]
The digital TV set-top box consists of a tuner, QAM demodulator, TS demultiplexer, MPEG-2 decoder, PAUNTSC video encoder, embedded CPU system and peripheral interfaces, CA module, and uplink data m...[Details]
There are basically three causes of spontaneous combustion of electric vehicles: The first is that the battery components are punctured or suffer fatal damage due to a collision accident, and part ...[Details]
A half-bridge is an inverter topology for converting DC to AC. A typical half-bridge circuit consists of two controller switches, a three-wire DC power supply, two feedback diodes, and two capacito...[Details]
A human-machine interface (HMI) refers to the platform used by people to operate a PLC. This platform provides an interface between programs and humans, serving as a medium for information transmis...[Details]
There are more and more electric vehicles. Recently, I have heard some news about electric vehicles performing poorly in winter. I would like to briefly introduce whether heat pump technology is mo...[Details]
introduction
The widespread use of air conditioner communication circuits began with the rise of household inverter air conditioners. With China's energy conservation and emission reduction in...[Details]
With the development of vehicle technology, there are more types of cars. Cars are divided into hybrid, pure electric vehicles, and fuel vehicles. For hybrid cars, they are divided into plug-in hyb...[Details]
Reasons for the wear of the roller press reducer shaft:
1. Since the expansion sleeve is subjected to a large torque, the mating surfaces of the shaft and the sleeve move relative to each other...[Details]
Naxin Micro releases the NS800RT737x high-performance real-time control MCU (DSP), enabling core control in the industrial and energy sectors.
In power electronics and electric drive...[Details]