PIC18F45K22-E/MV - 8-bit 48MHz MCU 32KB Flash | Microchip
MPN: PIC18F45K22-E/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.42 | $4.42 |
| 10 | $3.97 | $39.70 |
| 100 | $3.55 | $355.00 |
| 500 | $3.18 | $1,590.00 |
| 1,000 | $2.84 | $2,840.00 |
PIC18F45K22-E/MV Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, working RAM, and a set of digital and analog peripherals. PIC microcontrollers from Microchip sit in the broader hierarchy: MCU -> 8-bit microcontroller -> embedded controller -> semiconductor. The PIC18F45K22 family uses a 16-bit-wide modified Harvard Flash architecture that allows most instructions to execute in a single cycle, balancing deterministic real-time behavior with the C-friendly PIC18 instruction set.
Key specifications include an internal oscillator block with ±1% typical accuracy (factory calibrated), a wide 2.3 V to 5.5 V operating range that simplifies battery and USB-powered designs, and rich connectivity through EUSART, MSSP (SPI / I2C), and an enhanced capture/compare/PWM module. The 28-channel 10-bit ADC enables direct interface with sensors, while two analog comparators support power-conversion and signal-conditioning loops without external components.
Typical applications include low-power battery-powered sensor nodes, USB human-interface devices, small home appliances with capacitive touch via the mTouch sensing unit, industrial control panels, and automotive body modules. The combination of XLP nanoWatt sleep, Peripheral Pin Select, and on-chip EEPROM makes the PIC18F45K22 family especially attractive for designs migrating from legacy 28-pin PIC16/18 parts to higher pin counts with the same toolchain. The newer PIC18F45Q10 from Microchip is the recommended migration path for new designs.
When designing with this device, ensure decoupling of VDD/VSS pairs (0.1 uF plus bulk), respect the ICSP programming pin assignments (PGC/PGD/RESET), and reserve the MCLR pin with the standard 10 kohm pull-up. Use the Peripheral Pin Select feature to remap digital peripherals, but always verify the PPS lock register state before production.
Drop-in alternatives for PIC18F45K22-E/MV — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18F45K22-E/MV (same form factor and footprint) — differing in Package, ADC, Communication, Core Architecture, EEPROM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F46K22-E/MV
✅ Drop-In✓ In Stock
$2.72 / Unit
View Datasheet →PIC18F44K22-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F45K22-I/MV
✅ Drop-In✓ In Stock
$2.2 / Unit
View Datasheet →PIC18F45K22T-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F46K22-I/MV
✅ Drop-In✓ In Stock
$2.95 / Unit
View Datasheet →PIC18F45K22-E/MV Maximum Ratings & Electrical Characteristics
| CPU Core | PIC18 (8-bit RISC, modified Harvard) |
| Maximum CPU Frequency | 48 MHz (64 MHz instruction rate via 4-cycle PLL) |
| Program Memory (Flash) | 32 KB (16K x 16 words) |
| RAM | 1536 bytes |
| Data EEPROM | 256 bytes |
| Operating Voltage | 2.3 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 28 channels |
| Timers | 7 (Timer0/1/2/3/4/5/6) |
| PWM Channels | 4 (Enhanced CCP + CCP) |
| Analog Comparators | 2 |
| Communication | 1x EUSART, 2x MSSP (SPI/I2C) |
| Package | 40-pin UQFN (MV) 5x5 mm |
| Operating Temperature (Extended) | -40C to +125C |
| Low-Power Technology | nanoWatt XLP |
PIC18F45K22-E/MV Pin Configuration
| Pin 1 | RA2 — PORTA I/O bit 2 / analog input |
| Pin 2 | RA3 — PORTA I/O bit 3 / analog input |
| Pin 3 | RA4 — PORTA I/O bit 4 / analog input |
| Pin 4 | RA5 — PORTA I/O bit 5 / analog input |
| Pin 5 | RA6 — PORTA I/O bit 6 / analog input |
| Pin 6 | RA7 — PORTA I/O bit 7 / analog input |
| Pin 7 | VSS — Ground reference |
| Pin 8 | VDD — Positive supply |
| Pin 9 | RB0 — PORTB I/O bit 0 / INT0 |
| Pin 10 | RB1 — PORTB I/O bit 1 / INT1 |
| Pin 11 | RB2 — PORTB I/O bit 2 |
| Pin 12 | RB3 — PORTB I/O bit 3 |
| Pin 13 | RB4 — PORTB I/O bit 4 |
| Pin 14 | RB5 — PORTB I/O bit 5 |
| Pin 15 | RB6 — PORTB I/O bit 6 / ICD PGC |
| Pin 16 | RB7 — PORTB I/O bit 7 / ICD PGD |
| Pin 17 | VSS — Ground reference |
| Pin 18 | VDD — Positive supply |
| Pin 19 | RC0 — PORTC I/O bit 0 |
| Pin 20 | RC1 — PORTC I/O bit 1 |
| Pin 21 | RC2 — PORTC I/O bit 2 |
| Pin 22 | RC3 — PORTC I/O bit 3 |
| Pin 23 | RC4 — PORTC I/O bit 4 |
| Pin 24 | RC5 — PORTC I/O bit 5 |
| Pin 25 | RC6 — PORTC I/O bit 6 / TX |
| Pin 26 | RC7 — PORTC I/O bit 7 / RX |
| Pin 27 | VSS — Ground reference |
| Pin 28 | VDD — Positive supply |
| Pin 29 | RD0 — PORTD I/O bit 0 |
| Pin 30 | RD1 — PORTD I/O bit 1 |
| Pin 31 | RD2 — PORTD I/O bit 2 |
| Pin 32 | RD3 — PORTD I/O bit 3 |
| Pin 33 | RD4 — PORTD I/O bit 4 |
| Pin 34 | RD5 — PORTD I/O bit 5 |
| Pin 35 | RD6 — PORTD I/O bit 6 |
| Pin 36 | RD7 — PORTD I/O bit 7 |
| Pin 37 | VSS — Ground reference |
| Pin 38 | VDD — Positive supply |
| Pin 39 | RE0 — PORTE I/O bit 0 / analog input |
| Pin 40 | RE3 — PORTE I/O bit 3 / MCLR |
Typical Applications
PIC18F45K22-E/MV is suitable for 6 applications: Low-Power Battery Sensor Node, USB HID Consumer Device Bridge, Industrial Control Panel Controller, Small Home Appliance with Capacitive Touch, Automotive Body Electronics Module, mTouch Capacitive Touch Sensing Front-End.
Low-Power Battery Sensor Node
The PIC18F45K22-E/MV fits battery-powered sensor nodes because its nanoWatt XLP technology delivers sub-uA sleep currents while still offering 48 MHz of CPU headroom for active measurement. With 32 KB of Flash and 1536 bytes of RAM, the MCU can run a small RTOS-free event loop, capture 10-bit ADC samples from a temperature or humidity sensor on any of its 28 ADC channels, and wake on an interrupt. The wide 2.3-5.5 V supply allows direct connection to a single CR2032 or 2xAA battery without a boost converter.
Recommended
USB HID Consumer Device Bridge
The PIC18F45K22-E/MV can host a USB-to-UART or USB-to-I2C bridge when paired with an external bridge IC, since the part itself lacks an on-chip USB SIE. Its EUSART and dual MSSP modules expose 1x UART plus 2x SPI/I2C, enough to drive a typical FT230XS-R USB-UART bridge or MCP2221 USB-I2C/SPI bridge. With 32 KB of Flash, the device can implement custom HID descriptors or vendor commands for gaming peripherals, programmable keypads, or industrial USB-to-serial adapters.
Recommended
Industrial Control Panel Controller
The PIC18F45K22-E/MV's 28-channel 10-bit ADC and 4 PWM channels make it suitable for industrial control panels driving solenoid valves, motor drivers, and indicator LEDs. Its -40C to +125C extended temperature grade (E suffix) handles factory-floor environments and under-hood automotive sub-assemblies. The 36 I/O pins provide ample headroom for key-matrix scanning, seven-segment displays, and isolated digital I/O expanders, while the 32 KB Flash holds IEC 61131-3-style ladder logic or C firmware.
Recommended
Small Home Appliance with Capacitive Touch
The PIC18F45K22-E/MV integrates Microchip's mTouch capacitive touch sensing module with the on-chip ADC, enabling touch buttons and sliders without external touch ICs. Combined with its 4 PWM channels, the MCU can drive TRIAC-controlled AC loads for dimming or motor speed control in appliances like blenders, washing machines, or coffee makers. The 32 KB Flash provides space for capacitive-touch firmware plus user-interface state machines and BLE/Bluetooth hooks via an external module.
Recommended
Automotive Body Electronics Module
The PIC18F45K22-E/MV (extended -40C to +125C) handles non-safety automotive body modules such as interior lighting controllers, seat heaters, mirror adjusters, or HVAC blend door drivers. The 7 timers and 4 PWM channels support brushed DC motor control via external FET drivers, and the EUSART allows LIN bus communication when paired with a TJA1027 LIN transceiver. The 256-byte EEPROM is ideal for storing calibration and vehicle configuration data that survives battery disconnect events.
Recommended
mTouch Capacitive Touch Sensing Front-End
The PIC18F45K22-E/MV uses its on-chip 10-bit ADC and the charge-time measurement unit (CTMU) to implement robust mTouch capacitive touch buttons, sliders, and proximity sensors. With 28 ADC channels available, the device can support a 16-button keypad plus a 5-element slider with no external touch IC. nanoWatt XLP sleep modes drop below 1 uA when the user is not interacting, making this part ideal for battery-powered remote controls or wall-mounted touch panels that must wake on touch.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F45K22-E/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F46K22-E/MV | PIC18F44K22-E/MV | PIC18F45K22-I/MV | PIC18F45K22T-I/MV | PIC18F46K22-I/MV |
|---|---|---|---|---|---|---|
| Package | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 32 KB | 64 KB | 32 KB | 32 KB | 32 KB | 64 KB |
| RAM | 1536 B | 3896 B | 1536 B | 1536 B | 1536 B | 3896 B |
| I/O Pins | 36 | 36 | 28 | 36 | 36 | 36 |
| Maximum CPU Frequency | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| Temperature Grade | Extended -40C to +125C | Extended -40C to +125C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
Key Differentiators
- Larger Flash for same-package upgrade path (vs PIC18F44K22-E/MV)
- Extended temperature grade for harsh environments (vs PIC18F45K22-I/MV)
- Balanced memory footprint vs. 64 KB siblings (vs PIC18F46K22-E/MV)
Design Notes
Estimated: at 48 MHz CPU clock and 3.3 V supply, the PIC18F45K22-E/MV core current is approximately 6 mA active and <1 uA in XLP sleep mode. Place 0.1 uF ceramic decoupling capacitors as close as possible to each VDD/VSS pair (pins 8/7, 18/17, 28/27, 38/37). Add a 10 uF bulk capacitor at the supply entry point to handle inrush when waking from sleep to active mode.
Route ICSP pins PGC (RB6), PGD (RB7), and MCLR (RE3) with the standard Microchip ICSP layout: keep traces short, leave 0.1 inch spacing, and ensure no series resistors on these pins in production. The UQFN-40 (MV) package has an exposed pad (EP) on the underside that must be soldered to the PCB thermal pad connected to VSS for mechanical and thermal reliability.
Do not confuse the -E/MV (UQFN-40) variant with -E/ML (QFN-44) or -E/P (DIP-40) - the pinouts differ. The MCLR pin (RE3) requires a 10 kohm pull-up to VDD; without it the device cannot start. When using Peripheral Pin Select (PPS), remember to unlock PPS (PPSLOCK = 0x55, 0xAA sequence) before changing remappings, or the writes will be silently ignored in production.
For EUSART (RC6/RC7) and MSSP SPI signals, add 33 ohm series damping resistors close to the driver pins if trace lengths exceed 50 mm or switching frequency exceeds 10 MHz. Use a single ground reference for the crystal oscillator area; avoid routing noisy digital signals under the OSC1/OSC2 pins to prevent injection of jitter into the system clock.
Compliance Information
RoHS and REACH compliance per Microchip product page (microchip.com/en-us/product/PIC18F45K22). Not AEC-Q100 qualified individually; the -E temperature grade supports automotive operating conditions but does not replace full AEC-Q100 qualification for safety-critical systems.