High-performance RISC CPU:
- C compilers optimize structures/instruction sets
- EEPROM to 1024 bytes of data
- Address 64 KB of linear program storage
- Address to 4 KB of linear data storage space
- Work up to 16 MIPS
- 16-bit wide instructions, 8-bit wide data path
- Interrupt priority
- Level 31, software access hardware stack
-
8 x 8 single-cycle hardware multiplier Extremely low-power management With nanoWatt XLP™:
- Sleep mode: 100 nA typical
- Watchdog timer: 500 nA, typical
-
Timer1 oscillator: 500 kHz typical 32 kHz Flexible oscillator structure:
-
High precision 16 MHz internal oscillator module: - Factory calibrated to ± 1% - Software selectable frequency range 31 kHz to 16 MHz - 64 MHz performance with PLL - No external components are required
- Four crystal oscillator modes up to 64 MHz
- Two external clock modes up to 64 MHz
- 4X Phase Locked Loop (PLL)
- The auxiliary oscillator uses Timer1 @ 32 kHz
-
Failsafe clock monitor: - Allows safe shutdown of peripheral clocks Stop it
-
The two-speed oscillator starts Special features of the microcontroller:
- All 5.5V Operating Voltages (PIC18F2XK22/4XK22)
-
The low voltage option is 1.8V to 3.6V operation (PIC18LF2XK22/4XK22)
- Self-programming under software control
-
Power-On reset (POR), power-on timer (PWRT) and oscillator starter timer (OST)
- Programmable Undervoltage Reset (BOR)
- Extended watchdog timer (WDT), on-chip oscillator, and software enablement
- Programmable code protection
- The circuit serial programming ™ (ICSP)™ is passed through two pins
- The analog function in the circuit is debugged through two pins:
- Analog-to-digital converter (ADC) modules: - 10-bit resolution - 17 analog input channels (PIC18F/LF2XK22) - 28 analog input channels (PIC18F/LF4XK22) - Automatic acquisition capability - Convertible in sleep mode
- Programmable high/low voltage detection (PLVD) module
- Charging Time Measurement Unit (CTMU) for mTouch™ supports: - Up to 28 button, sensor or slider input channels
- Analog Comparator Module: - Two rail-to-rail analog comparators - Comparator inputs and outputs external access and configuration
- Reference Voltage Module: - Programmable On-Chip Reference Voltage (CVREF) Module (% of VDD) - Optional On-Chip Fixed Reference Peripheral Features:
- 24/35 I/O pins and 1 input pin: - High sink/source 25 mA/25 mA - Independent programmable weak pullup - Independent programmable interrupt pin level changes
- 3 external interrupt pins
- Up to 7 timer modules: - Up to 4 x 16-bit timers/prescaled counters - Up to 3 x 8-bit timers/counters - Dedicated, low-power Timer1 oscillator
- Up to 2 capture/compare/PWM (CCP) modules
- Up to 3 Enhanced Capture/Compare/PWM (ECCP) Modules: - One, two or four PWM outputs - Selectable polarity - Programmable dead time - Auto off and auto restart - PWM output steering control
- The two master synchronous serial port (MSSP) modules have two modes of operation: - 3-wire SPI (supports all 4 SPI modes) - I2C™ master mode and slave mode (address mask in slave mode)
- Two enhanced Universal Synchronous Asynchronous Transceiver Modules (EUSART): - Supports RS-232, RS-485 and LIN 2.0 - Automatic baud rate detection - Automatic wake-up of the start bit
|