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
If the mobile phone signal strength is -90dbm (medium strength), the conversion success rate = 10^-6mw (is the calculation correct?) Is the signal received by the mobile phone so small? Only 1uW...
As shown below, I first set up the footprint in the encapsulation manager, and also the footprint library directory, and clicked confirm. I also added this footprint to the project library, [img]file:...
Platform LPC2210 (ZLG's MagicARM2200) Network card chip: RTL8019 After transplantation, ping the host computer and get the message "packet too big" Hope someone can help...
Today, I placed an order with Jiali Chuang for 5 boards, SMT. After placing the order, I checked the results in the evening and was furious.I got an extra 44+51 yuan.
Because I believe that the big co...
The data collector of the automatic weather station is generally designed based on a single-chip microcomputer or a PC/104 bus controller. It has the characteristics of good compatibility with PC, low...[Details]
From the PIC16F946 datasheet, we know that there are two ways to write values to the LCD for display:
1. Directly write the value to LCDDATA1~LCDDATA23
2. Use disconnect t...[Details]
Editor's note: In order to help technicians or engineers who have knowledge of PIC microcontroller assembly language quickly master the method of using C language to program PIC microcontrollers, t...[Details]
1. What is temperature?
Heat is a type of molecular motion. The hotter an object is, the faster its molecules move. Absolute zero is defined as the temperature at which all molecular motion ...[Details]
A standard cell
is an electrochemical
cell
used as a voltage reference standard in many electrical standards laboratories
. If properly maintained, standard cells are very stable. The ...[Details]
The serial interface real-time clock chip DS1302 launched by Dallas Company in the United States can trickle charge the backup battery of the clock chip. Due to the main features of the chip such a...[Details]
At present, a large number of cooling tower fans, speed fans and special fans are in use in petroleum, chemical, pharmaceutical, metallurgical and other enterprises. Some fans have no monitoring in...[Details]
With the rapid development of wireless
digital communication
, more challenges have been raised for integrated circuit design and testing. In the product design stage, in order to ensure
t...[Details]
The above is to use MB1404 as a stereo composite signal transmitter. You can use the internal high-frequency amplifier and oscillator or not! According to my experience, I still recommend beginners...[Details]
The launch of Shenzhou IX is imminent, and Tiangong is welcoming visitors again. Yesterday, Professor Fu Qiang, Vice President of the Institute of Science and Industrial Technology of Harbin Instit...[Details]
Cars equipped with xenon headlights are already common on the road. Whether they are standard equipment on high-end cars or embellishments on modified cars, xenon lamps are gradually becoming a sym...[Details]
At present, with the diversification of portable products and the almost harsh requirements for audio and video parts, the power consumption requirements of the whole machine have been raised to a ...[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]
It should be understood as follows: DC-DC means direct current to direct current (conversion of different DC power values). Anything that meets this definition can be called a DC-DC converter, incl...[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]