PIC16F724-E/MV Microchip Technology, PIC16F724-E/MV Datasheet - Page 118

7KB Flash Program, 1.8V-5.5V, 16MHz Internal Oscillator, 8b ADC, CCP, I2C/SPI, A

PIC16F724-E/MV

Manufacturer Part Number
PIC16F724-E/MV
Description
7KB Flash Program, 1.8V-5.5V, 16MHz Internal Oscillator, 8b ADC, CCP, I2C/SPI, A
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16F724-E/MV

Processor Series
PIC16F
Core
PIC
Program Memory Type
Flash
Program Memory Size
7 KB
Data Ram Size
192 B
Interface Type
I2C, SPI, AUSART
Number Of Timers
3
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Package / Case
UQFN-40
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
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
36
Eeprom Size
-
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
 Details
PIC16F72X/PIC16LF72X
12.6
Timer1 can be configured to count freely or the count
can be enabled and disabled using Timer1 Gate
circuitry. This is also referred to as Timer1 Gate Count
Enable.
Timer1 Gate can also be driven by multiple selectable
sources.
12.6.1
The Timer1 Gate is enabled by setting the TMR1GE bit
of the T1GCON register. The polarity of the Timer1
Gate is configured using the T1GPOL bit of the
T1GCON register.
When Timer1 Gate (T1G) input is active, Timer1 will
increment on the rising edge of the Timer1 clock
source. When Timer1 Gate input is inactive, no
incrementing will occur and Timer1 will hold the current
count. See Figure 12-3 for timing details.
TABLE 12-3:
12.6.2
The Timer1 Gate source can be selected from one of
four different sources. Source selection is controlled by
the T1GSS bits of the T1GCON register. The polarity
for each available source is also selectable. Polarity
selection is controlled by the T1GPOL bit of the
T1GCON register.
TABLE 12-4:
DS41341E-page 118
T1GSS
T1CLK
00
01
10
11
Timer1 Gate
Timer1 Gate Pin
Overflow of Timer0
(TMR0 increments from FFh to 00h)
Timer2 match PR2
(TMR2 increments to match PR2)
Count Enabled by WDT Overflow
(Watchdog Time-out interval expired)
T1GPOL
TIMER1 GATE COUNT ENABLE
TIMER1 GATE SOURCE
SELECTION
0
0
1
1
TIMER1 GATE ENABLE
SELECTIONS
TIMER1 GATE SOURCES
Timer1 Gate Source
T1G
0
1
0
1
Counts
Holds Count
Holds Count
Counts
Timer1 Operation
12.6.2.1
The T1G pin is one source for Timer1 Gate Control. It
can be used to supply an external source to the Timer1
Gate circuitry.
12.6.2.2
When Timer0 increments from FFh to 00h, a
low-to-high pulse will automatically be generated and
internally supplied to the Timer1 Gate circuitry.
12.6.2.3
The TMR2 register will increment until it matches the
value in the PR2 register. On the very next increment
cycle, TMR2 will be reset to 00h. When this Reset
occurs, a low-to-high pulse will automatically be
generated and internally supplied to the Timer1 Gate
circuitry.
12.6.2.4
The Watchdog Timer oscillator, prescaler and counter
will be automatically turned on when TMR1GE = 1 and
T1GSS selects the WDT as a gate source for Timer1
(T1GSS = 11). TMR1ON does not factor into the oscil-
lator, prescaler and counter enable. See Table 12-5.
The PSA and PS bits of the OPTION register still
control what time-out interval is selected. Changing the
prescaler during operation may result in a spurious
capture.
Enabling the Watchdog Timer oscillator does not
automatically enable a Watchdog Reset or Wake-up
from Sleep upon counter overflow.
As the gate signal coming from the WDT counter will
generate different pulse widths depending on if the
WDT is enabled, when the CLRWDT instruction is
executed, and so on, Toggle mode must be used. A
specific sequence is required to put the device into the
correct state to capture the next WDT counter interval.
Note:
When using the WDT as a gate source for
Timer1, operations that clear the Watchdog
Timer (CLRWDT, SLEEP instructions) will
affect the time interval being measured for
capacitive sensing. This includes waking
from Sleep. All other interrupts that might
wake the device from Sleep should be
disabled to prevent them from disturbing
the measurement period.
T1G Pin Gate Operation
Timer0 Overflow Gate Operation
Timer2 Match Gate Operation
Watchdog Overflow Gate Operation
© 2009 Microchip Technology Inc.

Related parts for PIC16F724-E/MV