PIC16F628A-I/P Microchip Technology, PIC16F628A-I/P Datasheet - Page 17
![IC MCU FLASH 2KX14 EEPROM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16F628A-I/P
Manufacturer Part Number
PIC16F628A-I/P
Description
IC MCU FLASH 2KX14 EEPROM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F627A-IP.pdf
(180 pages)
2.PIC16F627A-IP.pdf
(22 pages)
3.PIC16F627A-ISO.pdf
(168 pages)
4.PIC16F648A-ISS.pdf
(178 pages)
Specifications of PIC16F628A-I/P
Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI/USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
Package
18PDIP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3DBF648 - BOARD DAUGHTER ICEPIC3AC162053 - HEADER INTERFACE ICD,ICD2 18DIPACICE0202 - ADAPTER MPLABICE 18P 300 MILAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F628A-I/P
Manufacturer:
BT
Quantity:
562
Company:
Part Number:
PIC16F628A-I/P
Manufacturer:
MICROCHI
Quantity:
850
Part Number:
PIC16F628A-I/P
Manufacturer:
MICROCHIP
Quantity:
20 000
4.0
4.1
The PIC16F627A/628A/648A has a 13-bit program
counter capable of addressing an 8K x 14 program
memory space. Only the first 1K x 14 (0000h - 03FFh)
for the PIC16F627A, 2K x 14 (0000h - 07FFh) for the
PIC16F628A and 4K x 14 (0000h - 0FFFh) for the
PIC16F648A are physically implemented. Accessing a
location above these boundaries will cause a wrap-
around within the first 1K x 14 space (PIC16F627A), 2K
x 14 space (PIC16F628A) or 4K x 14 space
(PIC16F648A). The Reset vector is at 0000h and the
interrupt vector is at 0004h (Figure 4-1).
FIGURE 4-1:
2004 Microchip Technology Inc.
CALL, RETURN
RETFIE, RETLW
MEMORY ORGANIZATION
Program Memory Organization
PIC16F627A,
PIC16F628A and
PIC16F648A
PIC16F628A and
On-chip Program
PIC16F648A only
On-chip Program
On-chip Program
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
Interrupt Vector
PIC16F648A
Memory
PC<12:0>
Memory
Memory
PROGRAM MEMORY MAP
AND STACK
13
1FFFh
07FFh
000h
0004
0005
03FFh
0FFFh
Preliminary
PIC16F627A/628A/648A
4.2
The data memory (Figure 4-2 and Figure 4-3) is
partitioned into four banks, which contain the General
Purpose Registers (GPR’s) and the Special Function
Registers (SFR). The SFR’s are located in the first 32
locations of each Bank. There are General Purpose
Registers implemented as static RAM in each Bank.
Table 4-1 lists the General Purpose Register available
in each of the four banks.
TABLE 4-1:
Addresses F0h-FFh, 170h-17Fh and 1F0h-1FFh are
implemented as common RAM and mapped back to
addresses 70h-7Fh.
Table 4-2 lists how to access the four banks of registers
via the Status Register bits RP1 and RP0.
TABLE 4-2:
4.2.1
The register file is organized as 224 x 8 in the
PIC16F627A/628A and 256 x 8 in the PIC16F648A.
Each is accessed either directly or indirectly through
the File Select Register (FSR), See Section 4.4 "Indi-
rect Addressing, INDF and FSR Registers".
Bank0
Bank1
Bank2
Bank3
Bank0
Bank1
Bank2
Bank3
Data Memory Organization
GENERAL PURPOSE REGISTER
FILE
120h-14Fh, 170h-17Fh
PIC16F627A/628A
GENERAL PURPOSE STATIC
RAM REGISTERS
ACCESS TO BANKS OF
REGISTERS
1F0h-1FFh
A0h-FF
20-7Fh
RP1
0
0
1
1
DS40044B-page 15
PIC16F648A
1F0h-1FFh
120h-17Fh
A0h-FF
20-7Fh
RP0
0
1
0
1