PIC16F1829-E/P Microchip Technology, PIC16F1829-E/P Datasheet - Page 327

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

PIC16F1829-E/P

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

Specifications of PIC16F1829-E/P

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
Through Hole
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
27.1
The CPS module can monitor up to four inputs for the
PIC16F/LF1825 (CPSCH<7:0>) and up to eight inputs
for
Register 27-2
are defined as CPS<11:0>, as applicable to device. To
determine if a frequency change has occurred the user
must:
• Select the appropriate CPS pin by setting the
• Set the corresponding ANSEL bit.
• Set the corresponding TRIS bit.
• Run the software algorithm.
The CPS module can monitor up to four inputs for the
PIC16F/LF1825 (CPSCH<7:0>) and up to eight inputs
for
Register 27-2
are defined as CPS<11:0>, as applicable to device. To
determine if a frequency change has occurred the user
must:
• Select the appropriate CPS pin by setting the
• Set the corresponding ANSEL bit.
• Set the corresponding TRIS bit.
• Run the software algorithm.
Selection of the CPSx pin while the module is enabled
will cause the capacitive sensing oscillator to be on the
CPSx pin. Failure to set the corresponding ANSEL and
TRIS bits can cause the capacitive sensing oscillator to
stop, leading to false frequency readings.
27.2
The capacitive sensing oscillator consists of a constant
current source and a constant current sink, to produce
a triangle waveform. The CPSOUT bit of the
CPSCON0 register shows the status of the capacitive
sensing oscillator, whether it is a sinking or sourcing
current. The oscillator is designed to drive a capacitive
load (single PCB pad) and at the same time, be a clock
source to either Timer0 or Timer1. The oscillator has
three different current settings as defined by
CPSRNG<1:0> of the CPSCON0 register. The different
current settings for the oscillator serve two purposes:
• Maximize the number of counts in a timer for a
• Maximize the count differential in the timer during
 2010 Microchip Technology Inc.
CPSCH<3:0> bits of the CPSCON1 register.
appropriate CPSCH bits of the CPSCON1 register.
fixed time base.
a change in frequency.
the
the
Analog MUX
Capacitive Sensing Oscillator
PIC16F/LF1829
PIC16F/LF1829
for details. The capacitive sensing inputs
for details. The capacitive sensing inputs
(CPSCH<11:0>).
(CPSCH<11:0>).
See
See
Preliminary
27.3
The capacitive sensing oscillator uses voltage refer-
ences to provide two voltage thresholds for oscillation.
The upper voltage threshold is referred to as Ref+ and
the lower voltage threshold is referred to as Ref-.
The user can elect to use fixed voltage references,
which are internal to the capacitive sensing oscillator,
or variable voltage references, which are supplied by
the Fixed Voltage Reference (FVR) module and the
Digital-to-Analog Converter (DAC) module.
When the fixed voltage references are used, the V
voltage determines the lower threshold level (Ref-) and
the V
(Ref+).
When the variable voltage references are used, the
DAC voltage determines the lower threshold level
(Ref-) and the FVR voltage determines the upper
threshold level (Ref+). An advantage of using these ref-
erence sources is that oscillation frequency remains
constant with changes in V
Different oscillation frequencies can be obtained
through the use of these variable voltage references.
The more the upper voltage reference level is lowered
and the more the lower voltage reference level is
raised, the higher the capacitive sensing oscillator
frequency becomes.
Selection between the voltage references is controlled
by the CPSRM bit of the CPSCON0 register. Setting
this bit selects the variable voltage references and
clearing this bit selects the fixed voltage references.
Please see
(FVR)”
(DAC) Module”
variable voltage levels.
PIC16F/LF1825/1829
DD
and
voltage determines the upper threshold level
Voltage References
Section 17.0 “Digital-to-Analog Converter
Section 14.0 “Fixed Voltage Reference
for more information on configuring the
DD
.
DS41440A-page 329
SS

Related parts for PIC16F1829-E/P