PIC18LF23K22-I/SP - 8KB Flash, 64MHz XLP 8-bit MCU | Microchip
N.º de pieza: PIC18LF23K22-I/SP ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $1.95 | $1,95 |
| 10 | $1.78 | $17,80 |
| 100 | $1.52 | $152,00 |
| 500 | $1.31 | $655,00 |
| 1.000 | $1.18 | $1.180,00 |
PIC18LF23K22-I/SP Descripción general
What is a PIC18 LF microcontroller? The PIC18 is Microchip's 8-bit Harvard-architecture RISC MCU family; the LF prefix designates the low-voltage F-core silicon revision that supports operation down to 1.8 V, while the 'K22' sub-family adds nanoWatt XLP™ extreme-low-power technology with sleep currents as low as ~20 nA. In the system hierarchy, PIC18LF devices sit between PIC16 mid-tier 8-bit MCUs and PIC24 16-bit controllers, optimized for cost-sensitive, ultra-low-power embedded designs. The -I/SP suffix denotes industrial temperature grade (-40 °C to +85 °C) and SPDIP-28 packaging.
Key differentiating features include nanoWatt XLP sleep modes for battery applications, a peripheral pin-select (PPS) system for flexible I/O mapping, 5.5 MIPS performance at 64 MHz, self-programmable Flash with internal read-while-write, and an on-chip 16 MHz internal oscillator that eliminates external crystals in many designs. These features collectively enable ultra-low standby power while retaining enough computational headroom for sensor processing, human-machine interfaces, and connected-edge nodes.
Architecturally, the PIC18LF23K22 uses a modified Harvard core with separate program and data buses, a hardware multiplier, and an 8-level deep hardware stack. The PPS engine reassigns digital peripheral functions (UART, SPI, PWM) to nearly any I/O pin, simplifying PCB layout and BOM reduction. The integrated 10-bit ADC and dual comparators support direct sensor interfacing without external signal-conditioning ICs.
Typical applications include battery-powered IoT sensor nodes, wearable health monitors, remote controls, low-power wireless sensor platforms (sub-GHz/BLE host MCUs), home-automation controllers, and industrial telemetry. Its nanoWatt XLP sleep current allows multi-year battery life on a single CR2032 coin cell for periodic wake-and-measure duty cycles.
When designing with this part, plan a robust brown-out-reset (BOR) and watchdog configuration; the LF core's 1.8 V minimum allows direct Li-ion or 2x AA cell operation without boost converters. Reserve PPS channels early to avoid layout rework.
This page synthesizes distributor pricing, drop-in 28-pin SPDIP alternatives, and practical low-power design notes not found in the standalone Microchip datasheet, helping engineers evaluate the PIC18LF23K22 against footprint-compatible PIC18F-family cousins.
Alternativas directas para PIC18LF23K22-I/SP — 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/SP (mismo factor de forma y huella) — difiere en RoHS Status, ADC, Core Architecture, Mounting Type, Program Memory (Flash).
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18LF25K22-I/SP
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18LF24K22-I/SP
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F23K22-I/SP
✅ Sustitución directa✓ En stock
$1.42 / unidad
Ver hoja de datos →PIC18F25K22-I/SP
✅ Sustitución directa✓ En stock
$2.45 / unidad
Ver hoja de datos →PIC18LF23K22-I/SP Valores máximos y características eléctricas
| Manufacturer | Microchip Technology |
| Series / Family | PIC® 18K XLP™ |
| Core | PIC18 (8-bit RISC Harvard) |
| Core Sub-version | LF (low-voltage F-core, 1.8 V minimum) |
| Program Memory (Flash) | 8 KB (4K x 16) |
| RAM | 512 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Supply Voltage (Vdd) | 1.8 V to 3.6 V |
| Rango de temperatura de funcionamiento | -40 °C to +85 °C (industrial) |
| Digital I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Analog Comparators | 2 |
| Communication Peripherals | 1x MSSP (SPI/I2C), 1x Enhanced USART |
| Encapsulado | 28-pin SPDIP (Skinny Plastic DIP, through-hole) |
| Tipo de montaje | Through-Hole |
| Nivel MSL | 1 (not moisture-sensitive, no dry-pack required) |
| Estado RoHS | Compliant (lead-free) |
| Lead-Free | Yes |
| Low-Power Feature | nanoWatt XLP™ technology |
| Peripheral Pin Select (PPS) | Yes |
| Internal Oscillator | Yes (16 MHz HFINTOSC, software-tunable) |
| Estado del ciclo de vida | ACTIVE |
Configuración de pines de PIC18LF23K22-I/SP
| Pin 1 | RA7 — Digital I/O / OSC1 / CCP1 / PPS remappable |
| Pin 2 | RA6 — Digital I/O / OSC2 / CCP2 / PPS remappable |
| Pin 3 | RA5 — Digital I/O / AN4 / C2OUT / PPS remappable |
| Pin 4 | RA4 — Digital I/O / T0CKI / C1OUT / PPS remappable |
| Pin 5 | RA3 — Digital I/O / AN3 / Vref+ / PPS remappable |
| Pin 6 | RA2 — Digital I/O / AN2 / C2IN+ / Vref- / PPS remappable |
| Pin 7 | RA1 — Digital I/O / AN1 / C2IN- / PPS remappable |
| Pin 8 | RA0 — Digital I/O / AN0 / C1IN- / PPS remappable |
| Pin 9 | Vdd — Positive supply (1.8 V to 3.6 V) |
| Pin 10 | Vss — Ground reference |
| Pin 11 | RB7 — Digital I/O / PGD / ICD pins / PPS remappable |
| Pin 12 | RB6 — Digital I/O / PGC / ICD pins / PPS remappable |
| Pin 13 | RB5 — Digital I/O / AN11 / PPS remappable |
| Pin 14 | RB4 — Digital I/O / AN10 / PPS remappable |
| Pin 15 | RB3 — Digital I/O / CPG / CCP2(2) / PPS remappable |
| Pin 16 | RB2 — Digital I/O / AN8 / CPG / PPS remappable |
| Pin 17 | RB1 — Digital I/O / AN7 / C2IN+ / SCL2 / PPS remappable |
| Pin 18 | RB0 — Digital I/O / AN6 / C1IN+ / SDA2 / PPS remappable |
| Pin 19 | Vss — Ground reference |
| Pin 20 | Vdd — Positive supply (1.8 V to 3.6 V) |
| Pin 21 | RC7 — Digital I/O / AN15 / RX / PPS remappable |
| Pin 22 | RC6 — Digital I/O / AN16 / TX / CK / PPS remappable |
| Pin 23 | RC5 — Digital I/O / AN13 / SDO2 / PPS remappable |
| Pin 24 | RC4 — Digital I/O / AN12 / SDA1 / PPS remappable |
| Pin 25 | RC3 — Digital I/O / AN9 / SCL1 / PPS remappable |
| Pin 26 | RC2 — Digital I/O / AN14 / CCP1 / PPS remappable |
| Pin 27 | RC1 — Digital I/O / AN5 / INT1 / PPS remappable |
| Pin 28 | RC0 — Digital I/O / AN16 / INT0 / PPS remappable |
Aplicaciones típicas
PIC18LF23K22-I/SP es adecuado para 6 aplicacións: Battery-Powered IoT Sensor Nodes, Wearable Health Monitors, Industrial Telemetry and Sensor Hubs, Remote Controls and HMI Panels, Smart Home Sensor Endpoints, Automotive Body and Accessory Controllers.
Battery-Powered IoT Sensor Nodes
The PIC18LF23K22-I/SP suits coin-cell IoT sensor nodes because its nanoWatt XLP technology drops sleep current to roughly 20 nA, allowing a 1-Hz wake-and-measure duty cycle on a CR2032 to exceed 2 years of battery life. The 1.8 V to 3.6 V Vdd range maps directly to a single CR2032 or Li-ion cell without a boost converter, while the 10-bit ADC with 17 channels handles temperature, humidity, and light sensors via direct resistive-bridge inputs. The 8 KB Flash is enough for a small RTOS or cooperative scheduler plus a sub-GHz/BLE host UART command parser. The 25 GPIOs support multiple SPI/I2C sensors via the MSSP peripheral, and the internal 16 MHz oscillator removes the BOM cost of an external crystal.
Recomendado
Wearable Health Monitors
The PIC18LF23K22-I/SP fits wearable health monitors by combining low-voltage operation (down to 1.8 V) with nanoWatt XLP sleep modes that extend battery life on small Li-ion or coin cells. The integrated 10-bit ADC and two analog comparators process PPG/ECG sensor front-ends directly, while the 25 GPIOs multiplex the optical sensor, accelerometer interrupt, and BLE host UART without external logic. The 64 MHz core runs signal-conditioning routines between samples, leaving enough MIPS headroom for peak-detection and step-counting algorithms. Industrial -40 °C to +85 °C operation survives skin-contact thermal cycling in fitness-band and wrist-form-factor designs.
Recomendado
Industrial Telemetry and Sensor Hubs
The PIC18LF23K22-I/SP serves industrial 4-20 mA loop-powered telemetry hubs by combining 1.8 V to 3.6 V operation with on-chip peripherals that minimize external components. The MSSP peripheral drives SPI or I2C sensor chains, while the Enhanced USART links to RS-485 transceivers for Modbus RTU fieldbus connectivity. The 10-bit ADC with 17 channels reads 4-20 mA loop currents via burden resistors and provides housekeeping temperatures. The 8 KB Flash holds a Modbus slave stack plus sensor-fusion routines; for larger stacks, the PIC18LF25K22-I/SP offers drop-in 16 KB Flash. Watchdog timer and brown-out reset ensure recovery from industrial line transients.
Recomendado
Remote Controls and HMI Panels
The PIC18LF23K22-I/SP is well-suited for handheld remote controls and low-power HMI panels because its nanoWatt XLP sleep modes extend AAA-cell battery life well beyond 1 year in standby. The 25 GPIOs drive matrix keypads and LED indicators, while the MSSP peripheral interfaces SPI LCD/OLED displays or capacitive touch controllers. The 16 MHz internal oscillator eliminates external crystal cost, and PPS flexibility reassigns peripheral pins to match compact PCB layouts. The Enhanced USART enables IR-transmitter PWM modulation or BLE host UART bridging.
Recomendado
Smart Home Sensor Endpoints
The PIC18LF23K22-I/SP supports smart-home sensor endpoints (door/window, motion, leak) with battery life measured in years thanks to nanoWatt XLP sleep current. The 25 GPIOs accept dry-contact reed switches, PIR motion interrupts, and water-leak probes, while the integrated ADC reads battery voltage for low-battery alerts. The MSSP peripheral interfaces SPI or I2C sub-GHz radios and BLE SoCs, and the Enhanced USART enables direct Zigbee/Matter host MCU bridging. Industrial -40 °C to +85 °C rating covers unheated garage and attic installations.
Recomendado
Automotive Body and Accessory Controllers
The PIC18LF23K22-I/SP fits non-safety automotive body controllers (interior lighting, seat controllers, accessory modules) when paired with an external 12 V to 3.3 V regulator. The 16 MIPS performance drives PWM LED dimming via the CCP module, while the 10-bit ADC reads current-sense shunts for short-circuit protection. The Enhanced USART supports LIN-bus slave communication via an external LIN transceiver. For under-hood or AEC-Q100 applications, designers should specify the PIC18F25K22-I/ME automotive-grade variant instead, but the LF23K22 remains a cost-optimized industrial choice for cabin-mounted accessories.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18LF23K22-I/SP — 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 | PIC18LF25K22-I/SP | PIC18LF24K22-I/SP | PIC18F23K22-I/SP |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP (through-hole) | 28-SPDIP (through-hole) | 28-SPDIP (through-hole) | 28-SPDIP (through-hole) |
| Core | PIC18 LF (1.8-3.6 V) | PIC18 LF (1.8-3.6 V) | PIC18 LF (1.8-3.6 V) | PIC18 F (1.8-5.5 V) |
| Flash Memory | 8 KB | 16 KB | 16 KB | 8 KB |
| RAM | 512 bytes | 1.5 KB | 1 KB | 512 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Supply Voltage (Vdd) | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 5.5 V |
| Digital I/O Pins | 25 | 25 | 25 | 25 |
| ADC | 10-bit, 17 channels | 10-bit, 17 channels | 10-bit, 17 channels | 10-bit, 17 channels |
| Low-Power Feature | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
Diferenciadores clave
- nanoWalt XLP sleep current as low as ~20 nA for multi-year coin-cell operation (frente a PIC18F23K22-I/SP)
- LF low-voltage F-core specification allows 1.8 V to 3.6 V operation (frente a PIC18F23K22-I/SP)
- 8 KB Flash fits common protocol stacks with code-growth headroom in same family (frente a PIC18LF25K22-I/SP)
Notas de diseño
The LF core operates from 1.8 V to 3.6 V on Vdd, but transient tolerance on digital I/O pins only extends to Vdd + 0.3 V. Connecting a 5 V sensor output directly to a digital input will exceed absolute-maximum ratings and risk latch-up. Use a 5 V to 3.3 V level translator (e.g., TXS0108E) or a resistive divider when interfacing to legacy 5 V peripherals. Decouple Vdd with 100 nF + 10 uF bulk capacitors placed within 5 mm of the Vdd/Vss pin pair to suppress switching transients from the internal charge pump.
At industrial -40 °C to +85 °C operating range, the PIC18LF23K22-I/SP itself draws negligible power (sleep current ~20 nA typical) so self-heating is not a concern; however, external crystal oscillators (when used instead of the internal HFINTOSC) must be chosen for the full temperature range. The internal 16 MHz HFINTOSC is factory-calibrated to ±2% across -40 °C to +85 °C, eliminating the need for an external crystal in many designs and saving BOM cost and PCB area. For designs requiring tighter UART timing accuracy, specify an external crystal with ±20 ppm stability across the operating range.
Place the 100 nF decoupling capacitor on each Vdd/Vss pin pair within 3 mm trace length to minimize ground bounce and Vdd droop during high-speed GPIO toggling. Route the ICSP/ICD pins (RB6 = PGC, RB7 = PGD) directly to an in-circuit programming header without series resistors; Microchip ICD debuggers require direct access for proper signal integrity. If the PCB layout puts the ICSP header far from the MCU, add a 4.7 kohm pull-up on MCLR to prevent spurious resets during board bring-up. Reserve a ground pour under the SPDIP footprint to reduce EMI susceptibility.
Do not enable the on-chip 3.3 V internal voltage regulator if the application runs below 2.0 V; this disables the regulator and the device runs directly from Vdd. Configure the brown-out reset (BOR) trip voltage to a value above the minimum Vdd (1.8 V) but below the application's regulated rail to avoid spurious resets during inrush. When using the peripheral pin-select (PPS) feature, lock the pin mapping in firmware at startup; forgetting to unlock PPS registers leaves peripherals on default pins and breaks GPIO multiplexing. Always review the Configuration Words in the linker script; an incorrect WDT setting can cause unintended resets in deep-sleep applications.
Información de cumplimiento
RoHS compliant per Microchip product page; industrial temperature grade (-40 °C to +85 °C) only - not AEC-Q100 qualified. For automotive, use the PIC18F25K22-I/ME variant.