PIC16F722-I/SS Microchip Technology, PIC16F722-I/SS Datasheet - Page 130
![IC PIC MCU FLASH 2KX14 28-SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC16F722-I/SS
Manufacturer Part Number
PIC16F722-I/SS
Description
IC PIC MCU FLASH 2KX14 28-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheets
1.AC164112.pdf
(302 pages)
2.PIC16F722-ISS.pdf
(8 pages)
3.PIC16F722-ISS.pdf
(10 pages)
4.PIC16F722-ISS.pdf
(32 pages)
5.PIC16F722-ISS.pdf
(2 pages)
6.PIC16F722-ISS.pdf
(8 pages)
7.PIC16LF724-EP.pdf
(266 pages)
Specifications of PIC16F722-I/SS
Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
28-SSOP
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
25
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 11x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C/SCI/SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
25
Number Of Timers
3
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
On-chip Adc
11-ch x 8-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164112 - VOLTAGE LIMITER MPLAB ICD2 VPPAC164307 - MODULE SKT FOR PM3 28SSOP
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F722-I/SS
Manufacturer:
MICROCHI
Quantity:
60
Part Number:
PIC16F722-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F72X/PIC16LF72X
14.1
The capacitive sensing module can monitor up to 16
inputs. The capacitive sensing inputs are defined as
CPS<15:0>. 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.
14.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
14.3
To measure the change in frequency of the capacitive
sensing oscillator, a fixed time base is required. For the
period of the fixed time base, the capacitive sensing
oscillator is used to clock either Timer0 or Timer1. The
frequency of the capacitive sensing oscillator is equal
to the number of counts in the timer divided by the
period of the fixed time base.
14.4
To measure the frequency of the capacitive sensing
oscillator, a fixed time base is required. Any timer
resource or software loop can be used to establish the
fixed time base. It is up to the end user to determine the
method in which the fixed time base is generated.
41341E-page 130
CPSCH<3:0> bits of the CPSCON1 register
fixed time base
a change in frequency
Note:
Analog MUX
Capacitive Sensing Oscillator
Timer resources
Fixed Time Base
The fixed time base can not be generated
by timer resource the capacitive sensing
oscillator is clocking.
14.4.1
To select Timer0 as the timer resource for the capacitive
sensing module:
• Set the T0XCS bit of the CPSCON0 register
• Clear the T0CS bit of the OPTION register
When Timer0 is chosen as the timer resource, the
capacitive sensing oscillator will be the clock source for
Timer0. Refer to Section 11.0 “Timer0 Module” for
additional information.
14.4.2
To select Timer1 as the timer resource for the
capacitive sensing module, set the TMR1CS<1:0> of
the T1CON register to ‘11’. When Timer1 is chosen as
the timer resource, the capacitive sensing oscillator will
be the clock source for Timer1. Because the Timer1
module has a gate control, developing a time base for
the frequency measurement can be simplified using
either:
• The Timer0 overflow flag
• The Timer2 overflow flag
• The WDT overflow flag
It is recommend that one of these flags, in conjunction
with the toggle mode of the Timer1 Gate, is used to
develop the fixed time base required by the software
portion of the capacitive sensing module. Refer to
Section 12.0 “Timer1 Module with Gate Control” for
additional information.
TABLE 14-1:
TMR1ON
0
0
1
1
TIMER0
TIMER1
TMR1GE
TIMER1 ENABLE FUNCTION
0
1
0
1
© 2009 Microchip Technology Inc.
Count Enabled by input
Timer1 Operation
Off
Off
On