EmbeddedRelated.com
The 2026 Embedded Online Conference
PIC18F45K20-I/P

MCHPPIC18F45K20-I/P

Microchip Technology
8-bit Microcontrollers - MCU 32KB Flash 1536B RAM 25 I/O 8B
169 in stock

Overview

The PIC18F45K20-I/P is a high-performance 8-bit microcontroller featuring 32KB of Flash memory and 1.5KB of RAM in a 40-pin PDIP package. It utilizes Microchip NanoWatt XLP technology for extreme low-power consumption and operates at speeds up to 64MHz. This MCU is designed with a C-compiler optimized architecture and includes a 16MHz internal oscillator with 4X PLL for flexible clocking options.

Why Choose This Part

This microcontroller offers a high level of peripheral integration, including a hardware multiplier for faster math operations and priority-level interrupts for responsive real-time control. It supports a wide operating voltage range from 1.8V to 3.6V, making it compatible with modern low-voltage systems while maintaining 8-bit simplicity.

Applications

Battery-Powered Handheld Devices
Utilizes XLP technology for deep sleep currents down to 50nA to extend battery life in portable instrumentation.
Industrial Sensor Interfaces
Uses the 10-bit ADC and EUSART/I2C/SPI interfaces to collect and transmit data from various industrial transducers.
Educational and Prototyping Projects
The PDIP package allows for easy use in breadboards and sockets during the early stages of firmware development.
Home Automation Controllers
Manages light-duty control tasks and communication between smart home nodes using integrated PWM and serial peripherals.

Key Specifications

Speed 64MHz
RAM Size 1.5K x 8
Core Size 8-Bit
EEPROM Size 256 x 8
Peripherals Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Connectivity I2C, SPI, UART/USART
Mounting Type Surface Mount
Number of I/O 35
Core Processor PIC
Package / Case 44-TQFP
Data Converters A/D 14x10b
Oscillator Type Internal
Program Memory Size 32KB (16K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 44-TQFP (10x10)
Voltage - Supply (Vcc/Vdd) 1.8V ~ 3.6V

Getting Started

To begin development, use the MPLAB X IDE and the XC8 compiler. A hardware programmer such as the MPLAB PICkit 4 or MPLAB ICD 4 is required for In-Circuit Serial Programming (ICSP) via the device's dedicated pins.

PIC18F45 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Flash RAM I/O Pins Package ADC/DAC Connectivity Stock
PIC18F45K20-I/P (this part) 32KB 1.5K 35 TQFP-44 A/D 14x10b I2C, SPI, UART/USART 169
PIC18F45K22-I/PT 32KB 1.5K 35 TQFP-44 A/D 30x10b I2C, SPI, UART/USART 2,240
PIC18F45Q10-E/MPVAO 32KB 2.25K 36 VFQFN-40 A/D 35x10b SAR; D/.. I2C, LINbus, SPI, .. 503
Also available as: PIC18F45K50-I/PT, PIC18F45K22-E/PT

Also Consider

PIC18F45K22-I/P MCHPMicrochip Technology - Offers a wider 1.8V to 5.5V operating range and additional hardware peripherals compared to the K20 series.
ATmega328P MCHPMicrochip Technology - An alternative 8-bit architecture in a PDIP package with extensive community support and similar 32KB flash capacity.
The 2026 Embedded Online Conference