PIC18LF43K22-E/P - 8-bit PIC MCU, 8KB Flash, 40-Pin DIP | Microchip
MPN: PIC18LF43K22-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.62 | $2.62 |
| 10 | $2.41 | $24.10 |
| 100 | $2.18 | $218.00 |
| 500 | $1.96 | $980.00 |
| 1,000 | $1.74 | $1,740.00 |
PIC18LF43K22-E/P Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, data RAM, and peripherals such as timers, ADC, communication interfaces, and I/O ports. The PIC18 family occupies Microchip's mid-range 8-bit portfolio, sitting between the baseline PIC10/12/16 families and the 16-bit dsPIC/DSC line. PIC18 MCUs use a modified Harvard architecture with a RISC instruction set, 16-bit instructions, and an 8-bit data path, and they are programmed via Microchip's MPLAB X IDE with XC8 compilers. PIC18 parts are widely used in industrial automation, consumer appliances, sensor hubs, and automotive body modules where deterministic 8-bit performance and low power matter more than raw compute throughput.
Key features of the PIC18LF43K22 include eXtreme Low Power (XLP) technology with nanoWatt XLP sleep currents below 50 nA typical, a 10-bit ADC with up to 28 channels, multiple Enhanced USART, MSSP (SPI/I2C), and CCP/ECCP modules, a 16-bit timer/counter, and a wide 1.8V–3.6V operating range that makes the part directly suitable for single-cell Li-ion or two-AA-battery systems. Internal 32 kHz and 16 MHz oscillators plus PLL support a top instruction rate of 16 MIPS at 64 MHz CPU clock, while on-chip mTouch capacitive sensing hardware enables touch-button user interfaces without external components.
The PIC18 architecture combines a deterministic RISC pipeline with a rich peripheral set, giving the LF43K22 deterministic interrupt latency for real-time control loops. Compared to ARM Cortex-M0 alternatives, PIC18 parts typically consume less sleep current but offer lower MIPS; compared to older PIC16 parts, PIC18 adds linear memory, hardware multiplier, and 16-bit instruction word for higher code density. The 40-pin PDIP package remains the development platform of choice for breadboard prototyping and legacy designs that must remain through-hole for serviceability or conformal coating reasons.
Typical applications include industrial sensor transmitters, battery-powered remote controls, low-power wireless sensor nodes, building automation nodes (thermostats, HVAC actuators), handheld test instruments, and automotive body controllers (lighting, mirror, seat modules) using the AEC-Q100-qualified PIC18F version. The XLP sleep modes also make the LF43K22 a strong choice for energy-harvesting designs where the MCU spends most of its life in deep sleep.
Designers should budget decoupling capacitance (typically 100 nF plus 10 µF bulk) close to VDD/VSS pins, route MCLR through a 10 kΩ pull-up, and follow Microchip's emulator/ICSP pinout rules if in-circuit programming is required. PIC18 code compiled with XC8 v2.x differs from older HI-TECH and MPLAB C18 binaries in calling convention, so legacy source code may need porting.
This page synthesizes distributor pricing, drop-in PIC18 family alternatives in the same PDIP-40 footprint, and practical design notes that are not consolidated in the manufacturer datasheet, giving procurement and firmware teams a faster path to a second source or drop-in replacement.
Drop-in alternatives for PIC18LF43K22-E/P — 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 PIC18LF43K22-E/P (same form factor and footprint) — differing in Program Memory (Flash), Package, Timers, ADC, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F43K22-E/PT
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC18F45K22-E/P
✅ Drop-In✓ In Stock
$2.78 / Unit
View Datasheet →PIC18LF45K22-E/P
✅ Drop-In✓ In Stock
$2.62 / Unit
View Datasheet →PIC18LF44K22-E/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F44K22-E/P
✅ Drop-In✓ In Stock
$2.32 / Unit
View Datasheet →PIC18F46K22-E/PT
✅ Drop-In✓ In Stock
$2.6 / Unit
View Datasheet →PIC18LF43K22-E/P Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 (8-bit, modified Harvard, RISC) |
| Program Memory (Flash) | 8 KB |
| Data RAM (SRAM) | 3968 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage Range | 1.8 V to 3.6 V |
| Operating Temperature Range | -40 °C to +125 °C (E grade) |
| Package | 40-pin PDIP (DIP-40, 0.600 in / 15.24 mm) |
| Mounting Type | Through-Hole (DIP) |
| Pin Count | 40 |
| ADC | 10-bit, up to 28 channels |
| Communication Interfaces | Enhanced USART, MSSP (SPI / I²C), mTouch capacitive sensing |
| Timers | 16-bit Timer1, multiple 8/16-bit CCP/ECCP modules |
| Low-Power Features | nanoWatt XLP, < 50 nA typical sleep current |
| I/O Pins | 36 (approximate, per datasheet) |
| Internal Oscillator | 31 kHz LF + 16 MHz HF, PLL to 64 MHz |
| MSL Level | 1 (not moisture-sensitive for PDIP) |
| RoHS Status | Compliant (per distributor listings) |
| Lead-Free / Halogen-Free | Lead-free (Pb-free) |
| Programming / Debug | ICSP, ICD via MPLAB PICkit / ICD |
PIC18LF43K22-E/P Pin Configuration
| Pin 1 | MCLR — Master Clear (Reset) input, active-low; tie to VDD via 10 kΩ pull-up |
| Pin 2 | RA0 — PORTA bit 0 / AN0 analog input |
| Pin 3 | RA1 — PORTA bit 1 / AN1 analog input |
| Pin 4 | RA2 — PORTA bit 2 / AN2 analog input |
| Pin 5 | RA3 — PORTA bit 3 / AN3 analog input |
| Pin 6 | RA4 — PORTA bit 4 / AN4 / Timer0 clock input |
| Pin 7 | RA5 — PORTA bit 5 / AN5 / digital I/O |
| Pin 8 | RE0 — PORTE bit 0 / AN6 / digital I/O |
| Pin 9 | RE1 — PORTE bit 1 / AN7 / digital I/O |
| Pin 10 | RE2 — PORTE bit 2 / AN8 / digital I/O |
| Pin 11 | VDD — Positive supply voltage (1.8 V – 3.6 V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1 — External oscillator input / crystal connection |
| Pin 14 | OSC2 — External oscillator output / crystal connection |
| Pin 15 | RC0 — PORTC bit 0 / SOSCO (32 kHz crystal) |
| Pin 16 | RC1 — PORTC bit 1 / SOSCI (32 kHz crystal) |
| Pin 17 | RC2 — PORTC bit 2 / digital I/O |
| Pin 18 | RC3 — PORTC bit 3 / SCL (I²C clock) |
| Pin 19 | RD0 — PORTD bit 0 / digital I/O |
| Pin 20 | RD1 — PORTD bit 1 / digital I/O |
| Pin 21 | RD2 — PORTD bit 2 / digital I/O |
| Pin 22 | RD3 — PORTD bit 3 / digital I/O |
| Pin 23 | RC4 — PORTC bit 4 / SDA (I²C data) |
| Pin 24 | RC5 — PORTC bit 5 / SDO (SPI data out) |
| Pin 25 | RC6 — PORTC bit 6 / TX (EUSART transmit) |
| Pin 26 | RC7 — PORTC bit 7 / RX (EUSART receive) |
| Pin 27 | RD4 — PORTD bit 4 / digital I/O |
| Pin 28 | RD5 — PORTD bit 5 / digital I/O / PWM |
| Pin 29 | RD6 — PORTD bit 6 / digital I/O / PWM |
| Pin 30 | RD7 — PORTD bit 7 / digital I/O / PWM |
| Pin 31 | VSS — Ground reference (second VSS pin) |
| Pin 32 | VDD — Positive supply (second VDD pin) |
| Pin 33 | RB0 — PORTB bit 0 / INT0 external interrupt |
| Pin 34 | RB1 — PORTB bit 1 / digital I/O |
| Pin 35 | RB2 — PORTB bit 2 / digital I/O |
| Pin 36 | RB3 — PORTB bit 3 / digital I/O |
| Pin 37 | RB4 — PORTB bit 4 / digital I/O |
| Pin 38 | RB5 — PORTB bit 5 / digital I/O |
| Pin 39 | RB6 — PORTB bit 6 / PGC (ICSP clock) |
| Pin 40 | RB7 — PORTB bit 7 / PGD (ICSP data) |
Typical Applications
PIC18LF43K22-E/P is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Industrial Sensor Transmitters, Building Automation (Thermostats / HVAC Actuators), Handheld Test and Measurement Instruments, Automotive Body Control Modules (AEC-Q100 Variants), Consumer Appliance User Interfaces.
Battery-Powered IoT Sensor Nodes
The PIC18LF43K22-E/P fits battery-powered IoT sensor nodes through three converging attributes: nanoWatt XLP deep-sleep current under 50 nA typical, a wide 1.8 V–3.6 V VDD range that directly supports a single CR2032 or two-AA battery stack, and integrated mTouch capacitive sensing plus 10-bit ADC with up to 28 channels for analog sensor front-ends. Placed on a 40-pin DIP-40 carrier with a Sub-GHz SPI radio (such as MRF89XA or SX1276), the MCU spends >99% of its life in sleep, waking periodically to read sensors and transmit. The 8 KB Flash and 3968 B SRAM are sufficient for an 8-bit RTOS-lite scheduler and a sensor-fusion routine.
Recommended
Industrial Sensor Transmitters
The PIC18LF43K22-E/P suits 4–20 mA / 0–10 V industrial sensor transmitters because its 10-bit ADC with up to 28 channels handles bridge sensors, RTDs, and 4–20 mA loop measurements directly, while the PIC18 core's deterministic interrupt latency ensures repeatable sampling for IEC 61000-4-30-style measurements. The -40 °C to +125 °C E-temperature grade meets industrial outdoor installation requirements, and the LF (1.8 V–3.6 V) core allows the MCU to share a 3.3 V rail with a low-power ADC reference. With 8 KB Flash, engineers can fit calibration tables and linearization routines in C without needing a DSP.
Recommended
Building Automation (Thermostats / HVAC Actuators)
The PIC18LF43K22-E/P is a strong fit for building automation thermostats and HVAC actuators: the DIP-40 form factor simplifies hand-soldered field-serviceable assemblies, the mTouch capacitive sensing enables touch-button user interfaces without mechanical switches, and the Enhanced USART + MSSP (SPI/I²C) interfaces support the BACnet, Modbus, or wireless sub-GHz modules commonly used in HVAC. The 8 KB Flash holds a typical thermostat state machine and a PID loop routine in XC8, and the XLP sleep modes keep wall-powered thermostats in < 1 W standby. Pin-to-pin compatibility with PIC18F43K22-E/P also enables a 5 V-line upgrade path.
Recommended
Handheld Test and Measurement Instruments
The PIC18LF43K22-E/P serves handheld digital multimeters and portable test instruments where the LF (1.8 V–3.6 V) core extends battery life on two AA cells and the 10-bit ADC plus Enhanced CCP/ECCP modules drive PWM-driven LCD bias generators and buzzer tones. The 40-pin DIP-40 package simplifies rapid prototyping on perfboard, and the on-chip mTouch peripheral allows sealed front-panel buttons. With 3968 B of SRAM, the part can buffer several kSamples of acquisition data; designers needing larger memory can migrate to PIC18F45K22-E/P (16 KB Flash) in the same footprint.
Recommended
Automotive Body Control Modules (AEC-Q100 Variants)
For automotive body controllers, design teams typically prototype with PIC18LF43K22-E/P on the LF low-voltage core and migrate to PIC18F43K22-E/P for production because the F variant is AEC-Q100 qualified and operates over the wider 2.3 V–5.5 V VDD range that matches 12 V automotive rails after regulation. The DIP-40 footprint supports rapid benchtop validation, while the same silicon in QFN/SOIC packages supports production. The 16 MIPS instruction rate and 8 KB Flash are sufficient for lighting, mirror, seat, and HVAC-flap controllers; PIC18F45K22-E/P (16 KB Flash) extends to body modules that need CAN firmware in addition to GPIO control.
Recommended
Consumer Appliance User Interfaces
The PIC18LF43K22-E/P powers consumer appliance user interfaces such as microwave keypads, washing-machine control panels, and coffee-machine displays where mTouch capacitive sensing enables sealed glass-front panels without mechanical buttons. The PIC18 core's 16 MIPS is sufficient to drive segmented LCDs via integrated charge-pump peripherals and to debounce multiple capacitive-touch channels simultaneously. The LF (1.8 V–3.6 V) core lets the MCU run directly off a 3.3 V LDO rail, while the 8 KB Flash easily fits state-machine firmware in XC8 with a graphical-segment driver. Pin-to-pin compatibility with PIC18F45K22-E/P also provides a path to higher-memory touch + Wi-Fi co-processor designs.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF43K22-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F43K22-E/P | PIC18F45K22-E/P | PIC18LF45K22-E/P | PIC18LF44K22-E/P | PIC18F46K22-E/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | DIP-40 (0.600 in / 15.24 mm) | DIP-40 - same | DIP-40 - same | DIP-40 - same | DIP-40 - same | DIP-40 - same |
| Core | PIC18 LF (low-voltage 1.8 V–3.6 V) | PIC18 F (2.3 V–5.5 V) | PIC18 F (2.3 V–5.5 V) | PIC18 LF (1.8 V–3.6 V) | PIC18 LF (1.8 V–3.6 V) | PIC18 F (2.3 V–5.5 V) |
| Flash | 8 KB | 8 KB | 16 KB | 16 KB | 16 KB | 64 KB |
| SRAM | 3968 B | 3968 B | 3968 B | 3968 B | 3968 B | 3968 B |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 1024 B |
| Max CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Operating Temperature | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) | -40 °C to +125 °C (E) |
| AEC-Q100 | No (LF grade) | Yes (F grade qualified) | Yes (F grade qualified) | No (LF grade) | No (LF grade) | Yes (F grade qualified) |
Key Differentiators
- Lowest-voltage (LF) core variant in the PIC18 K22 DIP-40 family (vs PIC18F43K22-E/P)
- Compact 8 KB Flash for cost-sensitive designs (vs PIC18F45K22-E/P)
- nanoWatt XLP deep-sleep current under 50 nA (vs PIC18F43K22-E/P)
- Through-hole DIP-40 form factor for prototyping and field serviceability (vs PIC18LF43K22-I/ML (QFN-44))
Design Notes
The PIC18LF43K22-E/P requires a 1.8 V – 3.6 V supply rail. Place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pair (pins 11/12 and 32/31), and add a bulk 10 µF tantalum or ceramic capacitor on the main supply rail. A 10 kΩ pull-up on MCLR (pin 1) ensures a clean reset during power-up; if in-circuit programming is required, route PGC (RB6) and PGD (RB7) to dedicated ICSP header pins without series resistors.
Do not exceed 3.6 V on any VDD pin or apply a 5 V signal to any I/O pin when the MCU is running on the LF core. Configuration bits must be set BEFORE the first instruction executes; an unconfigured PIC18 typically runs with default oscillator and IO settings that may not match your design. Watch out for legacy MPLAB C18 / HI-TECH C source code that targets older PIC18 parts - the PIC18 K22 family uses slightly different register names for MSSP and EUSART compared to PIC18F4520.
Estimated: At 64 MHz CPU clock and full I/O toggling, the PIC18LF43K22-E/P typically draws ~10 mA active, ~30 µA idle, and < 50 nA deep-sleep (per datasheet). With a 3.3 V supply, active power dissipation is approximately 33 mW, well within the 40-pin PDIP thermal envelope and no heatsink required. Designers targeting the automotive -40 °C to +125 °C E-grade should still validate junction temperature under worst-case duty cycle, especially when driving high-capacitive-load signals.
Route the 32 kHz crystal traces (SOSCO/SOSCI on RC0/RC1) as short as possible and guard them with a ground ring to minimize coupling from switching I/O. Place the HF crystal (OSC1/OSC2 on pins 13/14) close to the MCU with a ground flood underneath. For mTouch capacitive sensing, dedicate one I/O per sensor electrode and avoid running high-frequency signals adjacent to the touch lines; follow Microchip's mTouch layout guide (AN1250) for PCB guard-ring and ground-separation recommendations.
Compliance Information
RoHS and REACH compliance confirmed via distributor listings (DigiKey, Mouser). LF grade is not AEC-Q100 qualified - choose PIC18F43K22-E/P for automotive.