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

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
17.0
The Timer4/6/8/10/12 timer modules have the following
features:
• Eight-bit Timer register (TMRx)
• Eight-bit Period register (PRx)
• Readable and writable (all registers)
• Software programmable prescaler (1:1, 1:4, 1:16)
• Software programmable postscaler (1:1 to 1:16)
• Interrupt on TMRx match of PRx
Timer10 and Timer12 are unimplemented for devices
with a program memory of 32 Kbytes (PIC18FX5K22).
The Timer4/6/8/10/12 modules have a control register,
which is shown in
be shut off by clearing control bit, TMRxON (TxCON<2>),
to minimize power consumption. The prescaler and post-
scaler selection of Timer4/6/8/10/12 are also controlled
by this register.
of the Timer4/6/8/10/12 modules.
 2009-2011 Microchip Technology Inc.
Note: Throughout this section, generic references
TIMER4/6/8/10/12 MODULES
are used for register and bit names that are the
same, except for an ‘x’ variable that indicates
the item’s association with the Timer4, Timer6,
Timer8, Timer10 or Timer12 module. For
example, the control register is named TxCON
and refers to T4CON, T6CON, T8CON,
T10CON and T12CON.
Figure 17-1
Register
is a simplified block diagram
17-1. Timer4/6/8/10/12 can
PIC18F87K22 FAMILY
17.1
Timer4/6/8/10/12 can be used as the PWM time base
for the PWM mode of the ECCP modules. The TMRx
registers are readable and writable, and are cleared on
any device Reset. The input clock (F
prescale option of 1:1, 1:4 or 1:16, selected by control
bits, TxCKPS<1:0> (TxCON<1:0>). The match output
of TMRx goes through a four-bit postscaler (that gives
a 1:1 to 1:16 inclusive scaling) to generate a TMRx
interrupt, latched in the flag bit, TMRxIF.
shows each module’s flag bit.
TABLE 17-1:
The interrupt can be enabled or disabled by setting or
clearing the Timerx Interrupt Enable bit (TMRxIE),
shown in
TABLE 17-2:
The prescaler and postscaler counters are cleared
when any of the following occurs:
• A write to the TMRx register
• A write to the TxCON register
• Any device Reset – Power-on Reset (POR),
A TMRx is not cleared when a TxCON is written.
MCLR Reset, Watchdog Timer Reset (WDTR) or
Brown-out Reset (BOR)
Note:
Module
Module
Timer
Timer
4
6
8
4
6
8
Timer4/6/8/10/12 Operation
Table
The CCP and ECCP modules use Timers,
1 through 8, for some modes. The assign-
ment of a particular timer to a CCP/ECCP
module is determined by the Timer to CCP
enable bits in the CCPTMRSx registers.
For more details, see
Register 19-3
17-2.
PIR5<x>
PIE5<x>
Flag Bit
Flag Bit
TIMER4/6/8/10/12 FLAG BITS
TIMER4/6/8/10/12 INTERRUPT
ENABLE BITS
0
2
4
0
2
4
and
Module
Module
Register
Timer
Timer
10
12
10
12
DS39960D-page 223
Register
20-2.
OSC
PIR5<x>
PIE5<x>
Flag Bit
Flag Bit
Table 17-1
/4) has a
5
6
5
6
19-2,

Related parts for PIC18F85K22-I/PT