Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

PIC18F45K22-I

PIC18 XLP MCU, 32KB Flash, 1.5KB RAM, 256B EEPROM, 28-ch 10-bit ADC, 5 PWM, 2 comp, dual SPI/I2C, EUSART/LIN, CTMU, HLVD, 64MHz, 40/44-pin

Effective inventoryPCS

9320
in stock

SpecificationsTechnical data

Manufacturer part

PIC18F45K22-I

Package

40-pin PDIP / 44-pin TQFP / QFN

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The PIC18F45K22-I is a 40-pin, 8-bit high-performance low-power Flash microcontroller from Microchip Technology featuring the PIC18 architecture with XLP (eXtreme Low-Power) technology. With 16 MIPS performance and a 31-level deep hardware stack, this feature-rich MCU offers 32KB (16K x 16) of Flash program memory, 1536 bytes of RAM, and 256 bytes of data EEPROM. Operating at up to 64 MHz across a wide voltage range of 2.3V to 5.5V, it integrates a 28-channel 10-bit ADC, two rail-to-rail analog comparators, two CCP and three ECCP modules, dual MSSP (SPI/I2C), one EUSART with LIN support, a CTMU for capacitive touch, a 5-bit DAC, and an internal 16 MHz oscillator with PLL. As the 40-pin version of the popular K22 family, the PIC18F45K22 provides 36 I/O pins, 28 ADC channels, and full ECCP/CCP PWM capabilities, making it ideal for industrial control, automotive applications, consumer appliances, battery-powered devices, and sensor interfaces requiring high analog integration in a mid-size package.

Key Specifications

Core Architecture 8-bit PIC18 RISC Architecture
Program Memory 32KB Flash (16K x 16 words)
RAM 1536 bytes (1.5 KB)
Data EEPROM 256 bytes
Maximum Speed 64 MHz (16 MIPS)
Operating Voltage 2.3V to 5.5V
I/O Pins 36
ADC 10-bit, 28 channels with auto-acquisition
Comparators 2 rail-to-rail analog comparators
DAC 5-bit rail-to-rail DAC
Timers 4 x 16-bit + 3 x 8-bit = 7 total timers
PWM 2 x CCP + 3 x ECCP = 5 total PWM modules
Communication EUSART/LIN, 2 x SPI, 2 x I2C (dual MSSP)
Capacitive Touch CTMU module (Charge Time Measurement Unit)
Voltage Reference FVR: 1.024V / 2.048V / 4.096V
HLVD Programmable High/Low-Voltage Detection, 16 levels
Internal Oscillator 16 MHz factory calibrated +/-1%, 31 kHz-16 MHz
PLL 4x PLL for up to 64 MHz
Low Power XLP nanoWatt, 100 nA Sleep typical
Stack Levels 31-level software accessible hardware stack
Hardware Multiplier 8 x 8 single-cycle hardware multiplier
Debug In-Circuit Debug (ICD)
Operating Temperature -40C to +85C (Industrial)
Package 40-pin PDIP / 44-pin TQFP / QFN

Features

  • C compiler optimized PIC18 RISC architecture, 16 MIPS at 64 MHz
  • 31-level deep software accessible hardware stack
  • 8 x 8 single-cycle hardware multiplier
  • Priority levels for interrupts
  • Linear program memory addressing to 64 KB
  • Linear data memory addressing to 4 KB
  • eXtreme Low-Power (XLP) nanoWatt technology
  • Sleep mode: 100 nA; WDT: 500 nA; T1OSC: 500 nA @ 32kHz
  • 28-channel 10-bit ADC with auto-acquisition, conversion during Sleep
  • Two rail-to-rail analog comparators
  • 5-bit rail-to-rail resistive DAC with FVR support
  • Fixed Voltage Reference (FVR): 1.024V, 2.048V, 4.096V
  • Three Enhanced CCP (ECCP): PWM steering, dead time, auto-shutdown
  • Two standard CCP (Capture/Compare/PWM) modules
  • CTMU for capacitive touch sensing (buttons, sliders, touchscreen)
  • Programmable High/Low-Voltage Detection (HLVD): 16 levels
  • Dual MSSP modules: 2x SPI + 2x I2C (Master/Slave with address mask)
  • Enhanced USART (EUSART): RS-232/RS-485/LIN 2.0, auto-baud detect
  • Internal 16 MHz oscillator factory calibrated to +/-1%
  • 4x Phase Lock Loop (PLL) for 64 MHz operation
  • Fail-Safe Clock Monitor and Two-Speed Oscillator Start-up
  • Peripheral Module Disable (PMD) for power optimization
  • Seven timer modules: 4 x 16-bit + 3 x 8-bit
  • Programmable Brown-out Reset (BOR)
  • Extended Watchdog Timer (WDT) with on-chip oscillator
  • Self-programmable under software control
  • In-Circuit Serial Programming (ICSP) and In-Circuit Debug (ICD)
  • 36 I/O pins with 25 mA sink/source capability
  • Programmable code protection
  • Recommended for Automotive Design (AEC-Q100)

