Datasheet

2009-2011 Microchip Technology Inc. DS41365E-page 3
PIC18(L)F1XK22
High-Performance RISC CPU:
C Compiler Optimized Architecture:
- Optional extended instruction set designed to
optimize re-entrant code
256 bytes Data EEPROM
Up to 16 Kbytes Linear Program Memory
Addressing
Up to 512 bytes Linear Data Memory Addressing
Up to 16 MIPS Operation
16-bit Wide Instructions, 8-bit Wide Data Path
Priority Levels for Interrupts
31-Level, Software Accessible Hardware Stack
8 x 8 Single-Cycle Hardware Multiplier
Flexible Oscillator Structure:
Precision 16 MHz Internal Oscillator Block:
- Factory calibrated to ± 1%
- Software selectable frequencies range of
31 kHz to 16 MHz
- 64 MHz performance available using PLL –
no external components required
Four Crystal modes up to 64 MHz
Two External Clock modes up to 64 MHz
4X Phase Lock Loop (PLL)
Secondary Oscillator using Timer1 @ 32 kHz
Fail-Safe Clock Monitor
- Allows for safe shutdown if peripheral clock
stops
Two-Speed Oscillator Start-up
Special Microcontroller Features:
2.3V - 5.5V Operation – PIC18F1XK22
1.8V-3.6V Operation – PIC18LF1XK22
Self-reprogrammable under Software Control
Power-on Reset (POR), Power-up Timer (PWRT)
and Oscillator Start-up Timer (OST)
Programmable Brown-out Reset (BOR)
Extended Watchdog Timer (WDT):
- Programmable period from 4ms to 131s
Programmable Code Protection
In-Circuit Serial Programming™ (ICSP™) via
two pins
In-Circuit Debug via Two Pins
Extreme Low-Power Management
PIC18LF1XK22 with nanoWatt XLP:
Sleep mode: 34 nA
Watchdog Timer: 460 nA
Timer1 Oscillator: 650 nA @ 32 kHz
Analog Features:
Analog-to-Digital Converter (ADC) module
- 10-bit resolution, 12 channels
- Auto acquisition capability
- Conversion available during Sleep
Analog Comparator module:
- Two rail-to-rail analog comparators
- Independent input multiplexing
- Inputs and outputs externally accessible
Voltage Reference module:
- Programmable (% of V
DD), 16 steps
- Two 16-level voltage ranges using V
REF pins
- Programmable Fixed Voltage Reference
(FVR), 3 levels
Peripheral Highlights:
17 I/O Pins and 1 Input-only Pin:
- High current sink/source 25 mA/25 mA
- Programmable weak pull-ups
- Programmable interrupt-on- change
- Three external interrupt pins
Four Timer modules:
- 3 16-bit timers/counters with prescaler
- 1 8-bit timer/counter with 8-bit period register,
prescaler and postscaler
- Dedicated, low-power Timer1 oscillator
Enhanced Capture/Compare/PWM (ECCP)
module:
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and Auto-restart
- PWM output steering control
Master Synchronous Serial Port (MSSP) module
- 3-wire SPI (supports all 4 SPI modes)
-I
2
C™ Master and Slave modes (Slave mode
address masking)
Enhanced Universal Synchronous Asynchronous
Receiver Transmitter module (EUSART)
- Supports RS-232, RS-485 and LIN 2.0
- Auto-Baud Detect
- Auto Wake-up on Break
SR Latch (555 Timer) module with:
- Configurable inputs and outputs
- Supports mTouch™ capacitive sensing
applications
20-Pin Flash Microcontrollers with nanoWatt XLP Technology