PIC16F1829-E/ML Microchip Technology, PIC16F1829-E/ML Datasheet - Page 177

14 KB Flash, 1K Bytes RAM, 32 MHz Int. Osc, 18 I/0, Enhanced Mid Range Core 20 Q

PIC16F1829-E/ML

Manufacturer Part Number
PIC16F1829-E/ML
Description
14 KB Flash, 1K Bytes RAM, 32 MHz Int. Osc, 18 I/0, Enhanced Mid Range Core 20 Q
Manufacturer
Microchip Technology
Series
PIC® XLP™ mTouch™ 16Fr
Datasheet

Specifications of PIC16F1829-E/ML

Core Processor
PIC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
*
Processor Series
PIC16F182x
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
18
Number Of Timers
5
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
19.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.
Comparators are very useful mixed signal building
blocks because they provide analog functionality
independent of program execution. The analog
comparator module includes the following features:
• Independent comparator control
• Programmable input selection
• Comparator output is available internally/externally
• Programmable output polarity
• Interrupt-on-change
• Wake-up from Sleep
• Programmable Speed/Power optimization
• PWM shutdown
• Programmable and fixed voltage reference
19.1
A single comparator is shown in
the relationship between the analog input levels and
the digital output. When the analog voltage at V
less than the analog voltage at V
FIGURE 19-2:
 2010 Microchip Technology Inc.
FVR Buffer2
C12IN0-
C12IN1-
C12IN2-
C12IN3-
Note
C
COMPARATOR MODULE
X
V
C
Comparator Overview
CxNCH<1:0>
IN+
SS
DAC
X
PCH<1:0>
1:
2:
3:
When CxON = 0, the Comparator will produce a ‘0’ at the output.
When CxON = 0, all multiplexer inputs are disconnected.
Output of comparator can be frozen during debugging.
0
1
2
3
0
1
3
2
MUX
2
2
MUX
(2)
(2)
COMPARATOR MODULE SIMPLIFIED BLOCK DIAGRAM
CxVN
CxVP
CxON
Figure 19-1
IN
-
+
CxSP
-, the output of the
CxON
CxHYS
Cx
(3)
(1)
along with
IN
+ is
Preliminary
C
X
(from Timer1)
POL
T1CLK
comparator is a digital low level. When the analog
voltage at V
V
FIGURE 19-1:
PIC16F/LF1825/1829
IN
Output
Note:
-, the output of the comparator is a digital high level.
Q1
V
V
Interrupt
Interrupt
V
V
IN
IN
D
IN
IN
+
-
-
+
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
D
EN
IN
Q
+ is greater than the analog voltage at
det
det
Q
C
X
SYNC
CxINTP
CxINTN
0
1
+
SINGLE COMPARATOR
To ECCP PWM Logic
C
MC
X
OUT
X
OUT
C
X
To Timer1 or SR Latch
OE
DS41440A-page 177
SYNCC
To Data Bus
Output
TRIS bit
Set CxIF
X
C
OUT
X
OUT

Related parts for PIC16F1829-E/ML