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

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.4
Timer1 can be configured for 16-bit reads and writes.
When the RD16 control bit (T1CON<1>) is set, the
address for TMR1H is mapped to a buffer register for
the high byte of Timer1. A read from TMR1L loads the
contents of the high byte of Timer1 into the Timer1 High
Byte Buffer register. This provides the user with the
ability to accurately read all 16 bits of Timer1 without
having to determine whether a read of the high byte,
followed by a read of the low byte, has become invalid
due to a rollover between reads.
A write to the high byte of Timer1 must also take place
through the TMR1H Buffer register. The Timer1 high
byte is updated with the contents of TMR1H when a
write occurs to TMR1L. This allows a user to write all
16 bits at once to both the high and low bytes of Timer1.
The high byte of Timer1 is not directly readable or
writable in this mode. All reads and writes must take
place through the Timer1 High Byte Buffer register.
Writes to TMR1H do not clear the Timer1 prescaler.
The prescaler is only cleared on writes to TMR1L.
14.5
An on-chip crystal oscillator circuit is incorporated
between pins, SOSCI (input) and SOSCO (amplifier
output). It is enabled by any peripheral that requests it.
There are eight ways the SOSC can be enabled: if the
SOSC is selected as the source by any of the odd
timers, which is done by each respective SOSCEN bit
(TxCON<3>), if the SOSC is selected as the RTCC
source
(CONFIG3L<1>), if the SOSC is selected as the CPU
clock source by the SCS bits (OSCCON<1:0>) or if the
SOSCGO bit is set (OSCCON2<3>). The SOSCGO bit
is used to warm up the SOSC so that it is ready before
any peripheral requests it. The oscillator is a low-power
circuit, rated for 32 kHz crystals. It will continue to run
during all power-managed modes. The circuit for a typi-
cal low-power oscillator is depicted in Figure 14-2.
Table 14-2 provides the capacitor selection for the
SOSC oscillator.
The user must provide a software time delay to ensure
proper start-up of the SOSC oscillator.
 2010 Microchip Technology Inc.
Timer1 16-Bit Read/Write Mode
SOSC Oscillator
by
the
RTCOSC
Configuration
Preliminary
bit
PIC18F87K22 FAMILY
FIGURE 14-2:
TABLE 14-2:
The SOSC crystal oscillator drive level is determined
based on the SOSCSEL (CONFIG1L<4:3>) Configura-
tion
SOSCSEL<1:0> = 11, is intended to drive a wide
variety of 32.768 kHz crystals with a variety of load
capacitance (CL) ratings.
Oscillator
Note:
Note 1: Microchip suggests these values as a
Type
LP
bits.
2: Higher capacitance increases the stability
3: Since each resonator/crystal has its own
4: Capacitor values are for design guid-
5: Incorrect capacitance value may result in
12 pF
12 pF
C1
C2
See the Notes with Table 14-2 for additional
information about capacitor selection.
starting point in validating the oscillator
circuit.
of the oscillator, but also increases the
start-up time.
characteristics, the user should consult
the resonator/crystal manufacturer for
appropriate
components.
ance only. Values listed would be typical
of a CL = 10 pF rated crystal, when
SOSCSEL = 11.
a frequency not meeting the crystal
manufacturer’s tolerance specification.
The
32 kHz
Freq.
32.768 kHz
XTAL
CAPACITOR SELECTION FOR
THE TIMER
OSCILLATOR
Higher
EXTERNAL COMPONENTS
FOR THE SOSC
LOW-POWER OSCILLATOR
values
12 pF
SOSCI
SOSCO
Drive
C1
PIC18F87K22
(2,3,4,5)
DS39960B-page 199
(1)
of
Level
12 pF
external
C2
mode,
(1)

Related parts for PIC18F86K22-I/PTRSL