Applications

  • Industrial control systems and sensor interfaces
  • Automotive body electronics and LIN bus nodes
  • Consumer electronics and smart appliances
  • Motor control and power management
  • Multi-channel data acquisition systems
  • Home automation and IoT device endpoints
  • Medical devices and instrumentation
01PIC18F45K22-I · Product Introduction
The PIC18F45K22 is a 40/44-pin high-performance 8-bit Flash microcontroller from Microchip Technology featuring the PIC18 architecture with eXtreme Low-Power (XLP) technology. As the 40-pin flagship of the popular K22 family, it offers 32KB (16K x 16) of Flash program memory, 1536 bytes of RAM, and 256 bytes of data EEPROM, operating at up to 64 MHz (16 MIPS) across 2.3V to 5.5V. The extensive peripheral set includes a 28-channel 10-bit ADC with auto-acquisition capability, two rail-to-rail analog comparators, a 5-bit DAC, three Enhanced CCP (ECCP) modules, two standard CCP modules, and a CTMU module for capacitive touch sensing. Dual MSSP modules provide two SPI and two I2C interfaces, while an EUSART handles UART/LIN communication with auto-baud detect. The HLVD module monitors supply voltage with 16 programmable levels. The internal 16 MHz oscillator with 4x PLL provides 64 MHz operation. XLP technology delivers industry-leading low power with 100 nA Sleep current. With 36 I/O pins, automotive AEC-Q100 qualification, and comprehensive analog/digital peripherals, the PIC18F45K22 is a versatile workhorse for industrial, automotive, consumer, and medical applications requiring high analog channel count and multiple communication interfaces. Available in PDIP-40, TQFP-44, and QFN-44 packages with industrial temperature range.
02PIC18F45K22-I · Working Principle
The PIC18F45K22 operates on the PIC18 RISC architecture with 16-bit wide instructions and 8-bit wide data path, delivering 16 MIPS at 64 MHz. The 31-level hardware stack and 8×8 hardware multiplier provide robust processing capability. XLP technology enables ultra-low power consumption across all operating modes. The 28-channel 10-bit ADC uses SAR architecture with auto-acquisition, selectable voltage references (VDD, FVR at 1.024/2.048/4.096V), and Sleep-mode conversion capability for low-power data acquisition. Three ECCP and two CCP modules provide five PWM channels with enhanced features including PWM steering, dead-band control, and auto-shutdown for motor control and power applications. The CTMU enables precise capacitive touch sensing without external components. Dual MSSP modules handle two independent SPI/I2C channels, while the EUSART provides UART/LIN communication with auto-baud detection. The HLVD module monitors supply voltage for graceful power-fail handling. Seven timer modules provide flexible timing resources. Peripheral Module Disable (PMD) allows selectively powering down unused peripherals to minimize power consumption. Power management includes multiple low-power modes, programmable BOR, and Extended WDT for reliable operation.
03PIC18F45K22-I · Pin Description
Pin (PDIP-40) Name Type Function
1 MCLR/VPP/RE3 I/P Master Clear / VPP / Port E I/O
2 RA0/AN0/ULPWU I/O Port A I/O / ADC0 / Ultra Low-Power Wake-up
3 RA1/AN1 I/O Port A I/O / ADC Channel 1
4 RA2/AN2/VREF-/CVREF I/O Port A I/O / ADC2 / Vref- / Comp Vref
5 RA3/AN3/VREF+ I/O Port A I/O / ADC3 / Vref+
6 RA4/T0CKI/C1OUT I/O Port A I/O / T0CKI / Comp1 Output
7 RA5/SS/AN4/C2OUT I/O Port A I/O / SPI SS / ADC4 / Comp2 Output
8 RE0/RD/AN5 I/O Port E I/O / PSP Read / ADC5
9 RE1/WR/AN6 I/O Port E I/O / PSP Write / ADC6
10 RE2/CS/AN7 I/O Port E I/O / PSP CS / ADC7
11 VSS P Ground Reference
12 RD0/PSP0/AN8 I/O Port D I/O / PSP0 / ADC8
13 RD1/PSP1/AN9 I/O Port D I/O / PSP1 / ADC9
14 RD2/PSP2/AN10 I/O Port D I/O / PSP2 / ADC10
15 RD3/PSP3/AN11 I/O Port D I/O / PSP3 / ADC11
16 RC0/T1OSO/T1CKI I/O Port C I/O / T1OSO / Timer1 Clock
17 RC1/T1OSI/CCP2 I/O Port C I/O / T1OSI / CCP2
18 RC2/CCP1/P1A I/O Port C I/O / CCP1 / PWM1A
19 RC3/SCK1/SCL1 I/O Port C I/O / SPI1 Clock / I2C1 Clock
20 RD4/PSP4/AN12 I/O Port D I/O / PSP4 / ADC12
21 RD5/PSP5/AN13 I/O Port D I/O / PSP5 / ADC13
22 RD6/PSP6/AN14 I/O Port D I/O / PSP6 / ADC14
23 RD7/PSP7/AN15 I/O Port D I/O / PSP7 / ADC15
24 RC4/SDI1/SDA1 I/O Port C I/O / SPI1 DI / I2C1 Data
25 RC5/SDO1/TX1/CK1 I/O Port C I/O / SPI1 DO / EUSART1 TX/CK
26 RC6/TX1/CK1 I/O Port C I/O / EUSART1 TX/Clock
27 RC7/RX1/DT1 I/O Port C I/O / EUSART1 RX/Data
28 VSS P Ground Reference
29 VDD P Positive Supply Voltage
30 RB0/INT/CCP3/P1B I/O Port B I/O / Ext Int / CCP3 / PWM1B
31 RB1/SDO2/CCP4/P1C I/O Port B I/O / SPI2 DO / CCP4 / PWM1C
32 RB2/SCK2/SCL2/CCP5/P1D I/O Port B I/O / SPI2 CK / I2C2 CK / CCP5 / PWM1D
33 RB3/SDI2/SDA2/CCP6/PGM I/O Port B I/O / SPI2 DI / I2C2 D / CCP6 / LVP
34 RB4/SS2/CCP7 I/O Port B I/O / SPI2 SS / CCP7
35 RB5/RX2/DT2/C12IN0- I/O Port B I/O / EUSART2 RX / Comp Neg In 0
36 RB6/ICSPCLK/C12IN1- I/O Port B I/O / ICSP Clock / Comp Neg In 1
37 RB7/ICSPDAT/C2IN+/C1IN+ I/O Port B I/O / ICSP Data / Comp Pos In
38 OSC1/CLKIN/RA7 I Oscillator Input / Clock Input / Port A I/O
39 OSC2/CLKOUT/RA6 O Oscillator Output / Clock Output / Port A I/O
40 VDD P Positive Supply Voltage
04PIC18F45K22-I · Application Scenarios
  • Industrial sensor interfaces and process controllers
  • Automotive body electronics and LIN bus nodes
  • Smart consumer appliances and home automation
  • Multi-channel motor control and power management
  • High-channel count data acquisition systems
  • Medical devices and instrumentation
  • IoT gateways with dual communication interfaces
