
2009 Microchip Technology Inc.
DS39761C-page 3
PIC18F2682/2685/4682/4685
Power-Managed Modes:
Run: CPU on, peripherals on
Idle: CPU off, peripherals on
Sleep: CPU off, peripherals off
Idle mode currents down to 5.8
μA typical
Sleep mode currents down to 0.1
μA typical
Timer1 Oscillator: 1.1
μA, 32 kHz, 2V
Watchdog Timer: 2.1
μA
Two-Speed Oscillator Start-up
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 8 MHz
- 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 with optional
Extended Instruction Set
100,000 Erase/Write Cycle Enhanced Flash
Program Memory typical
1,000,000 Erase/Write Cycle Data EEPROM
Memory typical
Flash/Data EEPROM Retention: > 40 years
Self-Programmable under Software Control
Priority Levels for Interrupts
8 x 8 Single-Cycle Hardware Multiplier
Extended Watchdog Timer (WDT):
- Programmable period from 41 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
Peripheral Highlights:
High-Current Sink/source 25 mA/25 mA
Three External Interrupts
One Capture/Compare/PWM (CCP1) module
Enhanced Capture/Compare/PWM (ECCP1) 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 I2C
Master and Slave modes
Enhanced Addressable USART module:
- Supports RS-485, RS-232 and LIN 1.3
- RS-232 operation using internal oscillator
block (no external crystal required)
- Auto-wake-up on Start bit
- Auto-Baud Detect
10-Bit, up to 11-Channel Analog-to-Digital
Converter module (A/D), up to 100 ksps:
- Auto-acquisition capability
- Conversion available during Sleep
Dual Analog Comparators with Input Multiplexing
ECAN Module Features:
Message bit rates up to 1 Mbps
Conforms to CAN 2.0B ACTIVE Specification
Fully Backward Compatible with PIC18XXX8 CAN
modules
Three Modes of Operation:
- Legacy, Enhanced Legacy, FIFO
Three Dedicated Transmit Buffers with Prioritization
Two Dedicated Receive Buffers
Six Programmable Receive/Transmit Buffers
Three Full, 29-Bit Acceptance Masks
16 Full, 29-Bit Acceptance Filters w/Dynamic
Association
DeviceNet Data Byte Filter Support
Automatic Remote Frame Handling
Advanced Error Management Features
Device
Program Memory
Data Memory
I/O
10-Bit
A/D (ch)
CCP1/
ECCP1
(PWM)
MSSP
E
U
SART
Comp.
Timers
8/16-bit
Flash
(bytes)
# Single-Word
Instructions
SRAM
(bytes)
EEPROM
(bytes)
SPI
Master
I2C
PIC18F2682
80K
40960
3328
1024
28
8
1/0
Y
1
0
1/3
PIC18F2685
96K
49152
3328
1024
28
8
1/0
Y
1
0
1/3
PIC18F4682
80K
40960
3328
1024
40/44
11
1/1
Y
1
2
1/3
PIC18F4685
96K
49152
3328
1024
40/44
11
1/1
Y
1
2
1/3
28/40/44-Pin Enhanced Flash Microcontrollers with
ECAN Technology, 10-Bit A/D and nanoWatt Technology