PIC18LF23K22-E/SO - 8-bit MCU, 8KB Flash, 28-SOIC | Microchip
料号: PIC18LF23K22-E/SO ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $2.03 | $2.03 |
| 10 | $1.83 | $18.30 |
| 100 | $1.62 | $162.00 |
| 500 | $1.42 | $710.00 |
| 1,000 | $1.25 | $1,250.00 |
PIC18LF23K22-E/SO 概述
An 8-bit PIC microcontroller is a microcontroller based on an 8-bit data bus architecture, typically built around a RISC instruction set with a small, deterministic instruction footprint. PIC18 is the high-performance family in the 8-bit PIC portfolio, sitting between the baseline PIC10/12/16 families and the 16-bit dsPIC/PIC24 families in capability, and is widely used in consumer, industrial and automotive embedded designs where deterministic timing and low power are valued.
Key features include 8 KB self-programmable Flash with 100K endurance cycles, 256-byte EEPROM for non-volatile data storage, 768-byte SRAM, a 10-bit ADC with up to 17 channels and 30 ksps throughput, two 8-bit timers and three 16-bit timers, an enhanced USART with LIN support, MSSP supporting SPI and I2C (master/slave), two analog comparators with selectable references, and a charge time measurement unit (CTMU) for touch and capacitive sensing. The PIC18LF23K22 uses Microchip's nanoWatt XLP technology to deliver sleep currents in the sub-100 nA range and a typical active current below 1 mA at low clock speeds.
Architecture is based on the enhanced PIC18 RISC core with a 16-bit instruction word, hardware multiplier, hardware stack of 31 levels, single-cycle ALU operations and a configurable oscillator block supporting 8 MHz to 64 MHz operation. The integrated voltage regulator, brown-out reset and extended watchdog timer give the LF variant particular resilience in 3.3V-only or battery-driven designs.
Typical applications include low-power sensor nodes, hand-held instruments, home appliances, HVAC controls, LED lighting controllers, small motor control, USB/HID peripherals (paired with a USB transceiver), industrial control panels and automotive body modules. The wide SOIC footprint also makes it a popular choice for through-hole-style development boards and educational platforms.
When designing with this part, ensure the supply is decoupled with a 100 nF + 10 uF combination near the VDD pin, that the MCLR pin is pulled up via a 10 kohm resistor, and that PGC/PGD lines are reserved for ICSP. The E temperature grade (-40C to +125C) supports industrial and automotive under-hood environments.
This page synthesizes distributor pricing, drop-in same-package alternatives and practical design notes not found in the manufacturer datasheet, structured for procurement and design engineers evaluating the PIC18LF23K22-E/SO for new designs.
直接替换替代料: PIC18LF23K22-E/SO ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18LF23K22-E/SO (相同外形与封装尺寸) ——差异在于 Package, ADC, Operating Temperature, I/O Pins, Timers.
快速对比工具——选择替代料号进行并排对比:
PIC18LF24K22-E/SO
✅ 直接替换✓ 有现货
$1.32 / 个
查看数据手册 →PIC18LF25K22-E/SO
✅ 直接替换✓ 有现货
$1.27 / 个
查看数据手册 →PIC18LF26K22-E/SO
✅ 直接替换✓ 有现货
$1.96 / 个
查看数据手册 →PIC18F23K22-E/SO
✅ 直接替换📋 参考替代料(不在目录中)
PIC18LF14K22-I/SO
✅ 直接替换✓ 有现货
$1.15 / 个
查看数据手册 →PIC18LF13K22-I/SO
✅ 直接替换✓ 有现货
$1.68 / 个
查看数据手册 →PIC18LF23K22-E/SO 最大额定值与电气特性
| Core Architecture | PIC18 8-bit RISC |
| Program Memory (Flash) | 8 KB |
| Data RAM | 768 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Supply Voltage (LF) | 1.8 V to 3.6 V |
| 工作温度 | -40 C to +125 C (E grade) |
| Digital I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Analog Comparators | 2 |
| CCP / ECCP Modules | 2 (1 CCP + 1 ECCP) |
| Timers | 2 x 8-bit + 3 x 16-bit |
| Communication | EUSART (LIN), MSSP (SPI/I2C) |
| 封装 | 28-pin SOIC (SO), 0.295" / 7.50 mm width |
| 安装类型 | Surface Mount |
| MSL 等级 | 1 |
| RoHS 状态 | Compliant |
| Low-Power Feature | nanoWatt XLP |
PIC18LF23K22-E/SO 引脚配置
| 引脚 1 | RA2/AN2 — Digital I/O / Analog input channel 2 |
| 引脚 2 | RA3/AN3/VREF+ — Digital I/O / Analog input / ADC positive reference |
| 引脚 3 | RA4/AN4 — Digital I/O / Analog input channel 4 |
| 引脚 4 | RA5/AN5/SS1/HLVDIN — Digital I/O / Analog input / SPI1 slave select / High/Low voltage detect input |
| 引脚 5 | VDD — Positive supply voltage (1.8 V - 3.6 V) |
| 引脚 6 | VSS — Ground reference |
| 引脚 7 | RA7/OSC1/CLKIN — Digital I/O / Crystal oscillator input / External clock input |
| 引脚 8 | RA6/OSC2/CLKOUT — Digital I/O / Crystal oscillator output / Clock output |
| 引脚 9 | RC0/SOSCO — Digital I/O / Secondary oscillator crystal output (32.768 kHz) |
| 引脚 10 | RC1/SOSCI — Digital I/O / Secondary oscillator crystal input |
| 引脚 11 | RC2/AN11/P1D — Digital I/O / Analog input / Enhanced PWM output |
| 引脚 12 | RC3/AN12/P1C — Digital I/O / Analog input / Enhanced PWM output |
| 引脚 13 | RC4/AN10/P1B — Digital I/O / Analog input / Enhanced PWM output |
| 引脚 14 | RC5/AN9/P1A — Digital I/O / Analog input / Enhanced PWM output |
| 引脚 15 | RC6/AN8/CK1 — Digital I/O / Analog input / EUSART1 synchronous clock |
| 引脚 16 | RC7/AN7/RX1 — Digital I/O / Analog input / EUSART1 receive |
| 引脚 17 | RB7/AN6/KBI3/PGD — Digital I/O / Analog input / Keyboard interrupt / ICSP data |
| 引脚 18 | RB6/AN5/KBI2/PGC — Digital I/O / Analog input / Keyboard interrupt / ICSP clock |
| 引脚 19 | RB5/AN11/KBI1/CCP5 — Digital I/O / Analog input / Keyboard interrupt / CCP5 |
| 引脚 20 | RB4/AN10/KBI0/CCP4 — Digital I/O / Analog input / Keyboard interrupt / CCP4 |
| 引脚 21 | RB3/AN9/CTED2/CCP2 — Digital I/O / Analog input / CTMU edge 2 / CCP2 |
| 引脚 22 | RB2/AN8/CTED1/P1B — Digital I/O / Analog input / CTMU edge 1 / PWM output |
| 引脚 23 | RB1/AN7/CTDIN/RX2 — Digital I/O / Analog input / CTMU / EUSART2 receive |
| 引脚 24 | RB0/AN12/FLT0/CTE — Digital I/O / Analog input / PWM fault / CTMU edge |
| 引脚 25 | VSS — Ground reference |
| 引脚 26 | VDD — Positive supply voltage |
| 引脚 27 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| 引脚 28 | RA0/AN0 — Digital I/O / Analog input channel 0 |
典型应用
PIC18LF23K22-E/SO 适用于 6 应用s: Battery-Powered Sensor Node, Home Appliance Control Board, HVAC Thermostat and Climate Control, LED Lighting Controller, USB HID Peripheral (with External Transceiver), Industrial Control Panel I/O Module.
Battery-Powered Sensor Node
The PIC18LF23K22-E/SO is ideal for battery-powered wireless sensor nodes operating from a 3.3V rail or two AA cells. Its nanoWatt XLP technology delivers sub-100 nA sleep current and sub-1 mA active current at low clock speeds, while the 64 MHz (16 MIPS) PIC18 core handles periodic sensor reads and transmit bursts without waking the radio. The integrated 10-bit ADC with 17 channels supports multi-sensor analog front-ends (temperature, light, voltage), and the MSSP (SPI/I2C) interfaces directly to low-power RF transceivers such as the MRF24J40 or external EEPROMs. The 28-SOIC footprint leaves 25 GPIO for status LEDs, user buttons and peripheral expansion, and the wide -40C to +125C E temperature grade supports outdoor or industrial enclosures.
推荐
Home Appliance Control Board
White-goods and small home appliances benefit from the PIC18LF23K22-E/SO's ECCP module for PWM-driven motor or triac control, plus the analog comparators for zero-crossing detection. The 25 GPIO drive multiplexed keypads, 7-segment displays, and relay drivers without external logic. Two USARTs (EUSART with LIN support) connect to inverter boards or sub-modules, while the 256-byte EEPROM stores calibration and last-user-state without external NVRAM. The wide SOIC package simplifies hand-soldering and rework in low-volume appliance SKUs, and the E temperature grade handles under-cabinet heat.
推荐
HVAC Thermostat and Climate Control
The PIC18LF23K22-E/SO's 17-channel 10-bit ADC reads multiple thermistor inputs (room, return-air, outdoor, coil), while the EUSART drives a Modbus or BACnet link to the building controller. Its 1.8V minimum supply allows direct operation from a step-down regulator off 24VAC, and the nanoWatt XLP modes let the MCU sleep between sensor reads, drawing microamps. The 28-SOIC footprint makes PCB layout and field service straightforward for thermostat OEMs, and the extended -40C to +125C temperature grade covers plenum-mount installations.
推荐
LED Lighting Controller
Color-mixing and dimmable LED drivers use the PIC18LF23K22-E/SO's ECCP module to generate accurate PWM at 16-bit resolution for dimming and color-mix control. The 25 GPIO and SPI MSSP drive LED driver ICs such as the TLC59401 or TLC5971 in daisy-chain configurations. The 1.8V to 3.6V supply range lets the controller share a common 3.3V rail with the LED driver logic. The CTMU peripheral simplifies capacitive touch sliders for on-glass dimming controls in architectural luminaires.
推荐
USB HID Peripheral (with External Transceiver)
Although the PIC18LF23K22-E/SO lacks native USB, it pairs with an external USB transceiver such as the MCP2200 or MCP2221 over UART to implement HID-class peripherals (keyboards, mice, custom input devices). The EUSART provides a clean USB-CDC bridge at up to 115200 baud without burdening the CPU. The 8 KB Flash is sufficient for HID report descriptors and a small bootloader, and the 256-byte EEPROM stores user preferences across power cycles. The 28-SOIC wide-body package aids hand-prototyping of consumer USB peripherals.
推荐
Industrial Control Panel I/O Module
In factory automation, the PIC18LF23K22-E/SO serves as a Modbus RTU or CAN-link I/O concentrator: 25 GPIO scan 16-to-32 digital inputs via matrixing, the 10-bit ADC reads 4-8 analog inputs, and the EUSART handles RS-485 Modbus. The E temperature grade handles cabinet environments, and the 28-SOIC wide-body package is friendly to through-hole refurbishment. The nanoWatt XLP feature is less critical here than the deterministic interrupt response from the 16 MIPS core for real-time I/O polling.
推荐
推荐产品汇总
工程参考数据: PIC18LF23K22-E/SO ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18LF24K22-E/SO | PIC18LF25K22-E/SO | PIC18LF26K22-E/SO | PIC18F23K22-E/SO |
|---|---|---|---|---|---|
| Package | 28-SOIC (0.295") | 28-SOIC (0.295") - same | 28-SOIC (0.295") - same | 28-SOIC (0.295") - same | 28-SOIC (0.295") - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 16 KB | 32 KB | 64 KB | 8 KB |
| RAM | 768 bytes | 1536 bytes | 1536 bytes | 3896 bytes | 768 bytes |
| Supply Voltage | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V |
| Max CPU Speed | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| Digital I/O | 25 | 25 | 25 | 25 | 25 |
| Low-Power Feature | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
关键差异点
- Lowest-voltage (1.8V) operation in the 28-SOIC K22 family with 8 KB Flash (对比 PIC18F23K22-E/SO)
- Larger Flash and RAM than legacy PIC18F1XK22 in 28-SOIC (对比 PIC18LF14K22-I/SO)
- Lower memory variant option in the same 28-SOIC for cost-down (对比 PIC18LF26K22-E/SO)
设计说明
Place a 100 nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 5), and add a bulk 10 uF capacitor at the board supply input. For SOIC variants, also place a 100 nF on the second VDD pin (pin 26). This applies across the 1.8V to 3.6V LF range and is essential when the analog comparators or ADC are active to prevent digital switching noise from coupling into the analog rail.
Keep the 28-SOIC PCB layout with at least 8-mil traces and a solid ground pour under the package exposed lead-frame. The ICSP pins PGC (RB6/pin 18) and PGD (RB7/pin 17) must be routed to an in-circuit programming header with no series resistors in line; place the header at the board edge for production access. The MCLR reset pin (pin 1 - RA2/AN2) - confirm the pinout from the datasheet since MCLR on K22 family is multiplexed with port A. Wire the external MCLR pull-up of 10 kohm to VDD and place a 100 nF capacitor to ground for noise immunity.
Do not exceed 3.6V on VDD on the LF variant or the on-chip brown-out reset may misbehave and the Flash endurance spec is reduced. Do not rely on the internal 16 MHz HFINTOSC for timing-sensitive UART or PWM applications; switch to the 64 MHz PLL configuration with the HFINTOSC + 4x PLL for full 16-MIPS throughput. Avoid using the ADC with the internal band-gap reference at temperatures above 85C without calibration - reference voltage drifts more than 5% over the E temperature grade range.
合规信息
RoHS and REACH compliance per Microchip product page. The PIC18LF23K22-E/SO is not AEC-Q100 qualified - for automotive applications, use the PIC18F23K22-E/SO Q-grade or K22Q family.