PIC16F946T-I/PT Microchip Technology, PIC16F946T-I/PT Datasheet - Page 99

Microcontroller

PIC16F946T-I/PT

Manufacturer Part Number
PIC16F946T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
8.3
There are eight modes of operation for the comparators.
The CMCON0 register is used to select these modes.
Figure 8-3 shows the eight possible modes.
FIGURE 8-3:
© 2005 Microchip Technology Inc.
Legend:
A = Analog Input, port reads zeros always.
Comparators Reset (POR Default Value)
CM<2:0> = 000
Two Independent Comparators
CM<2:0> = 100
Two Common Reference Comparators
CM<2:0> = 011
One Independent Comparator with Reference Option
CM<2:0> = 101
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
SEG15
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
COM2
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
REF
REF
REF
REF
REF
REF
REF
REF
Comparator Configuration
+/
-/
+/SEG15
-/COM2
+/SEG15
-/COM2
+/SEG15
-/COM2
A
A
D
D
A
A
A
Internal 0.6V reference
A
D
A
A
A
A
A
A
A
A
CIS = 0
CIS = 1
COMPARATOR I/O OPERATING MODES
V
V
IN
IN
V
V
V
V
V
V
-
+
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
V
V
-
+
-
+
V
V
IN
IN
IN
IN
C1
-
+
-
+
C2
C1
C2
C1
C2
C1
C2
Off (Read as ‘0’)
Off (Read as ‘0’)
C1OUT
C2OUT
C1OUT
C2OUT
Off (Read as ‘0’)
C2OUT
RA5
D = Digital Input.
Preliminary
Two Common Reference Comparators with Outputs
CM<2:0> = 110
Comparators Off
CM<2:0> = 111
Four Inputs Multiplexed to Two Comparators
CM<2:0> = 010
Three Inputs Multiplexed to Two Comparators
CM<2:0> = 001
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
RA0/AN0/
C1-/SEG12
RA3/AN3/
C1+/V
RA1/AN1/
C2-/SEG7
RA2/AN2/
C2+/V
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Section 19.0 “Electrical
Specifications”.
Note:
REF
REF
REF
REF
REF
REF
REF
CIS (CMCON0<3>) is the computer Input Switch.
+/SEG15
-/COM2
+/SEG15
-/COM2
-/COM2
+/SEG15
-/COM2
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
A
A
A
A
A
A
A
A
A
A
A
D
D
D
D
CIS = 0
CIS = 1
CIS = 0
CIS = 1
V
V
V
V
CIS = 0
CIS = 1
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
PIC16F946
C1
C2
C1
C2
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
From CV
C1
C2
DS41265A-page 97
C1OUT
C2OUT
C1
C2
Off (Read as ‘0’)
Off (Read as ‘0’)
RA4
RA5
REF
C1OUT
C2OUT
C2OUT
C1OUT
Module

Related parts for PIC16F946T-I/PT