PIC18F23K22-I/ML - 8-bit 64MHz 8KB Flash MCU | Microchip
Référence : PIC18F23K22-I/ML ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $3.1 | $3,10 |
| 10 | $2.78 | $27,80 |
| 100 | $2.32 | $232,00 |
| 500 | $2.05 | $1 025,00 |
| 1 000 | $1.78 | $1 780,00 |
PIC18F23K22-I/ML Présentation
An 8-bit PIC microcontroller is a microcontroller unit built on an 8-bit data-bus CPU architecture optimized for deterministic, low-latency control tasks; it belongs to the broader microcontroller family, which in turn falls under microcontrollers and finally integrated circuits. PIC18-series devices add 16-bit instruction words, a hardware multiplier, and a C-friendly Harvard architecture, which together raise code efficiency relative to baseline PIC16 parts while preserving the deterministic interrupt behavior that makes PIC MCUs popular in motor control, sensing, and human-interface designs.
Key specifications of the PIC18F23K22 include 256 bytes of EEPROM data memory, 4 Kbytes of linear data-memory addressing, 64 Kbytes of linear program-memory addressing, 49 instructions (16-bit opcode set), and an internal oscillator selectable from 31 kHz up to 16 MHz. nanoWatt XLP technology delivers sleep currents below 100 nA typical, enabling battery-powered nodes with multi-year lifetime.
The part is produced in a CMOS process with on-chip debug support via ICD and an integrated 16-level hardware stack. It also includes multiple power-managed operating modes (Run, Idle, Sleep) plus low-power Timer1 gating and Ultra-Low-Power Wake-up, making the PIC18F23K22 a strong fit for energy-harvesting and always-on sensor products.
Typical applications include industrial sensor interfaces, low-power IoT edge nodes, USB/HID human-interface devices, automotive body and lighting controllers, and small home appliances. Its combination of small QFN footprint and rich peripherals also suits wearable and portable designs where PCB area is at a premium.
Designers should note that the PIC18F23K22 is a mature device: Microchip now recommends the PIC18F24Q10 as a newer alternative, but the existing K22 family remains in production and is broadly supported by MPLAB X, XC8 compilers, and a wide library of application notes. When migrating to Q10, re-verify peripheral mapping and pin assignments.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the standalone manufacturer datasheet.
Alternatives de remplacement direct pour PIC18F23K22-I/ML — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC18F23K22-I/ML (même facteur de forme et même empreinte) — différant par ADC, Package, Program Memory (Flash), Operating Temperature, I/O Pins.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC18F23K22-E/ML
✅ Remplacement direct✓ En stock
$1.62 / unité
Voir la fiche technique →PIC18F23K22T-I/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18F23K20-I/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18F2321-I/ML
✅ Remplacement direct✓ En stock
$3.17 / unité
Voir la fiche technique →PIC18F1320-I/ML
✅ Remplacement direct✓ En stock
$2.55 / unité
Voir la fiche technique →PIC18F23K22-I/ML Valeurs maximales et caractéristiques électriques
| Core Architecture | PIC18, 8-bit RISC CPU |
| Program Memory (Flash) | 8 KB (4K x 16) |
| RAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Tension d'alimentation | 1.8 V to 5.5 V (typical 5.0 V) |
| I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Timers | Timer0/1/2/3, 16-bit and 8-bit selectable |
| Communication | 2x EUSART, 2x MSSP (SPI/I2C) |
| PWM Modules | Enhanced CCP and standard CCP |
| Boîtier | 28-QFN (6x6 mm), ML |
| Température de fonctionnement | -40 C to +85 C (Industrial, I suffix) |
| Low-Power Technology | nanoWatt XLP |
| Instruction Set | 49 instructions, 16-bit opcodes |
| Type de montage | Surface Mount |
| Statut RoHS | Compliant |
Configuration des broches de PIC18F23K22-I/ML
| Broche 1 | RA3 — Digital I/O / analog input |
| Broche 2 | RA2 — Digital I/O / analog input |
| Broche 3 | RA1 — Digital I/O / analog input |
| Broche 4 | RA0 — Digital I/O / analog input |
| Broche 5 | RA5 — Digital I/O / analog input |
| Broche 6 | RA4 — Digital I/O |
| Broche 7 | VDD — Positive supply |
| Broche 8 | VSS — Ground |
| Broche 9 | RB7 — Digital I/O |
| Broche 10 | RB6 — Digital I/O |
| Broche 11 | RB5 — Digital I/O |
| Broche 12 | RB4 — Digital I/O |
| Broche 13 | RB3 — Digital I/O |
| Broche 14 | RB2 — Digital I/O |
| Broche 15 | RB1 — Digital I/O |
| Broche 16 | RB0 — Digital I/O |
| Broche 17 | RC7 — Digital I/O / EUSART RX |
| Broche 18 | RC6 — Digital I/O / EUSART TX |
| Broche 19 | RC5 — Digital I/O |
| Broche 20 | RC4 — Digital I/O |
| Broche 21 | RC3 — Digital I/O / SCL |
| Broche 22 | RC2 — Digital I/O / SDA |
| Broche 23 | RC1 — Digital I/O / CCP2 |
| Broche 24 | RC0 — Digital I/O |
| Broche 25 | OSC2 — Crystal oscillator output |
| Broche 26 | OSC1 — Crystal oscillator input |
| Broche 27 | MCLR — Master clear (reset) |
| Broche 28 | RA7 — Digital I/O / oscillator |
Applications typiques
PIC18F23K22-I/ML convient pour 6 applications: Industrial Sensor Interface, Battery-Powered IoT Edge Node, Automotive Body and Lighting Controller, USB/HID Human Interface Device, Small Home Appliance Control, Wearable Fitness or Health Device.
Industrial Sensor Interface
The PIC18F23K22-I/ML is well suited for industrial 4-20 mA loop sensor interfaces and Modbus slave nodes because of its 10-bit ADC with up to 17 channels and two EUSART peripherals. Its 1.8-5.5V supply lets it ride directly on a 3.3V sensor board or a 5V industrial backplane without level shifting. The 64 MHz core (16 MIPS) handles Modbus RTU timing and digital filtering inside the same firmware loop, while nanoWatt XLP sleep below 100 nA lets loop-powered nodes stay alive between transmissions. The 28-QFN (6x6 mm) keeps the PCB compact inside a field-mount sensor head. Designers should verify ESD protection on the analog inputs and place a ferrite bead on the ADC AVdd rail.
Recommandé
Battery-Powered IoT Edge Node
For coin-cell or 2xAA battery IoT edge nodes, the PIC18F23K22-I/ML's nanoWatt XLP technology keeps sleep current below 100 nA typical, enabling multi-year lifetime on a small cell. The 8KB Flash comfortably hosts a sensor-read-and-transmit state machine plus a simple BLE or LoRa control driver via the integrated EUSART and MSSP peripherals. The 1.8V minimum Vdd extends usable battery capacity below 2.0V. With 25 I/O, the MCU can scan buttons, drive indicator LEDs, and read multiple analog sensors simultaneously. Designers should bias unused I/O to defined states to minimize sleep leakage and use the Timer1 gate to wake on low-rate events without CPU intervention.
Recommandé
Automotive Body and Lighting Controller
The PIC18F23K22-I/ML is used in low-speed automotive body modules such as interior lighting, seat controllers, and accessory drivers thanks to its 25 digital I/O and enhanced PWM modules. The 64 MHz core runs 16 MIPS, sufficient for LIN slave stacks and CAN-style timing emulation at low bus loads. Its industrial -40C to +85C grade covers cabin environments; for under-hood nodes Microchip recommends the PIC18F23K22-E/ML extended-temperature variant. The 28-QFN (6x6) footprint simplifies PCB layout in tight lamp clusters. Designers should add external load-dump protection and TVS diodes on supply and signal lines for automotive transient immunity.
Recommandé
USB/HID Human Interface Device
For USB HID peripherals such as custom keyboards, pointer devices, and game controllers, the PIC18F23K22-I/ML delivers the I/O count and PWM channels required for RGB backlighting, key scanning, and report generation. Although the part has no native USB peripheral, an external USB-UART bridge (e.g. MCP2200) or low-cost 8-bit USB stack can be paired with the integrated EUSART. The 64 MHz core sustains report rates above 250 Hz while leaving headroom for boot-time firmware updates. The compact 28-QFN (6x6 mm) fits inside a slim mouse or handheld enclosure. Designers should use the internal oscillator and PLL for stable USB timing where applicable.
Recommandé
Small Home Appliance Control
In coffee makers, blenders, and small kitchen appliances, the PIC18F23K22-I/ML's enhanced CCP and PWM modules drive motor control loops and TRIAC-based heater regulation. The 17-channel 10-bit ADC reads temperature, flow, and user-potentiometer feedback at the same time. Its 1.8V minimum Vdd lets the same board run from a 3.3V regulator, while 5V-tolerant I/O can drive triac opto-couplers directly. The nanoWatt XLP sleep mode saves power between user interactions. The 28-QFN (6x6 mm) is small enough to fit inside compact appliance enclosures alongside line-voltage isolation barriers.
Recommandé
Wearable Fitness or Health Device
The PIC18F23K22-I/ML fits inside a wearable fitness band because of its small 28-QFN (6x6) package, 25 I/O for buttons and LEDs, and nanoWatt XLP sleep below 100 nA typical for multi-week battery life. The 10-bit ADC supports heart-rate or SpO2 sensor analog front-ends, while the EUSART and MSSP peripherals drive a low-power BLE radio companion over UART or SPI. The 8KB Flash and 768B RAM are sufficient for step-counting algorithms and simple BLE GATT profiles. Designers should use the low-power Timer1 with external 32.768 kHz crystal for accurate sleep/wake scheduling.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC18F23K22-I/ML — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC18F23K22-E/ML | PIC18F23K22T-I/ML | PIC18F23K20-I/ML | PIC18F2321-I/ML | PIC18F1320-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) |
| Flash | 8 KB | 8 KB | 8 KB | 16 KB | 8 KB | 8 KB |
| RAM | 768 bytes | 768 bytes | 768 bytes | 768 bytes | 512 bytes | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 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 | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Temperature Grade | Industrial -40C to +85C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C |
| nanoWatt XLP Sleep | Yes (<100 nA typical) | Yes (<100 nA typical) | Yes (<100 nA typical) | Yes (<100 nA typical) | No (legacy PIC18 nanoWatt) | No (legacy PIC18 nanoWatt) |
| ADC Channels (max) | 17 | 17 | 17 | 17 | 10 | 7 |
Principaux différenciateurs
- Same-family K22 silicon with extended temperature range (vs PIC18F23K22-E/ML)
- Doubling of Flash for larger firmware (vs PIC18F23K20-I/ML)
- More ADC channels and higher core speed (vs PIC18F2321-I/ML)
- Full nanoWatt XLP sleep current below 100 nA (vs PIC18F1320-I/ML)
Notes de conception
Operate the PIC18F23K22-I/ML with a bulk 100 nF ceramic bypass capacitor within 5 mm of VDD, plus a 10 uF tantalum or aluminum-polymer bulk capacitor on the same rail. Place a separate ferrite bead between VDD and AVDD if the analog ADC is used at full 64 MHz to keep digital switching noise out of the analog reference. nanoWatt XLP sleep drops to sub-100 nA only when the watchdog and Timer1 are properly gated; disable unused peripherals in firmware before entering Sleep. [DATA_NEEDED: precise Icc figures at each mode per datasheet characterization tables.]
Estimated: at the maximum CPU speed of 64 MHz with all peripherals active at 5.0 V VDD, the PIC18F23K22-I/ML draws approximately 8-12 mA, which is well within the 28-QFN thermal envelope of roughly 50 C/W theta_JA. Under typical industrial duty cycles (1% active, 99% sleep), average dissipation stays below 1 mW and self-heating is negligible. Avoid placing the part adjacent to high-current switching regulators; use the exposed pad as the primary thermal and ground return path.
Route the ICSP/ICD signals (RB6/ICSP-CLK, RB7/ICSP-DAT, MCLR/Vpp) to an in-circuit debug header with no series resistors in production; Microchip programmers expect direct access. Keep the 28-QFN EP pad as a continuous ground pour stitched with multiple vias to the inner ground plane. Decouple each VDD/VSS pair locally with a 100 nF X7R ceramic placed within 2 mm of the pin. For ADC accuracy, route AVSS to a quiet ground and place a 10 uF + 100 nF pair on AVDD.
Do not confuse the 'I' (industrial -40C to +85C) suffix with 'E' (extended -40C to +125C); pick the right grade for your thermal environment. The 28-QFN exposed pad is electrically VSS and must be soldered for mechanical and thermal integrity - skip it and the part will fail thermal stress tests. Configuration bits must be set explicitly in firmware; an unconfigured part will run on the default internal oscillator and may not match the timing in your application. Finally, the PIC18F23K22 is mature; for new designs Microchip recommends the PIC18F24Q10 successor.
Informations de conformité
RoHS and REACH compliance per Microchip product page. Standard I-suffix grade is not AEC-Q100 qualified; for automotive AEC-Q100 work use PIC18F23K22-E/ML or PIC18F24Q10-I/ML automotive equivalents where available.