PIC16F1526T-I/PT Microchip Technology, PIC16F1526T-I/PT Datasheet - Page 169

no-image

PIC16F1526T-I/PT

Manufacturer Part Number
PIC16F1526T-I/PT
Description
64-pin, 14KB Flash, 768B RAM, 10-bit ADC, 10xCCP, 2xSPI, 2xMI2C, 2xEUSART, 2.3V-
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16F1526T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1526T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F1526T-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
18.1
The Timer1/3/5 module is a 16-bit incrementing counter
which is accessed through the TMRxH:TMRxL register
pair. Writes to TMRxH or TMRxL directly update the
counter.
When used with an internal clock source, the module is
a timer and increments on every instruction cycle.
When used with an external clock source, the module
can be used as either a timer or counter and incre-
ments on every selected edge of the external source.
Timer1/3/5 is enabled by configuring the TMRxON and
TMRxGE bits in the TxCON and TxGCON registers,
respectively.
selections.
TABLE 18-1:
TABLE 18-2:
 2011 Microchip Technology Inc.
TMRxCS<1:0>
TMRxON
0
0
1
1
Timer1/3/5 Operation
00
01
10
11
Table 18-1
TIMER1/3/5 ENABLE
SELECTIONS
CLOCK SOURCE SELECTIONS
TMRxGE
displays the Timer1/3/5 enable
0
1
0
1
SOSCEN
x
x
0
1
x
Off
Off
Always On
Count Enabled
Timer1/3/5
Operation
Instruction Clock (F
System Clock (F
External Clocking on TxCKI Pin
Secondary Oscillator Circuit on SOSCI/SOSCO Pins
LFINTOSC
Preliminary
OSC
18.2
The TMRxCS<1:0> and SOSCEN bits of the TxCON
register are used to select the clock source for
Timer1/3/5.
selections.
18.2.1
When the internal clock source is selected the
TMRxH:TMRxL register pair will increment on multiples
of F
When the F
Timer1/3/5 register value will increment by four counts
every instruction clock cycle. Due to this condition, a
2 LSB error in resolution will occur when reading the
Timer1/3/5 value. To utilize the full resolution of
Timer1/3/5, an asynchronous input signal must be used
to gate the Timer1/3/5 clock input.
The following asynchronous sources may be used:
• Asynchronous event on the TxG pin to Timer1/3/5
18.2.2
When the external clock source is selected, the
Timer1/3/5 module may work as a timer or a counter.
When enabled to count, Timer1/3/5 is incremented on
the rising edge of the external clock input TxCKI. These
external clock inputs (TxCKI) can be synchronized to the
microcontroller
asynchronously.
When used as a timer with a clock oscillator, an
external 32.768 kHz crystal can be used in conjunction
with the dedicated internal oscillator circuit.
OSC
gate
Note:
)
OSC
/4)
as determined by the Timer1/3/5 prescaler.
PIC16(L)F1526/27
Clock Source Selection
Clock Source
•Timer1/3/5 enabled after POR
•Write to TMRxH or TMRxL
•Timer1/3/5 is disabled
•Timer1/3/5 is disabled (TMRxON = 0)
INTERNAL CLOCK SOURCE
EXTERNAL CLOCK SOURCE
In Counter mode, a falling edge must be
registered by the counter prior to the first
incrementing rising edge after any one or
more of the following conditions:
OSC
Table 18-2
when TxCKI is high then Timer1/3/5
is enabled (TMRxON = 1) when
TxCKI is low.
internal clock source is selected, the
system
displays the clock source
clock
or
DS41458B-page 169
they
can
run

Related parts for PIC16F1526T-I/PT