Peripheral Highlights:
• Two Master Synchronous Serial Port (MSSP) modules supporting 2/3/4-wire SPI™ (all 4 modes) and I2C™ Master and Slave modes
• Two Capture/Compare/PWM (CCP) modules
• Three Enhanced Capture/Compare/PWM (ECCP) modules: - One, two or four PWM outputs - Selectable polarity - Programmable dead time - Auto-Shutdown and Auto-Restart
• Two Enhanced Addressable USART modules: - Supports RS-485, RS-232 and LIN 1.2 - Auto-Wake-up on Start bit - Auto-Baud Detect
• 10-bit, up to 16-channel Analog-to-Digital Converter module (A/D) - Auto-acquisition capability - Conversion available during Sleep • Dual analog comparators with input multiplexing
• High-current sink/source 25 mA/25 mA
• Four programmable external interrupts
• Four input change interrupts
Power-Managed Modes:
• Run: CPU on, peripherals on
• Idle: CPU off, peripherals on
• Sleep: CPU off, peripherals off
• Idle mode currents down to 15 µA typical
• Sleep current down to 0.2 µA typical
• Timer1 Oscillator: 1.8 µA, 32 kHz, 2V
• Watchdog Timer: 2.1 µA
Special Microcontroller Features:
• C compiler optimized architecture: - Optional extended instruction set designed to optimize re-entrant code
• 100,000 erase/write cycle Enhanced Flash program memory typical
• 1,000,000 erase/write cycle Data EEPROM memory typical
• Flash/Data EEPROM Retention: 100 years typical
• Self-programmable under software control
• Priority levels for interrupts
• 8 x 8 Single-Cycle Hardware Multiplier
• Extended Watchdog Timer (WDT): - Programmable period from 4 ms to 131s
• Single-Supply In-Circuit Serial Programming™ (ICSP™) via two pins
• In-Circuit Debug (ICD) via two pins
• Wide operating voltage range: 2.0V to 5.5V
• Fail-Safe Clock Monitor
• Two-Speed Oscillator Start-up
• nanoWatt Technology
50nA Ultralow input leakage current
Run mode currents down to 25µA typical
Idle mode currents down to 6.8µA typical
Sleep mode current down to 120nA typical
Two-speed oscillator start-up
Four crystal modes up to 40MHz
Secondary oscillator using Timer1 at 32kHz
Fail-safe clock monitor
Three programmable external interrupts
Up to 2 capture/compare/PWM (CCP) modules, one with auto-shutdown (28-pin devices)
Supports RS-485, RS-232 and LIN/J2602
Dual analogue comparators with input multiplexing
Core
PIC
Data Bus Width
8 bit
Maximum Clock Frequency
40 MHz
Program Memory Size
128 KB
Data RAM Size
4 KB
On Chip ADC
Yes
Operating Supply Voltage
4.2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Package / Case
TQFP-80
Mounting Style
SMD/SMT
A/D Bit Size
10 bit
A/D Channels Available
16
Interface Type
EUSART, I2C, SPI
Minimum Operating Temperature
- 40 C
Number of Programmable I/Os
70
Number of Timers
5
Packaging
Tray
Processor Series
PIC18
Program Memory Type
Flash
Factory Pack Quantity
119
Supply Voltage Max
5.5 V
Supply Voltage Min
4.2 V