PIC18LF23K22-I/ML - 8KB Flash 8-bit XLP MCU | Microchip QFN-28
N.º de pieza: PIC18LF23K22-I/ML ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $3.17 | $3,17 |
| 10 | $2.95 | $29,50 |
| 100 | $2.65 | $265,00 |
| 500 | $2.4 | $1.200,00 |
| 1.000 | $2.2 | $2.200,00 |
PIC18LF23K22-I/ML Descripción general
A PIC (Peripheral Interface Controller) microcontroller is a compact programmable processor that integrates CPU, memory, and peripherals on a single die. The PIC18F/LF family represents Microchip's high-performance 8-bit tier, bridging classic 8-bit simplicity with modern peripheral integration. Within this family, the 'LF' prefix designates low-voltage variants optimized for battery-powered applications, while the 'K22' subfamily introduces nanoWatt XLP technology, making these MCUs ideal for energy harvesting and IoT endpoints where quiescent current in the nanoampere range extends battery life to years. Microcontroller is a hypernym of PIC18, while XLP (eXtreme Low Power) and nanoWatt are Microchip-specific trademarks for the same low-power architecture family.
Key features include nanoWatt XLP ultra-low-power technology, an integrated 10-bit ADC with up to 17 input channels, multiple PWM outputs with configurable dead-band, enhanced USART with LIN support, and independent SPI and I2C peripherals. The PIC18LF23K22 also integrates a charge time measurement unit (CTMU) for capacitive touch sensing and a hardware real-time clock calendar (RTCC) with on-chip 32 kHz oscillator support. Programmable undervoltage detection and a windowed watchdog timer add system robustness for industrial and automotive-grade applications.
Architecturally, the PIC18LF23K22 employs a RISC-based Harvard architecture with separate instruction and data buses, enabling single-cycle instruction execution. The CPU runs up to 16 MIPS from a 64 MHz internal oscillator block with PLL synthesis. The device integrates a 16 MHz high-frequency internal oscillator plus a 31 kHz low-power oscillator for fail-safe clocking during sleep, eliminating the need for an external crystal in many designs. The ICSP (In-Circuit Serial Programming) interface allows field firmware updates without removing the MCU from the PCB.
Typical applications include portable medical devices, wireless sensor nodes, smart meters, remote controls, battery-backed industrial sensors, low-power IoT edge nodes, consumer electronics with capacitive touch interfaces, and automotive body electronics. The wide 1.8V to 3.6V operating range makes it particularly suitable for two- or three-alkaline-cell applications where direct Li-ion compatibility simplifies power design.
When designing with this MCU, observe the absolute maximum VDD of 4.0V and consider internal oscillator accuracy versus crystal requirements for timing-sensitive peripherals like LIN or SPI. For lowest sleep current, disable unused peripherals via firmware and use the low-power RTCC oscillator rather than the main system clock during standby.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet alone, supporting component selection, supply-chain decisions, and schematic capture.
Alternativas directas para PIC18LF23K22-I/ML — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC18LF23K22-I/ML (mismo factor de forma y huella) — difiere en Package, Core Architecture, ADC, Timers, Operating Temperature.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F23K22-I/ML
✅ Sustitución directa✓ En stock
$1.78 / unidad
Ver hoja de datos →PIC18LF24K22-I/ML
✅ Sustitución directa✓ En stock
$2.98 / unidad
Ver hoja de datos →PIC18LF25K22-I/ML
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F24K22-I/ML
✅ Sustitución directa✓ En stock
$2.55 / unidad
Ver hoja de datos →PIC18F25K22-I/ML
✅ Sustitución directa✓ En stock
$2.74 / unidad
Ver hoja de datos →PIC18LF26K22-I/ML
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18LF23K22-I/ML Valores máximos y características eléctricas
| Core | PIC18 8-bit RISC (Harvard) |
| Program Memory (Flash) | 8 KB (4K x 16) |
| SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage (VDD) | 1.8 V to 3.6 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Encapsulado | 28-pin QFN (6x6 mm) |
| Tipo de montaje | Surface Mount |
| Temperatura de funcionamiento | -40 C to +85 C (Industrial) |
| Low-Power Technology | nanoWatt XLP |
| Communication Interfaces | EUSART, LIN-capable UART, I2C, SPI |
| Timers/PWM | Multiple CCP/ECCP with PWM, dead-band |
| Special Features | CTMU capacitive touch, RTCC, WDT, BOR, ICSP |
| Estado RoHS | Compliant |
Configuración de pines de PIC18LF23K22-I/ML
| Pin 1 | MCLR/RE3 — Master Clear (reset) input or digital-only I/O RE3 |
| Pin 2 | RA0 — PORTA bit 0; analog AN0 |
| Pin 3 | RA1 — PORTA bit 1; analog AN1 |
| Pin 4 | RA2 — PORTA bit 2; analog AN2 |
| Pin 5 | RA3 — PORTA bit 3; analog AN3; VREF+ |
| Pin 6 | RA4 — PORTA bit 4; analog AN4 |
| Pin 7 | RA5 — PORTA bit 5; analog AN5; VREF- |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7 — PORTA bit 7; OSC1 |
| Pin 10 | RA6 — PORTA bit 6; OSC2 |
| Pin 11 | RC0 — PORTC bit 0 |
| Pin 12 | RC1 — PORTC bit 1 |
| Pin 13 | RC2 — PORTC bit 2 |
| Pin 14 | RC3 — PORTC bit 3; SCL |
| Pin 15 | RC4 — PORTC bit 4; SDA |
| Pin 16 | RC5 — PORTC bit 5 |
| Pin 17 | RC6 — PORTC bit 6; TX |
| Pin 18 | RC7 — PORTC bit 7; RX |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | RB0 — PORTB bit 0; INT0 |
| Pin 22 | RB1 — PORTB bit 1; INT1 |
| Pin 23 | RB2 — PORTB bit 2 |
| Pin 24 | RB3 — PORTB bit 3 |
| Pin 25 | RB4 — PORTB bit 4 |
| Pin 26 | RB5 — PORTB bit 5 |
| Pin 27 | RB6 — PORTB bit 6; PGC (ICSP clock) |
| Pin 28 | RB7 — PORTB bit 7; PGD (ICSP data) |
| Pin EP | EP — Exposed thermal pad (connect to VSS) |
Aplicaciones típicas
PIC18LF23K22-I/ML es adecuado para 7 aplicacións: Battery-Powered IoT Sensor Node, Portable Medical Device, Smart Meter / Energy Harvesting, Automotive Body Electronics, Consumer Capacitive Touch Interface, Industrial Wireless Sensor / Remote Control, LED Lighting Controller.
Battery-Powered IoT Sensor Node
The PIC18LF23K22-I/ML is ideal for IoT sensor endpoints thanks to its 1.8 V to 3.6 V supply range and nanoWatt XLP technology. Sleep current below 50 nA typical lets a 2000 mAh coin cell last 5+ years in duty-cycled wake-and-send operation. The 64 MHz CPU delivers 16 MIPS, ample for periodic sensor reads, RTOS-lite tasks, and AES-light encryption. Place decoupling caps (100 nF + 10 uF) close to VDD/VSS pins and use the internal 16 MHz HF oscillator to avoid external crystal cost; switch to the 31 kHz LP oscillator during sleep for lowest standby.
Recomendado
Portable Medical Device
For portable medical monitoring devices, the PIC18LF23K22-I/ML provides reliable low-power operation with medical-grade electromagnetic robustness. The 10-bit ADC with up to 17 channels supports multiple sensor inputs (temperature, pulse, SpO2 front-end), while the EUSART enables Bluetooth/Wi-Fi module uplink. The LF variant's 1.8 V minimum supports single Li-ion cell designs after LDO regulation. Use the CTMU for touch-button user interfaces without mechanical switches, improving ingress protection for handheld designs.
Recomendado
Smart Meter / Energy Harvesting
Smart electricity and water meters benefit from the PIC18LF23K22-I/ML's nanoWatt XLP sleep modes and RTCC with on-chip 32 kHz oscillator. Sleep current below 100 nA means a single 3.6 V primary Li-SOCl2 cell can power the node for 10+ years with hourly metering. The CTMU enables tamper detection via capacitive sensing of meter enclosures. Place a 32.768 kHz crystal on the SOSCO/SOSCI pins for accurate RTC timekeeping, and use the EUSART LIN mode for AMR (automatic meter reading) interface.
Recomendado
Automotive Body Electronics
The PIC18LF23K22-I/ML is well suited for automotive body modules like seat controllers, lighting, and HVAC where 8-bit processing is sufficient. Its wide -40 C to +125 C extended operation is robust for under-dash environments. The EUSART LIN 2.0 slave support enables LIN bus connectivity to body control modules. Use the 16-bit PWM/CCP modules for LED dimming and motor speed control, and add TVS diodes on VDD for transient suppression per ISO 7637-2 automotive EMC requirements.
Recomendado
Consumer Capacitive Touch Interface
The PIC18LF23K22-I/ML's on-chip CTMU (Charge Time Measurement Unit) enables capacitive touch buttons, sliders, and proximity sensors without external components. The 25 GPIO pins can drive up to 25 touch channels for kitchen appliances, remote controls, or smart home panels. Sleep current is low enough for battery-powered remote controls that last the shelf life of the cell. Use hardware-driven CTMU scans during sleep for touch wake-up without CPU intervention, reducing average power below 5 uA.
Recomendado
Industrial Wireless Sensor / Remote Control
For industrial wireless sensor nodes and remote controls, the PIC18LF23K22-I/ML provides 1.8 V to 3.6 V operation compatible with two alkaline cells and a compact 6x6 mm QFN package for miniaturized PCB designs. The internal 16 MHz oscillator with 1% accuracy is sufficient for UART-based 433/868 MHz sub-GHz radio modules like the MRF89XA or LoRa transceivers. The 25 GPIO pins allow direct connection to a keypad matrix, LCD segment driver, or sensor cluster. Use IDLE mode with peripherals running for fastest wake-up to active scanning.
Recomendado
LED Lighting Controller
The PIC18LF23K22-I/ML can act as an LED lighting controller with multiple PWM/CCP channels driving RGB or white LED strings. Its nanoWatt XLP sleep mode supports off-state standby power below 30 uA, helping smart bulbs meet Energy Star standby requirements. Use the 10-bit ADC to read an ambient light sensor for daylight harvesting, and the I2C peripheral to interface with a wireless module for Zigbee or Bluetooth Mesh control. Place a ferrite bead on VDD to suppress PWM switching noise from coupling into the analog rail.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18LF23K22-I/ML — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | PIC18F23K22-I/ML | PIC18LF24K22-I/ML | PIC18LF25K22-I/ML | PIC18F24K22-I/ML | PIC18LF26K22-I/ML |
|---|---|---|---|---|---|---|
| Package | 28-QFN (6x6) | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 8 KB | 16 KB | 32 KB | 16 KB | 64 KB |
| SRAM | 768 bytes | 768 bytes | 1024 bytes | 1536 bytes | 1024 bytes | 3896 bytes |
| Operating Voltage | 1.8 V to 3.6 V (LF) | 2.3 V to 5.5 V (F) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 2.3 V to 5.5 V (F) | 1.8 V to 3.6 V (LF) |
| Maximum CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 25 |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 1024 bytes |
Diferenciadores clave
- Lowest 1.8 V minimum VDD in the K22 family (frente a PIC18F23K22-I/ML)
- Full nanoWatt XLP support at 1.8 V (frente a PIC18LF24K22-I/ML)
- Smallest Flash / lowest cost in the 28-QFN K22 family (frente a PIC18LF25K22-I/ML)
Notas de diseño
Place a 100 nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 20) and another 100 nF plus 10 uF bulk capacitor near the exposed thermal pad (EP) connected to VSS. For lowest sleep current, set unused peripherals to OFF in firmware before entering SLEEP mode and use the 31 kHz LP oscillator for the RTCC wake source. Disable the BOR and WDT only if the application can tolerate the loss of those safety features.
The 28-pin QFN package exposes a thermal pad (EP) on the underside that MUST be soldered to a copper pour of at least 25 mm^2 connected to VSS to meet the datasheet's thermal resistance rating of approximately 40 C/W. Without this connection, the junction-to-ambient resistance rises significantly, limiting high-temperature operation. Estimate: theta_JA increases by roughly 2x if the EP is left un-soldered, derating the 85 C operating envelope.
Route the ICSP signals PGC (RB6) and PGD (RB7) with short traces and avoid running them parallel to switching signals to prevent programming glitches. Place the MCLR pull-up (typically 10 kOhm) close to the MCLR pin and add a 100 nF cap to VSS for noise immunity. If using an external crystal on RA6/RA7, place the crystal and its load capacitors within 5 mm of the OSC1/OSC2 pins and guard the trace with a ground ring to reduce EMI.
Do not exceed the absolute maximum VDD of 4.0 V (LF variant) or 5.5 V (F variant); a 3.6 V LDO is the typical supply for LF designs. The CONFIG register settings are critical for first-time programming - the factory default enables the internal oscillator and disables the MCLR pin, which can confuse first-time users. Always verify the CONFIG word matches the desired oscillator, watchdog, brownout, and code-protect settings before mass production.
For analog measurements with the 10-bit ADC, enable the acquisition delay (ACQT) to allow the internal sample capacitor to settle to within 1/2 LSB. Estimate: at 8 pF sample capacitance and 10 kOhm source impedance, a 2 us acquisition delay is sufficient. Use the FVR (Fixed Voltage Reference) module for ratiometric measurements to reduce sensitivity to VDD variations, and connect unused analog pins (ANx) to either VDD or VSS to prevent floating-input leakage.
Información de cumplimiento
RoHS and REACH compliance per Microchip product environmental certification page. Not AEC-Q100 qualified - contact Microchip for automotive-grade PIC18 variants if AEC-Q100 is required.