• All single cycle instructions (200 ns), except for
program branches which are two-cycle
• Operating speed:
- DC - 20 MHz clock input
- DC - 200 ns instruction cycle
Memory
Device
FLASH
Program
1024 x 14
2048 x 14
RAM
Data
224 x 8
224 x 8
EEPROM
Data
128 x 8
128 x 8
PIC16F627
PIC16F628
•
•
•
•
Interrupt capability
16 special function hardware registers
8-level deep hardware stack
Direct, Indirect and Relative addressing modes
Peripheral Features:
• 16 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(V
REF
) module
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs are externally accessible
• Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
• Timer1: 16-bit timer/counter with external crystal/
clock capability
• Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
• Capture, Compare, PWM (CCP) module
- Capture is 16-bit, max. resolution is 12.5 ns
- Compare is 16-bit, max. resolution is 200 ns
- PWM max. resolution is 10-bit
CMOS Technology:
• Low power, high speed CMOS FLASH technology
• Fully static design
• Wide operating voltage range
- PIC16F627 - 3.0V to 5.5V
- PIC16F628 - 3.0V to 5.5V
- PIC16LF627 - 2.0V to 5.5V
- PIC16LF628 - 2.0V to 5.5V
• Commercial, industrial and extended temperature
range
• Low power consumption
- < 2.0 mA @ 5.0V, 4.0 MHz
- 15
µA
typical @ 3.0V, 32 kHz
- < 1.0
µA
typical standby current @ 3.0V
2003 Microchip Technology Inc.
Preliminary
DS40300C-page 1
PIC16F62X
Pin Diagrams
PDIP, SOIC
RA2/AN2/V
REF
RA3/AN3/CMP1
RA4/TOCKI/CMP2
RA5/MCLR/V
PP
V
SS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
•1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
PIC16F62X
SSOP
RA2/AN2/V
REF
RA3/AN3/CMP1
RA4/TOCKI/CMP2
RA5/MCLR/V
PP
V
SS
V
SS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
•1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
PIC16F62X
Device Differences
Device
Voltage
Range
Oscillator
Process
Technology
(Microns)
PIC16F627
3.0 - 5.5
(Note 1)
0.7
PIC16F628
3.0 - 5.5
(Note 1)
0.7
PIC16LF627
2.0 - 5.5
(Note 1)
0.7
PIC16LF628
2.0 - 5.5
(Note 1)
0.7
Note 1:
If you change from this device to another device, please verify oscillator characteristics in your
application.
DS40300C-page 2
Preliminary
2003 Microchip Technology Inc.
PIC16F62X
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
18.0
19.0
General Description...................................................................................................................................................................... 5
Voltage Reference Module......................................................................................................................................................... 59
Data EEPROM Memory ............................................................................................................................................................. 87
Special Features of the CPU...................................................................................................................................................... 91
Instruction Set Summary .......................................................................................................................................................... 107
Development Support............................................................................................................................................................... 121
DC and AC Characteristics Graphs and Tables....................................................................................................................... 143
[i=s] This post was last modified by buer1209 on 2015-6-28 10:19 Edit [/i] [font=宋体][size=12pt][b]Project Background [/b]: This design uses [/size][/font][size=12pt]Webench [/size][font=宋体][size=12pt]...
When a robot dog meets a real dog... : https://training.eeworld.com.cn/course/3564[font=微软雅黑][size=3]The protagonists of the video are Spot, a robot dog launched by Boston Dynamics, a subsidiary of Go...
If you are interested in the pxa310 development board, you can visit my blog and discuss with me if you have any questions. I should be able to solve the common problems of xscale. Thank you! http://b...
I had dinner with a friend in the evening. He works for a famous portal website. I discussed with him the issue of improving the layout of EEWORLD. As we chatted, he said that the main reason why he d...
introduction
Since the beginning of the 21st century, the world of information has changed rapidly. Maybe a high-tech product will be released today and a better similar product will be releas...[Details]
All electronic design engineers and scientists have performed electrical signal analysis, or signal analysis for short. Through this basic measurement, they can gain insight into signal details and...[Details]
In public places such as schools, government agencies, factories and mines, as well as public corridors in residential areas, the phenomenon of long-burning lights is very common, which causes a h...[Details]
To differentiate their products in a crowded and competitive market, manufacturers of handheld devices often consider battery life and power management as key selling points for cell phones, PDAs, ...[Details]
July 11, 2012, Beijing - Altera Corporation (NASDAQ: ALTR) today announced the launch of 40-Gbps Ethernet (40GbE) and 100-Gbps Ethernet (100GbE) intellectual property (IP) core products. These core...[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]
1. Introduction
At present, most lighting equipment still uses traditional energy for lighting. Making full use of solar energy as the energy supply for lighting equipment is of great si...[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]
1. With the development of modern industry and the continuous improvement of automation, some medium and large control systems have been greatly facilitated, which not only makes control easier, bu...[Details]
Overview:
This paper introduces a method of connecting a CAN-bus network with Ethernet to form a medium-sized remote monitoring/data transmission network.
CAN (Controller Area Network) is ...[Details]
1 Introduction
Building Automation System (BAS) is a distributed monitoring system (DCS) designed according to distributed information and control theory. It is the result of the mutual de...[Details]
1 Introduction
With the development of control, computer, communication, network technology, etc., a new control technology, namely fieldbus, has emerged in the field of industrial control...[Details]
On the afternoon of July 10, Beijing time, Taiwan's largest chip designer MediaTek expects its smartphone chip shipments to grow by double digits in the third quarter of this year, and the company is ...[Details]
The potentiometer is an adjustable electronic component. The main functions of the potentiometer in the circuit are as follows:
1. Used as a voltage divider
A potentiometer is a continuou...[Details]
Many battery-powered systems require a visual indicator to show when the battery needs to be replaced. LEDs are commonly used for this purpose, but they consume at least 10mA of current. This con...[Details]