PIC18LF45K22-E/MV - 8-bit PIC XLP MCU 32KB Flash 48MHz | Microchip
部品番号: PIC18LF45K22-E/MV ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $4.1 | $4.10 |
| 10 | $3.78 | $37.80 |
| 100 | $3.22 | $322.00 |
| 500 | $2.85 | $1,425.00 |
| 1,000 | $2.55 | $2,550.00 |
PIC18LF45K22-E/MV 概要
A microcontroller (MCU) is a single-chip computer containing a CPU, Flash program memory, SRAM data memory, EEPROM, and a rich set of peripherals such as ADC, timers, UART, I2C, and SPI. The PIC18LF45K22 belongs to Microchip's PIC18 8-bit family, which sits below the 16-bit dsPIC/PIC24 families and above the PIC16 baseline family in Microchip's 8-bit microcontroller hierarchy. The "LF" prefix indicates the low-voltage (1.8-3.6 V) variant, while the "K" series adds the enhanced peripherals and XLP power-saving features.
Key features include 10-bit ADC with up to 28 channels, 36 digital I/O pins, 4 timers, 2 comparators, an enhanced PWM module, mTouch capacitive-touch support, and nanoWatt XLP technology offering sleep currents as low as a few nA. The 40-pin UQFN package integrates an exposed thermal pad to improve theta-JA, while the small 5x5 mm footprint suits compact handheld and battery-powered designs.
Internally, the PIC18LF45K22 uses a RISC-based Harvard architecture with a 16-bit instruction word and an 8-bit data path. It supports hardware multiply, prioritised interrupts, peripheral pin-select (PPS), and a wide peripheral set including USB-ready comparators and SPP/EUSART modules. XLP power management enables multiple sleep modes with fast wake-up, making it suitable for always-on sensor applications.
Typical applications include consumer electronics such as wearable health monitors, small appliance controllers, and USB peripherals; industrial sensor nodes and metering; low-power IoT edge nodes; automotive body controllers; and educational/development platforms. Designers leverage its rich peripheral mix to minimise external components.
When designing with this part, observe the 1.8 V minimum supply to ensure Flash program/erase reliability, and use a 1 uF + 100 nF bulk-decoupling pair within a few millimetres of the VDD pins. Program/debug interfaces use ICSP over PGED1/PGEC1, supported by MPLAB X IDE and PICkit/Snap tools.
This page synthesises distributor pricing, drop-in alternatives from Microchip's PIC18 K22 family, and practical design notes not collected in a single place in the manufacturer datasheet, providing a single reference for component selection.
ドロップイン代替品: PIC18LF45K22-E/MV — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18LF45K22-E/MV (同一形状・フットプリント) — 相違点: Package, Timers, Program Memory (Flash), Operating Temperature, ADC.
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F45K22-E/MV
✅ ドロップイン✓ 在庫あり
$2.84 / 個
データシートを見る →PIC18F46K22-E/MV
✅ ドロップイン✓ 在庫あり
$2.72 / 個
データシートを見る →PIC18LF44K22-E/MV
✅ ドロップイン✓ 在庫あり
$1.98 / 個
データシートを見る →PIC18F45K22T-I/MV
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F45K22-I/MV
✅ ドロップイン✓ 在庫あり
$2.05 / 個
データシートを見る →PIC18F45K50-E/MV
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18LF45K22-E/MV 最大定格&電気的特性
| Manufacturer | Microchip Technology |
| Series | PIC18LF45K22 (PIC18F K22 family) |
| Core | PIC18, 8-bit RISC Harvard architecture |
| Program Memory (Flash) | 32 KB (16K x 16) |
| Data Memory (RAM) | 1536 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Frequency | 48 MHz (Fosc); up to 64 MHz for PIC18F45K22 variant |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| I/O Pins | 36 digital I/O |
| ADC | 10-bit, up to 28 channels |
| Timers | 4 (Timer0/1/2/3) plus WDT |
| Comparators | 2 |
| PWM Channels | Enhanced CCP + 2 CCP, multiple outputs |
| Communication | EUSART (UART/LIN), I2C, SPI |
| 動作温度 | -40C to +125C (E suffix = extended) |
| パッケージ | 40-pin UQFN (5x5 mm) with exposed pad (MV) |
| 実装タイプ | Surface Mount |
| MSLレベル | 1 (per JEDEC J-STD-020) |
| RoHS ステータス | Compliant |
| Lead-Free | Yes |
PIC18LF45K22-E/MV ピン構成
| ピン 1 | RA2/AN2 — Port A bit 2 / Analog input 2 |
| ピン 2 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / Positive voltage reference |
| ピン 3 | RA4/AN4/T0CKI — Port A bit 4 / Analog input 4 / Timer0 clock input |
| ピン 4 | RA5/AN5/SS1 — Port A bit 5 / Analog input 5 / SPI1 slave select |
| ピン 5 | VSS — Ground reference |
| ピン 6 | RA7/OSC1 — Port A bit 7 / Oscillator input 1 |
| ピン 7 | RA6/OSC2 — Port A bit 6 / Oscillator output 2 |
| ピン 8 | RC0/SOSCO — Port C bit 0 / Secondary oscillator output |
| ピン 9 | RC1/SOSCI — Port C bit 1 / Secondary oscillator input |
| ピン 10 | RC2/CCP1 — Port C bit 2 / Enhanced CCP1 output |
| ピン 11 | RC3/SCL1 — Port C bit 3 / I2C1 clock |
| ピン 12 | RC4/SDA1 — Port C bit 4 / I2C1 data |
| ピン 13 | RC5/SDO1 — Port C bit 5 / SPI1 data out |
| ピン 14 | RC6/TX1/CK1 — Port C bit 6 / UART1 async TX / sync clock |
| ピン 15 | RC7/RX1/DT1 — Port C bit 7 / UART1 async RX / sync data |
| ピン 16 | RD0/AN20 — Port D bit 0 / Analog input 20 |
| ピン 17 | RD1/AN21 — Port D bit 1 / Analog input 21 |
| ピン 18 | RD2/AN22 — Port D bit 2 / Analog input 22 |
| ピン 19 | RD3/AN23 — Port D bit 3 / Analog input 23 |
| ピン 20 | RD4/AN24 — Port D bit 4 / Analog input 24 |
| ピン 21 | RD5/AN25/CCP2 — Port D bit 5 / Analog input 25 / Enhanced CCP2 |
| ピン 22 | RD6/AN26 — Port D bit 6 / Analog input 26 |
| ピン 23 | RD7/AN27 — Port D bit 7 / Analog input 27 |
| ピン 24 | VSS — Ground reference |
| ピン 25 | VDD — Positive supply voltage (1.8-3.6 V) |
| ピン 26 | RE0/AN5 — Port E bit 0 / Analog input 5 |
| ピン 27 | RE1/AN6 — Port E bit 1 / Analog input 6 |
| ピン 28 | RE2/AN7 — Port E bit 2 / Analog input 7 |
| ピン 29 | RE3/MCLR — Port E bit 3 / Master Clear (reset) |
| ピン 30 | RB0/AN12/INT0 — Port B bit 0 / Analog input 12 / External interrupt 0 |
| ピン 31 | RB1/AN10/INT1 — Port B bit 1 / Analog input 10 / External interrupt 1 |
| ピン 32 | RB2/AN8/INT2 — Port B bit 2 / Analog input 8 / External interrupt 2 |
| ピン 33 | RB3/AN9/CCP2 — Port B bit 3 / Analog input 9 / Enhanced CCP2 |
| ピン 34 | RB4/AN11 — Port B bit 4 / Analog input 11 |
| ピン 35 | RB5/AN13 — Port B bit 5 / Analog input 13 |
| ピン 36 | RB6/PGEC1 — Port B bit 6 / ICSP clock 1 |
| ピン 37 | RB7/PGED1 — Port B bit 7 / ICSP data 1 |
| ピン 38 | VSS — Ground reference |
| ピン 39 | VDD — Positive supply voltage (1.8-3.6 V) |
| ピン 40 | RA0/AN0/ULPWU — Port A bit 0 / Analog input 0 / Ultra-Low-Power Wake-up |
主な用途
PIC18LF45K22-E/MV の用途: 6 件s: Battery-Powered Wearable Sensors, Consumer Appliance Controllers, Industrial Sensor Hubs, Low-Power IoT Edge Nodes, Educational and Development Platforms, Automotive Body Control Modules.
Battery-Powered Wearable Sensors
The PIC18LF45K22-E/MV suits battery-powered wearable sensors because its 1.8-3.6 V VDD range supports direct connection to a single Li-ion or 2x AA cell without an LDO. nanoWatt XLP sleep currents in the nA range let a heart-rate or step-counter node run for months on a coin cell. The 32 KB Flash is ample for sensor-fusion firmware, 1.5 KB RAM supports BLE-stack HCI framing, and the 40-pin UQFN footprint fits inside a watch-sized enclosure.
おすすめ
Consumer Appliance Controllers
In a washing machine, microwave, or coffee maker, the PIC18LF45K22-E/MV drives the user-interface buttons, LCD, and motor-control relay. The enhanced PWM module controls a triac-driven universal motor; the 10-bit ADC with up to 28 channels reads temperature, humidity, and current sensors. The 36 digital I/O pins interface a 4x4 keypad plus character LCD without an expander, and the XLP sleep mode cuts standby power below 100 nA for ENERGY STAR compliance.
おすすめ
Industrial Sensor Hubs
Industrial 4-20 mA loop-powered or RS-485 sensor hubs use the PIC18LF45K22-E/MV as the local intelligence. The EUSART drives RS-485 transceivers at 1 Mbaud, the I2C master reads external temperature/pressure sensors, and SPI drives an isolated ADC for high-voltage measurements. The -40C to +125C operating temperature handles outdoor cabinets, and the UQFN package with exposed pad allows top-side cooling when the enclosure is sealed. Cycle-by-cycle current limiting is supported by the comparators.
おすすめ
Low-Power IoT Edge Nodes
A LoRa/BLE edge node places the PIC18LF45K22-E/MV between the radio module and the sensor cluster. In sleep mode with WDT disabled, the part draws less than 100 nA; an interrupt from the radio or a capacitive-touch wake-up pin restarts the CPU in microseconds. The mTouch peripheral adds capacitive buttons without an external touch IC, the 32 KB Flash holds LoRaWAN MAC + app stack, and the 1.8 V minimum lets a 2x AA cell stay in regulation down to 70 percent capacity.
おすすめ
Educational and Development Platforms
Universities and hobbyists use the PIC18LF45K22-E/MV as a learning platform because MPLAB X IDE is free and the K22 family combines rich peripherals (CCP, comparators, mTouch, EUSART) with approachable 8-bit assembly and C30/MCC code generation. The UQFN-40 breadboard-friendly footprint plus PICtail expansion boards let students interface LEDs, sensors, and motors without external components. Source: Microchip University curriculum references this family for embedded-systems courses.
おすすめ
Automotive Body Control Modules
Within door modules, seat controllers, and HVAC panels the PIC18LF45K22-E/MV (E suffix -40C to +125C) drives window regulators, mirror position feedback, and LIN slave communication. The 32 KB Flash supports LIN 2.x stack plus application code, the EUSART provides LIN master capability, and PWM drives DC motors and H-bridge half-bridges. Note: AEC-Q100 Grade 0 qualified versions require the dedicated PIC18F45K22 automotive variant; the LF/MV here is industrial-grade, suitable for non-safety body controllers.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18LF45K22-E/MV — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F45K22-E/MV | PIC18F46K22-E/MV | PIC18LF44K22-E/MV | PIC18F45K22T-I/MV | PIC18F45K22-I/MV | PIC18F45K50-E/MV |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-UQFN (5x5) MV | 40-UQFN (5x5) MV - same | 40-UQFN (5x5) MV - same | 40-UQFN (5x5) MV - same | 40-UQFN (5x5) MV - same | 40-UQFN (5x5) MV - same | 40-UQFN (5x5) MV - same |
| Flash Program Memory | 32 KB | 32 KB | 36 KB | 16 KB | 32 KB | 32 KB | 32 KB |
| Data RAM | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| VDD Operating Range | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| Maximum Fosc | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz |
| Operating Temperature | -40C to +125C (E) | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C |
| USB 2.0 Support | No | No | No | No | No | No | Yes (Full-Speed USB) |
主な差別化要因
- Lowest VDD floor of the K22 family (1.8 V) (vs PIC18F45K22-E/MV)
- 36 I/O pins in a 5x5 mm UQFN - same footprint, more pins than smaller-package alternatives (vs PIC18F45K22-I/ML)
- nanoWatt XLP technology for sub-100 nA sleep (vs PIC18F45K22-E/MV)
設計ノート
Place a 1 uF bulk ceramic and a 100 nF high-frequency ceramic within 2 mm of the VDD and VSS pins (multiple VDD pins on 40-pin UQFN: pins 25 and 39). The exposed thermal pad (EP) must be soldered to a ground plane of at least 50 mm^2 to meet the datasheet theta-JA specification; an unsoldered pad raises junction temperature by 15-25C. For battery designs, use the internal nanoWatt XLP sleep modes (Sleep, Doze, Low-Voltage Sleep) and disable all unused peripherals via the PMD register to keep quiescent current below 100 nA.
Route the ICSP signals PGED1/PGEC1 (RB7/RB6) directly to a 6-pin programming header placed at the board edge to avoid removing the MCU for firmware updates. The HS crystal/oscillator traces (RA6/OSC2, RA7/OSC1) must be kept short (<5 mm) and surrounded by a ground guard ring. Place the VDD decoupling caps on the same layer as the MCU using wide traces - do not route them through vias to keep loop inductance low per Microchip PIC18 K22 hardware design checklist.
The 10-bit ADC performance requires careful analog input routing. Use a 10 nF bypass cap adjacent to each analog pin and route analog traces parallel without crossing digital clock traces. The internal ADC reference voltage (VREF+) uses a dedicated reference capacitor at the VREF+ pin (RA3); populate it with at least 10 nF to satisfy AC stabilty per Microchip AN1314. Do not exceed VDD on analog inputs; on VDD=3.3 V systems, drive analog pins within 0.3 V of the rails to preserve linearity.
Avoid the common mistakes of using both the LF and F variants interchangeably - the LF PIC18LF45K22 must not be operated below 1.8 V or above 3.6 V. Brown-out reset (BOR) must be enabled in configuration bits to recover from slow battery droop; without BOR the part can latch up below 1.6 V. The CONFIG4L register selects the brown-out trip voltage and oscillator mode - leaving CONFIG at defaults disables MCLIP and may prevent ICSP programming until configuration bits are set in code.
コンプライアンス情報
RoHS and REACH compliant per Microchip product page. The E suffix indicates the extended industrial temperature grade (-40C to +125C); the part is not AEC-Q100 qualified - choose AEC-Q100 Grade 1+ PIC18 automotive variants for safety-critical systems.