PIC16F726-I/SP Microchip Technology Inc., PIC16F726-I/SP Datasheet - Page 132

no-image

PIC16F726-I/SP

Manufacturer Part Number
PIC16F726-I/SP
Description
28 PIN, 14 KB FLASH, 1.8V-5.5V, 16 MHZ INT. OSC.
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F726-I/SP

A/d Inputs
11-Channel, 8-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Frequency
20 MHz
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
14K Bytes
Ram Size
368 Bytes
Resistance, Drain To Source On
Bytes
Serial Interface
I2C, SPI, AUSART
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F72X/PIC16LF72X
14.6
The capacitive sensing oscillator will continue to run as
long as the module is enabled, independent of the part
being in Sleep. In order for the software to determine if
a frequency change has occurred, the part must be
awake. However, the part does not have to be awake
when the timer resource is acquiring counts. One way
to acquire the Timer1 counts while in Sleep is to have
Timer1 gated with the overflow of the Watchdog Timer.
This can be accomplished using the following steps:
1.
2.
3.
4.
5.
6.
7.
8.
9.
Refer to Section 12.0 “Timer1 Module with Gate
Control” for additional information.
41341B-page 130
Note 1: When using the WDT to set the interval
Configure the Watchdog Time-out overflow as
the Timer1’s gate source T1GSS<1:0> = 11.
Set Timer1 Gate to toggle mode by setting the
T1GTM bit of the T1GCON register.
Set the TMR1GE bit of the T1GCON register.
Set TMR1ON bit of the T1CON register.
Enable capacitive sensing module with the
appropriate current settings and pin selection.
Clear Timer1.
Put the part to Sleep.
On the first WDT overflow, the capacitive sens-
ing oscillator will begin to increment Timer1.
Then put the part to Sleep.
On the second WDT overflow Timer1 will stop
incrementing. Then run the software routine to
determine if a frequency change has occurred.
2: Timer0 does not operate when in Sleep,
Operation during Sleep
on Timer1, any other source that wakes
the part up early will cause the WDT over-
flow to be delayed, affecting the value
captured by Timer1.
and therefore cannot be used for
capacitive sense measurements in Sleep.
Preliminary
© 2008 Microchip Technology Inc.

Related parts for PIC16F726-I/SP