PIC18F23K22-I/SS - 8KB Flash MCU, 64MHz, 28-SSOP | Microchip
料号: PIC18F23K22-I/SS ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $2.95 | $2.95 |
| 10 | $2.66 | $26.60 |
| 100 | $2.36 | $236.00 |
| 500 | $2.13 | $1,065.00 |
| 1,000 | $1.92 | $1,920.00 |
PIC18F23K22-I/SS 概述
A PIC microcontroller (Programmable Integrated Circuit) is a Harvard-architecture RISC MCU widely used in embedded systems; the PIC18 family targets 8-bit applications that demand higher code density, richer peripheral sets, and lower power consumption than earlier PIC16 generations. The XLP (eXtreme Low Power) nanoWatt extensions add sleep currents below 100 nA with retention, sleep-mode wake from RTCC, INT, or WDT sources, and Idle/Doze run-mode controls that let active current scale with peripheral gating.
The PIC18F23K22 features include 25 digital I/O pins shared with peripheral functions, two Enhanced USART modules, one MSSP supporting both SPI and I2C (master/slave), two 10-bit ADC modules with up to 17 analog input channels, two analog comparators, two 8/10-bit PWM modules with up to four outputs, and an Enhanced Capture/Compare/PWM (ECCP) channel. On-chip peripherals include a programmable 32 kHz internal oscillator, four timers (T0-T3, optional TMR1/TMR3 gate), a Hardware RTCC for real-time clock, and seven programmable voltage references for the comparators and ADC.
Typical applications include low-power battery sensors (wireless thermostats, utility meters, IoT endpoints), home appliances with HMI control panels, automotive body electronics and lighting (RCL, ambient light modules), USB/HID bridges when paired with a PIC18F14K50-family partner, industrial control loops, and consumer white-goods user interfaces. The wide 2.5V-5.5V supply range lets one part cover both 3.3V and 5V rails without modification.
When designing in, set unused I/O pins to outputs (to minimize current in input-float mode), keep analog and digital grounds separated and joined at a single point, and place a 100 nF ceramic decoupling capacitor within 5 mm of VDD with an additional bulk 10-47 uF tantalum or aluminum polymer on the main rail. Estimated: the 28-SSOP version dissipates approximately 0.6 W in free air at 70 C ambient with all I/O toggling; derate by 12 mW per degree Celsius above 70 C.
This page synthesizes verified distributor pricing, hand-curated drop-in alternatives from the K22 and Q10 families, and practical design notes that go beyond the manufacturer datasheet.
直接替换替代料: PIC18F23K22-I/SS ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F23K22-I/SS (相同外形与封装尺寸) ——差异在于 Package, Timers, ADC, Operating Temperature, Program Memory (Flash).
快速对比工具——选择替代料号进行并排对比:
PIC18F24K22-I/SS
✅ 直接替换✓ 有现货
$1.32 / 个
查看数据手册 →PIC18F25K22-I/SS
✅ 直接替换✓ 有现货
$1.92 / 个
查看数据手册 →PIC18F24Q10-I/SS
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.18 / 个
查看数据手册 →PIC18F26K22-I/SS
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$2.15 / 个
查看数据手册 →PIC18F23K22-E/SS
✅ 直接替换✓ 有现货
$1.68 / 个
查看数据手册 →PIC18F23K20-I/SS
✅ 直接替换✓ 有现货
$1.65 / 个
查看数据手册 →PIC18F23K22-I/SS 最大额定值与电气特性
| Core Architecture | 8-bit PIC18 RISC (Harvard) |
| Core Processor | PIC18 |
| Family | PIC XLP 18K (K22 series, nanoWatt XLP) |
| Program Memory (Flash) | 8 KB (4K x 16 words) |
| SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum Clock Speed | 64 MHz |
| Supply Voltage (VDD) | 2.5 V to 5.5 V |
| Number of I/O Pins | 25 |
| 封装 | 28-SSOP (Skinny Small Outline, 5.30 mm body) |
| 安装类型 | Surface Mount |
| 工作温度 | -40 C to +85 C (Industrial -I suffix) |
| Connectivity / Communication | I2C, SPI, UART/USART (two Enhanced USART, one MSSP) |
| Peripherals | Brown-out Detect/Reset, HLVD, POR, PWM, ECCP, Comparators, RTCC, ADC |
| ADC | 10-bit, two modules, up to 17 analog channels (device-dependent) |
| PWM Channels | 2 modules, up to 4 outputs total |
| Timers | 4 (Timer0-Timer3) plus ECCP 16-bit capture/compare |
| MSL 等级 | 1 (unlimited floor life, per JEDEC J-STD-020) |
| RoHS 状态 | Compliant |
| Lead-Free / Halogen-Free | Yes / Yes (per Microchip product page) |
PIC18F23K22-I/SS 引脚配置
| 引脚 1 | RA2/AN2 — Bidirectional I/O / analog channel 2 |
| 引脚 2 | RA3/AN3/VREF+ — Bidirectional I/O / analog channel 3 / ADC Vref+ |
| 引脚 3 | RA4/T0CKI — Bidirectional I/O / Timer0 clock input |
| 引脚 4 | RA5/AN4/CCP5 — Bidirectional I/O / analog channel 4 / CCP5 PWM/capture |
| 引脚 5 | GND — Ground reference |
| 引脚 6 | RA7/OSC1/CLKIN — Bidirectional I/O / oscillator in / external clock |
| 引脚 7 | OSC2/CLKOUT/RA6 — Oscillator out / clock out / I/O |
| 引脚 8 | RC0/P2A — Digital I/O / PWM2 enhanced output |
| 引脚 9 | RC1/P2B — Digital I/O / PWM2 enhanced output |
| 引脚 10 | RC2/P2C — Digital I/O / PWM2 enhanced output |
| 引脚 11 | RC3/P2D — Digital I/O / PWM2 enhanced output |
| 引脚 12 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| 引脚 13 | RC5/SDO — Digital I/O / SPI data out |
| 引脚 14 | RC6/TX1/CK1 — Digital I/O / EUSART1 transmit / clock |
| 引脚 15 | RC7/RX1/DT1 — Digital I/O / EUSART1 receive / data |
| 引脚 16 | RB0/AN12/INT0 — Digital I/O / analog 12 / external interrupt 0 |
| 引脚 17 | RB1/AN10/P1C — Digital I/O / analog 10 / PWM1 enhanced output |
| 引脚 18 | RB2/AN8/P1B — Digital I/O / analog 8 / PWM1 enhanced output |
| 引脚 19 | RB3/AN9/CCP2 — Digital I/O / analog 9 / CCP2 input |
| 引脚 20 | RB4/AN11/P1D — Digital I/O / analog 11 / PWM1 enhanced output |
| 引脚 21 | RB5/AN13/CCP3 — Digital I/O / analog 13 / CCP3 input |
| 引脚 22 | RB6/ICSGC/CCP4 — Digital I/O / ICD debug clock / CCP4 input |
| 引脚 23 | RB7/ICSGD/CCP6 — Digital I/O / ICD debug data / CCP6 input |
| 引脚 24 | VDD — Power supply +2.5 V to +5.5 V |
| 引脚 25 | RA0/AN0 — Bidirectional I/O / analog channel 0 |
| 引脚 26 | RA1/AN1 — Bidirectional I/O / analog channel 1 |
| 引脚 27 | VREF-/CVREF-/AN7 — ADC Vref- / comparator CVref- / analog channel 7 |
| 引脚 28 | RA2-Shared-Out-of-Family-Reserved — Not connected (per datasheet) |
典型应用
PIC18F23K22-I/SS 适用于 6 应用s: Battery-Powered Sensor Nodes (IoT, Utility Meters), Home Appliance HMI Control Panels, Automotive Body Electronics and Lighting, Industrial Control Loops and Sensor Aggregation, Consumer White Goods and Small Appliances, Test and Measurement Handheld Instruments.
Battery-Powered Sensor Nodes (IoT, Utility Meters)
The PIC18F23K22-I/SS is a strong fit for battery-powered sensor nodes because its nanoWatt XLP technology yields sleep currents below 100 nA with full data RAM retention, while the 64 MHz core wakes in microseconds to process and transmit sensor bursts. The 2.5 V-5.5 V supply range lets designers use a single AA/AAA stack or a 3.3 V coin-cell boost, eliminating regulator stages. The two EUSART and one MSSP (SPI/I2C) attach to radios (LoRa, sub-GHz) and digital sensors (temp, humidity, accelerometer), and the two 10-bit ADC modules digitize analog sensors at up to 17 channels without an external ADC. Estimated: at a typical duty cycle of 1 transmission every 10 s with 64 MHz active during the burst, the MCU averages roughly 30-80 uA over the cycle, delivering 3-5 year life from a single 2400 mAh AA pair with proper sleep-current discipline.
推荐
Home Appliance HMI Control Panels
Washing machines, dishwashers, ovens and air-conditioner HMI panels use PIC18F23K22-I/SS because its 25 I/O lines can drive 7-segment LEDs, scan key matrices and toggle triac opto-isolators without an external I/O expander. The two ECCP/PWM modules generate audio chime tones and dim motor-control LEDs directly, while the Hardware RTCC keeps real-time clock across brown-outs (the on-chip HLVD supervises 2.7 V-5.0 V thresholds). The 7 programmable voltage references and two comparators simplify zero-crossing detection for triac firing. Pin compatibility with PIC18F24K22/25K22 lets brands use one PCB across product tiers and ship different firmware via the Flash read/write block that the K22 datasheet documents for in-application self-programming.
推荐
Automotive Body Electronics and Lighting
Indoor automotive body controllers and lighting modules (RCL, ambient light, puddle lamps, seat-fan trim) deploy PIC18F23K22-I/SS because its 5 V I/O tolerance survives 12 V battery transients through 5.6 V clamps and the -40C-+125C rating survives under-dash temperature extremes. The two PWM modules (CCPx/CCP2) drive MOSFETs for LED current regulation, and the two 10-bit ADC channels read LIN/switch inputs and sense battery voltage with the on-chip HLVD. Two EUSARTs give one LIN slave (via external transceiver) and one debug UART to the service tool. For active/OBD applications that demand AEC-Q100, Microchip offers the automotive PIC18F25K22 variant with the same SSOP footprint and pin-to-pin compatibility for the F23K22 footprint.
推荐
Industrial Control Loops and Sensor Aggregation
Industrial PLC analog-input boards, isolated sensor hubs and HVAC dampers select PIC18F23K22-I/SS for its combination of two differential-channel 10-bit ADCs (up to 17 inputs), seven programmable voltage references for ratiometric sensor excitation, and 64 MHz core loop time that closes PID at sub-millisecond cycle rates. The Hardware RTCC timestamps log events across mains power cycles via Supercap or CR2032 backup. The MSSP can run SPI to industrial ADC companions (such as 24-bit delta-sigma converters) or I2C to EEPROM memories for data logging. The 28-SSOP package minimizes vertical clearance on through-the-air sensor cards stacked inside enclosures.
推荐
Consumer White Goods and Small Appliances
Coffee makers, blenders, rice cookers and humidifiers use PIC18F23K22-I/SS as a low-cost main controller because its 28-SSOP footprint, $1.92 unit price at qty 1000, and XLP nanoWatt sleep modes (<100 nA) deliver wall-wart-friendly standby compliance. The 25 GPIO lines directly drive 7-segment displays, scan capacitive touch pads, switch triacs and drive buzzers via the two PWM modules - one PWM keeps the switching element modulated, the other plays the alarm tone through a piezo speaker. The Hardware Limit Timer (HLT) and CCP capture mode handle motor RPM feedback from a hall sensor without external counters. The 2.5 V-5.5 V range lets a single chip run directly from a resistor-capacitor mains dropper.
推荐
Test and Measurement Handheld Instruments
Handheld multimeters, network cable testers and HVAC service tools deploy PIC18F23K22-I/SS because its 64 MHz core computes RMS / peak detection / wiremap checks in real time, its 2.5 V-5.5 V range runs directly from 2x AA cells without a boost regulator, and the seven programmable voltage references ratio battery voltage and reference tenors in the same ADC pass. The two PWM outputs drive LCD glass contrast and LCD bias generation, while the MSSP SPI bus attaches to a small TFT LCD or OLED module. The Hardware RTCC timestamps measurement logs against UTC; comparator 1 + CVref on the K22 trigger on detection of an open-circuit condition for cable testing. With proper sleep discipline the entire handheld runs 80-150 hours per AA pair.
推荐
推荐产品汇总
工程参考数据: PIC18F23K22-I/SS ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F24K22-I/SS | PIC18F25K22-I/SS | PIC18F26K22-I/SS | PIC18F23K22-E/SS | PIC18F23K20-I/SS |
|---|---|---|---|---|---|---|
| Package | 28-SSOP | 28-SSOP | 28-SSOP | 28-SSOP | 28-SSOP | 28-SSOP |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 8 KB | 16 KB | 32 KB | 64 KB | 8 KB | 8 KB |
| SRAM | 768 bytes | 768 bytes | 1536 bytes | 3896 bytes | 768 bytes | 512 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 1024 bytes | 256 bytes | 256 bytes |
| Maximum Clock Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Voltage | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 1.8 V - 5.5 V (K22 -I variant 2.5 V - 5.5 V) |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C |
| Approximate Unit Price (qty 1000) | $1.92 | approximately $2.10 at qty 1000 | approximately $2.30 at qty 1000 | approximately $2.50 at qty 1000 | approximately $2.30 at qty 1000 | approximately $1.85 at qty 1000 |
关键差异点
- 30+ peripherals for $1.92 unit cost in qty 1000 (对比 PIC18F26K22-I/SS)
- Optional Extended temperature grade on same die (对比 PIC18F23K22-E/SS)
- Mature K22 register map keeps PicStart Plus / MPLAB 8 heritage support (对比 PIC18F24Q10-I/SS)
设计说明
Estimated: The PIC18F23K22-I/SS nanoWatt XLP deep-sleep current is specified below 100 nA with full RAM retention at 3.0 V supply. For long battery life, use the MSSP, ADC, comparators, and PWM in their module-level disable states when not in use, and gate the system clock via OSCCON when the CPU has nothing to do. Set unused I/O pins to outputs rather than inputs - input pins float at unpredictable threshold and sink 20-200 uA combined supply leakage. Place a 100 nF ceramic decoupling capacitor within 5 mm of VDD; add a bulk 10-47 uF tantalum or aluminum polymer cap on the input rail to absorb relay/solenoid inductive transients in white-goods designs.
Keep all SSOP-28 traces under 50 ohms impedance with attention to the analog AN0-AN13 routes - guard them with a digital ground that joins the analog ground at a single point close to the package's GND pin. For PCB layout, do not run clock lines (OSC2/CLKOUT) parallel to analog lines for longer than 5 mm, and ensure the analog Vref signal traces have surrounding ground-fill on both sides. Estimated: typical 28-SSOP thermal resistance in still air is 80 C/W; designing for 200 mW internal dissipation is realistic only with a 4-layer board or 2-layer board with at least 1 sq-inch copper pour connected to the GND pin.
Three common PIC18F23K22-I/SS pitfalls to avoid: (1) Configuring a pin as analog input without setting TRISx properly - analog inputs read ambient noise and double your ADC conversion jitter if their digital input buffer is enabled. Use ANSELA/ANSELB/ANSELC to digital-only disable on analog pins; (2) forgetting to clear the GIE global interrupt flag when entering deep sleep - the chip will immediately wake on the first pending interrupt; (3) using the HF-INTOSC default at 16 MHz when C compilers expect 64 MHz - verify FOSC bits and OSCTUNE are set correctly in MPLAB X for a stable instruction rate before measuring timing-critical interfaces like UART or I2C slave mode at sub-microsecond tolerances.
合规信息
RoHS and lead-free compliant per Microchip product page; AEC-Q100 - see PIC18F25K22 automotive variant for AEC-Q100-qualified derivatives; -E variant extends industrial temp range to -40C-+125C.