PIC18F46K22-E/PT - 64KB Flash 8-bit XLP MCU | Microchip
MPN: PIC18F46K22-E/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.78 | $37.80 |
| 100 | $3.36 | $336.00 |
| 500 | $2.94 | $1,470.00 |
| 1,000 | $2.6 | $2,600.00 |
PIC18F46K22-E/PT Overview
An 8-bit microcontroller (MCU) is a programmable computing chip that executes instructions fetched from non-volatile memory and is typically used for embedded control tasks. Within Microchip's hierarchy, the PIC18F46K22 sits in the PIC18 family of high-performance 8-bit microcontrollers, which sit beneath the PIC® brand umbrella alongside the 16-bit dsPIC® and 32-bit SAM families. The 'K' in the part number denotes the 'K' generation (low-power, high-performance), and the '22' denotes the Flash/RAM/EEPROM/peripheral tier. The PIC18F family targets cost-sensitive embedded designs that need more capability than the PIC10/12/16 baseline while remaining simpler than ARM Cortex devices to program and deploy.
Key features of the PIC18F46K22-E/PT include nanoWatt XLP™ extreme-low-power technology with multiple sleep modes and a typical idle current of around 20 µA, plus an integrated 12-bit ADC with up to 28 channels. The device supports 2.5V, 3.3V, and 5V supply operation, providing flexibility across different power domains. Hardware peripherals include EUSART, MSSP (SPI/I2C), PWM, comparators, and capture/compare modules, enabling a wide range of motor, sensor, and connectivity tasks.
Architecturally the PIC18F46K22 uses an enhanced Harvard 8-bit core with a 16-bit instruction word. Internal Phase-Locked Loop (PLL) synthesizes the 48 MHz system clock from a lower-frequency primary oscillator, which lets the part run from cheap 4 MHz crystals while still achieving maximum instruction throughput. The integrated nanoWatt XLP technology adds software-controlled doze and sleep modes, deep sleep current down to roughly 20 nA, and a low-power RTCC, making the part attractive for battery-powered and energy-harvesting designs.
Typical applications for the PIC18F46K22-E/PT include industrial sensor and motor control, automotive body and HVAC modules, low-power IoT edge nodes, consumer appliances, and human-interface panels driven by its 36 I/O pins and PWM/ADC resources. When designing with this device, ensure the MCLR reset circuit uses the recommended 10 kΩ pull-up + 1 nF transient filter, and place a 0.1 µF decoupling capacitor within 5 mm of each VDD/VSS pair. The PLL configuration bits must be correctly set to avoid start-up lockups, and unused I/O pins should be configured as outputs low to minimize in-application current draw.
This page synthesizes distributor pricing, same-brand drop-in alternatives, and practical design notes not found in the manufacturer datasheet, helping engineers select between the -E (extended) and -I (industrial) temperature grades and compatible variants across the PIC18F family.
Drop-in alternatives for PIC18F46K22-E/PT — 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 PIC18F46K22-E/PT (same form factor and footprint) — differing in Package, ADC, Operating Temperature, Core Architecture, EEPROM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F46K22-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F45K22-E/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F46K22-E/MV
✅ Drop-In✓ In Stock
$2.72 / Unit
View Datasheet →PIC18F46K20-E/PT
✅ Drop-In✓ In Stock
$3.1 / Unit
View Datasheet →PIC18F46J53T-I/PT
✅ Drop-In✓ In Stock
$2.78 / Unit
View Datasheet →PIC18F46J13-I/ML
✅ Drop-In✓ In Stock
$4.38 / Unit
View Datasheet →PIC18F46K22-E/PT Maximum Ratings & Electrical Characteristics
| Architecture | 8-bit PIC18 Harvard core |
| Instruction Set | 8-bit data, 16-bit instruction word (enhanced) |
| Program Memory (Flash) | 64 KB (32K x 16) |
| RAM | 3.8 KB |
| EEPROM | 1 KB |
| Maximum CPU Speed | 48 MHz (with PLL, 12 MIPS) |
| Supply Voltage | 2.5 V / 3.3 V / 5 V (per datasheet supply configuration; automotive 4.2-5.5 V) |
| I/O Pins | 36 |
| ADC | 12-bit, up to 28 channels |
| PWM Modules | Yes (CCP/ECCP) |
| Communication Peripherals | EUSART, MSSP (SPI / I2C) |
| Timers | Multiple 8/16-bit timers |
| Low-Power Technology | nanoWatt XLP |
| Operating Temperature Range | -40 C to +125 C (extended grade -E) |
| Package | 44-pin TQFP (10x10 mm) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC18F46K22-E/PT Pin Configuration
| Pin 1 | RA0/AN0/C1IN0/C2IN0+ — PORTA bit 0; analog input 0; analog comparator input |
| Pin 2 | RA1/AN1/C1IN1/C2IN1- — PORTA bit 1; analog input 1; analog comparator input |
| Pin 3 | RA2/AN2/C1IN2+/CVREF+ — PORTA bit 2; analog input 2; comparator reference |
| Pin 4 | RA3/AN3/C1IN3-/VREF+ — PORTA bit 3; analog input 3; ADC voltage reference |
| Pin 5 | RA4/TOCKI/CMP2 — PORTA bit 4; Timer0 clock input; comparator 2 output |
| Pin 6 | RA5/AN4/C2IN4-/HLVDIN — PORTA bit 5; analog input 4; high/low voltage detect |
| Pin 7 | RA6/OSC2/CLKO — PORTA bit 6; oscillator output; clock output |
| Pin 8 | RA7/OSC1/CLKI — PORTA bit 7; oscillator input; clock input |
| Pin 9 | RE0/AN5/C1IN5/C2IN5 — PORTE bit 0; analog input 5 |
| Pin 10 | RE1/AN6/C1IN6/C2IN6 — PORTE bit 1; analog input 6 |
| Pin 11 | RE2/AN7/C1IN7/C2IN7 — PORTE bit 2; analog input 7 |
| Pin 12 | VDD — Positive supply (2.5 V/3.3 V/5 V) |
| Pin 13 | VSS — Digital ground reference |
| Pin 14 | RB0/AN12/C1IN8+/FLT0 — PORTB bit 0; analog input 12; PWM fault input |
| Pin 15 | RB1/AN10/C1IN3-/CSRC — PORTB bit 1; analog input 10 |
| Pin 16 | RB2/AN8/C1IN2-/P1B — PORTB bit 2; analog input 8; PWM1 output B |
| Pin 17 | RB3/AN9/C1IN1-/P1C — PORTB bit 3; analog input 9; PWM1 output C |
| Pin 18 | RB4/AN11/C1IN4-/P1D — PORTB bit 4; analog input 11; PWM1 output D |
| Pin 19 | RB5/AN13/C1IN5+/CCP5 — PORTB bit 5; analog input 13; CCP5 input/output |
| Pin 20 | RB6/PGC — PORTB bit 6; ICSP clock |
| Pin 21 | RB7/PGD — PORTB bit 7; ICSP data |
| Pin 22 | VDD — Positive supply |
| Pin 23 | VSS — Digital ground reference |
| Pin 24 | RC0/P1D/T1OSO/T1CKI — PORTC bit 0; PWM1 output D; Timer1 oscillator output |
| Pin 25 | RC1/P1C/SOSC1/ECCP2 — PORTC bit 1; PWM1 output C; Timer1 oscillator input; ECCP2 |
| Pin 26 | RC2/P1B/CCP1 — PORTC bit 2; PWM1 output B; CCP1 |
| Pin 27 | RC3/P1C/REF+/SCL1 — PORTC bit 3; PWM1 output C; ADC VREF+; I2C clock |
| Pin 28 | RC4/P1D/SDA1 — PORTC bit 4; PWM1 output D; I2C data |
| Pin 29 | RC5/CCP3+/P3A — PORTC bit 5; CCP3 I/O; PWM3 output A |
| Pin 30 | RC6/CCP4/P3B — PORTC bit 6; CCP4 I/O; PWM3 output B |
| Pin 31 | RC7/CCP5/P3C — PORTC bit 7; CCP5 I/O; PWM3 output C |
| Pin 32 | RD0/PSP0 — PORTD bit 0; parallel slave port bit 0 |
| Pin 33 | RD1/PSP1 — PORTD bit 1; parallel slave port bit 1 |
| Pin 34 | RD2/PSP2 — PORTD bit 2; parallel slave port bit 2 |
| Pin 35 | RD3/PSP3 — PORTD bit 3; parallel slave port bit 3 |
| Pin 36 | RD4/PSP4/ECCP2/SDO2 — PORTD bit 4; PSP4; ECCP2; SPI2 data out |
| Pin 37 | RD5/PSP5/SDI2 — PORTD bit 5; PSP5; SPI2 data in |
| Pin 38 | RD6/PSP6/SCK2 — PORTD bit 6; PSP6; SPI2 clock |
| Pin 39 | RD7/PSP7/SS2 — PORTD bit 7; PSP7; SPI2 slave select |
| Pin 40 | MCLR/VPP/RE3 — Master clear reset; ICSP programming voltage; PORTE bit 3 |
| Pin 41 | AVDD — Analog supply for ADC |
| Pin 42 | AVSS — Analog ground reference |
| Pin 43 | OSC1/RA7/CLKIN — Oscillator input |
| Pin 44 | OSC2/RA6/CLKOUT — Oscillator output; clock output |
Typical Applications
PIC18F46K22-E/PT is suitable for 6 applications: Industrial Sensor Hubs, Automotive Body and HVAC Modules, Low-Power IoT Edge Nodes, Consumer Appliance Control Panels, Small Motor and Fan Drivers, Human-Machine Interface (HMI) Modules.
Industrial Sensor Hubs
The PIC18F46K22-E/PT fits industrial sensor hubs because its 64 KB Flash comfortably holds protocol stacks (Modbus RTU, IO-Link, proprietary) while its 12-bit ADC with up to 28 channels digitises multiple sensors at one MCU. The -40C to +125C extended temperature grade eliminates the need for specialised thermally-validated enclosures in factory-floor cabinets. Pairing the UART channels for RS-485 with the MSSP for SPI sensor front-ends removes an external transceiver for many small sensor boards.
Recommended
Automotive Body and HVAC Modules
In automotive body controllers and HVAC panels the PIC18F46K22-E/PT is chosen for its AEC-Q100 stress profile (via the VAO catalog SKU) and extended -40C to +125C operating range. The PWMs drive LED backlights and small brushless motors for damper actuators, while the 12-bit ADC reads temperature, humidity, and potentiometer inputs. The embedded EUSART serves LIN-bus connectivity to other body-control ECUs, a standard requirement in modern vehicle networks.
Recommended
Low-Power IoT Edge Nodes
Battery-powered wireless sensor nodes benefit from the PIC18F46K22-E/PT's nanoWatt XLP technology, which drops deep-sleep current to roughly 20 nA with retention. The 1 KB EEPROM stores calibration and node identity without battery backup, while the MSSP serves a sub-GHz radio such as an SPI-driven LoRa or proprietary transceiver. The extended temperature grade enables outdoor solar-powered deployment without a heater, reducing BOM cost and complexity.
Recommended
Consumer Appliance Control Panels
The PIC18F46K22-E/PT supports consumer appliance control panels where its 36 I/O directly drive key matrices, seven-segment LEDs, and capacitive-touch pads via the CTMU. Its 64 KB Flash holds full status-mode firmware plus diagnostics routines, and the PWM modules control buzzer and small motor loads. Hardware peripherals including EUSART provide debug telemetry over UART while the extended temperature grade accepts the heat of kitchen and laundry enclosures.
Recommended
Small Motor and Fan Drivers
The PIC18F46K22-E/PT's CCP/ECCP PWM modules combined with its 12-bit ADC and analog comparators close feedback loops for small brushless DC and brushed-DC motors. The PIC18F46K22-E/PT's extended temperature grade suits motor housings that run hot under continuous loading. Add an external gate driver for H-bridge commutation; the MCU handles sequencing, current sense ADC, and fault detection in firmware with deterministic interrupt latency.
Recommended
Human-Machine Interface (HMI) Modules
For HMI boards with displays, keypads, and LEDs, the PIC18F46K22-E/PT delivers 64 KB Flash to drive segmented UI state machines plus graphics, while 3.8 KB of RAM handles display buffers. The MSSP serves an SPI display controller, the EUSART provides RS-232 service diagnostics, and PWMs set LED dimming. The -40C to +125C grade supports panel-mount applications that experience heat from neighboring power stages and sunlight.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F46K22-E/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F46K22-I/PT | PIC18F45K22-E/PT | PIC18F46K22-E/MV | PIC18F46K20-E/PT |
|---|---|---|---|---|---|
| Package | 44-TQFP (10x10 mm) | 44-TQFP (10x10 mm) - identical | 44-TQFP (10x10 mm) - identical | 44-TQFP (10x10 mm) - identical | 44-TQFP (10x10 mm) - identical |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 64 KB | 64 KB | 32 KB | 64 KB | 64 KB |
| Operating Temperature Range | -40 C to +125 C (extended) | -40 C to +85 C (industrial) | -40 C to +125 C (extended) | -40 C to +125 C (extended) | -40 C to +125 C (extended) |
| Maximum Clock Frequency | 48 MHz (12 MIPS) | 48 MHz | 48 MHz | 48 MHz | 64 MHz (16 MIPS) |
| RAM | 3.8 KB | 3.8 KB | 1.5 KB | 3.8 KB | 2 KB |
| I/O Pins | 36 | 36 | 36 | 36 | 36 |
| ADC Channels | Up to 28 (12-bit) | Up to 28 (12-bit) | Up to 28 (12-bit) | Up to 28 (12-bit) | Up to 28 (12-bit) |
| ADC Bit Resolution | 12-bit | 12-bit | 10-bit | 12-bit | 10-bit |
| USB Peripheral | No | No | No | No | No |
Key Differentiators
- Extended-temperature grade on the K22 silicon (vs PIC18F46K22-I/PT)
- 64 KB Flash vs 32 KB on the small-footprint sibling (vs PIC18F45K22-E/PT)
- K-series 8-bit core with 12-bit ADC vs K20-series 10-bit ADC (vs PIC18F46K20-E/PT)
Design Notes
Estimated with VDD=5 V at full CPU activity: provide one 0.1 µF ceramic bypass capacitor within 5 mm of each VDD/VSS pin pair; for ADC noise-sensitive designs add a 10 µF bulk capacitor near the AVdd pin. The nanoWatt XLP deep-sleep current is approximately 20 nA with retention; use the RTCC configured from Timer1 to keep wake-up events low-power without external RTC chips.
Estimated with a 4-layer 1.6 mm PCB and 8.5 mm² thermal pad to the GND pour: the 44-pin TQFP (10x10 mm) dissipates up to approximately 600 mW comfortably in still air at 25 C ambient. Always route ICSP signals PGC/PGD with no series resistors longer than 25 mm from the connector to avoid programming failures in production batches.
A frequent mistake is configuring the PLL after switching to a low-FOSC source, leaving the part locked off the required 48 MHz operation - always follow Microchip's datasheet PLL configuration sequence and verify with the CONFIG1H register. Another frequent issue is leaving unused I/O pins floating; configure all unused pins as outputs tied low to minimise in-application supply current. The MCLR pin requires the recommended 10 kΩ pull-up plus 1 nF filter; bypassing MCLR is unsafe even in production.
Compliance Information
Automotive-grade qualification is provided on the catalog SKU PIC18F46K22-E/PTVAO; the standard PIC18F46K22-E/PT is not AEC-Q100 qualified. RoHS compliance per Microchip product page.