05PIC18F45K22-I · Alternative Models
Manufacturer Part Number Package Notes
Microchip PIC18LF45K22-I 40-pin Low-voltage XLP, 1.8-3.6V, same features
Microchip PIC18F46K22-I 40-pin 64KB Flash, 3.8KB RAM, 1KB EEPROM
Microchip PIC18F25K22-I 28-pin 32KB Flash, 17-ch ADC, 28-pin package
Microchip PIC18F45K42-I 40-pin Newer K42 gen, 12-bit ADC, DMA, vectored interrupts
Microchip PIC18F47K42-I 48-pin 128KB Flash, 12-bit ADC, 47 I/O, latest gen

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

PIC16F677-I

8-bit PIC MCU, 3.5KB Flash, 128B RAM, 256B EEPROM, 12-ch 10-bit ADC, SPI/I2C, nanoWatt

Brand: MICROCHIPPackage: 20-pin PDIP / SOIC / SSOP / QFN

IN STOCK: 6485pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TMS320F2810PBKA

C2000 Delfino DSP controller, 150MHz, 128KB Flash, BGA-179

Brand: TIPackage: BGA-179 (16 x 16 mm, PBK package)

IN STOCK: 3124pcs

Cargo cycle: 3~7 Days

The minimum order is 1

AT89S51

8-bit 8051 MCU, 4KB ISP Flash, 128B RAM, 32 I/O, 2 timers, UART, watchdog timer, dual DPTR, 33MHz, ISP programming, PDIP-40, Atmel AT89S51.

Brand: Atmel (Microchip)Package: PDIP-40 / TQFP-44 / PLCC-44

IN STOCK: 15000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC12F1840-I/SN

8-bit PIC12F MCU, 7KB Flash, 512B RAM, 8-SOIC, industrial

Brand: MICROCHIPPackage: SOIC-8 (4.9 x 3.9 mm, SN package)

IN STOCK: 6835pcs

Cargo cycle: 3~7 Days

The minimum order is 1

DSPIC33EP128MC204-I/PT

16-bit digital signal controller, 128KB Flash, 16KB RAM, TQFP-44, industrial

Brand: MICROCHIPPackage: TQFP-44 (10 x 10 mm)

IN STOCK: 13189pcs

Cargo cycle: 3~7 Days

The minimum order is 1

2N7002

N-ch MOSFET, 60V, 115mA, 7.5Ω, SOT-23-3, logic-level gate, general-purpose small-signal switch

Brand: OnsemiPackage: SOT-23-3 (TO-236, SC-59)

IN STOCK: 15000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.