Datasheet

© 2009 Microchip Technology Inc. DS39636D-page 3
PIC18F2X1X/4X1X
Power-Managed Modes:
Run: CPU On, Peripherals On
Idle: CPU Off, Peripherals On
Sleep: CPU Off, Peripherals Off
Idle mode Currents Down to 3.0 μA Typical
Sleep mode Currents Down to 20 nA Typical
Timer1 Oscillator: 1.8 μA, 32 kHz, 2V
Watchdog Timer: 2.1 μA
Two-Speed Oscillator Start-up
Peripheral Highlights:
High-Current Sink/Source 25 mA/25 mA
Up to 2 Capture/Compare/PWM (CCP) modules,
One with Auto-Shutdown (28-pin devices)
Enhanced Capture/Compare/PWM (ECCP)
module (40/44-pin devices only):
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and auto-restart
Master Synchronous Serial Port (MSSP) module
Supporting 3-Wire SPI (all 4 modes) and I
2
C™
Master and Slave modes
Enhanced Addressable USART module:
- Supports RS-485, RS-232 and LIN 1.2
- RS-232 operation using internal oscillator
block (no external crystal required)
- Auto-wake-up on Start bit
- Auto-Baud Detect
10-Bit, Up to 13-Channel Analog-to-Digital
Converter module (A/D):
- Auto-acquisition capability
- Conversion available during Sleep
Dual Analog Comparators with Input Multiplexing
Programmable 16-Level High/Low-Voltage
Detection (HLVD) module:
- Supports interrupt on High/Low-Voltage Detection
Flexible Oscillator Structure:
Four Crystal modes, Up to 40 MHz
4x Phase Lock Loop (PLL) – Available for Crystal
and Internal Oscillators
Two External RC modes, Up to 4 MHz
Two External Clock modes, Up to 40 MHz
Internal Oscillator Block:
- 8 user-selectable frequencies, from 31 kHz to
8MHz
- Provides a complete range of clock speeds
from 31 kHz to 32 MHz when used with PLL
- User-tunable to compensate for frequency drift
Secondary Oscillator using Timer1 @ 32 kHz
Fail-Safe Clock Monitor:
- Allows for safe shutdown if peripheral clock stops
Special Microcontroller Features:
C Compiler Optimized Architecture:
- Optional extended instruction set designed to
optimize re-entrant code
100,000 Erase/Write Cycle Flash Program
Memory Typical
Three Programmable External Interrupts
Four Input Change Interrupts
Priority Levels for Interrupts
8 x 8 Single-Cycle Hardware Multiplier
Extended Watchdog Timer (WDT):
- Programmable period from 4 ms to 131s
Single-Supply 5V In-Circuit Serial
Programming™ (ICSP™) via Two Pins
In-Circuit Debug (ICD) via Two Pins
Wide Operating Voltage Range: 2.0V to 5.5V
Programmable Brown-out Reset (BOR) with
Software Enable Option
28/40/44-Pin Flash Microcontrollers with
10-Bit A/D and nanoWatt Technology

Summary of content (376 pages)