PIC18F25K22-I/SP - 8-Bit 64MHz 32KB Flash MCU | Microchip
Артикул: PIC18F25K22-I/SP ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $4.1 | $4,10 |
| 10 | $3.65 | $36,50 |
| 100 | $3.05 | $305,00 |
| 500 | $2.74 | $1.370,00 |
| 1.000 | $2.45 | $2.450,00 |
PIC18F25K22-I/SP Обзор
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, and integrated peripherals such as ADCs, timers, and communication interfaces. The PIC18 family is Microchip's 8-bit RISC architecture optimized for C compiler efficiency and deterministic interrupt response, sitting within the broader 8-bit MCU hierarchy alongside AVR and 8051 derivatives. The "K22" sub-family introduces nanoWatt XLP technology for battery-powered designs and adds 12-bit ADC accuracy, more PWM channels, and richer connectivity compared to legacy PIC18F devices.
Key features include 25 I/O pins with individual pull-up control, CTMU for capacitive touch, mTouch sensing, 4 hardware timers, and an on-chip 32 kHz RTCC. The 64 MHz internal oscillator (HFINTOSC) eliminates external crystals in many applications, while nanoWatt XLP delivers typical sleep currents under 100 nA with RTC retention, suiting coin-cell and energy-harvesting systems.
The PIC18F25K22 is fabricated on Microchip's high-performance CMOS process with a 16-bit instruction word and 8-bit data path, supporting linear addressing to 64 KB program space and 4 KB data space. Hardware multiply, multi-rail interrupt vectoring, and a configurable instruction cache accelerate C-compiled firmware compared to legacy PIC16 designs.
Typical applications include low-power remote sensors, handheld instrumentation, automotive body controllers (non-AEC-Q100 segments), HVAC fan controls, and small appliances with touch-button user interfaces. The 28-SPDIP footprint is well-suited to hobbyist, prototype, and through-hole assembly workflows where hand-soldering and socketed programming are preferred over SMD reflow.
When designing with this MCU, allocate at least one UART for debug logging (e.g., 115200 baud over PPS-mapped pins), and reserve the C1/4 (CCP4) channel for backlight or motor PWM to free the ECCP channels for primary motor/LED control. The 28-SPDIP package forces all signals into 25 usable I/O, so de-muxing logic to external shift registers may be required when more pins are needed.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet. XAIPART does not have access to the full 492-page datasheet text via the query above, so several parameters are explicitly flagged as to preserve data integrity.
Аналоги без доработки для PIC18F25K22-I/SP — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F25K22-I/SP (тот же форм-фактор и посадочное место) — отличается по ADC, Package, Timers, Program Memory (Flash), Data EEPROM.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18F26K22-I/SP
✅ Прямая замена✓ В наличии
$2.55 / шт.
Открыть даташит →PIC18F24K22-I/SP
✅ Прямая замена✓ В наличии
$1.92 / шт.
Открыть даташит →PIC18F45K22-I/SP
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F25Q10-I/SP
✅ Прямая замена✓ В наличии
$2.71 / шт.
Открыть даташит →PIC18LF25K22-I/SP
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F25K22-I/SP Максимальные параметры и электрические характеристики
| Core Architecture | PIC 8-bit RISC |
| Family | PIC18F K-series (PIC18F2XK22) |
| Program Memory (Flash) | 32 KB (16K x 16) |
| SRAM | 1536 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 5.5 V |
| Корпус | 28-pin SPDIP (SP) |
| Число выводов | 28 |
| I/O Pins | 25 |
| ADC | 12-bit, up to 19 channels (per datasheet family) |
| Timers | 4 (Timer0/1/2/3) + 2 ECCP |
| Communication Interfaces | 2x EUSART, 2x MSSP (SPI/I2C) |
| Low-Power Technology | nanoWatt XLP |
| Рабочая температура | -40 C to +85 C (Industrial, "-I") |
| Тип монтажа | Through-Hole (DIP) |
| Статус RoHS | Compliant (per DigiKey listing) |
Конфигурация выводов PIC18F25K22-I/SP
| Контакт 1 | MCLR/VPP/RE3 — Master Clear (reset) input / Programming voltage / Port E bit 3 |
| Контакт 2 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Контакт 3 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Контакт 4 | RA2/AN2 — Port A bit 2 / Analog input 2 |
| Контакт 5 | RA3/AN3 — Port A bit 3 / Analog input 3 / Vref+ |
| Контакт 6 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Контакт 7 | RA5/AN4 — Port A bit 5 / Analog input 4 |
| Контакт 8 | VSS — Ground reference |
| Контакт 9 | RA7/OSC1 — Port A bit 7 / Oscillator input |
| Контакт 10 | RA6/OSC2 — Port A bit 6 / Oscillator output |
| Контакт 11 | RC0/SOSCO — Port C bit 0 / SOSC oscillator output |
| Контакт 12 | RC1/SOSCI — Port C bit 1 / SOSC oscillator input |
| Контакт 13 | RC2/CCP1 — Port C bit 2 / CCP1 PWM output |
| Контакт 14 | RC3/SCL — Port C bit 3 / I2C clock (MSSP) |
| Контакт 15 | RC4/SDA — Port C bit 4 / I2C data (MSSP) |
| Контакт 16 | RC5/SDO — Port C bit 5 / SPI data out |
| Контакт 17 | RC6/TX/CK — Port C bit 6 / EUSART TX / clock |
| Контакт 18 | RC7/RX/DT — Port C bit 7 / EUSART RX / data |
| Контакт 19 | VSS — Ground reference |
| Контакт 20 | VDD — Positive supply voltage |
| Контакт 21 | RB0/AN12/INT0 — Port B bit 0 / Analog 12 / External interrupt 0 |
| Контакт 22 | RB1/AN10/INT1 — Port B bit 1 / Analog 10 / External interrupt 1 |
| Контакт 23 | RB2/AN8 — Port B bit 2 / Analog 8 |
| Контакт 24 | RB3/AN9/CCP2 — Port B bit 3 / Analog 9 / CCP2 |
| Контакт 25 | RB4/AN11 — Port B bit 4 / Analog 11 |
| Контакт 26 | RB5/AN13 — Port B bit 5 / Analog 13 |
| Контакт 27 | RB6/PGC — Port B bit 6 / ICSP clock |
| Контакт 28 | RB7/PGD — Port B bit 7 / ICSP data |
Типичное применение
PIC18F25K22-I/SP подходит для 6 применениеs: Battery-Powered Sensor Node, Handheld Test & Measurement Instrument, HVAC Fan Speed Controller, Touch-Button User Interface Panel, Industrial Sensor Transmitter (4-20 mA Loop-Powered), Automotive Body Controller (Non-Safety Segment).
Battery-Powered Sensor Node
The PIC18F25K22-I/SP is well-suited to battery-powered wireless sensor nodes thanks to its nanoWatt XLP technology with sub-100 nA sleep current and on-board RTCC. Operating from a 3 V coin cell, the device can wake periodically via WDT or external trigger, sample a sensor via its 12-bit ADC, transmit over one of the two EUSART modules to a sub-GHz radio, and return to sleep - extending battery life to multi-year horizons. With 32 KB Flash, the device can host a Zigbee/LoRaWAN-style stack or simple Modbus RTU handler without external memory. The 28-SPDIP footprint makes prototype replacement trivial on the bench without hot-air rework.
Рекомендуется
Handheld Test & Measurement Instrument
For portable multimeters, insulation testers, and clamp meters, the PIC18F25K22-I/SP delivers 16 MIPS throughput to drive a graphical LCD via SPI, scan a 4-wire resistive touch panel through the CTMU, and log to external EEPROM over I2C. The 12-bit ADC with computation automates averaging and oversampling to suppress mains-frequency noise. Two EUSARTs enable simultaneous USB-to-UART bridge and isolated RS-485 probe comms. The industrial -40 C to +85 C temperature range covers outdoor and automotive workshop environments.
Рекомендуется
HVAC Fan Speed Controller
The PIC18F25K22-I/SP integrates two ECCP modules with complementary PWM outputs and dead-band control - ideal for 3-phase or single-phase brushless DC fan drives. The 32 KB Flash accommodates sensorless back-EMF commutation tables and PID control loops, while the 1536-byte SRAM is sufficient for runtime state buffers. Hardware-based input capture measures tachometer pulses for closed-loop RPM control. The industrial temperature range handles attic installations. 25 I/O pins support keypad input, multi-relay outputs, and a triac-fired AC line interface with zero-cross detection.
Рекомендуется
Touch-Button User Interface Panel
The PIC18F25K22-I/SP integrates the CTMU (Charge Time Measurement Unit) and mTouch firmware library for capacitive touch sensing on up to 16 electrodes via the ADC channels, eliminating mechanical buttons and overlays. The 64 MHz FOSC supports rapid scanning of all touch channels within a sub-10 ms response window while remaining free for UI state machine and LED PWM animation. Hardware EEPROM stores calibration and backlight preferences. The 28-SPDIP through-hole package simplifies bench rework during UI panel prototyping with the touchscreen-driven piezo buzzer.
Рекомендуется
Industrial Sensor Transmitter (4-20 mA Loop-Powered)
The PIC18F25K22-I/SP serves as the digital heart of a 4-20 mA loop-powered sensor transmitter, reading a bridge or RTD through the 12-bit ADC, computing linearization in firmware, and modulating loop current via a PWM-driven analog output stage. The nanoWatt XLP sleep currents under 100 nA and 1.8 V minimum VDD enable operation from the 4 mA loop budget without exceeding the transmitter's compliance voltage. 256-byte EEPROM stores calibration coefficients and HART-style tag data. Industrial temperature range matches IEC 60068 requirements for process-plant deployment.
Рекомендуется
Automotive Body Controller (Non-Safety Segment)
While not AEC-Q100 qualified, the PIC18F25K22-I/SP is widely used in non-safety automotive body applications like interior lighting, mirror adjust, accessory power timers, and aftermarket alarm systems. Two EUSARTs support LIN bus via software or K-line diagnostics for legacy vehicle platforms. The 32 KB Flash hosts LIN 1.3/L4I slave stacks, headlight delay, and accessory power-down sequencing. PWM channels drive LED fade and motor speed for seat/window subsystems. The 28-SPDIP package suits low-volume specialty-vehicle and aftermarket assembly lines with hand-soldering workflows.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F25K22-I/SP — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18F26K22-I/SP | PIC18F24K22-I/SP | PIC18F45K22-I/SP | PIC18F25Q10-I/SP | PIC18LF25K22-I/SP |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP (SP) | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same | 40-PDIP (P) - not pin-compatible on 28-pin footprint | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same |
| Maximum CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 3.6 V (low-voltage) |
| I/O Pins | 25 | 25 | 25 | 36 (40-pin package) | 25 | 25 |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 12-bit | 14-bit (improved) | 12-bit |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
Ключевые отличия
- 32 KB Flash on the same 28-SPDIP footprint as the 8 KB variant (против PIC18F24K22-I/SP)
- Lower cost at scale vs PIC18F26K22 for memory-light designs (против PIC18F26K22-I/SP)
- Established PIC18 K22 ecosystem vs newer Q10 CIP migration (против PIC18F25Q10-I/SP)
Заметки по проектированию
Estimated: At VDD=3.3 V, the PIC18F25K22-I/SP draws approximately 7-15 mA active at 64 MHz (per datasheet typical curves, exact figure [DATA_NEEDED]). In Sleep mode with RTCC running from SOSC, the device drops below 1 uA - enabling coin-cell designs. Decouple VDD with a 100 nF ceramic as close to pins 19/20 as practical, plus a bulk 10 uF if the analog section is active. nanoWatt XLP modes (RCPRI among typical powers) let Idle gate the CPU while keeping peripherals running - useful for low-duty-cycle sensor sampling.
For the 28-SPDIP package, route ICSP signals (MCLR/PGD/PGC = pins 1/27/28) directly to a 6-pin ICSP header with no series resistors on PGD/PGC; add a 10 kohm pull-up on MCLR to VDD. Keep the crystal traces (pins 9-10) short and guard them with a VSS guard trace when used. Place 100 nF decoupling within 5 mm of VDD/VSS pins. For analog pins, isolate the analog ground return from noisy digital ground with a star connection at the VSS pin.
Do not forget the configuration bits (CONFIG1H/CONFIG2L etc.): the default unprogrammed configuration leaves the oscillator in EXTRC mode and MCLR disabled, which can brick the device on first power-up. Always set FOSC=INTIO67 (x86) for internal oscillator, MCLR=ENABLED for hardware reset, and WDT=OFF unless used. Also note that PIC18F25K22 and PIC18LF25K22 differ only in voltage range - swapping them in a 5 V design can damage the LF variant.
Информация о соответствии
RoHS compliance confirmed via DigiKey listing. Not AEC-Q100 qualified - this part is suitable for non-automotive safety segments only. Industrial temperature range -40C to +85C. Lead-free finish standard.