PIC18LF25K22-I/SP Microchip Technology, PIC18LF25K22-I/SP Datasheet - Page 34

no-image

PIC18LF25K22-I/SP

Manufacturer Part Number
PIC18LF25K22-I/SP
Description
MCU 8BIT 32KB FLASH 3.6V 28SDIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18LF25K22-I/SP

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
24
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 19x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1536 B
Interface Type
I2C, SPI, EUSART
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
25
Number Of Timers
7
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164005
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 17 Channel
On-chip Dac
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC18(L)F2X/4XK22
2.3
Clock Source modes can be classified as external or
internal.
• External Clock modes rely on external circuitry for
• Internal clock sources are contained internally
The system clock can be selected between external or
internal clock sources via the System Clock Select
(SCS<1:0>) bits of the OSCCON register. See
Section 2.9
information.
TABLE 2-2:
2.4.2
The External Clock (EC) mode allows an externally
generated logic level as the system clock source. When
operating in this mode, an external clock source is
connected to the OSC1 input and the OSC2 is available
for general purpose I/O.
connections for EC mode.
The External Clock (EC) mode offers a Medium Power
(MP) and a High Power (HP) option selectable by the
FOSC<3:0> bits. The MP selections are best suited for
external clock frequencies between 4 and 16 MHz. The
HP selection is best suited for clock frequencies above
16 MHz.
The Oscillator Start-up Timer (OST) is disabled when
EC mode is selected. Therefore, there is no delay in
operation after a Power-on Reset (POR) or wake-up
from Sleep. Because the PIC
static, stopping the external clock input will have the
effect of halting the device while leaving all data intact.
Upon restarting the external clock, the device will
resume operation as if no time had elapsed.
DS41412D-page 34
Sleep/POR
Sleep/POR
LFINTOSC (31.25 kHz)
Sleep/POR
Sleep/POR
LFINTOSC (31.25 kHz)
the clock source. Examples are: Clock modules
(EC mode), quartz crystal resonators or ceramic
resonators (LP, XT and HS modes) and Resistor-
Capacitor (RC mode) circuits.
within the Oscillator block. The Oscillator block
has three internal oscillators: the 16 MHz High-
Frequency Internal Oscillator (HFINTOSC),
500 kHz Medium-Frequency Internal Oscillator
(MFINTOSC) and the 31.25 kHz Low-Frequency
Internal Oscillator (LFINTOSC).
Switch From
Clock Source Modes
EC MODE
“Clock
OSCILLATOR DELAY EXAMPLES
Switching”
Figure 2-5
®
MCU design is fully
MFINTOSC
HFINTOSC
HFINTOSC
LFINTOSC
LFINTOSC
Switch To
LP, XT, HS
EC, RC
EC, RC
4xPLL
shows the pin
for
additional
Preliminary
31.25 kHz to 500 kHz
31.25 kHz to 16 MHz
31.25 kHz to 16 MHz
32 MHz to 64 MHz
32 kHz to 40 MHz
DC – 64 MHz
DC – 64 MHz
Frequency
31.25 kHz
2.4
2.4.1
When the oscillator module is configured for LP, XT or
HS modes, the Oscillator Start-up Timer (OST) counts
1024 oscillations from OSC1. This occurs following a
Power-on Reset (POR) and when the Power-up Timer
(PWRT) has expired (if configured), or a wake-up from
Sleep. During this time, the program counter does not
increment and program execution is suspended. The
OST ensures that the oscillator circuit, using a quartz
crystal resonator or ceramic resonator, has started and
is providing a stable system clock to the oscillator
module. When switching between clock sources, a
delay is required to allow the new clock to stabilize.
These oscillator delays are shown in
In order to minimize latency between external oscillator
start-up and code execution, the Two-Speed Clock
Start-up mode can be selected (see
“Two-Speed Clock Start-up
FIGURE 2-5:
Note 1:
Clock from
Ext. System
External Clock Modes
OSCILLATOR START-UP TIMER
(OST)
Alternate pin functions are listed in
Section 1.0 “Device
Oscillator Warm-Up Delay (T
2 instruction cycles
1 cycle of each
1024 Clock Cycles (OST)
1024 Clock Cycles (OST) + 2 ms
1 s (approx.)
I/O
EXTERNAL CLOCK (EC)
MODE OPERATION
 2010 Microchip Technology Inc.
Oscillator Delay
OSC1/CLKIN
OSC2/CLKOUT
Mode”).
Overview”.
PIC
®
Table
MCU
Section 2.10
(1)
2-2.
WARM
)

Related parts for PIC18LF25K22-I/SP