PIC18F45K22-E/ML - 32KB Flash 8-Bit MCU 48MHz QFN-44 | Microchip
Артикул: PIC18F45K22-E/ML ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $3.45 | $3,45 |
| 10 | $3.1 | $31,00 |
| 100 | $2.75 | $275,00 |
| 500 | $2.41 | $1.205,00 |
| 1.000 | $2.1 | $2.100,00 |
| 3.000 | $1.78 | $5.340,00 |
PIC18F45K22-E/ML Обзор
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory (Flash), volatile data memory (SRAM), and configurable peripherals. The PIC18F family sits in the broader 8-bit MCU hierarchy as an enhanced mid-range architecture with a 16-bit instruction word, C-optimized compiler support, and advanced peripherals; it belongs to the larger class of microcontrollers within the power management & embedded control semiconductor category. XLP nanoWatt technology specifically targets ultra-low sleep current, making this family well suited to battery-powered products.
Key differentiating features include a 12-bit A/D converter with up to 30 input channels, two analog comparators with selectable references, three ECCP/SCCP PWM/capture modules, two MSSP peripherals for SPI/I2C, two enhanced USART modules, and an on-chip mTouch capacitive sensing module. The integrated CTMU provides accurate time measurement for capacitive touch and general purpose analog functions, and the EUSART auto-baud detection simplifies LIN-connected designs.
The PIC18F45K22 uses an enhanced Harvard RISC architecture with hardware multiply, 31-level hardware stack, and 1,000,000 erase/write cycle Flash endurance. Internal oscillator options (8 selectable frequencies from 31 kHz to 16 MHz) plus PLL allow flexible clocking without external crystals, reducing BOM cost and board area. The device also features an on-chip voltage regulator allowing direct 5 V operation from a single supply.
Typical applications include consumer white goods and HVAC controls, low-power battery-operated sensor nodes, IoT edge nodes, automotive body and interior electronics (with PIC18F45K22-I/ML or automotive-grade derivatives for full AEC-Q100 deployments), industrial automation human-machine interfaces (HMIs), capacitive touch user interfaces, and USB-to-UART bridges via the EUSART. The wide supply range makes it drop-in friendly on both 3.3 V and 5 V rails.
Designers should note that the QFN-44 (8x8 mm) exposed pad must be soldered to the PCB ground plane to meet thermal and electrical performance; do not leave the EP floating. For new designs Microchip recommends the newer PIC18F45Q10 family, which offers updated peripherals and improved current consumption, but the PIC18F45K22-E/ML remains fully active and broadly stocked for legacy designs.
This page synthesizes current distributor pricing and stock, drop-in alternatives in the same QFN-44 package, and practical design notes drawn from the manufacturer datasheet - engineering context not found in the datasheet alone.
Аналоги без доработки для PIC18F45K22-E/ML — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F45K22-E/ML (тот же форм-фактор и посадочное место) — отличается по Package, Program Memory (Flash), Timers, ADC, Operating Temperature.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18F45K22-I/ML
✅ Прямая замена✓ В наличии
$2.65 / шт.
Открыть даташит →PIC18F46K22-I/ML
✅ Прямая замена✓ В наличии
$3.08 / шт.
Открыть даташит →PIC18F44K22-I/ML
✅ Прямая замена✓ В наличии
$2.1 / шт.
Открыть даташит →PIC18F43K22-I/ML
✅ Прямая замена✓ В наличии
$1.95 / шт.
Открыть даташит →PIC18F45K22-E/P
✅ Прямая замена✓ В наличии
$2.78 / шт.
Открыть даташит →PIC18F45K22-E/ML Максимальные параметры и электрические характеристики
| Core Architecture | PIC18 8-bit Enhanced Harvard RISC |
| Program Memory (Flash) | 32 KB (16K x 16 instructions) |
| Data SRAM | 1.5 KB (1536 bytes) |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 48 MHz (12 MIPS) |
| Supply Voltage Range | 2.3 V to 5.5 V (4.2 V to 5.5 V for -E variant) |
| I/O Pins | 36 |
| ADC | 12-bit, up to 30 channels |
| PWM Modules | 3 (ECCP + 2x ECCP/SCCP) |
| Analog Comparators | 2 |
| UART / EUSART | 2 (with auto-baud) |
| SPI / I2C (MSSP) | 2 |
| Timers | 5 (16-bit and 8-bit) |
| Диапазон рабочих температур | -40C to +125C (Extended, -E suffix) |
| Корпус | QFN-44 (8x8 mm) with exposed thermal pad |
| Тип монтажа | Surface Mount |
| Уровень MSL | 3 (168 hours) |
| Статус RoHS | Compliant |
| Lead-Free | Yes |
| Low-Power Technology | nanoWatt XLP |
Конфигурация выводов PIC18F45K22-E/ML
| Контакт 1 | RA2/AN2/C2IN+/CTED1/VREF- — GPIO RA2 / ADC ch2 / Comparator2 in+ / CTMU touch / negative voltage reference |
| Контакт 2 | RA3/AN3/C1IN+/CTED2/VREF+ — GPIO RA3 / ADC ch3 / Comparator1 in+ / CTMU touch / positive voltage reference |
| Контакт 3 | RA4/T0CKI/C1OUT/SRQ — GPIO RA4 / Timer0 clock input / Comparator1 output / SR-latch Q output |
| Контакт 4 | RA5/AN4/C2OUT/SRQN/SS1/HLVDIN — GPIO RA5 / ADC ch4 / Comparator2 output / SR-latch Qn / SPI1 SS / HLVD input |
| Контакт 5 | RA6/OSC2/CLKO — GPIO RA6 / crystal oscillator output / system clock output |
| Контакт 6 | RA7/OSC1/CLKI — GPIO RA7 / crystal oscillator input / system clock input |
| Контакт 7 | VSS — Ground reference |
| Контакт 8 | VDD — Positive supply voltage (2.3 V to 5.5 V) |
| Контакт 9 | RB0/AN12/FLT0/INT0/CTED4 — GPIO RB0 / ADC ch12 / PWM fault input / INT0 / CTMU touch |
| Контакт 10 | RB1/AN10/C1INC/CTED5 — GPIO RB1 / ADC ch10 / Comparator1 in- / CTMU touch |
| Контакт 11 | RB2/AN8/C2INC/CTED6 — GPIO RB2 / ADC ch8 / Comparator2 in- / CTMU touch |
| Контакт 12 | RB3/AN9/CPP1/CTED7 — GPIO RB3 / ADC ch9 / charge pump / CTMU touch |
| Контакт 13 | RB4/AN11/KBI0 — GPIO RB4 / ADC ch11 / interrupt-on-change |
| Контакт 14 | RB5/KBI1 — GPIO RB5 / interrupt-on-change |
| Контакт 15 | RB6/KBI2/PGC — GPIO RB6 / interrupt-on-change / ICD clock (PGC) |
| Контакт 16 | RB7/KBI3/PGD — GPIO RB7 / interrupt-on-change / ICD data (PGD) |
| Контакт 17 | RC0/SOSCO — GPIO RC0 / secondary oscillator output (32.768 kHz) |
| Контакт 18 | RC1/SOSCI — GPIO RC1 / secondary oscillator input |
| Контакт 19 | RC2/AN14/CCP1 — GPIO RC2 / ADC ch14 / CCP1 PWM |
| Контакт 20 | RC3/AN15/SCL1/SCK1 — GPIO RC3 / ADC ch15 / I2C1 SCL / SPI1 SCK |
| Контакт 21 | RC4/AN16/SDA1/SDI1 — GPIO RC4 / ADC ch16 / I2C1 SDA / SPI1 SDI |
| Контакт 22 | RC5/AN17/SDO1 — GPIO RC5 / ADC ch17 / SPI1 SDO |
| Контакт 23 | RC6/AN18/TX1/CK1 — GPIO RC6 / ADC ch18 / EUSART1 TX / EUSART1 clock |
| Контакт 24 | RC7/AN19/RX1/DT1 — GPIO RC7 / ADC ch19 / EUSART1 RX / EUSART1 data |
| Контакт 25 | VSS — Ground reference |
| Контакт 26 | VDD — Positive supply voltage (2.3 V to 5.5 V) |
| Контакт 27 | RD0/AN20/CTED12 — GPIO RD0 / ADC ch20 / CTMU touch |
| Контакт 28 | RD1/AN21/CTED13 — GPIO RD1 / ADC ch21 / CTMU touch |
| Контакт 29 | RD2/AN22/CTED14 — GPIO RD2 / ADC ch22 / CTMU touch |
| Контакт 30 | RD3/AN23/CTED15 — GPIO RD3 / ADC ch23 / CTMU touch |
| Контакт 31 | RD4/AN24 — GPIO RD4 / ADC ch24 |
| Контакт 32 | RD5/AN25/P1B — GPIO RD5 / ADC ch25 / Enhanced PWM output 1B |
| Контакт 33 | RD6/AN26/P1C — GPIO RD6 / ADC ch26 / Enhanced PWM output 1C |
| Контакт 34 | RD7/AN27/P1D — GPIO RD7 / ADC ch27 / Enhanced PWM output 1D |
| Контакт 35 | RE0/AN5 — GPIO RE0 / ADC ch5 |
| Контакт 36 | RE1/AN6 — GPIO RE1 / ADC ch6 |
| Контакт 37 | RE2/AN7 — GPIO RE2 / ADC ch7 |
| Контакт 38 | RE3/MCLR/VPP — GPIO RE3 / Master Clear (reset, active-low) / programming voltage |
| Контакт 39 | RF0/AN16 — GPIO RF0 / ADC ch16 |
| Контакт 40 | RF1/AN17/CPP2 — GPIO RF1 / ADC ch17 / charge pump 2 |
| Контакт 41 | RF2/AN18 — GPIO RF2 / ADC ch18 |
| Контакт 42 | RF3/AN19 — GPIO RF3 / ADC ch19 |
| Контакт 43 | RF4/AN20 — GPIO RF4 / ADC ch20 |
| Контакт 44 | RF5/AN21 — GPIO RF5 / ADC ch21 |
| Контакт EP | EP (Exposed Pad) — Must be soldered to PCB ground plane for thermal and electrical performance |
Типичное применение
PIC18F45K22-E/ML подходит для 7 применениеs: Industrial Control and HMI, Capacitive Touch User Interface, Battery-Powered Sensor Node, Automotive Body Electronics, USB-to-UART Bridge / Communication Bridge, Small Home Appliance Control (White Goods), IoT Edge Device / Sensor Aggregator.
Industrial Control and HMI
The PIC18F45K22-E/ML's 12-bit ADC with up to 30 channels, three PWM modules, and two EUSART interfaces make it a strong fit for industrial control panels and human-machine interface (HMI) boards. Its 48 MHz core handles real-time control loops for motor and valve actuation while the nanoWatt XLP technology keeps standby current below 50 nA, extending battery life in remote or wireless operator panels. The 36 I/O pins directly drive 7-segment displays, keypads, and status LEDs without external logic. Hardware quadrature encoder support via the CCP/ECCP modules simplifies integration with optical encoder wheels in process control applications. Designers should leverage the internal oscillator plus PLL to eliminate external crystals and reduce BOM cost.
Рекомендуется
Capacitive Touch User Interface
The integrated Charge Time Measurement Unit (CTMU) and mTouch peripheral library support capacitive touch buttons, sliders, and proximity sensors with no external components beyond the copper pads. With 36 I/O available, the PIC18F45K22-E/ML can manage 12-16 touch electrodes simultaneously while still driving the main system control loop at 12 MIPS. The 12-bit ADC combined with CTMU provides reliable touch detection even under noisy power conditions, and nanoWatt sleep modes allow the touch sensing to remain active in battery-powered remote controls or smart home keypads with multi-year coin-cell life. Designers can implement water-tolerant touch using Microchip's mTouch software libraries.
Рекомендуется
Battery-Powered Sensor Node
nanoWatt XLP technology is the headline reason to select the PIC18F45K22-E/ML for battery-powered sensor nodes - sleep currents below 50 nA and 11 nA RTCC operation enable multi-year lifetime on a single CR2032 coin cell. The 2.3 V to 5.5 V supply range covers both 3.3 V and 5 V battery chemistries (2xAA, Li-Ion, regulated 3.3 V) without level shifters. The internal oscillator eliminates external crystal power drain, and the 12-bit ADC can directly digitize sensor outputs (temperature, humidity, pressure) with no external signal chain. A typical 1 Hz sample rate with 99.9% sleep duty cycle yields single-digit microamp average current for years of unattended operation in environmental monitoring, smart agriculture, or asset tracking deployments.
Рекомендуется
Automotive Body Electronics
The -E temperature grade qualifies the PIC18F45K22-E/ML for automotive body and interior applications such as seat controllers, mirror adjustment, lighting modules, and HVAC actuators. With 12-bit ADC and three PWM outputs it can drive LED backlighting, dimming channels, and brushed motor control with hardware current sensing via the on-chip comparators. The two EUSARTs support LIN bus master/slave communication for body-electronics networks, with the auto-baud feature simplifying LIN stack development. Designers should note that for OEM safety-critical or full AEC-Q100 deployments the automotive-grade derivatives with explicit qualification should be specified; the /ML package itself is widely adopted across automotive-adjacent consumer products.
Рекомендуется
USB-to-UART Bridge / Communication Bridge
While the PIC18F45K22-E/ML does not include native USB, two EUSART peripherals combined with the MSSP (SPI/I2C) channels make it an excellent host-side bridge controller for industrial gateways, debug loggers, and sensor aggregators. The 12 MIPS performance is sufficient to handle multi-protocol packet routing, while 1.5 KB SRAM accommodates practical receive buffers for slow-speed UART streams. Adding an external FTDI FT230XS-R converts USB to UART and the PIC handles protocol translation, framing, and store-and-forward buffering. This topology is common in legacy industrial equipment migration where RS-232/RS-485 endpoints must be exposed to modern USB hosts.
Рекомендуется
Small Home Appliance Control (White Goods)
The PIC18F45K22-E/ML's combination of 12-bit ADC, three PWM channels, and 36 I/O pins suits washing machine controllers, dishwasher HMIs, microwave ovens, and other small white goods where cost, low power, and robust analog performance are key. The internal oscillator eliminates external crystals to minimize BOM cost, and the 5 V native supply directly drives TRIAC/relay drive circuits for mains switching. nanoWatt sleep modes reduce standby power below 0.5 W to comply with energy-saving regulations. The 12-bit ADC achieves adequate resolution for thermistor-based temperature sensing in ovens and water heaters, while ECCP PWM provides controlled soft-start for universal motors in mixers and pumps.
Рекомендуется
IoT Edge Device / Sensor Aggregator
The PIC18F45K22-E/ML sits well in IoT edge devices where 8-bit processing is sufficient for sensor aggregation, thresholding, and pre-processing before forwarding to a host MCU or wireless module. The 32 KB Flash stores both application code and protocol stacks, while 1.5 KB SRAM is ample for buffering small data frames. The two MSSP peripherals can simultaneously host an I2C sensor array and an SPI wireless module (e.g., a LoRa or sub-GHz transceiver), and the nanoWatt XLP current consumption supports battery-powered deployments. Designers can integrate the CTMU to add capacitive wake-up buttons or sealed enclosure sensors without additional components, while the extended -40C to +125C range supports outdoor and industrial edge nodes.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F45K22-E/ML — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18F45K22-I/ML | PIC18F46K22-I/ML | PIC18F44K22-I/ML | PIC18F43K22-I/ML |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | QFN-44 (8x8 mm) | QFN-44 (8x8 mm) - same | QFN-44 (8x8 mm) - same | QFN-44 (8x8 mm) - same | QFN-44 (8x8 mm) - same |
| Flash Memory | 32 KB | 32 KB | 64 KB | 16 KB | 8 KB |
| SRAM | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Maximum CPU Speed | 48 MHz (12 MIPS) | 48 MHz (12 MIPS) | 48 MHz (12 MIPS) | 48 MHz (12 MIPS) | 48 MHz (12 MIPS) |
| Temperature Range | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit |
| I/O Pins | 36 | 36 | 36 | 36 | 36 |
Ключевые отличия
- Extended temperature grade for industrial / automotive-adjacent applications (против PIC18F45K22-I/ML)
- Largest Flash in the K22 QFN-44 family at 32 KB (против PIC18F44K22-I/ML)
- CTMU and mTouch capacitive sensing integrated (против PIC18F45Q10-I/ML (newer recommended))
Заметки по проектированию
The QFN-44 (8x8 mm) package has a large exposed thermal pad (EP) on the underside that MUST be soldered to a properly-sized PCB ground plane. Microchip application guidance recommends thermal vias under the EP (typically a 4x4 grid of 0.3 mm vias) to conduct heat from the die to internal ground planes. Floating or improperly soldered EP causes the die to overheat at modest loads and degrades electrical performance (jitter, ADC noise). For 4-layer PCBs dedicate the inner-1 layer to a continuous ground pour under the MCU, with the top ground fill stitching around the QFN pads.
Decoupling must be placed directly at the VDD/VSS pin pairs of the PIC18F45K22-E/ML. Use a 100 nF ceramic (X7R) capacitor on each VDD pin (there are two VDD pins on the QFN-44), with a shared 10 uF bulk tantalum or ceramic on the supply rail within 25 mm. Place the 100 nF caps within 2 mm of the IC pin pads to minimize parasitic inductance. The analog supply AVdd (shared with VDD on this family) also benefits from a ferrite bead + 10 uF cap to isolate analog ADC reference noise from digital switching transients. This decoupling scheme supports reliable ADC readings at 12-bit resolution.
The 12-bit ADC on the PIC18F45K22-E/ML achieves best performance when the source impedance is below 5 kOhm and a sample-and-hold acquisition time of at least 1.5 us is configured in the ADC register. For higher-impedance sensor sources add an external op-amp buffer. The ADC reference voltage (VREF+ / VREF-) must be stable - use the internal 1.024 V, 2.048 V, or 4.096 V references for absolute measurements, or an external low-noise reference like MCP1525 for precision. Watch for digital-to-analog crosstalk by routing analog signal traces away from PWM outputs and clock lines; use a guard ring around the analog section tied to ground.
Do not omit the MCLR pull-up resistor on pin 38 (RE3/MCLR/VPP) - Microchip requires a 10 kOhm pull-up to VDD for proper reset behavior. Failing to populate this resistor results in intermittent reset failures or inability to enter ICSP programming mode. Likewise, the PGC/PGD pins (RB6/RB7) should not be strapped to active loads during programming because the ICD needs to drive these lines directly. When using the internal oscillator allow adequate startup time per datasheet section - some peripherals like UART require the oscillator to be stable before peripheral enable. Estimated: typical internal oscillator lock time is 4-8 ms depending on configuration bits.
Информация о соответствии
RoHS and lead-free per Microchip product page. AEC-Q100 not explicitly qualified per datasheet marking; for OEM automotive deployments select the automotive-grade derivatives. Halogen-free status not stated on product page - set unknown per data rules.