PIC18LF13K22-I/SO Microchip Technology, PIC18LF13K22-I/SO Datasheet - Page 15

IC PIC MCU FLASH 256KX8 20-SOIC

PIC18LF13K22-I/SO

Manufacturer Part Number
PIC18LF13K22-I/SO
Description
IC PIC MCU FLASH 256KX8 20-SOIC
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18LF13K22-I/SO

Program Memory Type
FLASH
Program Memory Size
8KB (4K x 16)
Package / Case
20-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, MSSP, SPI, USART
Maximum Clock Frequency
32 KHz
Number Of Programmable I/os
18
Number Of Timers
4
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
2.0
2.1
The oscillator module has a variety of clock sources
and features that allow it to be used in a wide range of
applications, maximizing performance and minimizing
power consumption. Figure 2-1 illustrates a block
diagram of the oscillator module.
Key features of the oscillator module include:
• System Clocks
• System Clock Selection
• Oscillator Start-up Timer
• System Clock Selection
• Clock Switching
• 4x Phase Lock Loop Frequency Multiplier
• CPU Clock Divider
• Two-Speed Start-up Mode
• Fail-Safe Clock Monitoring
2.2
The PIC18F1XK22/LF1XK22 can be operated in 13 dif-
ferent oscillator modes. The user can program these
using the available Configuration bits. In addition, clock
support functions such as Fail-Safe and two Start-up
can also be configured.
The available Primary oscillator options include:
• External Clock, low power (ECL)
• External Clock, medium power (ECM)
• External Clock, high power (ECH)
• External Clock, low power, CLKOUT function on
• External Clock, medium power, CLKOUT function
• External Clock, high power, CLKOUT function on
• External Crystal (XT)
• High-speed Crystal (HS)
• Low-power crystal (LP)
• External Resistor/Capacitor (EXTRC)
• External RC, CLKOUT function on RA4/OSC2
• 31.25 kHz – 16 MHz internal oscillator (INTOSC)
• 31.25 kHz – 16 MHz internal oscillator, CLKOUT
Additionally, the 4xPLL may be enabled in hardware or
software (under certain conditions) for increased oscil-
lator speed.
 2010 Microchip Technology Inc.
- Primary External Oscillator
- Secondary External Oscillator
- Internal Oscillator
RA4/OSC2 (ECCLKOUTL)
on RA4/OSC2 (ECCLKOUTM)
RA4/OSC2 (ECCLKOUTH)
function on RA4/OSC2
OSCILLATOR MODULE
Overview
System Clocks
Preliminary
PIC18F1XK22/LF1XK22
2.3
The SCS bits of the OSCCON register select between
the following clock sources:
• Primary External Oscillator
• Secondary External Oscillator
• Internal Oscillator
TABLE 2-1:
The default state of the SCS bits sets the system clock
to be the oscillator defined by the FOSC bits of the
CONFIG1H Configuration register. The system clock
will always be defined by the FOSC bits until the SCS
bits are modified in software.
When the Internal Oscillator is selected as the system
clock, the IRCF bits of the OSCCON register and the
INTSRC bit of the OSCTUNE register will select either
the LFINTOSC or the HFINTOSC. The LFINTOSC is
selected when the IRCF<2:0> = 000 and the INTSRC
bit is clear. All other combinations of the IRCF bits and
the INTSRC bit will select the HFINTOSC as the
system clock.
2.4
The Primary External Oscillator’s mode of operation is
selected by setting the FOSC<3:0> bits of the
CONFIG1H Configuration register. The oscillator can
be set to the following modes:
• LP: Low-Power Crystal
• XT: Crystal/Ceramic Resonator
• HS: High-Speed Crystal Resonator
• RC: External RC Oscillator
• EC: External Clock
Additionally, the Primary External Oscillator may be
shut-down under firmware control to save power.
Configuration
SCS <1:0>
1x
01
00
(Default after Reset)
Note:
System Clock Selection
Primary External Oscillator
The frequency of the system clock will be
referred to as F
document.
SYSTEM CLOCK SELECTION
Selection
System Clock
Internal Oscillator
Secondary External Oscillator
Oscillator defined by
FOSC<3:0>
OSC
DS41365D-page 15
throughout this

Related parts for PIC18LF13K22-I/SO