Datasheet
2009 Microchip Technology Inc. DS39758D-page 3
Power-Managed Modes:
• Run: CPU on, peripherals on
• Idle: CPU off, peripherals on
• Sleep: CPU off, peripherals off
• Ultra Low 50 nA Input Leakage
• Run mode currents down to 15 A, typical
• Idle mode currents down to 3.7 A, typical
• Sleep mode current down to 100 nA, typical
• Timer1 Oscillator: 1.8 A, typical; 32 kHz; 2V
• Watchdog Timer (WDT): 1.4 A, typical; 2V
• Two-Speed Oscillator Start-up
14-Bit Power Control PWM Module:
• Up to 6 PWM Channel Outputs
- Complementary or independent outputs
• Edge or Center-Aligned Operation
• Flexible Dead-Band Generator
• Hardware Fault Protection Input
• Simultaneous Update of Duty Cycle and Period:
- Flexible Special Event Trigger output
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
- Fast wake-up from Sleep and Idle, 1 s, typical
• 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
Peripheral Highlights:
• High-Current Sink/Source 25 mA/25 mA
• Up to 4 Programmable External Interrupts
• Four Input Change Interrupts
• Enhanced Addressable USART module:
- Supports RS-485, RS-232 and LIN/J2602
- RS-232 operation using internal oscillator
block (no external crystal required)
- Auto-wake-up on Start bit
- Auto-Baud Detect
• 10-Bit, up to 4-Channel Analog-to-Digital Converter
module (A/D):
- Auto-acquisition capability
- Conversion available during Sleep
• Up to 3 Analog Comparators
• Programmable Reference Voltage for
Comparators
• Programmable, 15-Level Low-Voltage Detection
(LVD) module:
- Supports interrupt on Low-Voltage Detection
Special Microcontroller Features:
• C Compiler Optimized Architecture with Optional
Extended Instruction Set
• Flash Memory 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 4 ms to 131s
• Programmable Code Protection
• 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)
Device
Program Memory Data Memory
I/O
10
-Bit
ADC
Channel
EUSART
Analog
Comparator
14-Bit
PWM (ch)
Timers
16-Bit
Flash
(bytes)
# Single-Word
Instructions
SRAM
(bytes)
EEPROM
(bytes)
PIC18F1230 4096 2048 256 128 16 4 Yes 3 6 2
PIC18F1330 8192 4096 256 128 16 4 Yes 3 6 2
18/20/28-Pin Enhanced Flash Microcontrollers with
nanoWatt Technology, High-Performance PWM and A/D
PIC18F1230/1330