PIC18F85K22-I/PT Microchip Technology, PIC18F85K22-I/PT Datasheet - Page 199

no-image

PIC18F85K22-I/PT

Manufacturer Part Number
PIC18F85K22-I/PT
Description
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F85K22-I/PT

Controller Family/series
PIC18
No. Of I/o's
69
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
64MHz
No. Of Timers
8
Core Size
8 Bit
Program Memory Size
32KB
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
2K 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-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F85K22-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F85K22-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
14.3.1
When the internal clock source is selected, the
TMR1H:TMR1L register pair will increment on multiples
of F
TABLE 14-1:
 2009-2011 Microchip Technology Inc.
OSC
TMR1CS1
, as determined by the Timer1 prescaler.
Timer1 Operation
Clock Source Selection
0
0
1
1
INTERNAL CLOCK SOURCE
displays the clock source selections.
TIMER1 CLOCK SOURCE SELECTION
TMR1CS0
1
0
0
0
SOSCEN
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
DS39960D-page 199
they
can
run

Related parts for PIC18F85K22-I/PT