PIC16F628A-E/P Microchip Technology, PIC16F628A-E/P Datasheet - Page 163
![IC MCU FLASH 2KX14 EEPROM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16F628A-E/P
Manufacturer Part Number
PIC16F628A-E/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)
Specifications of PIC16F628A-E/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 ~ 125°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
+ 125 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
Data Rom Size
128 B
Height
3.3 mm
Length
22.86 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
3 V
Width
6.35 mm
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 MIL
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
INDEX
A
A/D
Absolute Maximum Ratings .............................................. 131
ADDLW Instruction ........................................................... 113
ADDWF Instruction ........................................................... 113
ANDLW Instruction ........................................................... 113
ANDWF Instruction ........................................................... 113
Architectural Overview .......................................................... 9
Assembler
B
Baud Rate Error .................................................................. 71
Baud Rate Formula ............................................................. 71
BCF Instruction ................................................................. 114
Block Diagrams
BRGH bit ............................................................................. 71
Brown-Out Detect (BOD) .................................................... 98
BSF Instruction ................................................................. 114
BTFSC Instruction............................................................. 114
BTFSS Instruction ............................................................. 115
C
C Compilers
CALL Instruction ............................................................... 115
Capture (CCP Module) ....................................................... 56
Capture/Compare/PWM (CCP)........................................... 55
CCP1CON Register
2004 Microchip Technology Inc.
Special Event Trigger (CCP)....................................... 57
MPASM Assembler ................................................... 125
Comparator
I/O Ports
RC Oscillator Mode..................................................... 96
USART Receive.......................................................... 79
USART Transmit ......................................................... 77
MPLAB C17 .............................................................. 126
MPLAB C18 .............................................................. 126
MPLAB C30 .............................................................. 126
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
CCP1M3:CCP1M0 Bits ............................................... 55
I/O Operating Modes .......................................... 62
Modified Comparator Output .............................. 64
RB0/INT Pin ........................................................ 37
RB1/RX/DT Pin ................................................... 37
RB2/TX/CK Pin ................................................... 38
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
Preliminary
PIC16F627A/628A/648A
CCP2CON Register
Clocking Scheme/Instruction Cycle .................................... 13
CLRF Instruction............................................................... 115
CLRW Instruction.............................................................. 116
CLRWDT Instruction......................................................... 116
Code Examples
Code Protection ................................................................ 108
COMF Instruction.............................................................. 116
Comparator
Compare (CCP Module) ..................................................... 56
Configuration Bits ............................................................... 93
Crystal Operation................................................................ 95
D
Data EEPROM Memory...................................................... 89
Data Memory Organization................................................. 15
DECF Instruction .............................................................. 116
DECFSZ Instruction.......................................................... 117
Demonstration Boards
Development Support ....................................................... 125
Development Tool Version Requirements ........................ 157
Device Differences............................................................ 155
Device Migrations ............................................................. 156
Dual-speed Oscillator Modes.............................................. 97
CCP1X:CCP1Y Bits.................................................... 55
CCP2M3:CCP2M0 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 ............................. 92
Reading ...................................................................... 91
Spurious Write Protection ........................................... 91
Using .......................................................................... 92
Write Verify ................................................................. 91
Writing to .................................................................... 91
PICDEM 1................................................................. 128
PICDEM 17............................................................... 129
PICDEM 18R ............................................................ 129
PICDEM 2 Plus......................................................... 128
PICDEM 3................................................................. 128
PICDEM 4................................................................. 128
PICDEM LIN ............................................................. 129
PICDEM USB ........................................................... 129
PICDEM.net Internet/Ethernet .................................. 128
I/O Operating Modes .......................................... 62
Modified Comparator Output .............................. 64
DS40044B-page 161