PIC16F636-E/ST Microchip Technology, PIC16F636-E/ST Datasheet - Page 73

no-image

PIC16F636-E/ST

Manufacturer Part Number
PIC16F636-E/ST
Description
IC MCU FLASH 2KX14 14TSSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F636-E/ST

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, LVD, POR, WDT
Number Of I /o
11
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
14-TSSOP
For Use With
AC162057 - MPLAB ICD 2 HEADER 14DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
7.0
Comparators are used to interface analog circuits to a
digital circuit by comparing two analog voltages and
providing a digital indication of their relative magnitudes.
The comparators are very useful mixed signal building
blocks because they provide analog functionality
independent of the program execution. The Analog
Comparator module includes the following features:
• Dual comparators (PIC16F636/639 only)
• Multiple comparator configurations
• Comparator(s) output is available
• Programmable output polarity
• Interrupt-on-change
• Wake-up from Sleep
• Timer1 gate (count enable)
• Output synchronization to Timer1 clock input
• Programmable voltage reference
7.1
A comparator is shown in Figure 7-1 along with the
relationship between the analog input levels and the
digital output. When the analog voltage at V
than the analog voltage at V
FIGURE 7-2:
© 2007 Microchip Technology Inc.
internally/externally
COMPARATOR MODULE
Comparator Overview
Note 1: Comparator output is latched on falling edge of Timer1 clock source.
2: Q1 and Q3 are phases of the four-phase system clock (F
3: Q1 is held high during Sleep mode.
COMPARATOR OUTPUT BLOCK DIAGRAM (PIC12F635)
CINV
IN
-, the output of the
Q3*RD CMCON0
clock source
Timer1
IN
+ is less
Q1
PIC12F635/PIC16F636/639
(1)
Reset
EN
D
D
EN
D
CL
Q
Q
Q
comparator is a digital low level. When the analog
voltage at V
V
The PIC12F635 contains a single comparator as
shown in Figure 7-2.
The PIC16F636/639 devices contains two comparators
as shown in Figure 7-3 and Figure 7-4. The comparators
are not independently configurable.
FIGURE 7-1:
IN
Output
Note:
-, the output of the comparator is a digital high level.
V
V
V
V
IN
IN
IN
IN
RD CMCON0
+
-
-
+
CMSYNC
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
IN
OSC
+ is greater than the analog voltage at
0
1
).
+
SINGLE COMPARATOR
To Timer1 Gate
To COUT pin
To Data Bus
Set CMIF bit
DS41232D-page 71
Output

Related parts for PIC16F636-E/ST