• Timer1: 16-bit timer/counter with external crystal/
clock capability
• Timer2: 8-bit timer/counter with 8-bit period regis-
ter, prescaler and postscaler
• Capture, Compare, PWM module
- 16-bit Capture/Compare
- 10-bit PWM
• Addressable Universal Synchronous/Asynchro-
nous Receiver/Transmitter USART/SCI
CCP
(PWM)
1
1
1
Timers
8/16-bit
2/1
2/1
2/1
Device
Program
Memory
FLASH
(words)
1024
2048
4096
Data Memory
SRAM
(bytes)
224
224
256
EEPROM
(bytes)
128
128
256
I/O
USART
Comparators
PIC16F627A
PIC16F628A
PIC16F648A
16
16
16
Y
Y
Y
2
2
2
2002 Microchip Technology Inc.
Preliminary
DS40044A-page 1
PIC16F627A/628A/648A
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
PIC16F627A/628A/648A
PIC16F627A/628A/648A
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
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
SSOP
28-Pin
QFN
RA4/T0CKI/CMP2
RA3/AN3/CMP1
RA2/AN2/V
REF
RA5/MCLR/V
DD
PIC16F627A/628A/648A
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
DS40044A-page 2
Preliminary
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
8
9
10
NC 11
12
RB4/PGM
13
RB5
NC 14
1
21
NC 2
20
V
SS
3
19
NC 4
PIC16F627A/628A
18 NC
PIC16F648A
V
SS
17
5
NC 6
16
RB0/INT
7
15
28
27
26
25 NC
24
23
22 NC
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
1
2
3
4
5
6
7
8
9
10
2002 Microchip Technology Inc.
PIC16F627A/628A/648A
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......................................................................................................................................................... 67
Data EEPROM Memory ............................................................................................................................................................. 89
Special Features of the CPU...................................................................................................................................................... 93
Instruction Set Summary .......................................................................................................................................................... 111
Development Support............................................................................................................................................................... 125
DC and AC Characteristics Graphs and Tables....................................................................................................................... 147
[align=left]With the development of science and technology, programming is no longer the exclusive domain of programmers, and children's programming has gradually become a new way of learning. There a...
Hello everyone~ I just started to learn nios ii, and I always make mistakes when burning files. It has been several days. I hope that enthusiastic people can help solve the problem. I will be grateful...
I use S52's P2.0~P2.2 to connect ISD1110's REC, PLAYE, PLAYL. Why do I output 1 to all three ports, but the multimeter always outputs 0! I added a pull-up resistor, but the problem still exists! After...
Does anyone have the instruction manual for the Kikusui 200M com7201 oscilloscope? I am a novice and don't know how to use an oscilloscope. I would like to ask the experts for advice. Thank you!...
There are three types of mobile TV: one is based on analog TV broadcasting network, another is based on mobile communication network, and the other is based on digital broadcasting network. The f...[Details]
Abstract: In order to generate a stable excitation signal, the design of a digital frequency synthesizer is implemented on FPGA using Verilog hardware language. The design includes accumulator, wav...[Details]
Toyohashi University of Technology demonstrated electric field coupled wireless power supply technology using life-size car tires and roads at the wireless technology exhibition "Wireless Technolog...[Details]
This controller uses PIC16C54 single-chip microcomputer as the controller, and it is very easy to use: just connect a telephone line to the loudspeaker through the controller, and you can rem...[Details]
1. When the slip speed regulating motor is undergoing frequency conversion and energy saving transformation, the original excitation box (referred to as the speed regulating box) and the original s...[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]
1 Introduction to LED
With the development of science and technology, people have higher and higher requirements on automobile light sources. LED (Light Emitting Diode) has gradually attracted...[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]
The installation locations of DC-DC converters are relatively scattered. DC-DC converters can be found on the power board, main board, logic control board and other circuit boards of PDP color TVs....[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]
Traditionally, when using PLC to control stepper motors, a dedicated stepper motor control intelligent module is usually added to the PLC, and then connected to the drive power supply to realize th...[Details]
0 Introduction
With the development of virtual instrument technology, new measurement and control methods that use "virtual instruments" to replace traditional instruments are replacing trad...[Details]
1. Introduction
With the continuous development of modern urban construction, infrastructure and real estate are becoming increasingly prosperous, and the quality requirements for construction ...[Details]
LED (Light-emitting diode) is widely used in indication, display and other fields due to its advantages such as long life and low energy consumption. Reliability, stability and high light output ar...[Details]
The Challenge:
Develop a communications-flexible portable measurement device that can record
high-frequency transients
in power systems
and display the data online to multiple users...[Details]