PIC16LF1517-E/PT Microchip Technology, PIC16LF1517-E/PT Datasheet - Page 160

40-pin, 14KB Flash, 512B RAM, 10-bit ADC, 2xCCP, SPI, MI2C, EUSART, 1.8V-3.6V 44

PIC16LF1517-E/PT

Manufacturer Part Number
PIC16LF1517-E/PT
Description
40-pin, 14KB Flash, 512B RAM, 10-bit ADC, 2xCCP, SPI, MI2C, EUSART, 1.8V-3.6V 44
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16LF1517-E/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
36
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 28x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
*
Processor Series
PIC16LF151x
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
36
Number Of Timers
3
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
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:
PIC16LF1517-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16(L)F1516/7/8/9
18.1
The Timer1 module is a 16-bit incrementing counter
which is accessed through the TMR1H:TMR1L register
pair. Writes to TMR1H or TMR1L 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 is enabled by configuring the TMR1ON and
TMR1GE bits in the T1CON and T1GCON registers,
respectively.
selections.
TABLE 18-1:
TABLE 18-2:
DS41452A-page 160
TMR1CS1
TMR1ON
0
0
1
1
0
0
1
1
1
Timer1 Operation
Table 18-1
TIMER1 ENABLE
SELECTIONS
CLOCK SOURCE SELECTIONS
TMR1CS0
TMR1GE
displays the Timer1 enable
0
1
0
1
0
1
0
0
1
Off
Off
Always On
Count Enabled
Operation
T1OSCEN
Timer1
x
x
0
1
x
Preliminary
Instruction Clock (F
System Clock (F
External Clocking on T1CKI Pin
Secondary Oscillator Circuit on SOSCI/SOSCO Pins
LFINTOSC
18.2
The TMR1CS<1:0> and T1OSCEN bits of the T1CON
register are used to select the clock source for Timer1.
Table 18-2
18.2.1
When the internal clock source is selected the
TMR1H:TMR1L register pair will increment on multiples
of F
When the F
Timer1 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
value. To utilize the full resolution of Timer1, an
asynchronous input signal must be used to gate the
Timer1 clock input.
The following asynchronous source may be used:
• Asynchronous event on the T1G pin to Timer1
18.2.2
When the external clock source is selected, the Timer1
module may work as a timer or a counter.
When enabled to count, Timer1 is incremented on the
rising edge of the external clock input T1CKI. This
external clock source can be synchronized to the
microcontroller system clock and run asynchronously.
When used as a timer with a clock oscillator, an
external 32.768 kHz crystal can be used in conjunction
with the secondary oscillator circuit.
Gate
Note:
OSC
as determined by the Timer1 prescaler.
OSC
Clock Source Selection
displays the clock source selections.
OSC
• Timer1 enabled after POR
• Write to TMR1H or TMR1L
• Timer1 is disabled
• Timer1 is disabled (TMR1ON = 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
)
when T1CKI is high then Timer1 is
enabled (TMR1ON=1) when T1CKI is
low.
/4)
Clock Source
internal clock source is selected, the
 2010 Microchip Technology Inc.

Related parts for PIC16LF1517-E/PT