PIC16LF628-04/P Microchip Technology, PIC16LF628-04/P Datasheet - Page 56
![IC MCU FLASH 2KX14 COMP 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16LF628-04/P
Manufacturer Part Number
PIC16LF628-04/P
Description
IC MCU FLASH 2KX14 COMP 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC16F627-04P.pdf
(170 pages)
Specifications of PIC16LF628-04/P
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
4MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16LF
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
224Byte
Cpu Speed
4MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
- Current page: 56 of 170
- Download datasheet (5Mb)
PIC16F62X
9.1
There are eight modes of operation for the
comparators. The CMCON register is used to select
the mode. Figure 9-1 shows the eight possible modes.
The TRISA register controls the data direction of the
comparator pins for each mode. If the Comparator
FIGURE 9-1:
DS40300C-page 54
Comparators Reset (POR Default Value)
CM2:CM0 = 000
Two Independent Comparators
CM2:CM0 = 100
Two Common Reference Comparators
CM2:CM0 = 011
One Independent Comparator
CM2:CM0 = 101
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
A = Analog Input, port reads zeros always.
D = Digital Input.
CIS (CMCON<3>) is the Comparator Input Switch.
Comparator Configuration
D
D
A
A
A
A
A
A
A
D
A
A
A
A
A
A
V
COMPARATOR I/O OPERATING MODES
SS
V
V
V
V
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
V
V
V
V
IN
IN
IN
IN
-
+
-
+
-
+
-
+
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1
C2
C1
C2
C1
C2
C1
C2
C2V
Off (Read as '0')
Off (Read as '0')
Off (Read as '0')
C1V
C2V
C1V
C2V
OUT
OUT
OUT
OUT
OUT
Preliminary
Comparators Off
CM2:CM0 = 111
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
Four Inputs Multiplexed to Two Comparators
CM2:CM0 = 010
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
Three Inputs Multiplexed to Two Comparators
CM2:CM0 = 001
This mode is disfunctional and has been corrected in the ‘A’
Revision Devices.
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/CMP2
RA4/T0CKI/C20
Two Common Reference Comparators with Outputs
CM2:CM0 = 110
mode is changed, the comparator output level may not
be valid for the specified mode change delay shown
in Table 17-1.
Note:
Comparator interrupts should be disabled
during a Comparator mode change other-
wise a false interrupt may occur.
A
A
A
A
A
A
A
A
D
D
D
D
Open Drain
A
D
A
A
V
SS
CIS = 0
CIS = 1
CIS = 0
CIS = 1
CIS = 0
CIS = 1
V
V
V
V
IN
IN
IN
IN
V
V
V
V
-
+
-
+
IN
IN
IN
IN
2003 Microchip Technology Inc.
-
+
-
+
C1
C2
V
V
V
V
V
V
V
V
C1
C2
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
+
+
C1
C2
C1
C2
Off (Read as '0')
Off (Read as '0')
From V
Module
C1V
C2V
OUT
OUT
REF
C1V
C2V
C1V
C2V
OUT
OUT
OUT
OUT
Related parts for PIC16LF628-04/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: