PIC16F628A-I/P Microchip Technology, PIC16F628A-I/P Datasheet - Page 173
![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
INDEX
A
A/D
Absolute Maximum Ratings .............................................. 133
ADDLW Instruction ........................................................... 117
ADDWF Instruction ........................................................... 117
ANDLW Instruction ........................................................... 117
ANDWF Instruction ........................................................... 117
Architectural Overview .......................................................... 9
Assembler
B
Baud Rate Error .................................................................. 73
Baud Rate Formula ............................................................. 73
BCF Instruction ................................................................. 118
Block Diagrams
BRGH bit ............................................................................. 73
Brown-Out Reset (BOR) ................................................... 101
BSF Instruction ................................................................. 118
BTFSC Instruction............................................................. 118
BTFSS Instruction ............................................................. 119
C
C Compilers
CALL Instruction ............................................................... 119
Capture (CCP Module) ....................................................... 56
Capture/Compare/PWM (CCP)........................................... 55
CCP1CON Register ............................................................ 55
© 2007 Microchip Technology Inc.
Special Event Trigger (CCP)....................................... 57
MPASM Assembler................................................... 130
Comparator
I/O Ports
RC Oscillator Mode..................................................... 99
USART Receive.......................................................... 80
USART Transmit......................................................... 78
MPLAB C18 .............................................................. 130
MPLAB C30 .............................................................. 130
Block Diagram............................................................. 56
CCP Pin Configuration................................................ 56
CCPR1H:CCPR1L Registers...................................... 56
Changing Between Capture Prescalers...................... 56
Prescaler..................................................................... 56
Software Interrupt ....................................................... 56
Timer1 Mode Selection ............................................... 56
Capture Mode. See Capture
CCP1 .......................................................................... 55
CCP2 .......................................................................... 55
Compare Mode. See Compare
PWM Mode. See PWM
Timer Resources......................................................... 55
CCP1M Bits ................................................................ 55
CCP1X:CCP1Y Bits .................................................... 55
I/O Operating Modes .......................................... 62
Modified Comparator Output .............................. 64
RB0/INT Pin ........................................................ 36
RB1/RX/DT Pin ................................................... 37
RB2/TX/CK Pin ................................................... 37
RB3/CCP1 Pin .................................................... 38
RB4/PGM Pin ..................................................... 39
RB5 Pin............................................................... 40
RB6/T1OSO/T1CKI Pin ...................................... 41
RB7/T1OSI Pin ................................................... 42
CCPR1H Register............................................... 55
CCPR1L Register ............................................... 55
PIC16F627A/628A/648A
CCP2CON Register
Clocking Scheme/Instruction Cycle .................................... 13
CLRF Instruction............................................................... 119
CLRW Instruction.............................................................. 120
CLRWDT Instruction......................................................... 120
CMCON Register................................................................ 61
Code Examples
Code Protection ................................................................ 111
COMF Instruction.............................................................. 120
Comparator
Compare (CCP Module) ..................................................... 56
CONFIG Register ............................................................... 96
Configuration Bits ............................................................... 95
Crystal Operation................................................................ 97
Customer Change Notification Service............................. 169
Customer Notification Service .......................................... 169
Customer Support............................................................. 169
D
Data EEPROM Memory...................................................... 89
Data Memory Organization................................................. 15
DECF Instruction .............................................................. 120
DECFSZ Instruction.......................................................... 121
Development Support ....................................................... 129
Device Differences............................................................ 167
Device Migrations ............................................................. 168
Dual-speed Oscillator Modes.............................................. 99
E
EECON1 Register............................................................... 90
EECON1 register ................................................................ 90
EECON2 register ................................................................ 90
Errata .................................................................................... 3
External Crystal Oscillator Circuit ....................................... 98
F
Fuses. See Configuration Bits
G
General Purpose Register File ........................................... 15
GOTO Instruction.............................................................. 121
CCP2M<3:2> Bits....................................................... 55
CCP2X:CCP2Y Bits.................................................... 55
Data EEPROM Refresh Routine ................................ 92
Block Diagrams
Comparator Module.................................................... 61
Configuration .............................................................. 62
Interrupts .................................................................... 65
Operation.................................................................... 63
Reference ................................................................... 63
Block Diagram ............................................................ 56
CCP Pin Configuration ............................................... 57
CCPR1H:CCPR1L Registers ..................................... 56
Software Interrupt ....................................................... 57
Special Event Trigger ................................................. 57
Timer1 Mode Selection............................................... 57
EECON1 Register ...................................................... 89
EECON2 Register ...................................................... 89
Operation During Code Protection ............................. 93
Reading ...................................................................... 91
Spurious Write Protection........................................... 91
Using .......................................................................... 92
Write Verify ................................................................. 91
Writing to .................................................................... 91
I/O Operating Modes .......................................... 62
Modified Comparator Output .............................. 64
DS40044F-page 171