PIC18F24K42-E/SP - 8-bit 64MHz 16KB Flash MCU | Microchip
料号: PIC18F24K42-E/SP ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $2.44 | $2.44 |
| 10 | $2.2 | $22.00 |
| 100 | $1.95 | $195.00 |
| 500 | $1.78 | $890.00 |
| 1,000 | $1.62 | $1,620.00 |
PIC18F24K42-E/SP 概述
A microcontroller (MCU) is a single-chip computer that combines a CPU core, program memory (Flash/ROM), working memory (RAM), non-volatile data memory (EEPROM), timers, communication peripherals (UART, SPI, I2C), and analog peripherals into one package. The PIC18 architecture is an enhanced 8-bit RISC family with hardware multiplier and 16-bit instructions; within that family the K42 sub-family adds eXtreme Low Power (XLP) technology, the intelligent analog block and modern CIPs that offload tasks from the CPU.
Key features include eXtreme Low Power (XLP) idle/sleep currents in the nanoamp range, a wide 2.3 V to 5.5 V VDD range, two I2C / two SPI / two UART interfaces, up to four PWM outputs, and a peripheral pin select (PPS) crossbar that remaps digital peripherals to any I/O. Functional-safety (FuSa) features include a windowed watchdog, CRC, hardware limit timer and dead-man timer for IEC 61508 / SIL-capable systems. An integrated temperature indicator and a 1.024 V fixed-voltage reference support precision analog designs.
Typical applications include IoT sensor nodes running on coin cells, low-power industrial control (PLC I/O modules, sensor hubs), automotive body and HVAC subsystems, functional-safety appliances and white goods, USB-to-UART bridges (with external bridge IC), and consumer products requiring long battery life. The 28-pin SPDIP package suits prototyping, educational kits, and through-hole production where hand-rework and socketed programming are preferred.
Design consideration: when migrating from older PIC18F2XK22 or PIC18F2XJ11 designs, verify pin remapping because the PPS crossbar means peripherals are no longer tied to fixed pins. Plan your VDD decoupling around the package's two VDD/VSS pairs to meet the 2.3 V minimum at full clock speed.
This page synthesizes distributor pricing (DigiKey, Mouser, LCSC, Octopart), pin-compatible drop-in alternatives from the same PIC18F2xK42 family, and practical design notes not aggregated in the manufacturer datasheet.
直接替换替代料: PIC18F24K42-E/SP ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F24K42-E/SP (相同外形与封装尺寸) ——差异在于 Package, DAC, ADC, Mounting Type, Core.
快速对比工具——选择替代料号进行并排对比:
PIC18F24K42-I/SP
✅ 直接替换✓ 有现货
$1.65 / 个
查看数据手册 →PIC18F25K42-E/SP
✅ 直接替换✓ 有现货
$2.18 / 个
查看数据手册 →PIC18F24K42-E/ML
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.68 / 个
查看数据手册 →PIC18F24K42-E/SP 最大额定值与电气特性
| Family | PIC18FxxK42 (XLP, Functional Safety / FuSa) |
| Core | 8-bit PIC RISC, 16-bit instructions, hardware multiplier |
| CPU Speed | 64 MHz (16 MIPS) |
| Program Flash | 16 KB (8K x 16 words) |
| Data SRAM | 1 KB |
| Data EEPROM | 256 B |
| I/O Pins | 25 |
| 封装 | 28-pin SPDIP (0.300", 7.62 mm), through-hole |
| Supply Voltage (VDD) | 2.3 V to 5.5 V |
| ADC | 12-bit differential ADC with computation (ADCC), up to 24 channels |
| DAC | Up to 4 x 8-bit DAC outputs |
| Comparators | Up to 3 rail-to-rail comparators |
| Timers | Configurable Timer, SMT, CCP, PWM (up to 4 channels) |
| Communication | 2x UART, 2x SPI, 2x I2C, PPS (Peripheral Pin Select) |
| Low Power | XLP technology, ~30 nA sleep (RTCC + WDT) |
| Temperature Range | -40 C to +125 C (Extended, "E" suffix) |
| Operating Temperature Grade | Extended (-40 C to +125 C) |
| 安装类型 | Through-Hole (DIP/SPDIP) |
| MSL 等级 | 1 (not moisture sensitive) |
| RoHS 状态 | Compliant |
| Lead-Free | Yes |
PIC18F24K42-E/SP 引脚配置
| 引脚 1 | MCLR — Master Clear (Reset) input, active-low |
| 引脚 2 | RA0 — PORTA bit 0 / analog / digital I/O (PPS remappable) |
| 引脚 3 | RA1 — PORTA bit 1 / analog / digital I/O (PPS remappable) |
| 引脚 4 | RA2 — PORTA bit 2 / analog / digital I/O (PPS remappable) |
| 引脚 5 | RA3 — PORTA bit 3 / analog / digital I/O (PPS remappable) |
| 引脚 6 | RA4 — PORTA bit 4 / analog / digital I/O (PPS remappable) |
| 引脚 7 | RA5 — PORTA bit 5 / analog / digital I/O (PPS remappable) |
| 引脚 8 | RA6 — PORTA bit 6 / analog / digital I/O (PPS remappable) |
| 引脚 9 | RA7 — PORTA bit 7 / analog / digital I/O / CLKIN |
| 引脚 10 | OSC1 — Crystal oscillator input / CLKIN |
| 引脚 11 | OSC2 — Crystal oscillator output / CLKOUT |
| 引脚 12 | RA0 — PORTA bit 0 / analog / digital I/O |
| 引脚 13 | RA1 — PORTA bit 1 / analog / digital I/O |
| 引脚 14 | RA2 — PORTA bit 2 / analog / digital I/O |
| 引脚 15 | RA3 — PORTA bit 3 / analog / digital I/O |
| 引脚 16 | RB0 — PORTB bit 0 / analog / digital I/O (PPS remappable) |
| 引脚 17 | RB1 — PORTB bit 1 / analog / digital I/O (PPS remappable) |
| 引脚 18 | RB2 — PORTB bit 2 / analog / digital I/O (PPS remappable) |
| 引脚 19 | VSS — Ground reference |
| 引脚 20 | VDD — Positive supply voltage (2.3 V to 5.5 V) |
| 引脚 21 | RB3 — PORTB bit 3 / analog / digital I/O (PPS remappable) |
| 引脚 22 | RB4 — PORTB bit 4 / analog / digital I/O (PPS remappable) |
| 引脚 23 | RB5 — PORTB bit 5 / analog / digital I/O (PPS remappable) |
| 引脚 24 | RB6 — PORTB bit 6 / ICS PGC / digital I/O (PPS remappable) |
| 引脚 25 | RB7 — PORTB bit 7 / ICS PGD / digital I/O (PPS remappable) |
| 引脚 26 | RC0 — PORTC bit 0 / analog / digital I/O (PPS remappable) |
| 引脚 27 | RC1 — PORTC bit 1 / analog / digital I/O (PPS remappable) |
| 引脚 28 | RC2 — PORTC bit 2 / analog / digital I/O (PPS remappable) |
典型应用
PIC18F24K42-E/SP 适用于 6 应用s: Battery-Powered IoT Sensor Node, Functional-Safety Industrial Appliance Controller, Automotive Body Electronics Module, USB-to-UART Bridge with Embedded Logic, Educational Prototyping & Development Kit, Low-Power Wearable Health Monitor.
Battery-Powered IoT Sensor Node
The PIC18F24K42-E/SP fits battery-powered IoT sensor nodes because of its XLP technology with sleep currents around 30 nA (RTCC + WDT). The 64 MHz CPU gives 16 MIPS throughput for sensor-fusion routines on wake-up, while PPS lets the engineer remap UART, SPI and I2C to any digital I/O to share pins between a sensor and a radio module. The 12-bit ADCC can directly drive a thermistor or battery monitor without a separate analog front end, shrinking the BOM and quiescent draw.
推荐
Functional-Safety Industrial Appliance Controller
The PIC18F24K42-E/SP is used in functional-safety appliance controllers because the PIC18FxxK42 family integrates a windowed watchdog, CRC, hardware limit timer and dead-man timer that support IEC 61508 SIL-capable designs. The 28-pin SPDIP package allows hand-rework during prototyping and field service, while the 2.3 V to 5.5 V VDD range is well matched to 3.3 V or 5 V industrial rails. The 12-bit differential ADCC and rail-to-rail comparators simplify sensor conditioning for temperature, pressure or motor current feedback.
推荐
Automotive Body Electronics Module
In automotive body and HVAC modules the PIC18F24K42-E/SP provides Extended-temperature operation up to +125 C, the 64 MHz core runs LIN slave stacks and PWM fan control simultaneously, and the rich CIPs (CWG, NCO, DSM) generate motor-drive waveforms without burdening the CPU. PPS lets a single 28-pin package expose two UARTs (one for LIN, one for debug) plus PWM and I2C sensor interfaces on flexible pin assignments, easing board layout under tight automotive EMC constraints.
推荐
USB-to-UART Bridge with Embedded Logic
Designers pair PIC18F24K42-E/SP with an external USB-to-UART bridge IC (such as MCP2200 or MCP2221) to add a small logic layer: the F24K42 handles protocol framing, debouncing a few push-buttons, and driving status LEDs while the bridge IC provides the USB physical layer. The 25 I/O pins leave plenty of GPIO for user-side I/O, and PPS allows both UART channels (one for the bridge, one for field service) to coexist without pin conflicts.
推荐
Educational Prototyping & Development Kit
The 28-pin SPDIP through-hole footprint of PIC18F24K42-E/SP makes it ideal for breadboard and educational prototyping kits - students can hand-solder or socket the part without BGA/QFN rework tools. The PIC18FxxK42's CIPs and PPS expose modern concepts (configurable logic, peripheral pin select, 12-bit ADCC) at a beginner-friendly 8-bit toolchain (MPLAB X + XC8), making it a strong teaching platform for embedded systems courses.
推荐
Low-Power Wearable Health Monitor
Wearable health monitors benefit from the PIC18F24K42-E/SP's XLP sleep current in the nanoamp range, which is critical for coin-cell-powered devices such as wrist-worn pulse, SpO2 or temperature patches. The 12-bit ADCC samples a photodiode or thermopile at high precision with hardware averaging (ADC accumulation), offloading firmware burden and extending sleep duration. The 2.3 V minimum VDD is well suited to the declining voltage curve of CR2032 cells, and the small SPDIP-28 footprint lets early prototypes run on breakout boards.
推荐
推荐产品汇总
工程参考数据: PIC18F24K42-E/SP ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18F24K42-I/SP | PIC18F25K42-E/SP | PIC18F24K42-E/ML |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SPDIP (through-hole) | 28-pin SPDIP - same | 28-pin SPDIP - same | 28-pin QFN - different PCB land pattern |
| Flash Memory | 16 KB | 16 KB | 32 KB (+100%) | 16 KB |
| SRAM | 1 KB | 1 KB | 2 KB (+100%) | 1 KB |
| CPU Speed | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| Temperature Grade | Extended (-40 C to +125 C) | Industrial (-40 C to +85 C) | Extended (-40 C to +125 C) | Extended (-40 C to +125 C) |
| ADC | 12-bit ADCC differential | 12-bit ADCC differential | 12-bit ADCC differential | 12-bit ADCC differential |
| Communication | 2x UART, 2x SPI, 2x I2C + PPS | 2x UART, 2x SPI, 2x I2C + PPS | 2x UART, 2x SPI, 2x I2C + PPS | 2x UART, 2x SPI, 2x I2C + PPS |
| Approx Unit Price (1 pc, as of 2026-09-26) | $2.44 | $2.20 - $2.40 | $2.60 - $2.85 | $2.30 - $2.50 |
关键差异点
- Extended-temperature SPDIP variant of the K42 family (对比 PIC18F24K42-I/SP)
- Same die and pinout, double the Flash and SRAM (对比 PIC18F25K42-E/SP)
- Surface-mount migration path (对比 PIC18F24K42-E/ML)
设计说明
Estimated: VDD decoupling on the PIC18F24K42-E/SP should include one 100 nF ceramic cap placed within 3 mm of each VDD/VSS pin pair (pins 20/19 are the primary pair; verify second pair location on the SPDIP-28 mechanical drawing). The MCU can run from 2.3 V to 5.5 V; at the lower end the HFINTOSC tolerance widens, so budget for +/-2% frequency error in UART timing calculations. Add a 10 uF bulk cap near the package for hot-plug events or large inrush from GPIO loads.
Peripheral Pin Select (PPS) means digital peripheral functions (UART, SPI, I2C, PWM, timers) are remappable to almost any digital I/O - but analog and oscillator pins are fixed. Always reserve RA4-RA7 for analog channels if the design needs the ADCC, and OSC1/OSC2 must remain on pins 9-10. Place the 28-pin SPDIP socketed part on a 0.300" row pitch to allow replacement during firmware bring-up and field service.
The PIC18F24K42-E/SP does not share firmware with the older PIC18F24K22 or PIC18F24J11 families because the PPS crossbar, ADCC and CIP registers differ significantly. Watch the WDT windowing - the FuSa features (windowed WDT, dead-man timer) require explicit configuration of the WDTCON1 register. The MCLR pin (pin 1) needs a pull-up resistor of typically 10 kohm if not driven actively; leaving MCLR floating causes unpredictable reset behavior.
合规信息
E/SP suffix = Extended temperature grade (-40 C to +125 C), not AEC-Q100. For automotive-grade use the /SPVAO variant. RoHS and lead-free compliant per Microchip product page; halogen-free status not explicitly stated in the verified data.