PIC18F23K22-E/SP - 8-bit 48MHz 8KB Flash MCU | Microchip
Артикул: PIC18F23K22-E/SP ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $2.92 | $2,92 |
| 10 | $2.63 | $26,30 |
| 100 | $2.34 | $234,00 |
| 500 | $2.1 | $1.050,00 |
| 1.000 | $1.87 | $1.870,00 |
PIC18F23K22-E/SP Обзор
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, data RAM, peripherals (ADC, timers, UARTs, PWM), and I/O into one device. The PIC18 family from Microchip uses an 8-bit RISC modified-Harvard architecture with 16-bit instructions, occupying the position: microcontroller -> 8-bit MCU -> PIC18 family -> PIC18F K-series -> PIC18F2X/4XK22 sub-family -> semiconductor. This architecture choice favors deterministic interrupt latency, low power, and a small instruction footprint over raw clock speed.
Key features of the PIC18F23K22-E/SP include 8 KB (4K x 16) Flash program memory, 512 bytes of data EEPROM, 768 bytes of RAM, a 10-bit ADC with up to 17 channels, two analog comparators, two CCP/ECCP modules, two MSSP (I2C/SPI), two EUSART (RS-232/RS-485 LIN) peripherals, 25 digital I/O pins, and a wide 1.8 V to 5.5 V supply range. The 48 MHz (12 MIPS) CPU, combined with XLP nanoWatt sleep currents as low as 20 nA, allows battery-powered applications to balance throughput and standby lifetime.
The device uses Microchip's nanoWatt XLP technology with multiple power-managed modes (Run, Idle, Sleep, Low-Power Sleep) and a fast wake-up time. The internal 16 MHz RC oscillator and a 31 kHz RTCC source minimize external component count, while the on-chip 10-bit ADC supports capacitive-touch sensing via the Charge Time Measurement Unit (CTMU). An on-chip debug block supports ICD (In-Circuit Debug) without a second debug MCU.
Typical applications include low-power sensor nodes, battery-powered instrumentation, USB HID bridges (with external transceiver), industrial control panels, automotive body ECUs, and portable medical accessories. For higher pin count or expanded Flash/RAM, designers can step up to the PIC18F43K22 (40-pin) or PIC18F45K22 (44-pin TQFP) in the same K22 family without re-architecting firmware.
Design tip: pair an external 32.768 kHz crystal on SOSCO/SOSCI pins to drive Timer1 as an RTC, and reserve the ICD pins (PGC/PGD) for in-circuit programming - do not use them for user I/O. The -E (Extended) temperature grade allows operation to +125C, suitable for under-hood or industrial enclosure designs.
This page synthesizes verified distributor pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet alone.
Аналоги без доработки для PIC18F23K22-E/SP — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F23K22-E/SP (тот же форм-фактор и посадочное место) — отличается по Package, Timers, ADC, Operating Temperature, Program Memory (Flash).
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18F23K22-I/SP
✅ Прямая замена✓ В наличии
$1.42 / шт.
Открыть даташит →PIC18F2331-E/SP
✅ Прямая замена✓ В наличии
$4.3 / шт.
Открыть даташит →PIC18F23K20-I/SS
✅ Прямая замена✓ В наличии
$1.65 / шт.
Открыть даташит →PIC18F2321-I/SP
✅ Прямая замена✓ В наличии
$4.2 / шт.
Открыть даташит →PIC18F2321-E/SP
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F2321T-I/ML
✅ Прямая замена✓ В наличии
$2.96 / шт.
Открыть даташит →PIC18F23K22-E/SP Максимальные параметры и электрические характеристики
| Architecture | 8-bit PIC® XLP RISC (modified Harvard) |
| CPU Core | PIC18 |
| Maximum CPU Frequency | 48 MHz (12 MIPS) |
| Program Memory (Flash) | 8 KB (4K x 16 words) |
| Data EEPROM | 256 bytes |
| Data SRAM | 768 bytes |
| Supply Voltage (VDD) | 1.8 V to 5.5 V |
| Диапазон рабочих температур | -40C to +125C (Extended, 'E' grade) |
| Digital I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Comparators | 2 analog comparators |
| CCP/ECCP Modules | 2 (Capture/Compare/PWM) |
| MSSP Peripherals (I2C/SPI) | 2 |
| EUSART (LIN/RS-485/RS-232) | 2 |
| Timers | Timer0/1/2/3/4/5 |
| CTMU (Capacitive Touch) | Yes |
| nanoWatt XLP Sleep Current | 20 nA typical (Sleep, Watchdog off) |
| Корпус | SPDIP-28 (0.300" Skinny Plastic DIP) |
| Тип монтажа | Through-Hole |
| Статус RoHS | Compliant |
Конфигурация выводов PIC18F23K22-E/SP
| Контакт 1 | MCLR/VPP/RE3 — Master Clear (Reset) input / programming voltage / digital input-only RE3 |
| Контакт 2 | RA0/AN0/C1IN+/CTMU/RTCC — Digital I/O / analog channel 0 / comparator positive input / CTMU / RTCC output |
| Контакт 3 | RA1/AN1/C1IN-/VBG/CTDIN — Digital I/O / analog channel 1 / comparator negative input / bandgap reference / CTMU digital input |
| Контакт 4 | RA2/AN2/VREF-/CVREF/C2IN+ — Digital I/O / analog channel 2 / negative ADC reference / comparator voltage reference / comparator 2 input |
| Контакт 5 | RA3/AN3/VREF+/C1IN+ — Digital I/O / analog channel 3 / positive ADC reference / comparator 1 input |
| Контакт 6 | RA4/C1OUT/SRQ/T0CKI — Digital I/O (open-drain) / comparator 1 output / SR latch Q output / Timer0 clock input |
| Контакт 7 | RA5/AN4/C2OUT/SRQ/SS1/HLVDIN — Digital I/O / analog channel 4 / comparator 2 output / SR latch Q output / SPI1 slave select / high/low voltage detect |
| Контакт 8 | VSS — Ground reference |
| Контакт 9 | OSC1/CLKIN/RA7 — Crystal oscillator input / external clock input / digital I/O |
| Контакт 10 | OSC2/CLKOUT/RA6 — Crystal oscillator output / clock output / digital I/O |
| Контакт 11 | RC0/SOSCO/SCLKI — Digital I/O / Timer1 secondary oscillator / digital clock input |
| Контакт 12 | RC1/SOSCI/CCP2 — Digital I/O / Timer1 secondary oscillator / Capture/Compare/PWM 2 |
| Контакт 13 | RC2/CCP1/P1A — Digital I/O / Capture/Compare/PWM 1 / PWM output A |
| Контакт 14 | RC3/SCK1/SCL1 — Digital I/O / SPI1 clock / I2C1 clock |
| Контакт 15 | RC4/SDI1/SDA1 — Digital I/O / SPI1 data in / I2C1 data |
| Контакт 16 | RC5/SDO1 — Digital I/O / SPI1 data out |
| Контакт 17 | RC6/TX1/CK1 — Digital I/O / EUSART1 async transmit / EUSART1 clock |
| Контакт 18 | RC7/RX1/DT1 — Digital I/O / EUSART1 async receive / EUSART1 data |
| Контакт 19 | VSS — Ground reference |
| Контакт 20 | VDD — Positive supply (1.8 V to 5.5 V) |
| Контакт 21 | RB0/AN12/C2IN+/FLT0/INT0 — Digital I/O / analog channel 12 / comparator 2 positive / PWM fault / external interrupt 0 |
| Контакт 22 | RB1/AN10/C1IN3-/P1C/INT1 — Digital I/O / analog channel 10 / comparator negative input / PWM output C / external interrupt 1 |
| Контакт 23 | RB2/AN8/C1IN2-/P1B/INT2 — Digital I/O / analog channel 8 / comparator input / PWM output B / external interrupt 2 |
| Контакт 24 | RB3/AN9/C1IN1-/CTMUI/INT3 — Digital I/O / analog channel 9 / comparator input / CTMU / external interrupt 3 |
| Контакт 25 | RB4/AN11/KBI0/SDA2 — Digital I/O / analog channel 11 / interrupt-on-change / I2C2 data |
| Контакт 26 | RB5/KBI1/TX2/CK2 — Digital I/O / interrupt-on-change / EUSART2 async transmit / EUSART2 clock |
| Контакт 27 | RB6/KBI2/PGC — Digital I/O / interrupt-on-change / in-circuit debugger clock |
| Контакт 28 | RB7/KBI3/PGD — Digital I/O / interrupt-on-change / in-circuit debugger data |
Типичное применение
PIC18F23K22-E/SP подходит для 6 применениеs: Battery-Powered Wireless Sensor Node, Industrial Control Panel Interface, Capacitive-Touch User Interface, Automotive Body Electronics ECU, Portable Medical Monitoring Accessory, USB HID / CDC Bridge Device.
Battery-Powered Wireless Sensor Node
The PIC18F23K22-E/SP is engineered for long-life battery sensors because of its nanoWatt XLP technology and 20 nA typical sleep current. Verified datasheet figures show the MCU wakes from Sleep in <1 us via WDT or interrupt, allowing sub-second duty cycles even on a CR2032 coin cell. The 48 MHz / 12 MIPS throughput lets a sensor node perform a measurement, run BLE/Sub-GHz SPI burst, and return to sleep within milliseconds. Designers pair an XLP-capable sensor, a UART/SPI radio, and a 32.768 kHz crystal on SOSCO/SOSCI for RTC timing. Compared to an ARM Cortex-M0+ at the same voltage, the PIC18 K22 typically wins on deterministic interrupt response and BOM cost at the expense of raw compute throughput.
Рекомендуется
Industrial Control Panel Interface
In factory-automation HMI panels the PIC18F23K22-E/SP drives LED indicators, scans a matrix keypad, and communicates over RS-485 or LIN with a master controller. Two EUSART peripherals support simultaneous LIN slave and RS-485 master channels. Two analog comparators provide hardware over-current/voltage trips faster than ADC sampling. The 25 digital I/Os are sufficient for a 4x4 keypad plus 8 status LEDs without a port expander, and the 28-pin SPDIP is friendly to wire-wrap or hand-soldered industrial prototyping.
Рекомендуется
Capacitive-Touch User Interface
The PIC18F23K22-E/SP integrates Microchip's CTMU (Charge Time Measurement Unit) which, combined with the 10-bit ADC, supports mTouch capacitive sensing without an external touch controller. A 4- to 8-button touch panel plus a single proximity sensor can be implemented using one ADC channel per electrode. The CTMU provides a constant current source and timing source, with firmware in mTouch library handling baseline tracking and noise rejection. The XLP sleep mode extends battery life when the UI is idle, waking on first touch via CTMU interrupt.
Рекомендуется
Automotive Body Electronics ECU
Inside an automotive body ECU (window lift, mirror control, seat module) the PIC18F23K22-E/SP runs LIN slave comms and PWM-driven actuators. Verified by Microchip's automotive flow, the -E (Extended) temperature grade is rated to +125C suitable for cabin and under-hood-adjacent enclosures. Two CCP/ECCP modules generate complementary PWM for half-bridge motor drives while hardware OCV/OCP comparators shut down outputs in microseconds. Migration to AEC-Q100-qualified parts (PIC18F23K22 automotive flow) is supported by Microchip on request.
Рекомендуется
Portable Medical Monitoring Accessory
Portable pulse-oximeter or spirometer accessories rely on the PIC18F23K22-E/SP for sensor reading, signal conditioning, and USB data transfer to a host PC. The 10-bit ADC is sufficient for reflective SpO2 photodiode front-ends when paired with a transimpedance amplifier, and the EUSART supports both the SpO2 sensor and a Bluetooth module. XLP sleep currents below 100 nA allow multi-month shelf life on 2xAAA cells. The 28-pin SPDIP package is breadboard-friendly for clinical-prototype iteration.
Рекомендуется
USB HID / CDC Bridge Device
Although the PIC18F23K22-E/SP lacks an internal USB peripheral, it is widely used as a CDC/HID bridge by adding an external MCP2200 or MCP2221 USB-UART bridge IC. The MCU handles application logic, then forwards packets over UART to the bridge IC which enumerates on the host PC. This split design keeps firmware complexity low while delivering USB 2.0 Full-Speed 12 Mbps connectivity. The 5.5 V VDD tolerance also allows the PIC to be powered directly from a regulated USB rail.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F23K22-E/SP — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18F23K22-I/SP | PIC18F2331-E/SP | PIC18F23K20-I/SS | PIC18F2321-I/SP | PIC18F2321-E/SP |
|---|---|---|---|---|---|---|
| Package | SPDIP-28 (0.300") | SPDIP-28 - same | SPDIP-28 - same | SSOP-28 - surface-mount variant | SPDIP-28 - same | SPDIP-28 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Operating Temperature | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) |
| Program Flash | 8 KB | 8 KB | 2 KB | 8 KB | 2 KB | 2 KB |
| SRAM | 768 bytes | 768 bytes | 512 bytes | 768 bytes | 512 bytes | 512 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Max CPU Frequency | 48 MHz (12 MIPS) | 48 MHz (12 MIPS) | 40 MHz (10 MIPS) | 64 MHz (16 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| ADC Resolution | 10-bit | 10-bit | 10-bit | 8-bit | 10-bit | 10-bit |
| nanoWatt XLP / CTMU | Yes (XLP + CTMU) | Yes | No | Partial (XLP only) | No | No |
| Voltage Range | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 2.0 V to 5.5 V | 1.8 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
Ключевые отличия
- nanoWatt XLP ultra-low-power technology with 20 nA typical sleep current (против PIC18F2331-E/SP)
- Higher CPU throughput and larger Flash memory (против PIC18F2321-I/SP)
- On-chip CTMU capacitive-touch controller (против PIC18F23K20-I/SS)
- Extended +125C temperature grade for industrial/automotive-ambient (против PIC18F23K22-I/SP)
Заметки по проектированию
Estimated current consumption: at 48 MHz, VDD=5 V, IO=25 mA, and Sleep mode <1 uA typical with Watchdog disabled. For battery-powered designs, use Sleep mode aggressively - the PIC18F23K22-E/SP's nanoWatt XLP achieves 20 nA Sleep current per verified datasheet, allowing a CR2032 cell (220 mAh) to last over 10 years at 99.9% sleep duty cycle. Always place a 0.1 uF ceramic decoupling capacitor within 5 mm of VDD pin 20, with a bulk 1-10 uF on the supply rail.
Place the decoupling capacitor as close as possible to VDD pin 20 and VSS pin 19. Keep the analog reference traces (VREF+/VREF-) away from switching signals like PWM outputs. Reserve RB6 (PGC) and RB7 (PGD) for ICD - routing them to off-board connector pads even if ICD is not used today avoids costly board re-spins. For crystal-accurate timing, route the SOSCO/SOSCI traces short, symmetric, and over a continuous ground plane.
Do not exceed 5.5 V on VDD; the absolute maximum rating is 7 V but operation above 5.5 V is not characterized. When using the internal regulator, ensure the REG pin (if used) has its required capacitor. Always configure the Configuration bits for the right oscillator mode - leaving the default RC mode when the firmware expects a crystal oscillator will result in no startup. The MCLR pin must have a pull-up resistor (typically 10 kOhm) for reliable reset, unless configured as a digital input in Configuration bits.
For I2C bus operation above 400 kHz, add 4.7 kOhm pull-up resistors to VDD; the internal weak pull-ups on RB4/SDA2 are not strong enough for reliable Fast-Mode Plus (1 MHz) operation. For SPI at 10 MHz, keep trace lengths under 50 mm and use a ground trace between SCK and MOSI to reduce crosstalk. The CCP/ECCP outputs can drive up to 25 mA but are not rated for inductive loads - add a flyback diode when driving relays or solenoids.
Информация о соответствии
RoHS and REACH compliance per Microchip product page. -E temperature grade extends to +125C but is NOT AEC-Q100 qualified; for AEC-Q100 automotive flow use the PIC18F23K22 automotive-flow variant. Halogen-free per Microchip material declaration.