PIC18LF13K22-E/P - 8-bit Flash MCU, 8KB, 25MHz, 20-PDIP | Microchip
料号: PIC18LF13K22-E/P ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $1.85 | $1.85 |
| 10 | $1.68 | $16.80 |
| 100 | $1.49 | $149.00 |
| 500 | $1.32 | $660.00 |
| 1,000 | $1.18 | $1,180.00 |
PIC18LF13K22-E/P 概述
What is a PIC18LF microcontroller? PIC18LF-series microcontrollers are low-voltage variants of the popular PIC18F family. PIC stands for Peripheral Interface Controller, and these MCUs use a RISC (Reduced Instruction Set Computing) Harvard architecture. Microcontrollers (MCUs) are single-chip computers that integrate a CPU, memory (Flash for program storage, SRAM for data, EEPROM for non-volatile data), and peripherals on one die; they sit at the foundation of embedded systems, bridging sensors and actuators with software-defined behavior.
Key features include an enhanced mid-range 8-bit core, integrated nanoWatt XLP (eXtra Low Power) technology for ultra-low-power sleep modes, multiple communication peripherals, and 10-bit ADC capability. The LF variant is specifically optimized for low-voltage operation, allowing direct connection to 2-cell battery sources.
Architecturally, the PIC18LF13K22 uses a 16-bit instruction word with an 8-bit data path, providing 75+ instructions optimized for C compiler efficiency. Its peripheral set includes comparators, PWM modules, and multiple timer/counter blocks, all designed for mixed-signal embedded applications while keeping power consumption to a minimum.
Typical applications include consumer electronics, IoT sensor nodes, battery-powered handheld devices, low-power remote controls, and industrial sensor interfaces. The wide operating voltage range and XLP technology make it especially suitable for energy-harvesting or battery-backed products.
When designing with this MCU, select a debugger/programmer compatible with the ICSP (In-Circuit Serial Programming) interface. The PDIP-20 package is breadboard-friendly and ideal for prototyping, but production designs targeting space-constrained applications should consider QFN or SSOP variants within the same silicon family.
This page synthesizes distributor pricing, verified drop-in alternatives, and practical design notes that are not aggregated on any single manufacturer or distributor product page.
直接替换替代料: PIC18LF13K22-E/P ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18LF13K22-E/P (相同外形与封装尺寸) ——差异在于 Mounting Type, Package, Communication, Program Memory (Flash), Timers.
快速对比工具——选择替代料号进行并排对比:
PIC18F13K22-I/P
✅ 直接替换✓ 有现货
$1.21 / 个
查看数据手册 →PIC18F13K22-E/P
✅ 直接替换✓ 有现货
$1.05 / 个
查看数据手册 →PIC18LF13K22-I/P
✅ 直接替换✓ 有现货
$1.52 / 个
查看数据手册 →PIC18LF13K22-E/P 最大额定值与电气特性
| Device Family | PIC18F1XK22 (PIC18LF13K22 variant) |
| Architecture | 8-bit RISC (Enhanced Mid-Range core) |
| Program Memory (Flash) | 8 KB |
| CPU Clock Speed (max) | 25 MHz |
| Supply Voltage (Vdd) | 2 V to 5.5 V |
| I/O Pins | 16 |
| 封装 | PDIP-20 (through-hole) |
| 工作温度范围 | -40 C to +125 C (E suffix = Extended) |
| ROM Type | Flash |
| Low-Power Technology | nanoWatt XLP |
| Programming Interface | ICSP (In-Circuit Serial Programming) |
| 安装类型 | Through-Hole (THT) |
| Lead Free / RoHS | Lead Free per verified data |
PIC18LF13K22-E/P 引脚配置
| 引脚 1 | RA3/AN3/VREF+ — Bidirectional I/O / analog input 3 / ADC voltage reference positive |
| 引脚 2 | RA2/AN2 — Bidirectional I/O / analog input 2 |
| 引脚 3 | RA1/AN1 — Bidirectional I/O / analog input 1 |
| 引脚 4 | RA0/AN0 — Bidirectional I/O / analog input 0 |
| 引脚 5 | RA7/OSC1/CLKIN — Bidirectional I/O / oscillator crystal input / external clock input |
| 引脚 6 | RA6/OSC2/CLKOUT — Bidirectional I/O / oscillator crystal output / clock output |
| 引脚 7 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| 引脚 8 | VSS — Ground reference |
| 引脚 9 | RA5/MCLR/VPP — Bidirectional I/O / Master Clear reset (active-low) / programming voltage |
| 引脚 10 | RC0 — Bidirectional digital I/O port C bit 0 |
| 引脚 11 | RC1 — Bidirectional digital I/O port C bit 1 |
| 引脚 12 | RC2 — Bidirectional digital I/O port C bit 2 |
| 引脚 13 | RC3 — Bidirectional digital I/O port C bit 3 |
| 引脚 14 | RC4 — Bidirectional digital I/O port C bit 4 |
| 引脚 15 | RC5 — Bidirectional digital I/O port C bit 5 |
| 引脚 16 | RC6 — Bidirectional digital I/O port C bit 6 |
| 引脚 17 | RC7 — Bidirectional digital I/O port C bit 7 |
| 引脚 18 | RB7 — Bidirectional digital I/O port B bit 7 |
| 引脚 19 | RB6 — Bidirectional digital I/O port B bit 6 |
| 引脚 20 | RB5 — Bidirectional digital I/O port B bit 5 |
典型应用
PIC18LF13K22-E/P 适用于 7 应用s: Battery-Powered IoT Sensor Nodes, Consumer Remote Control Handsets, Industrial Sensor Signal Conditioning, Low-Power Wearable Health Bands, Hobbyist and Education Prototyping, Automotive Interior Accessories, Smart Home Wireless Endpoints.
Battery-Powered IoT Sensor Nodes
The PIC18LF13K22-E/P fits battery-powered IoT sensor nodes because its nanoWatt XLP technology delivers sub-uA sleep currents while the LF revision enables direct operation from 2-cell alkaline or NiMH sources down to 2.0 V Vdd. With 8 KB Flash it can run a small RTOS-less C application that periodically reads a sensor over ADC, formats a packet, and transmits via UART. The 25 MHz CPU provides enough MIPS to handle AES-light encryption and protocol framing between long sleep windows, and the 20-pin PDIP package is breadboard-friendly for prototype iteration before porting to a QFN variant for production.
推荐
Consumer Remote Control Handsets
The PIC18LF13K22-E/P is well suited for consumer IR remote controls because of its low-voltage operation, deep-sleep currents in the nanoWatt XLP regime, and built-in PWM modules for 38 kHz carrier generation. The 8 KB Flash comfortably holds button-scan matrices, IR protocol libraries (RC5, NEC, SIRC), and power-management state machines. Its 16 I/O pins directly drive a 4x4 keypad matrix with interrupt-on-change wake-up from sleep, while the 2.0-5.5 V range allows operation from a single CR2032 coin cell through the battery's 3 V nominal voltage down to 2.0 V end-of-life.
推荐
Industrial Sensor Signal Conditioning
Industrial 4-20 mA loop-powered sensor transmitters leverage the PIC18LF13K22-E/P for on-board signal conditioning and HART-like modulation. The 25 MHz CPU runs digital filtering on ADC samples while the LF silicon revision operates directly from the 4 mA loop compliance voltage. The extended -40 to +125 C temperature grade supports outdoor or under-hood mounting without thermal derating, and 8 KB Flash accommodates lookup tables for sensor linearization, calibration constants, and a small protocol stack. The 16 I/O pins handle loop-side UART, an external EEPROM for calibration, and discrete status LEDs.
推荐
Low-Power Wearable Health Bands
Wearable health bands benefit from the PIC18LF13K22-E/P's nanoWatt XLP sleep modes and 2.0 V minimum Vdd, allowing operation from a small Li-ion or Li-poly cell with weeks-long battery life. The MCU can host a simple activity-tracker state machine in 8 KB Flash, scheduling periodic accelerometer reads via I2C, processing step counts in firmware, and storing history in internal non-volatile memory. The extended temperature rating ensures the device survives body-heat and weather extremes, while the 16 I/O pins interface with a small OLED display driver over a bit-banged SPI channel.
推荐
Hobbyist and Education Prototyping
The PIC18LF13K22-E/P is a strong choice for hobbyist and university embedded courses thanks to its 20-pin PDIP through-hole package, which fits standard breadboards and 0.1 inch perfboards without surface-mount rework. The 8 KB Flash supports moderate C-language coursework projects, the 25 MHz CPU executes 10 MIPS for real-time demos, and ICSP programming enables flash-and-go iteration with low-cost tools like the PICkit 3 or PICkit 4. Its wide Vdd tolerance tolerates regulator and battery variations, making student labs more forgiving.
推荐
Automotive Interior Accessories
Interior automotive accessories (USB chargers, ambient lighting controllers, climate trim modules) can use the PIC18LF13K22-E/P because of its extended -40 to +125 C temperature grade and robust 5.5 V absolute maximum supply tolerance, surviving load-dump transients when paired with a TVS. The 25 MHz CPU drives PWM channels for LED brightness control and CAN-friendly bit timing, while 8 KB Flash holds state machines and diagnostic routines. The LF silicon revision tolerates cold-crank drops down to 2.0 V without reset, important for vehicles where the supply sags during engine start.
推荐
Smart Home Wireless Endpoints
Smart-home endpoints (door sensors, motion detectors, button-push transmitters) lean on the PIC18LF13K22-E/P's XLP sleep currents measured in nanoamperes to achieve multi-year battery life on a single coin cell. The 8 KB Flash holds proprietary RF protocol stacks for sub-GHz radios like the Microchip MRF89XA or external SPI-attached LoRa transceivers, while 16 I/O pins service a PIR sensor, reed switch, and LED indicator. The LF voltage range supports a primary cell from fresh to end-of-life, and the PDIP package aids low-volume smart-home product runs.
推荐
推荐产品汇总
工程参考数据: PIC18LF13K22-E/P ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F13K22-I/P | PIC18F13K22-E/P | PIC18LF13K22-I/P |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | PDIP-20 | PDIP-20 - same | PDIP-20 - same | PDIP-20 - same |
| Program Memory (Flash) | 8 KB | 8 KB | 8 KB | 8 KB |
| Max CPU Clock | 25 MHz (10 MIPS) | 25 MHz (10 MIPS) | 25 MHz (10 MIPS) | 25 MHz (10 MIPS) |
| Supply Voltage Range | 2.0 V to 5.5 V (LF silicon) | 2.5 V to 5.5 V (standard silicon) | 2.5 V to 5.5 V (standard silicon) | 2.0 V to 5.5 V (LF silicon) |
| I/O Pins | 16 | 16 | 16 | 16 |
| Operating Temperature | -40 C to +125 C (E = Extended) | -40 C to +85 C (I = Industrial) | -40 C to +125 C (E = Extended) | -40 C to +85 C (I = Industrial) |
| XLP (nanoWatt) Sleep Support | Yes | Yes | Yes | Yes |
关键差异点
- Low-voltage silicon revision enabling 2.0 V Vdd operation (对比 PIC18F13K22-I/P)
- Extended -40 to +125 C temperature grade (对比 PIC18LF13K22-I/P)
- nanoWatt XLP ultra-low-power sleep modes standard (对比 PIC18LF1220-I/P)
设计说明
The PIC18LF13K22-E/P nanoWatt XLP technology delivers sub-uA currents in sleep mode, but only if you disable unused peripherals via firmware before entering Sleep. Disable the ADC, comparators, and unused timer clocks in the PMDx register and switch all unused I/O pins to outputs driving low to eliminate digital-input-buffer leakage. Estimated: with these settings, sleep current typically drops to < 100 nA at 3.3 V, suitable for coin-cell applications.
For the 20-pin PDIP package, place a 100 nF decoupling capacitor as close as possible to pin 7 (VDD) with the ground return directly to pin 8 (VSS). For noisy environments add a 10 uF bulk capacitor on the same VDD net. Keep the MCLR/VPP line (pin 9) short and route it away from switching signals; add a 10 kohm pull-up to VDD and a 100 nF cap to ground for robust reset behavior.
When migrating from PIC18F13K22 (non-LF) to PIC18LF13K22 (LF) silicon, ensure your firmware does not assume 2.5 V minimum Vdd for brown-out or ADC full-scale. The LF revision operates down to 2.0 V, which can shift ADC counts and change brown-out trip behavior. Re-validate any analog calibration constants across the full Vdd range to avoid sensor-reading drift at low battery.
Long breadboard wiring on the 20-pin PDIP can introduce capacitive loading on the MCLR pin, causing spurious resets. Place the MCLR pull-up within 25 mm of pin 9 and avoid routing the ICSP PGD/PGC lines near switching inductors or PWM outputs. For production designs migrating to QFN variants, follow Microchip's PCB layout guidelines for exposed-pad thermal connection to ground.
合规信息
RoHS compliant and lead-free per Microchip product marking; not AEC-Q100 qualified - select a PIC18F automotive-grade part for AEC-Q100 applications.