PIC16F628A-I/P Microchip Technology, PIC16F628A-I/P Datasheet - Page 63
![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
10.0
The
comparators. The inputs to the comparators are
multiplexed with the RA0 through RA3 pins. The on-chip
Voltage Reference (Section 11.0 “Voltage Reference
Module”) can also be an input to the comparators.
REGISTER 10-1:
© 2007 Microchip Technology Inc.
comparator
COMPARATOR MODULE
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
module
CMCON – COMPARATOR CONFIGURATION REGISTER (ADDRESS: 01Fh)
bit 7
C2OUT: Comparator 2 Output bit
When C2INV = 0:
1 = C2 V
0 = C2 V
When C2INV = 1:
1 = C2 V
0 = C2 V
C1OUT: Comparator 1 Output bit
When C1INV = 0:
1 = C1 V
0 = C1 V
When C1INV = 1:
1 = C1 V
0 = C1 V
C2INV: Comparator 2 Output Inversion bit
1 = C2 Output inverted
0 = C2 Output not inverted
C1INV: Comparator 1 Output Inversion bit
1 = C1 Output inverted
0 = C1 Output not inverted
CIS: Comparator Input Switch bit
When CM<2:0>: = 001
Then:
1 = C1 V
0 = C1 V
When CM<2:0> = 010
Then:
1 = C1 V
0 = C1 V
CM<2:0>: Comparator Mode bits
Figure 10-1 shows the comparator modes and CM<2:0> bit settings
Legend:
R = Readable bit
-n = Value at POR
C2OUT
R-0
C2 V
C2 V
contains
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
+ < C2 V
+ > C2 V
+ < C2 V
+ > C2 V
+ > C1 V
+ < C1 V
+ < C1 V
+ > C1 V
- connects to RA3
- connects to RA0
- connects to RA3
- connects to RA0
- connects to RA2
- connects to RA1
C1OUT
R-0
two
IN
IN
IN
IN
IN
IN
IN
IN
-
-
-
-
-
-
-
-
analog
C2INV
R/W-0
W = Writable bit
‘1’ = Bit is set
PIC16F627A/628A/648A
C1INV
R/W-0
The CMCON register, shown in Register 10-1, controls
the comparator input and output multiplexers. A block
diagram of the comparator is shown in Figure 10-1.
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
CIS
R/W-0
CM2
x = Bit is unknown
R/W-0
CM1
DS40044F-page 61
R/W-0
CM0
bit 0