PIC18LF45K22T-I/MV - 8-bit 64MHz 32KB Flash XLP MCU | Microchip
MPN: PIC18LF45K22T-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.07 | $30.70 |
| 100 | $2.74 | $274.00 |
| 500 | $2.45 | $1,225.00 |
| 1,000 | $2.18 | $2,180.00 |
PIC18LF45K22T-I/MV Overview
What is an 8-bit Microcontroller? An 8-bit MCU is an integrated circuit containing a CPU with an 8-bit data path, program and data memory, and programmable peripherals, used to sense, compute, and control in embedded systems. It belongs to the microcontroller family within the broader category of microprocessors and semiconductors. The PIC18F 'K22' sub-family adds nanoWatt XLP technology, achieving sub-uA sleep currents and active currents in the hundreds of uA/MIPS range.
Key features of the PIC18LF45K22T-I/MV include 32 KB self-programmable Flash with 16K x 16 organization, 1536 bytes SRAM, 256 bytes EEPROM, 28 digital I/O pins with interrupt-on-change capability, and a 12-channel 10-bit ADC with automatic acquisition. Communication peripherals include two EUSART modules, two MSSP (I2C/SPI) modules, and up to five CCP/ECCP modules for PWM. The device also integrates a programmable HLVD (High/Low-Voltage Detect), Brown-out Reset, and ultra-low-power Real-Time Clock/Calendar module with RTCC from 32 kHz crystal operation.
The PIC18 core uses a 16-bit instruction word with an 8-bit data path and a modified Harvard architecture, supported by a hardware multiplier and C compiler-friendly instruction set. nanoWatt XLP technology provides multiple power-managed modes including Run, Idle, Sleep with RTCC, and deep sleep current typically below 20 nA. The 40-pin UQFN (5x5 mm) package supports the industrial -40C to +85C temperature range while exposing 28 GPIO, two analog comparators, and a charge time measurement unit (CTMU) for capacitive touch sensing.
Typical applications include low-power IoT sensor nodes, battery-operated handheld instruments, industrial control with capacitive touch HMI, USB-to-UART bridges (using EUSART + MSSP), and home automation controllers. The combination of generous Flash and nanoWatt XLP makes it well suited for field-upgradable, energy-conscious products.
When designing with this part, place a 100 nF decoupling capacitor on each VDD/VCAP pin pair and route the ICSP/PGD/PGC signals with short stubs to a 6-pin header for in-circuit debugging. The 32 kHz TOSC pins are sensitive to capacitive loading, so keep traces short and shielded with a ground guard ring.
Drop-in alternatives for PIC18LF45K22T-I/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 PIC18LF45K22T-I/MV (same form factor and footprint) — differing in ADC, Low-Power Technology, Package, Communication Peripherals, Data EEPROM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F45K22T-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F45K22-E/MV
✅ Drop-In✓ In Stock
$2.84 / Unit
View Datasheet →PIC18LF45K22-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF45K22T-I/MV Maximum Ratings & Electrical Characteristics
| Product Family | PIC18F 'K22' (XLP 18K) |
| Core | PIC18 (8-bit, 16-bit instruction word, modified Harvard) |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Program Flash Memory | 32 KB (16K x 16 words) |
| SRAM | 1536 bytes |
| EEPROM | 256 bytes |
| Operating Voltage Range | 1.8 V to 3.6 V |
| I/O Pins | 28 digital I/O |
| ADC | 10-bit, up to 28 channels (device-dependent) |
| Package | 40-pin UQFN (MV) 5x5 mm |
| Mounting Type | Surface Mount |
| Operating Temperature Range | -40C to +85C (Industrial) |
| Communication Peripherals | 2x EUSART (UART), 2x MSSP (I2C/SPI) |
| PWM / Capture Modules | Up to 5 CCP/ECCP |
| Low-Power Technology | nanoWatt XLP (deep-sleep current <100 nA typical) |
| RoHS Status | ROHS3 Compliant |
| MSL Level | MSL3 (per JEDEC J-STD-020) |
PIC18LF45K22T-I/MV Pin Configuration
| Pin 1 | RA2/AN2 — Port A bit 2 / Analog input 2 |
| Pin 2 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / ADC positive reference |
| Pin 3 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Pin 4 | RA5/AN4/SS/HLVDIN — Port A bit 5 / Analog input 4 / SPI slave select / HLVD input |
| Pin 5 | VDD — Positive supply voltage (1.8-3.6 V) |
| Pin 6 | VSS — Ground reference |
| Pin 7 | RA6/OSC2/CLKOUT — Port A bit 6 / Crystal oscillator output / Clock out |
| Pin 8 | RA7/OSC1/CLKIN — Port A bit 7 / Crystal oscillator input / Clock in |
| Pin 9 | RB0/INT0/AN12 — Port B bit 0 / External interrupt 0 / Analog input 12 |
| Pin 10 | RB1/INT1/AN10 — Port B bit 1 / External interrupt 1 / Analog input 10 |
| Pin 11 | RB2/INT2/AN8 — Port B bit 2 / External interrupt 2 / Analog input 8 |
| Pin 12 | RB3/AN9/CCP2 — Port B bit 3 / Analog input 9 / Capture/Compare/PWM 2 |
| Pin 13 | RB4/AN11 — Port B bit 4 / Analog input 11 |
| Pin 14 | RB5/AN13 — Port B bit 5 / Analog input 13 |
| Pin 15 | RB6/PGC — Port B bit 6 / ICSP clock |
| Pin 16 | RB7/PGD — Port B bit 7 / ICSP data |
| Pin 17 | VSS — Ground reference |
| Pin 18 | VDD — Positive supply voltage |
| Pin 19 | RC0/SOSCO — Port C bit 0 / Secondary oscillator output (32 kHz) |
| Pin 20 | RC1/SOSCI — Port C bit 1 / Secondary oscillator input (32 kHz) |
| Pin 21 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| Pin 22 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Pin 23 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Pin 25 | RC5/SDO — Port C bit 5 / SPI data out |
| Pin 26 | RC6/TX1/CK1 — Port C bit 6 / EUSART1 transmit / clock |
| Pin 27 | RC7/RX1/DT1 — Port C bit 7 / EUSART1 receive / data |
| Pin 28 | VSS — Ground reference |
| Pin 29 | VDD — Positive supply voltage |
| Pin 30 | RD0 — Port D bit 0 |
| Pin 31 | RD1 — Port D bit 1 |
| Pin 32 | RD2 — Port D bit 2 |
| Pin 33 | RD3 — Port D bit 3 |
| Pin 34 | RD4 — Port D bit 4 |
| Pin 35 | RD5/P1B — Port D bit 5 / Enhanced PWM output |
| Pin 36 | RD6/P1C — Port D bit 6 / Enhanced PWM output |
| Pin 37 | RD7/P1D — Port D bit 7 / Enhanced PWM output |
| Pin 38 | VSS — Ground reference |
| Pin 39 | VDD — Positive supply voltage |
| Pin 40 | RE3/MCLR/VPP — Port E bit 3 / Master clear reset / ICSP programming voltage |
Typical Applications
PIC18LF45K22T-I/MV is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Industrial Control with Capacitive Touch HMI, USB-to-UART Bridge and Protocol Converter, Portable Medical and Wellness Devices, Smart Home and Building Automation Controllers, Automotive Body and Aftermarket Electronics.
Battery-Powered IoT Sensor Nodes
The PIC18LF45K22T-I/MV's nanoWatt XLP technology delivers typical deep-sleep current below 100 nA, making it ideal for coin-cell powered wireless sensor nodes that must operate for years on a single battery. Its 1.8 V to 3.6 V supply range matches lithium primary cells directly, while 32 KB Flash holds typical BLE/Zigbee stack fragments or LoRaWAN application code with margin. The 10-bit ADC, two MSSP (I2C/SPI) interfaces, and CTMU let designers interface environmental sensors and capacitive touch electrodes without external analog components, reducing both BOM and quiescent drain.
Recommended
Industrial Control with Capacitive Touch HMI
The integrated Charge Time Measurement Unit (CTMU) combined with nanoWatt XLP low-power modes makes this MCU a strong fit for industrial HMI panels with capacitive touch buttons or sliders. Designers can implement 8 to 16 touch electrodes directly via firmware without an external touch controller, simplifying the BOM and reducing cost. The 28 GPIO and PWM modules drive indicator LEDs, relays, and buzzer feedback, while 1.8 V to 3.6 V operation tolerates industrial 24 V systems after regulation. Industrial -40C to +85C rating supports factory and outdoor enclosures.
Recommended
USB-to-UART Bridge and Protocol Converter
With two EUSART (UART) modules plus two MSSP (I2C/SPI) peripherals, the PIC18LF45K22T-I/MV can implement USB CDC-ACM bridge firmware or I2C/SPI protocol converters using an external USB-UART IC like MCP2200 or MCP2221. The 32 KB Flash easily holds full-speed USB class driver code plus command parser, while 1.5 KB SRAM accommodates USB endpoint buffers. nanoWatt XLP modes enable suspend/resume power management compliant with USB 2.0 suspend current requirements when bus-powered.
Recommended
Portable Medical and Wellness Devices
The combination of low voltage operation (1.8 V to 3.6 V), low sleep current, and 12-channel 10-bit ADC suits portable glucose meters, pulse oximeters, and wearable health monitors where battery life and measurement accuracy matter. The CTMU provides accurate temperature measurement and bias generation for thermistors, while the 32 KB Flash supports Bluetooth Low Energy application profiles with room for proprietary algorithms. Industrial temperature rating and high reliability of the PIC18 platform suit medical device verification.
Recommended
Smart Home and Building Automation Controllers
The PIC18LF45K22T-I/MV integrates the peripheral set needed for smart thermostats, lighting controllers, and security keypads: PWM for LED dimming, UART for Modbus or wireless module interfaces, I2C/SPI for sensor and EEPROM expansion, and CTMU for capacitive touch. The 32 KB Flash holds application logic plus wireless protocol libraries, while nanoWatt XLP modes extend battery life in wireless door/window sensors. The 40-pin UQFN footprint fits within compact PCBAs behind wall switches or in ceiling sensor housings.
Recommended
Automotive Body and Aftermarket Electronics
While the I-grade part is rated to +85C, the underlying PIC18 'K22 family supports automotive aftermarket applications such as interior lighting controllers, alarm systems, and diagnostic interfaces. The two EUSARTs handle CAN bus via external transceivers (e.g., MCP2551), and PWM modules drive LED clusters or small motors. The 40-pin UQFN 5x5 mm package fits inside tight aftermarket enclosures, and nanoWatt XLP low sleep current preserves vehicle battery during long parking periods.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF45K22T-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F45K22T-I/MV | PIC18F45K22-E/MV | PIC18LF45K22-I/MV |
|---|---|---|---|---|
| Package | 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 |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 3.6 V |
| Temperature Range | -40C to +85C | -40C to +85C | -40C to +125C | -40C to +85C |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB |
| SRAM | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes |
| CPU Speed | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
Key Differentiators
- Lowest sleep current in UQFN-40 'K22 family (vs PIC18F45K22T-I/MV)
- Extended temperature variant available in same package (vs PIC18F45K22-E/MV)
- Tray packaging variant for prototyping (vs PIC18LF45K22-I/MV)
Design Notes
Place a 100 nF decoupling capacitor within 3 mm of each VDD pin (the 40-pin UQFN has multiple VDD pins: 5, 18, 29, 39). For battery designs, route the MCLR/VPP/RE3 pin to a 10 kohm pull-up to VDD and add a 100 nF cap to ground for noise immunity. The VCAP pin (if present on this package variant) needs a low-ESR 1 uF to 10 uF capacitor to stabilize the internal core voltage regulator.
Solder the UQFN-40 exposed thermal pad (EP) to a grounded copper pour of at least 25 mm squared to keep junction temperature within spec and to provide a low-impedance ground return. Keep the 32 kHz TOSC traces (RC0/RC1) short and surrounded by a grounded guard ring; long traces inject noise into the RTCC and increase current consumption. Route the ICSP PGC/PGD signals with short, parallel traces to a 6-pin header for programming and debugging access.
Do not assume all 40 pins are GPIO on the UQFN package - RE3 is input-only and shared with MCLR, while RC0/RC1 can be configured as SOSC for the 32 kHz crystal. Enabling the PLL requires following the configuration bit sequence in the datasheet (OSCTUNE.PLLEN after HFINTOSC stabilizes); skipping the delay loop can prevent oscillator startup. The CTMU current source must be calibrated per temperature for accurate capacitive touch readings; refer to Microchip application note AN1250.
Compliance Information
RoHS3 compliant per Microchip product page. Not AEC-Q100 qualified - this is a general-purpose industrial grade part. For automotive designs, consider PIC18F45K22-E/MV (extended temp) or AEC-Q100 qualified PIC18F variants from Microchip's automotive portfolio.