(1) High-Performance RISC CPU
• Only 35 instructions to learn
- All single-cycle instructions except branches
• Operating speed
- DC – 20 MHz oscillator/clock input
- DC – 200 ns instruction cycle
• Interrupt capability
• 8-level deep hardware stack
• Direct, Indirect and Relative Addressing modes
(2) Special Microcontroller Features
• Precision Internal Oscillator
- Factory calibrated to ±1%
- Software selectable frequency range of 8 MHz to 31 kHz
- Software tunable
- Two-Speed Start-up mode
- Crystal fail to detect for critical applications
- Clock mode switching during operation for power savings
• Power-Saving Sleep mode
• Wide operating voltage range (2.0V-5.5V)
• Industrial and Extended Temperature range
• Power-on Reset (POR)
• Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
• Brown-out Reset (BOR) with software control option
• Enhanced low-current Watchdog Timer (WDT) with an on-chip oscillator (software selectable nominal 268 seconds with full Prescaler) with software enable
• Multiplexed Master Clear with pull-up/input pin
• Programmable code protection
• High Endurance Flash/EEPROM cell
- 100,000 write Flash endurance
- 1,000,000 write EEPROM endurance
- Flash/Data EEPROM retention: > 40 years
• Program memory Read/Write during run time
• In-Circuit Debugger (onboard)
(3) Low-Power Features
• Standby Current
- 50 nA @ 2.0V, typical
• Operating Current
- 11 μA @ 32 kHz, 2.0V, typical
- 220 μA @ 4 MHz, 2.0V, typical
• Watchdog Timer Current
- 1 μA @ 2.0V, typical
(4) Peripheral Features
• 24/35 I/O pins with individual direction control
- High current source/sink for direct LED drive
- Interrupt-on-Change pin
- Individually programmable weak pull-ups
- Ultra-Low-Power Wake-up (ULPWU)
• Analog Comparator module with
- Two analog comparators
- Programmable on-chip voltage reference (CVREF) module (% of VDD)
- Fixed voltage reference (0.6V)
- Comparator inputs and outputs externally accessible
- SR Latch mode
- External Timer1 Gate (count enable)
• A/D Converter:
- 10-bit resolution and 11/14 channels
• Timer0: 8-bit timer/counter with 8-bit programmable Prescaler
• Enhanced Timer1:
- 16-bit timer/counter with Prescaler
- External Gate Input mode
- Dedicated low-power 32 kHz oscillator
• Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler
• Enhanced Capture, Compare, PWM+ module
- 16-bit Capture, max. resolution 12.5 ns
- Compare, max. resolution 200 ns
- 10-bit PWM with 1, 2 or 4 output channels, programmable “dead time”, max. Frequency 20 kHz
- PWM output steering control
• Capture, Compare, PWM module
- 16-bit Capture, max. resolution 12.5 ns
- 16-bit Compare, max. resolution 200 ns
- 10-bit PWM, max. frequency 20 kHz
• Enhanced USART module
- Supports RS-485, RS-232, and LIN 2.0
- Auto-Baud Detect
- Auto-Wake-Up on Start bit
• In-Circuit Serial ProgrammingTM (ICSPTM) via two pins
• Master Synchronous Serial Port (MSSP) module supporting 3-wire SPI (all 4 modes) and I2C™ Master and Slave Modes with the I2C address mask