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