PIC18LF45K22-I/P - 8-bit 64MHz PIC18 XLP MCU 32KB Flash | Microchip
Référence : PIC18LF45K22-I/P ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $5.2 | $5,20 |
| 10 | $4.68 | $46,80 |
| 100 | $4.16 | $416,00 |
| 500 | $3.74 | $1 870,00 |
| 1 000 | $3.35 | $3 350,00 |
PIC18LF45K22-I/P Présentation
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, integrating CPU core, program memory (Flash/ROM), data memory (RAM), and peripherals such as timers, ADC, and communication interfaces. The PIC18 family is Microchip's high-performance 8-bit line, while "XLP" (eXtreme Low Power) and nanoWatt technology extend battery life through aggressive sleep modes. Within the power management IC hierarchy, an 8-bit MCU sits above the discrete logic layer, providing embedded control without an operating system.
Key features include 64 MHz CPU clock (16 MIPS), 28 channels of 10-bit ADC, dual I2C, dual SPI, dual EUSART with LIN support, two analog comparators, four PWM channels, seven timers, 36 digital I/O lines, an internal 16 MHz oscillator, and 1.8-3.6 V single-supply operation. Peripherals are mapped through Microchip's Peripheral Pin Select (PPS) system for flexible PCB routing.
The architecture is an enhanced Harvard RISC core with 16-bit instructions, a hardware multiply, and self-programmable Flash under software control. nanoWatt XLP technology enables currents below 1 microamp in deep sleep, suitable for battery-powered instrumentation.
Typical applications include industrial control panels, low-power sensor nodes, USB/HID peripherals, HVAC controllers, automotive body ECUs, and consumer white goods. Designers favor this part for legacy-friendly DIP prototyping, stable toolchain support (MPLAB X), and field-proven longevity.
When designing, allocate adequate decoupling (100 nF + bulk), respect the 3.6 V absolute maximum on VDD, and use Microchip's MPLAB ICD/SNAP for ICSP. PPS remapping must be configured before peripheral activation.
This page consolidates distributor pricing, drop-in alternatives, and applied engineering notes not found in the standalone datasheet, optimized for engineers and procurement teams.
Alternatives de remplacement direct pour PIC18LF45K22-I/P — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC18LF45K22-I/P (même facteur de forme et même empreinte) — différant par ADC, Package, Core, Timers, Operating Temperature.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC18F45K22-I/P
✅ Remplacement direct✓ En stock
$2.1 / unité
Voir la fiche technique →PIC18LF46K22-I/P
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18LF44K22-I/P
✅ Remplacement direct✓ En stock
$2.78 / unité
Voir la fiche technique →PIC18LF45K22-E/P
✅ Remplacement direct✓ En stock
$2.62 / unité
Voir la fiche technique →PIC18LF43K22-I/P
✅ Remplacement direct✓ En stock
$2.25 / unité
Voir la fiche technique →PIC18LF45K22-I/P Valeurs maximales et caractéristiques électriques
| Architecture | PIC18 (8-bit Harvard RISC) |
| CPU Core | PIC18 enhanced RISC, 16-bit instructions |
| Maximum CPU Frequency | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 32 KB (16K x 16) |
| Data RAM | 1536 bytes |
| Data EEPROM | 256 bytes |
| Supply Voltage (VDD) | 1.8 V to 3.6 V (LF low-voltage variant) |
| I/O Pins | 36 digital I/O (34 in some pinout variants) |
| ADC | 28 channels, 10-bit resolution |
| Comparators | 2 analog comparators |
| PWM Channels | 4 CCP/ECCP |
| Timers | 7 (Timer0-6 with RTCC) |
| Communication | 2x I2C, 2x SPI, 2x EUSART (LIN-capable) |
| Température de fonctionnement | -40C to +85C (Industrial, "I") |
| Boîtier | 40-pin PDIP ("P") |
| Type de montage | Through-Hole (DIP) |
| Low-Power Technology | nanoWatt XLP |
| Peripheral Pin Select | Yes (PPS) |
| ICSP / Debug | In-Circuit Serial Programming + ICD |
| Statut RoHS | Compliant (lead-free) |
Configuration des broches de PIC18LF45K22-I/P
| Broche 1 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / Voltage Reference positive |
| Broche 2 | RA4/AN4 — Port A bit 4 / Analog input 4 |
| Broche 3 | RA5/AN5 — Port A bit 5 / Analog input 5 |
| Broche 4 | RA6/OSC2 — Port A bit 6 / Oscillator output |
| Broche 5 | RA7/OSC1 — Port A bit 7 / Oscillator input |
| Broche 6 | VSS — Ground reference |
| Broche 7 | VDD — Positive supply (1.8-3.6 V) |
| Broche 8 | RB0/INT0/AN12 — Port B bit 0 / External interrupt 0 / Analog input 12 |
| Broche 9 | RB1/INT1/AN10 — Port B bit 1 / External interrupt 1 / Analog input 10 |
| Broche 10 | RB2/INT2/AN8 — Port B bit 2 / External interrupt 2 / Analog input 8 |
| Broche 11 | RB3/INT3/AN9/CCP2 — Port B bit 3 / External interrupt 3 / Analog input 9 / CCP2 |
| Broche 12 | RB4/AN11 — Port B bit 4 / Analog input 11 |
| Broche 13 | RB5/AN13 — Port B bit 5 / Analog input 13 |
| Broche 14 | RB6/PGC — Port B bit 6 / ICSP clock (programming/debug) |
| Broche 15 | RB7/PGD — Port B bit 7 / ICSP data (programming/debug) |
| Broche 16 | RC0/SOSCO — Port C bit 0 / SOSC oscillator output |
| Broche 17 | RC1/SOSCI — Port C bit 1 / SOSC oscillator input |
| Broche 18 | RC2/AN14/CCP1 — Port C bit 2 / Analog input 14 / CCP1 PWM |
| Broche 19 | RC3/AN15/SCK1/SCL1 — Port C bit 3 / Analog input 15 / SPI1 clock / I2C1 clock |
| Broche 20 | RC4/SDI1/SDA1 — Port C bit 4 / SPI1 data in / I2C1 data |
| Broche 21 | RC5/SDO1 — Port C bit 5 / SPI1 data out |
| Broche 22 | RC6/TX1/CK1 — Port C bit 6 / EUSART1 transmit / clock |
| Broche 23 | RC7/RX1/DT1 — Port C bit 7 / EUSART1 receive / data |
| Broche 24 | RD0/AN16 — Port D bit 0 / Analog input 16 |
| Broche 25 | RD1/AN17 — Port D bit 1 / Analog input 17 |
| Broche 26 | RD2/AN18 — Port D bit 2 / Analog input 18 |
| Broche 27 | RD3/AN19 — Port D bit 3 / Analog input 19 |
| Broche 28 | RD4/AN20/SDO2 — Port D bit 4 / Analog input 20 / SPI2 data out |
| Broche 29 | RD5/AN21/SDI2/SDA2 — Port D bit 5 / Analog input 21 / SPI2 in / I2C2 data |
| Broche 30 | RD6/AN22/SCK2/SCL2 — Port D bit 6 / Analog input 22 / SPI2 clock / I2C2 clock |
| Broche 31 | RD7/AN23/CCP2/SS2 — Port D bit 7 / Analog input 23 / CCP2 / SPI2 slave select |
| Broche 32 | VSS — Ground reference |
| Broche 33 | VDD — Positive supply (1.8-3.6 V) |
| Broche 34 | RE0/AN5/C1IN1+ — Port E bit 0 / Analog input 5 / Comparator 1 input positive |
| Broche 35 | RE1/AN6/C1IN2- — Port E bit 1 / Analog input 6 / Comparator 1 input negative |
| Broche 36 | RE2/AN7/C1OUT — Port E bit 2 / Analog input 7 / Comparator 1 output |
| Broche 37 | RE3/MCLR/VPP — Port E bit 3 / Master clear reset / Programming voltage |
| Broche 38 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Broche 39 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Broche 40 | RA2/AN2/VREF- — Port A bit 2 / Analog input 2 / Voltage Reference negative |
Applications typiques
PIC18LF45K22-I/P convient pour 6 applications: Industrial Sensor Interface Module, Battery-Powered Wireless Sensor Node, Automotive LIN Body Controller, HVAC Control Board, USB HID / Human Interface Device, Consumer White Goods Controller.
Industrial Sensor Interface Module
The PIC18LF45K22-I/P suits industrial sensor-interface modules because its 28-channel 10-bit ADC enables direct multiplexing of thermistor, RTD, and 4-20 mA bridges. The 1.8-3.6 V VDD allows direct battery or 3.3V LDO supply, while nanoWatt XLP sleep under 1 microamp preserves charge during idle polling. Dual EUSART with LIN support connects to RS-485 sensor buses, and 36 I/O lines handle discrete I/O, keypad scan, and status LEDs without external mux. Per Microchip datasheet, the PPS system remaps peripherals to free pins, easing layout for noisy analog inputs. The 40-pin PDIP package simplifies bench characterization and field replacement.
Recommandé
Battery-Powered Wireless Sensor Node
The PIC18LF45K22-I/P is well matched to wireless sensor nodes thanks to nanoWatt XLP deep-sleep currents under 1 microamp at 3.0 V VDD, enabling multi-year coin-cell operation. Its dual SPI channels drive an NRF24L01 or LoRa SX1278 radio while the second SPI talks to a sensor. The 64 MHz CPU wakes quickly to service RF packets and returns to sleep, maximizing battery life. Per Microchip datasheet, the Peripheral Pin Select (PPS) reassigns SPI/I2C to any digital pin, helping with single-layer antenna-plus-MCU boards. The 32 KB Flash holds protocol stacks like Microchip's MLA or vendor LoRa libraries.
Recommandé
Automotive LIN Body Controller
The PIC18LF45K22-I/P fits automotive LIN body-control nodes because dual EUSART ports support LIN 2.1 master/slave stacks with hardware checksum. The industrial -40C to +85C range covers most cabin and under-hood electronics, and the 32 KB Flash holds LIN descriptors plus application code. According to Microchip datasheet, the LF variant's 1.8-3.6 V VDD aligns with automotive 12 V post-regulator rails. PWM and CCP channels drive LED dimming, mirror fold, and small DC loads. Designers verify by adding external TVS and load-dump protection on the supply.
Recommandé
HVAC Control Board
The PIC18LF45K22-I/P is a strong fit for HVAC thermostats and blower controllers where 28 ADC channels read thermistors, humidity sensors, and pressure transducers simultaneously. Four PWM channels drive TRIAC or low-side MOSFET stages for fan speed and valve control, while the dual I2C ports talk to a temperature/humidity sensor and an EEPROM. Per Microchip datasheet, the nanoWatt XLP sleep modes keep idle current below 100 microamp for line-powered thermostats maintaining RAM-backed schedules. The 40-pin PDIP enables traditional through-hole assembly preferred by white-goods OEMs.
Recommandé
USB HID / Human Interface Device
Although the PIC18LF45K22-I/P itself lacks USB, the same MCU plus an external USB-serial bridge acts as a low-cost USB HID for keyboards, mice, and custom input devices. Per Microchip datasheet, the dual EUSART and dual SPI make the bridge transparent; the MCU handles scanning, debounce, and HID report formatting. The 32 KB Flash is sufficient for HID class descriptors and report maps, and the 1.8-3.6 V VDD allows USB-bus-powered 3.3V operation. The 40-pin PDIP package supports hobby-grade enclosure designs and small-batch production.
Recommandé
Consumer White Goods Controller
The PIC18LF45K22-I/P targets consumer white-goods controllers (washing machines, dishwashers, microwave ovens) where it drives user interfaces, reads sensors, and switches loads. The 28-channel ADC handles water level, temperature, and turbidity sensors; PWM outputs drive motor and heater stages; seven timers cover real-time scheduling and buzzer tones. Per Microchip datasheet, the LF variant's wide 1.8-3.6 V supply tolerates rectified mains drops. nanoWatt XLP reduces standby power below 1 W, helping meet energy-star and EU eco-design regulations.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC18LF45K22-I/P — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC18F45K22-I/P | PIC18LF46K22-I/P | PIC18LF44K22-I/P | PIC18LF45K22-E/P | PIC18LF43K22-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | PDIP-40 (40-pin DIP) | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same |
| Program Memory (Flash) | 32 KB | 32 KB | 64 KB | 16 KB | 32 KB | 8 KB |
| Data RAM | 1536 bytes | 1536 bytes | 3896 bytes | 1024 bytes | 1536 bytes | 512 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 1024 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Supply Voltage (VDD) | 1.8 V to 3.6 V | 2.0 V to 5.5 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +125C (Extended) | -40C to +85C |
| Price (1 piece, as of 2026-09-29) | 5.20 USD | 5.10 USD | 5.80 USD | 4.95 USD | 5.50 USD | 4.70 USD |
Principaux différenciateurs
- Lower VDD floor for battery-direct operation (vs PIC18F45K22-I/P)
- Twice the Flash and 2.5x the RAM (vs PIC18LF44K22-I/P)
- Industrial temperature range by default (vs PIC18LF45K22-E/P)
Notes de conception
Estimated: at 64 MHz CPU and 3.3 V VDD, the PIC18LF45K22-I/P core draws roughly 8-12 mA active per Microchip datasheet DC characteristics. Add 100 nF decoupling on every VDD/AVDD pin placed within 5 mm of the lead, plus a 10 uF bulk on the package. In sleep with RTCC, the LF variant draws under 1 microamp at 3 V per nanoWatt XLP curves. If the analog ADC is enabled in sleep, expect an additional 1-2 microamp from the bandgap reference; disable ADC and comparators when not in use.
Estimated: for a 40-pin PDIP prototype, route the ICSP pins (RB6/PGC, RB7/PGD) to a 6-pin 0.1" header with a 100 ohm series resistor on PGD/PGC to damp ringing from the debug probe cable. Place the MCLR pull-up of roughly 10 kohm and any decoupling within 5 mm of the pin. If the board has motor or relay drivers, separate analog VDD/VSS pairs from noisy digital rails to avoid ADC reference contamination. Per Microchip datasheet, AVSS and VSS must be connected even when the ADC is unused.
Do not exceed the absolute maximum VDD of 4.0 V on the LF variant; the PIC18F45K22 is the 5V-safe variant. A common pitfall is forgetting to configure PPS before activating peripherals - per Microchip datasheet, peripherals default to fixed pins until you call PPSUnLock and assign output/input mapping. When migrating code from PIC18F452 to PIC18LF45K22, verify ECCP and timer registers because the K22 family uses new peripheral modules.
Informations de conformité
RoHS and lead-free confirmed by Microchip product page and DigiKey listing. AEC-Q100 not qualified - choose PIC18LF45K22-E/P or AEQ-qualified K50 family variants for automotive safety-critical use.