PIC16LF628A-I/P Microchip Technology, PIC16LF628A-I/P Datasheet - Page 64
![IC MCU FLASH 2KX14 EEPROM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16LF628A-I/P
Manufacturer Part Number
PIC16LF628A-I/P
Description
IC MCU FLASH 2KX14 EEPROM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F627A-IP.pdf
(180 pages)
2.PIC16LF627A-IP.pdf
(8 pages)
3.PIC16F627A-ISO.pdf
(168 pages)
Specifications of PIC16LF628A-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)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16LF
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
1 x 16 bit
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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC16F627A/628A/648A
10.1
There are eight modes of operation for the
comparators. The CMCON register is used to select
the mode. Figure 10-1 shows the eight possible
modes. The TRISA register controls the data direction
of the comparator pins for each mode.
FIGURE 10-1:
DS40044B-page 62
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/V
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
A = Analog Input, port reads zeros always.
Comparator Configuration
REF
REF
REF
REF
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
Off (Read as '0')
Off (Read as '0')
Off (Read as '0')
C2V
C1V
C2V
C1V
C2V
OUT
D = Digital Input.
OUT
OUT
OUT
OUT
Preliminary
Comparators Off
CM2:CM0 = 111
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
Four Inputs Multiplexed to Two Comparators
CM2:CM0 = 010
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
Three Inputs Multiplexed to Two Comparators
CM2:CM0 = 001
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
RA0/AN0
RA3/AN3/CMP1
RA1/AN1
RA2/AN2/V
RA4/T0CKI/CMP2
Two Common Reference Comparators with Outputs
CM2:CM0 = 110
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Table 17-2.
Note 1: Comparator interrupts should be disabled
CIS (CMCON<3>) is the Comparator Input Switch.
REF
REF
REF
REF
2: Comparators can have an inverted
during a Comparator mode change,
otherwise a false interrupt may occur.
output. See Figure 10-3.
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
2004 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