PIC12HV609T-I/MS Microchip Technology, PIC12HV609T-I/MS Datasheet - Page 69

no-image

PIC12HV609T-I/MS

Manufacturer Part Number
PIC12HV609T-I/MS
Description
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 MSOP 3x3mm T/R
Manufacturer
Microchip Technology
Series
PIC® 12Fr

Specifications of PIC12HV609T-I/MS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
5
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Processor Series
PIC12H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
64 B
Interface Type
RS- 232 , USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
5
Number Of Timers
2
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
Other names
PIC12HV609T-I/MSTR
9.3
The comparator has two control and Configuration
registers: CMCON0 and CMCON1. The CMCON1
register is used for controlling the interaction with
Timer1 and simultaneously reading the comparator
output.
The CMCON0 register (Register 9-1) contain the
control and Status bits for the following:
• Enable
• Input selection
• Reference selection
• Output selection
• Output polarity
9.3.1
Setting the CMON bit of the CMCON0 register enables
the comparator for operation. Clearing the CMON bit
disables
consumption.
9.3.2
The CMCH bit of the CMCON0 register directs one of
four analog input pins to the comparator inverting input.
9.3.3
Setting the CMR bit of the CMxCON0 register directs
an internal voltage reference or an analog input pin to
the non-inverting input of the comparator. See
Section 9.10 “Comparator Voltage Reference” for
more information on the internal voltage reference
module.
9.3.4
The output of the comparator can be monitored by
reading either the COUT bit of the CMCON0 register. In
order to make the output available for an external
connection, the following conditions must be true:
• CMOE bit of the CMxCON0 register must be set
• Corresponding TRIS bit must be cleared
• CMON bit of the CMCON0 register must be set.
 2010 Microchip Technology Inc.
Note:
Note 1: The CMOE bit overrides the PORT data
2: The internal output of the comparator is
Comparator Control
the
COMPARATOR ENABLE
COMPARATOR OUTPUT
COMPARATOR INPUT SELECTION
To use CIN+ and CIN- pins as analog
inputs, the appropriate bits must be set in
the ANSEL register and the corresponding
TRIS bits must also be set to disable the
output drivers.
COMPARATOR REFERENCE
SELECTION
SELECTION
latch. Setting the CMON has no impact
on the port override.
latched with each instruction cycle.
Unless otherwise specified, external
outputs are not latched.
comparator
for
PIC12F609/615/617/12HV609/615
minimum
current
9.3.5
Inverting the output of the comparator is functionally
equivalent to swapping the comparator inputs. The
polarity of the comparator output can be inverted by
setting the CMPOL bit of the CMCON0 register. Clear-
ing CMPOL results in a non-inverted output. A com-
plete table showing the output state versus input
conditions and the polarity bit is shown in Table 9-1.
TABLE 9-1:
9.4
The comparator output is indeterminate for a period of
time after the change of an input source or the selection
of a new reference voltage. This period is referred to as
the response time. The response time of the compara-
tor differs from the settling time of the voltage refer-
ence. Therefore, both of these times must be
considered when determining the total response time
to a comparator input change. See Section 16.0
“Electrical Specifications” for more details.
Note:
CMV
CMV
CMV
CMV
Input Conditions
Comparator Response Time
IN
IN
IN
IN
- > CMV
- < CMV
- > CMV
- < CMV
COMPARATOR OUTPUT POLARITY
COUT refers to both the register bit and
output pin.
OUTPUT STATE VS. INPUT
CONDITIONS
IN
IN
IN
IN
+
+
+
+
CMPOL
0
0
1
1
DS41302D-page 69
COUT
0
1
1
0

Related parts for PIC12HV609T-I/MS