PIC18F25K42-E/SP - 32KB Flash 8-bit MCU | 28-SPDIP | Microchip
部品番号: PIC18F25K42-E/SP ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.08 | $30.80 |
| 100 | $2.74 | $274.00 |
| 500 | $2.45 | $1,225.00 |
| 1,000 | $2.18 | $2,180.00 |
PIC18F25K42-E/SP 概要
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), working memory (RAM), data memory (EEPROM), and peripheral interfaces. Within the broader semiconductor hierarchy, MCUs sit under microcontrollers -> embedded processors -> semiconductors. The PIC18F25K42 family specifically targets low-power, high-performance applications using Microchip's XLP (eXtreme Low Power) technology and Functional Safety (FuSa) capable peripherals.
Key features of the PIC18F25K42-E/SP include: 32 KB self-programmable Flash with code protection, 2 KB SRAM with hardware-managed context saving, 256 B high-endurance EEPROM rated for 100k erase/write cycles, 12-bit ADC2 with up to 35 channels and post-processing math accelerator, multiple communication peripherals (UART, SPI, I2C with SMBus PMBus), and DMA controller for memory-to-memory transfers. The -E/SP suffix indicates the extended (E) temperature grade of -40C to +125C in a 28-SPDIP package.
The device uses Microchip's enhanced mid-range core with a 16-bit instruction word and 8-bit data path, supporting C-compiler-friendly assembly with hardware multiply and divide. Vectored interrupts with priority levels and peripheral pin select (PPS) provide flexible routing for digital and analog peripherals, simplifying PCB layout. Power management features include idle/doze modes, peripheral module disable (PMD), and XLP sleep currents in the nanoampere range, making the part suitable for battery-powered and energy-harvesting applications.
Typical applications for the PIC18F25K42-E/SP include low-power IoT sensor nodes, motor control for small BLDC and stepper drives, industrial control with functional safety diagnostics, consumer appliance control boards, and general-purpose embedded products requiring 28-pin DIP-friendly prototyping. The DIP package supports easy breadboarding and through-hole rework in low-volume production.
When designing with this MCU, verify Vdd range (1.8V to 5.5V for F; 1.8V to 3.6V for LF variant), apply correct decoupling (100 nF + bulk cap near Vdd), and configure PPS carefully since the same peripheral can map to multiple I/O pins. Programming requires Microchip's MPLAB X IDE with XC8 compiler or compatible toolchains.
This page synthesizes distributor pricing, drop-in alternative MPNs, application examples, and practical design notes that go beyond the manufacturer datasheet, giving engineers a faster path to part selection, BOM consolidation, and PCB layout decisions for PIC18F25K42-based designs.
ドロップイン代替品: PIC18F25K42-E/SP — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18F25K42-E/SP (同一形状・フットプリント) — 相違点: Package, ADC, Mounting Type, Comparators, Core.
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F25K42-I/SP
✅ ドロップイン✓ 在庫あり
$2.51 / 個
データシートを見る →PIC18F24K42-E/SP
✅ ドロップイン✓ 在庫あり
$1.62 / 個
データシートを見る →PIC18F25K40-E/SP
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F25K22-E/SP
✅ ドロップイン✓ 在庫あり
$2.38 / 個
データシートを見る →PIC18F25K42-E/SP 最大定格&電気的特性
| Product Type | 8-bit Microcontroller (MCU) |
| Core | PIC18 enhanced mid-range |
| Program Memory (Flash) | 32 KB (16K x 16) |
| RAM | 2 KB |
| EEPROM | 256 B |
| Maximum CPU Frequency | 64 MHz |
| Operating Voltage (Vdd) | 2.3 V to 5.5 V (E temp) |
| ADC | 12-bit ADC2 with computation |
| Number of ADC Channels | up to 24 (varies by package) |
| DAC | Yes (5/10-bit selectable) |
| Comparators | Yes |
| PWM Channels | Multiple (CCP, PWM) |
| UART | Yes |
| SPI | Yes |
| I2C | Yes |
| DMA | Yes (peripheral-to-memory, memory-to-memory) |
| パッケージ | 28-SPDIP (0.300", 7.62 mm) |
| ピン数 | 28 |
| 動作温度範囲 | -40C to +125C (Extended, -E suffix) |
| 実装タイプ | Through-Hole (THT) |
| RoHS ステータス | Compliant |
| MSLレベル | 1 (not moisture sensitive - THT) |
PIC18F25K42-E/SP ピン構成
| ピン 1 | RA0/ANA0 — I/O / Analog input 0 |
| ピン 2 | RA1/ANA1 — I/O / Analog input 1 |
| ピン 3 | RA2/ANA2 — I/O / Analog input 2 |
| ピン 4 | RA3/ANA3 — I/O / Analog input 3 |
| ピン 5 | RA4/ANA4 — I/O / Analog input 4 |
| ピン 6 | RA5/ANA5 — I/O / Analog input 5 |
| ピン 7 | RA6/ANA6 — I/O / Analog input 6 |
| ピン 8 | RA7/ANA7 — I/O / Analog input 7 |
| ピン 9 | Vss — Ground reference |
| ピン 10 | RB0/ZCD1 — I/O / Zero-Cross Detect |
| ピン 11 | RB1/ZCD2 — I/O / Zero-Cross Detect |
| ピン 12 | RB2/SDA2 — I/O / I2C2 data |
| ピン 13 | RB3/SCL2 — I/O / I2C2 clock |
| ピン 14 | RB4 — I/O |
| ピン 15 | RB5 — I/O |
| ピン 16 | RB6/ICSPCLK — I/O / ICSP clock (programming) |
| ピン 17 | RB7/ICSPDAT — I/O / ICSP data (programming) |
| ピン 18 | Vdd — Positive supply voltage (2.3V-5.5V) |
| ピン 19 | Vss — Ground reference |
| ピン 20 | RC0 — I/O |
| ピン 21 | RC1 — I/O |
| ピン 22 | RC2 — I/O |
| ピン 23 | RC3 — I/O |
| ピン 24 | RC4 — I/O |
| ピン 25 | RC5 — I/O |
| ピン 26 | RC6 — I/O |
| ピン 27 | RC7 — I/O |
| ピン 28 | RE3/MCLR — I/O / Master Clear (reset, active low) |
主な用途
PIC18F25K42-E/SP の用途: 6 件s: Low-Power IoT Sensor Node, Industrial Motor Control (BLDC/Stepper), Consumer Appliance Control Board, Battery-Operated Portable Device, Automotive Auxiliary Body Module, Sensor Signal Conditioning Hub.
Low-Power IoT Sensor Node
The PIC18F25K42-E/SP is well suited for battery-powered IoT sensor nodes thanks to its XLP nanoampere sleep currents, 2.3V-5.5V operating range, and on-chip 12-bit ADC2 with computation engine for oversampling. A typical design uses the MCU in sleep mode most of the time, waking on a sensor interrupt or timer to take measurements, run averaging in the ADC2 computation block, and transmit via UART or SPI. DMA handles sensor data movement without CPU wakeup, extending battery life by 2-4x versus polled designs. The 32 KB Flash accommodates small TCP/IP stacks (e.g., Microchip's TCP/IP Lite) for low-throughput Wi-Fi or LoRa gateway interfaces.
おすすめ
Industrial Motor Control (BLDC/Stepper)
The PIC18F25K42-E/SP's 12-bit ADC2, PWM peripherals, CWG (Complementary Waveform Generator), and 64 MHz CPU make it a strong fit for low-cost BLDC and stepper motor control designs. The CWG module generates complementary PWM outputs with hardware dead-band control, simplifying half-bridge gate drive signals without software overhead. DMA-driven ADC sampling synchronizes current measurements to PWM edges for precise torque control. The 32 KB Flash fits sensorless FOC or trapezoidal commutation algorithms. The -40C to +125C extended temperature range meets industrial environment requirements for factory automation, HVAC fans, and small pump controllers.
おすすめ
Consumer Appliance Control Board
For consumer appliances such as washing machines, dishwashers, and coffee makers, the PIC18F25K42-E/SP offers 32 KB Flash for state-machine firmware, 256 B EEPROM for user settings retention across power cycles, and the 12-bit ADC for reading sensor inputs (temperature, water level, motor current). Vector interrupts and DMA allow responsive user-interface feedback (button matrix, LED indicators) while the main loop handles control algorithms. The 28-SPDIP package supports through-hole assembly commonly used in cost-sensitive consumer products, while the same die is available in SO/QFN for SMT production runs.
おすすめ
Battery-Operated Portable Device
The PIC18F25K42-E/SP fits portable handheld devices thanks to XLP technology sleep currents below 100 nA, multiple low-power modes (idle, doze, sleep, deep sleep with RTCC retention), and peripheral module disable (PMD) for unused peripherals. Designers can disable UART, ADC, PWM modules individually to minimize dynamic current during battery operation. The 2.3V-5.5V Vdd range allows direct Li-ion battery operation with a simple LDO. A 32 KB Flash supports BLE/BLE beacon stacks for portable health devices, asset trackers, and remote controls where the -40C to +125C temp range also helps in outdoor environments.
おすすめ
Automotive Auxiliary Body Module
While not AEC-Q100 qualified, the PIC18F25K42-E/SP's extended -40C to +125C temperature grade and rich peripheral set support non-safety automotive body modules such as LED interior lighting, seat controllers, and HVAC actuators. The 12-bit ADC2 reads position sensors and thermistors, while PWM outputs drive LED dimming or small DC motors. CAN communication can be added via SPI-to-CAN bridge ICs. The 32 KB Flash supports state-machine firmware with diagnostics; designers should pair this MCU with an external watchdog and EEPROM for fail-safe operation in body-electronics domains.
おすすめ
Sensor Signal Conditioning Hub
The PIC18F25K42-E/SP excels as a sensor hub that aggregates multiple analog and digital sensors, performs filtering on the ADC2 computation engine, and publishes data over UART, SPI, or I2C. The 35 ADC channels (28-SPDIP-limited) accommodate several resistive bridges and 4-20 mA loops; DMA chains conversions without CPU intervention. DAC outputs can drive 4-20 mA current loops directly when paired with an op-amp, supporting industrial transmitter and process-control applications. The 256 B EEPROM stores calibration coefficients; 2 KB RAM buffers FIR-filtered data before transmission.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18F25K42-E/SP — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F25K42-I/SP | PIC18F24K42-E/SP | PIC18F25K40-E/SP | PIC18F25K22-E/SP |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP | 28-SPDIP | 28-SPDIP | 28-SPDIP | 28-SPDIP |
| Flash Memory | 32 KB | 32 KB | 16 KB | 32 KB | 8 KB |
| RAM | 2 KB | 2 KB | 1 KB | 2 KB | 512 B |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B |
| Max CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Voltage | 2.3V - 5.5V | 2.3V - 5.5V | 2.3V - 5.5V | 2.3V - 5.5V | 2.3V - 5.5V |
| Operating Temperature | -40C to +125C (E) | -40C to +85C (I) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) |
| DMA Controller | Yes | Yes | Yes | No | No |
主な差別化要因
- Modern K42 family core with DMA and ADC2 computation engine (vs PIC18F25K22-E/SP)
- 32 KB Flash vs 16 KB on PIC18F24K42-E/SP (vs PIC18F24K42-E/SP)
- Functional Safety (FuSa) capable peripherals (vs PIC18F25K40-E/SP)
設計ノート
The PIC18F25K42-E/SP requires proper decoupling: place a 100 nF ceramic capacitor as close as possible to each Vdd pin (pin 18 on 28-SPDIP) and a 10 uF bulk capacitor at the board's power entry. XLP sleep currents below 100 nA depend on clean Vdd; noisy rails cause spurious BOR resets. For battery applications, use MCP1700 (ultra-low Iq LDO) to minimize quiescent current draw.
Route the ICSP clock and data lines (RB6/RB7) carefully to avoid crosstalk with analog signals; these pins share general I/O functionality but are used during programming. Place a 4.7 kohm pull-up on MCLR (pin 28) per Microchip recommendations; a low-ESR ceramic capacitor (typically 100 nF) on MCLR prevents reset glitches. The PPS (Peripheral Pin Select) feature allows remapping most digital peripherals, simplifying PCB layout when a required pin is shared with analog inputs.
Do not confuse PIC18F25K42 (2.3V-5.5V Vdd) with PIC18LF25K42 (1.8V-3.6V Vdd); applying 5V to the LF variant will damage it. The PPS feature may assign the same physical pin to multiple peripherals; verify pin assignments in the MCC-generated code to avoid unintended function overlap. The extended temperature grade (-E) suffix guarantees -40C to +125C operation; do not substitute a -I (industrial, -40C to +85C) part in designs that exceed 85C.
Estimated: The 28-SPDIP package has a theta_JA of approximately 70 C/W in still air. At maximum 64 MHz CPU with all peripherals active, internal power dissipation is roughly 20-30 mW, giving a junction temperature rise of only 1-2 C above ambient. No external heatsink is required for typical embedded applications; however, in enclosed housings with no airflow, derate CPU frequency or use sleep modes to keep junction temperature below 125C.
コンプライアンス情報
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - do not use in automotive safety-critical applications. Lead-free terminations per JEDEC J-STD-020.