PIC16F707-E/P Microchip Technology, PIC16F707-E/P Datasheet - Page 102

no-image

PIC16F707-E/P

Manufacturer Part Number
PIC16F707-E/P
Description
14KB Flash Program, MTouch, 32ch CSM, 1.8V-5.5V, 16MHz Internal Oscillator, 8b A
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheets

Specifications of PIC16F707-E/P

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
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
363 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
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC16F
Core
PIC
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F707-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F707/PIC16LF707
13.3
Timer1 and Timer3 have four prescaler options allowing
1, 2, 4 or 8 divisions of the clock input. The TxCKPS bits
of the TxCON register control the prescale counter. The
prescale counter is not directly readable or writable;
however, the prescaler counter is cleared upon a write to
TMRxH or TMRxL.
13.4
A dedicated low-power 32.768 kHz oscillator circuit is
built-in between pins T1OSI (input) and T1OSO
(amplifier output). This internal circuit is to be used in
conjunction with an external 32.768 kHz crystal.
The oscillator circuit is enabled by setting the
T1OSCEN bit of the T1CON register. The oscillator can
provide a clock source to Timer1 and/or Timer3. The
oscillator will continue to run during Sleep.
13.5
If control bit TxSYNC of the TxCON register is set, the
external clock input is not synchronized. The timer
increments asynchronously to the internal phase
clocks. If external clock source is selected, then the
timer will continue to run during Sleep and can
generate an interrupt on overflow, which will wake-up
the processor. However, special precautions in
software are needed to read/write the timer (see
Section 13.5.1 “Reading and Writing Timer1/3 in
Asynchronous Counter Mode”).
DS41418A-page 102
Note:
Timer1/3 Prescaler
Timer1/3 Oscillator
Timer1/3 Operation in
Asynchronous Counter Mode
The oscillator requires a start-up and
stabilization time before use. Thus,
T1OSCEN should be set and a suitable
delay observed prior to enabling Timer1/3.
Preliminary
13.5.1
Reading TMRxH or TMRxL while the timer is running
from an external asynchronous clock will ensure a valid
read (taken care of in hardware). However, the user
should keep in mind that reading the 16-bit timer in two
8-bit values itself poses certain problems, since the
timer may overflow between the reads.
For writes, it is recommended that the user simply stop
the timer and write the desired values. A write
contention may occur by writing to the timer registers,
while the register is incrementing. This may produce an
unpredictable value in the TMRxH:TMRxL register pair.
13.6
Timer1/3 can be configured to count freely or the count
can be enabled and disabled using Timer1/3 gate
circuitry. This is also referred to as Timer1/3 gate count
enable.
Timer1/3 gate can also be driven by multiple selectable
sources.
13.6.1
The Timer1/3 gate is enabled by setting the TMRxGE bit
of the TxGCON register. The polarity of the Timer1/3
gate is configured using the TxGPOL bit of the TxGCON
register.
When Timer1/3 gate (TxG) input is active, Timer1/3 will
increment on the rising edge of the Timer1/3 clock
source. When Timer1/3 gate input is inactive, no incre-
menting will occur and Timer1/3 will hold the current
count. See Figure 13-3 for timing details.
TABLE 13-4:
13.6.2
The Timer1/3 gate source can be selected from one of
four different sources. Source selection is controlled by
the TxGSS bits of the TxGCON register. The polarity
for each available source is also selectable. Polarity
selection is controlled by the TxGPOL bit of the
TxGCON register.
TxCLK TxGPOL
Timer1/3 Gate
READING AND WRITING TIMER1/3
IN ASYNCHRONOUS COUNTER
MODE
TIMER1/3 GATE COUNT ENABLE
TIMER1/3 GATE SOURCE
SELECTION
0
0
1
1
TIMER1/3 GATE ENABLE
SELECTIONS
TxG
0
1
0
1
 2010 Microchip Technology Inc.
Timer1/3 Operation
Holds Count
Holds Count
Counts
Counts

Related parts for PIC16F707-E/P