PIC18LF23K22-E/SO - 8-bit MCU, 8KB Flash, 28-SOIC | Microchip
MPN: PIC18LF23K22-E/SO ✓ פעיל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 אינם נכללים.
וריאנטים בסדרה זו
דגמים מאותה סדרה התואמים Drop-in עם PIC18LF23K22-E/SO (אותו גורם צורה וטביעת רגל) — שונים ב Package, ADC, Operating Temperature, I/O Pins, Timers.
PIC18LF24K22-E/SO
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18LF25K22-E/SO
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18LF26K22-E/SO
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18F23K22-E/SO
✅ Drop-In📋 חלופה להתייחסות (לא בקטלוג)
PIC18LF14K22-I/SO
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18LF13K22-I/SO
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←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.