PIC18F86K22-I/PTRSL Microchip Technology, PIC18F86K22-I/PTRSL Datasheet - Page 197

no-image

PIC18F86K22-I/PTRSL

Manufacturer Part Number
PIC18F86K22-I/PTRSL
Description
MCU PIC 64K FLASH XLP 80TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F86K22-I/PTRSL

Core Size
8-Bit
Program Memory Size
64KB (32K x 16)
Core Processor
PIC
Speed
64MHz
Connectivity
EBI/EMI, I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 24x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Controller Family/series
PIC18
Eeprom Memory Size
1024Byte
Ram Memory Size
3862Byte
Cpu Speed
16MIPS
No. Of Timers
11
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F86K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
14.2
The Timer1 module is an 8 or 16-bit incrementing
counter that is accessed through the TMR1H:TMR1L
register pair.
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. It increments
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.
When SOSC is selected as Crystal mode (by
SOSCSEL), the RC1/SOSCI/ECCP2/P2A and RC0/
SOSCO/SCLKI pins become inputs. This means the
values of TRISC<1:0> are ignored and the pins are
read as ‘0’.
14.3
The TMR1CS<1:0> and SOSCEN bits of the T1CON
register are used to select the clock source for Timer1.
Register 14-1 displays the clock source selections.
14.3.1
When the internal clock source is selected, the
TMR1H:TMR1L register pair will increment on multiples
of F
TABLE 14-1:
 2010 Microchip Technology Inc.
OSC
TMR1CS1
as determined by the Timer1 prescaler.
Timer1 Operation
Clock Source Selection
0
0
1
1
INTERNAL CLOCK SOURCE
TIMER1 CLOCK SOURCE SELECTION
TMR1CS0
1
0
0
0
SOSCEN
Preliminary
x
x
0
1
PIC18F87K22 FAMILY
Clock Source (F
Instruction Clock (F
External Clock on T1CKI Pin
Oscillator Circuit on SOSCI/SOSCO Pins
14.3.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. Either of
these external clock sources 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.
Note:
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:
• Timer1 enabled after POR Reset
• Write to TMR1H or TMR1L
• Timer1 is disabled
• Timer1 is disabled (TMR1ON = 0)
When T1CKI is high, Timer1 is enabled
(TMR1ON = 1) when T1CKI is low.
OSC
system
OSC
Clock Source
)
/4)
clock
or
DS39960B-page 197
they
can
run

Related parts for PIC18F86K22-I/PTRSL