PIC18LF45K40-I/MV - 8-bit 64MHz 32KB Flash MCU | Microchip
部品番号: PIC18LF45K40-I/MV ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $2.78 | $2.78 |
| 10 | $2.5 | $25.00 |
| 100 | $2.22 | $222.00 |
| 500 | $1.95 | $975.00 |
| 1,000 | $1.7 | $1,700.00 |
PIC18LF45K40-I/MV 概要
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, integrating CPU core, non-volatile program memory (Flash), volatile working memory (SRAM), small EEPROM for data retention, and a rich set of on-chip peripherals. In the broader semiconductor taxonomy, an MCU belongs to microcontrollers -> microcomputers -> embedded processors -> logic/semiconductor ICs. The K40 family is positioned within Microchip's PIC18 line as a general-purpose, low-power tier with Core Independent Peripherals (CIPs) that offload tasks from the CPU.
The PIC18LF45K40-I/MV integrates a 10-bit ADC with computation (ADC2), a 5-bit DAC, two comparators, a 16-bit PWM with CCP, Complementary Waveform Generator (CWG), Zero-Cross Detect (ZCD), Hardware Limit Timer (HLT), Windowed Watchdog Timer (WWDT), and CRC/SCAN memory diagnostics. Communication is handled through EUSART (UART), SPI and I2C, with Peripheral Pin Select (PPS) for flexible signal routing across the 36 I/O pins. NanoWatt XLP technology enables sleep currents below typical MCU levels, making the part suited for battery-powered and energy-harvesting designs.
Architecturally, the PIC18F/K40 uses an enhanced Harvard RISC core with a hardware multiplier and C-optimized instruction set. The combination of CIPs (CWG, NCO, DSM, ZCD) plus PPS enables designers to implement complex timing, motor-control and signal-generation tasks without CPU intervention, freeing the core for application logic and communications.
Typical applications include low-power IoT sensor nodes, battery-powered handheld instrumentation, home-appliance control panels, LED lighting drivers, motor-control auxiliary logic, and USB-to-UART bridge firmware hosts. The wide voltage range and 5V-tolerant I/O (with proper configuration) also suit industrial 24V-bus interface modules after external regulation.
When designing with the MV package, route the central exposed pad to the ground plane for thermal and electrical performance, and provide a 0.1 uF decoupling capacitor as close as possible to each VDD/VSS pair. Avoid using PPS as a substitute for proper pin assignment during PCB layout—keep high-speed signals on dedicated pins.
This page synthesizes distributor pricing, drop-in package alternatives from the same PIC18 family, and practical design notes not found in the manufacturer datasheet.
ドロップイン代替品: PIC18LF45K40-I/MV — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18LF45K40-I/MV (同一形状・フットプリント) — 相違点: ADC, Comparators, Operating Temperature, Package, Communication.
クイック比較ツール — 並列比較する代替部品を選択:
PIC18LF45K40-E/MV
✅ ドロップイン✓ 在庫あり
$1.55 / 個
データシートを見る →PIC18LF45K40-I/MV 最大定格&電気的特性
| Core Architecture | PIC18 8-bit RISC |
| Program Memory (Flash) | 32 KB (16K x 16) |
| SRAM | 2 KB |
| EEPROM | 256 B |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage (LF) | 1.8 V to 3.6 V |
| I/O Pins | 36 |
| パッケージ | 40-UQFN (MV) 5x5 mm |
| ADC | 10-bit ADC2 with Computation |
| DAC | 5-bit DAC |
| Comparators | 2 |
| PWM | 16-bit PWM with CCP |
| CIPs | CWG, ZCD, HLT, WWDT, CRC/SCAN, NCO, DSM |
| Communication | EUSART, SPI, I2C with PPS |
| 動作温度 | -40C to +85C (Industrial) |
| 実装タイプ | Surface Mount |
| RoHS ステータス | Compliant |
PIC18LF45K40-I/MV ピン構成
| ピン 1 | RA0/AN0 — PORTA bit 0 / Analog input 0 / PPS input |
| ピン 2 | RA1/AN1 — PORTA bit 1 / Analog input 1 / PPS input |
| ピン 3 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| ピン 4 | RA3/AN3 — PORTA bit 3 / Analog input 3 / VREF+ |
| ピン 5 | RA4/AN4 — PORTA bit 4 / Analog input 4 |
| ピン 6 | RA5/AN5 — PORTA bit 5 / Analog input 5 |
| ピン 7 | RA6/OSC2 — PORTA bit 6 / Oscillator output |
| ピン 8 | RA7/OSC1 — PORTA bit 7 / Oscillator input |
| ピン 9 | RE3/MCLR — PORTE bit 3 / Master Clear (reset) |
| ピン 10 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| ピン 11 | VDD — Positive supply (1.8-3.6 V for LF) |
| ピン 12 | VSS — Ground reference |
| ピン 13 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| ピン 14 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| ピン 15 | RB3/INT3 — PORTB bit 3 / External interrupt 3 / IOC |
| ピン 16 | RB4/IOC — PORTB bit 4 / Interrupt-on-change |
| ピン 17 | RB5/IOC — PORTB bit 5 / Interrupt-on-change |
| ピン 18 | RB6/PGC — PORTB bit 6 / ICSP clock / IOC |
| ピン 19 | RB7/PGD — PORTB bit 7 / ICSP data / IOC |
| ピン 20 | VSS — Ground reference |
| ピン 21 | RC0/SOSCO — PORTC bit 0 / Secondary oscillator output |
| ピン 22 | RC1/SOSCI — PORTC bit 1 / Secondary oscillator input |
| ピン 23 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| ピン 24 | RC3/CCP2 — PORTC bit 3 / CCP2 PWM output |
| ピン 25 | RC4 — PORTC bit 4 / PPS I/O |
| ピン 26 | RC5 — PORTC bit 5 / PPS I/O |
| ピン 27 | RC6/TX/CK — PORTC bit 6 / EUSART TX / clock |
| ピン 28 | RC7/RX/DT — PORTC bit 7 / EUSART RX / data |
| ピン 29 | RD0 — PORTD bit 0 / PPS I/O |
| ピン 30 | RD1 — PORTD bit 1 / PPS I/O |
| ピン 31 | VSS — Ground reference |
| ピン 32 | VDD — Positive supply (1.8-3.6 V for LF) |
| ピン 33 | RD2 — PORTD bit 2 / PPS I/O |
| ピン 34 | RD3 — PORTD bit 3 / PPS I/O |
| ピン 35 | RD4 — PORTD bit 4 / PPS I/O |
| ピン 36 | RD5 — PORTD bit 5 / PPS I/O |
| ピン 37 | RD6 — PORTD bit 6 / PPS I/O |
| ピン 38 | RD7 — PORTD bit 7 / PPS I/O |
| ピン 39 | RE0 — PORTE bit 0 / PPS I/O |
| ピン 40 | RE1 — PORTE bit 1 / PPS I/O |
| ピン EP | EP — Exposed thermal pad - connect to ground |
主な用途
PIC18LF45K40-I/MV の用途: 6 件s: Battery-Powered IoT Sensor Node, Home Appliance User Interface, LED Lighting Driver Controller, Motor-Control Auxiliary Logic, Industrial Sensor / 4-20 mA Transmitter, USB-to-UART / SPI Bridge Firmware Host.
Battery-Powered IoT Sensor Node
The PIC18LF45K40-I/MV fits battery-powered IoT sensor nodes because its 1.8-3.6 V LF supply matches single-cell Li-ion / 2x AA chemistries and XLP sleep current is below 1 uA with RTCC + WWDT active, extending coin-cell life into multi-year territory. The 10-bit ADC2 with Computation auto-accumulates sensor readings without CPU wake, while the CWG drives a low-power piezo sounder or LED indicator on threshold events. Pair with an EUSART/SPI link to an external sub-GHz or BLE radio. Compared to a 32-bit Cortex-M0+, the LF45K40 draws less quiescent current and costs less, at the price of lower MIPS throughput.
おすすめ
Home Appliance User Interface
In washing machines, induction cooktops and microwave ovens, the PIC18LF45K40-I/MV's 36 I/O pins drive 7-segment or TFT keypads, scan capacitive touch via the CTMU peripheral and run a 16-bit PWM for buzzer/relay control. NanoWatt XLP keeps standby power below energy-star limits, while 256 B EEPROM stores user preferences and fault history across power cycles. The CWG (Complementary Waveform Generator) and ZCD (Zero-Cross Detect) are particularly useful for AC-line TRIAC dimming and synchronous motor timing without external logic.
おすすめ
LED Lighting Driver Controller
The PIC18LF45K40-I/MV's 16-bit PWM with CCP plus the CWG deliver flicker-free dimming down to 0.1% duty-cycle resolution, while the 5-bit DAC provides logarithmic dimming curves that match human eye perception. ZCD enables AC-mains synchronous TRIAC dimmer decoding without optocouplers, reducing BOM cost. With 2 KB SRAM, the part runs reference CCT/tunable-white algorithms for smart-bulb applications. The 32 KB Flash holds DALI, 0-10 V or Casambi-style protocol stacks and still leaves room for in-field OTA firmware updates.
おすすめ
Motor-Control Auxiliary Logic
Use the PIC18LF45K40-I/MV as an auxiliary MCU alongside a dedicated motor-control IC for BLDC and stepper systems: the 16-bit PWM with CCP generates complementary drive signals, CWG adds programmable dead-band, and ZCD synchronizes commutation to back-EMF. The 5-bit DAC outputs a 0-5 V speed reference while the 10-bit ADC2 reads phase currents and position sensors with hardware averaging. The K40's 64 MHz / 16 MIPS throughput handles sensorless back-EMF zero-cross algorithms that would starve a PIC16 of bandwidth.
おすすめ
Industrial Sensor / 4-20 mA Transmitter
The PIC18LF45K40-I/MV is a strong fit for 4-20 mA loop-powered transmitters: the 10-bit ADC2 with Computation provides oversampling and digital filtering directly in hardware, while the 5-bit DAC generates the 4-20 mA span reference. Operating from 1.8-3.6 V keeps the part within loop compliance budgets, and CRC/SCAN memory diagnostics catch Flash corruption in field-deployed units. The -40C to +85C industrial temperature rating covers process-control cabinets and outdoor installations when paired with the PIC18LF45K40-E/MV extended-temperature part.
おすすめ
USB-to-UART / SPI Bridge Firmware Host
While the LF45K40 itself lacks USB, it serves as the firmware host for USB-to-UART or USB-to-SPI bridges using an external FTDI or MCP2200 chip. PPS routes UART TX/RX to any spare I/O, allowing flexible PCB layout, and 32 KB Flash comfortably holds class-command parsing, bootloader logic and customer configuration storage. Compared to using a dedicated USB MCU, this architecture cuts BOM cost when USB is only needed for firmware update or factory test, not in production.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18LF45K40-I/MV — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18LF45K40-I/ML | PIC18LF45K40-E/MV | PIC18LF45K40-E/PT |
|---|---|---|---|---|
| Package | 40-UQFN (MV) 5x5 mm | 44-QFN (ML) | 40-UQFN (MV) 5x5 mm - same | 44-TQFP (PT) 10x10 mm |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB |
| SRAM | 2 KB | 2 KB | 2 KB | 2 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B |
| Max CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) |
| Temperature Range | -40C to +85C (Industrial) | -40C to +85C | -40C to +125C (Extended) | -40C to +125C (Extended) |
主な差別化要因
- Same 40-UQFN MV footprint across temperature grades (vs PIC18LF45K40-E/MV)
- Extended CIP peripheral set at LF45K40 price tier (vs PIC18F26K40-I/MV)
- Compact UQFN footprint reduces PCB area (vs PIC18LF45K40-I/PT)
設計ノート
Estimated: route the central exposed pad (EP) of the UQFN-40 MV package to a continuous ground pour with at least 4 thermal vias (0.3 mm drill, 0.5 mm pad) to the inner ground plane. This provides both electrical ground reference and a low-resistance thermal path. Per Microchip UQFN mounting guidelines, the EP must be soldered to achieve the rated thermal performance - a dry-soldered EP can raise junction temperature by 15-20 C at full CPU load, risking thermal shutdown at 64 MHz operation.
Place a 100 nF ceramic decoupling capacitor (X7R, 0402 or 0603) within 3 mm of each VDD/VSS pin pair (pins 11/12 and 31/32). Add a bulk 1 uF to 4.7 uF ceramic near the MCU supply input for switch-mode-converter ripple rejection. The LF variant operates from 1.8 V minimum; ensure the chosen LDO or DC-DC output stays above 1.8 V even under full 64 MHz core load and ADC2 sampling transients, which can pull 8-10 mA peak.
Keep the ICP/MCLR reset circuit (typically 10 kohm pull-up to VDD with a 100 nF cap to ground) within 5 mm of pin 9 (RE3/MCLR) to avoid spurious resets. The ICSP clock (PGC, RB6) and data (PGD, RB7) lines should be routed with ground on both sides and matched length if used for high-speed programming. For PPS flexibility, reserve at least 4 spare PORTB/PORTC pins for SPI or UART remapping so the same PCB can support multiple firmware variants.
Do not exceed 3.6 V on any I/O pin of the LF variant - this includes the analog-capable pins during ADC2 conversions. If the design connects to a 5 V sensor bus, add a level translator (such as a resistor divider or dedicated translator IC). When migrating firmware between PIC18LF45K40-I/MV and PIC18F45K40, double-check the CONFIG words: the LF device disables 5 V operation by default and a copy-pasted CONFIG from an F-image can lock the LF part at 3.6 V max.
コンプライアンス情報
RoHS compliant per Microchip product page. The LF45K40 is not AEC-Q100 qualified; for automotive applications use the PIC18F45K40 with AEC-Q100 grade or higher-tier PIC18 K-series.