PIC16F628-20/P Microchip Technology Inc., PIC16F628-20/P Datasheet - Page 43
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F628-20/P
Manufacturer Part Number
PIC16F628-20/P
Description
18 PIN, 3.5 KB FLASH, 224 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F628-20P.pdf
(170 pages)
Specifications of PIC16F628-20/P
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
16
Interface
SCI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
224 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
- Current page: 43 of 170
- Download datasheet (5Mb)
TABLE 5-3:
TABLE 5-4:
2003 Microchip Technology Inc.
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
RB4/PGM
RB5
RB6/T1OSO/T1CKI/
PGC
RB7/T1OSI/PGD
Legend:
06h, 106h PORTB
86h, 186h TRISB
81h, 181h OPTION
Legend: u = unchanged, x = unknown
Note 1: Shaded bits are not used by PORTB.
Address
Name
TTL = TTL Input
— = Not used
O = Output
Name
PORTB FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
TRISB7
RBPU
Function Input Type
Bit 7
RB7
T1OSO
T1CKI
T1OSI
CCP1
PGM
PGC
PGD
RB0
RB1
RB2
RB3
RB4
RB5
RB6
RB7
INT
RX
DT
CK
TX
INTEDG
TRISB6
Bit 6
RB6
XTAL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
TTL
ST
ST
ST
ST
ST
ST
ST
ST
ST
—
—
TRISB5 TRISB4 TRISB3 TRISB2 TRISB1 TRISB0 1111 1111 1111 1111
T0CS
Bit 5
RB5
CMOS = CMOS Output
I
OD
Output
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
CMOS
Bit 4
T0SE
Preliminary
XTAL
= Input
= Open Drain Output
RB4
Type
—
—
—
—
—
—
Bit 3
RB3
PSA
Bi-directional I/O port. Can be software programmed for
internal weak pull-up.
External interrupt.
Bi-directional I/O port. Can be software programmed for
internal weak pull-up.
USART Receive Pin
Synchronous data I/O
Bi-directional I/O port
USART Transmit Pin
Synchronous Clock I/O. Can be software programmed
for internal weak pull-up.
Bi-directional I/O port. Can be software programmed for
internal weak pull-up.
Capture/Compare/PWM/I/O
Bi-directional I/O port. Can be software programmed for
internal weak pull-up.
Low voltage programming input pin. Interrupt-on-pin
change. When low voltage programming is enabled, the
interrupt-on-pin change and weak pull-up resistor are
disabled.
Bi-directional I/O port. Interrupt-on-pin change. Can be
software programmed for internal weak pull-up.
Bi-directional I/O port. Interrupt-on-pin change. Can be
software programmed for internal weak pull-up.
Timer1 Oscillator Output
Timer1 Clock Input
ICSP Programming Clock
Bi-directional I/O port. Interrupt-on-pin change. Can be
software programmed for internal weak pull-up.
Timer1 Oscillator Input
ICSP Data I/O
Bit 2
RB2
PS2
Bit 1
RB1
PS1
Description
P
ST = Schmitt Trigger Input
AN = Analog
(1)
Bit 0
RB0
PS0
= Power
PIC16F62X
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
Value on
POR
DS40300C-page 41
All Other
Value on
RESETS
Related parts for PIC16F628-20/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F628-20I/P](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
18 PIN, 3.5 KB FLASH, 224 RAM, 16 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F628-04I/P](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
18 PIN, 3.5 KB FLASH, 224 RAM, 16 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F727-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MQ](/photos/18/99/189937/4243194_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, MQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F690-E/ML](/photos/6/64/66481/c04-126_ml_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, QFN-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: