Microchip Technology

PIC17C42A-25/P - 8-Bit 25MHz OTP MCU 4KB | Microchip

MPN: PIC17C42A-25/P ✗ End of Life
In Stock Ships in 1-3 business days
5 V to 6 V Vdss 40-pin PDIP (0.600", 15.24 mm) Package 25 MHz Speed 4 KB (2K x 16 wide OTP EPROM/ROM) Memory
From $7.62 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $12.08 $12.08
10 $10.87 $108.70
100 $9.42 $942.00
500 $8.45 $4,225.00
1,000 $7.62 $7,620.00
ℹ️ All prices are in USD

PIC17C42A-25/P Overview

The Microchip Technology PIC17C42A-25/P is a high-performance 8-bit CMOS EPROM/ROM microcontroller delivering 8.25 MIPS throughput (121 ns instruction cycle) at a 25 MHz maximum clock, packaged in a 40-pin PDIP through-hole format. It integrates 4 KB of One-Time-Programmable (OTP) program memory (organized as 2K x 16 wide words), 232 bytes of general-purpose RAM, and 33 digital I/O pins, giving designers a compact 8-bit core with substantial peripheral integration for legacy embedded designs.

An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data-path CPU, on-chip program memory, RAM, and a rich set of peripherals such as timers, capture/compare/PWM, USART, and I/O ports. Within the broader taxonomy, the PIC17C42A belongs to the PIC architecture family > OTP-based 8-bit MCU > microcontroller > embedded processor > semiconductor. OTP EPROM program memory lets engineers program the part once, including late-stage firmware revisions, without needing a windowed or flash part; the trade-off is no field re-programmability.

Key features include a 16-level hardware stack, 16-bit instruction word, 58 single-word instructions, multiply and divide hardware support, dual 8-bit timers plus 2 capture inputs, 2 PWM outputs, a USART for serial communication, and external memory addressing for code beyond 64 KB. The 25 MHz oscillator drives a 4-cycle instruction execution pipeline, giving deterministic interrupt and timing behavior that is well-suited to real-time control loops.

Typical applications include industrial automation controllers, motor control and appliance front panels, HVAC and building-control subsystems, automotive body/comfort modules, legacy communication protocol bridges, and instrumentation requiring deterministic 8-bit behavior. Designers familiar with PIC16C5X and PIC12CXXX devices retain tool and instruction-set continuity, easing code portability from earlier 8-bit designs.

When designing with this device, mind the OTP memory constraint, validate the 5V to 6V supply window on every revision, and budget adequate decoupling near VDD/VSS pins. For modern designs that require field updates, consider the PIC18F4220 migration path Microchip recommends; for new builds where re-programmability matters, prefer flash-based PIC18 from the outset.

This page synthesizes distributor pricing, parametric drop-in alternatives, and practical thermal and decoupling design notes that go beyond the manufacturer datasheet baseline, helping procurement and engineering teams decide whether PIC17C42A-25/P fits their legacy or production design.

Drop-in alternatives for PIC17C42A-25/P — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC17C42A-25/P (same form factor and footprint) — differing in Mounting Type, Program Memory Type, Maximum Clock Frequency, Package, Program Memory Size.

Microchip Technology
Mounting Type: Through-Hole (DIP)
Program Memory Type: OTP (One-Time-Programmable) EPROM
Maximum Clock Frequency: 16 MHz
Microchip Technology
Mounting Type: Through-Hole
Program Memory Type: OTP (One-Time Programmable)
Maximum Clock Frequency: 16 MHz

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC17C42A-16/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
PIC17C, 8-bit RISC · 58 single-word instructions · 16 MHz · 8.25 MIPS (121 ns instruction cycle) · OTP (One-Time-Programmable) EPROM · 4 KB (2K x 16) · 232 x 8 bytes · 33

✓ In Stock

$7.45 / Unit

View Datasheet →

PIC17C42A-16E/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
8-bit Microcontroller (MCU) · PIC17C · 4 KB (2K x 16) · OTP (One-Time Programmable) · 232 bytes (232 x 8) · 16 MHz · 121 ns (8.25 MIPS) · 33

✓ In Stock

$5.85 / Unit

View Datasheet →

PIC17CR42A-25/P

✅ Drop-In
📦 40-pin PDIP
ROM-mask variant of PIC17C42A-25/P, same 40-pin PDIP pinout and 25 MHz rating

📋 Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC17C42A-25/P Maximum Ratings & Electrical Characteristics

Product Type 8-bit Microcontroller (MCU)
Core Architecture PIC17 (RISC, Harvard)
Program Memory Size 4 KB (2K x 16 wide OTP EPROM/ROM)
RAM Size 232 x 8 bytes
Maximum Clock Frequency 25 MHz
Instruction Cycle Time 121 ns (8.25 MIPS)
Instruction Set Size 58 single-word instructions
Number of I/O Pins 33
Package 40-pin PDIP (0.600", 15.24 mm)
Mounting Type Through-Hole (PDIP)
Supply Voltage 5 V to 6 V
Timers 2 x 8-bit + 1 x 16-bit
Capture/Compare/PWM 2 capture inputs, 2 PWM outputs
Communication USART (SCI)
Operating Temperature -40 °C to +85 °C
Program Memory Type OTP EPROM / ROM
RoHS Status Compliant
Lead-Free Yes

PIC17C42A-25/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 RA0 — PORTA digital I/O bit 0 / analog input
Pin 2 RA1 — PORTA digital I/O bit 1 / analog input
Pin 3 RA2 — PORTA digital I/O bit 2 / analog input
Pin 4 RA3 — PORTA digital I/O bit 3 / analog input
Pin 5 RA4 — PORTA digital I/O bit 4 / analog input
Pin 6 RA5 — PORTA digital I/O bit 5 / analog input
Pin 7 VSS — Ground reference
Pin 8 OSC1 — Crystal oscillator input or external clock input
Pin 9 OSC2 — Crystal oscillator output
Pin 10 T0CKI — Timer0 external clock input
Pin 11 MCLR/VPP — Master clear reset / programming voltage input
Pin 12 RB0/INT — PORTB bit 0 / external interrupt
Pin 13 RB1 — PORTB bit 1
Pin 14 RB2 — PORTB bit 2
Pin 15 RB3 — PORTB bit 3
Pin 16 RB4 — PORTB bit 4
Pin 17 RB5 — PORTB bit 5
Pin 18 RB6 — PORTB bit 6 / in-circuit programming clock
Pin 19 RB7 — PORTB bit 7 / in-circuit programming data
Pin 20 VSS — Ground reference
Pin 21 VDD — Positive supply voltage (5 V to 6 V)
Pin 22 RC0 — PORTC digital I/O bit 0
Pin 23 RC1 — PORTC digital I/O bit 1
Pin 24 RC2 — PORTC digital I/O bit 2
Pin 25 RC3 — PORTC digital I/O bit 3
Pin 26 RC4 — PORTC digital I/O bit 4
Pin 27 RC5 — PORTC digital I/O bit 5
Pin 28 RC6 — PORTC digital I/O bit 6 / USART TX
Pin 29 RC7 — PORTC digital I/O bit 7 / USART RX
Pin 30 RD0 — PORTD digital I/O bit 0
Pin 31 RD1 — PORTD digital I/O bit 1
Pin 32 RD2 — PORTD digital I/O bit 2
Pin 33 RD3 — PORTD digital I/O bit 3
Pin 34 RD4 — PORTD digital I/O bit 4
Pin 35 RD5 — PORTD digital I/O bit 5
Pin 36 RD6 — PORTD digital I/O bit 6
Pin 37 RD7 — PORTD digital I/O bit 7
Pin 38 RE0 — PORTE digital I/O bit 0
Pin 39 RE1 — PORTE digital I/O bit 1
Pin 40 RE2 — PORTE digital I/O bit 2

Typical Applications

PIC17C42A-25/P is suitable for 6 applications: Industrial Automation Controller, Motor Control and PWM Drive, HVAC and Building Control Subsystems, Automotive Body and Comfort Modules, Legacy Communication Protocol Bridges, Instrumentation and Test Equipment.

🏭

Industrial Automation Controller

PIC17C42A-25/P suits industrial automation controllers that demand deterministic 8-bit timing and OTP code security, where field firmware updates are undesirable to prevent unauthorized changes. The 25 MHz clock yields 8.25 MIPS, sufficient for PID loops, scan-time scheduling, and discrete I/O handling across the 33 available GPIO pins. The wide supply window (5 V to 6 V) tolerates 24 V industrial rails stepped down through a linear regulator. Compared with flash-based PIC18 devices, the OTP EPROM image eliminates accidental reprogramming during field service, an advantage for safety-critical machine controllers. Recommended companion: PIC16LF877A-I/P for distributed HMI I/O expanders.

🏭

Motor Control and PWM Drive

PIC17C42A-25/P integrates two PWM outputs and two capture inputs, enabling closed-loop DC motor or brushed servo control without external timer ICs. The 25 MHz clock combined with a 121 ns instruction cycle provides the bandwidth to compute commutation tables for low-RPM brushless motors in firmware. 232 bytes of RAM hold a small state machine plus lookup tables for trapezoidal commutation, while 33 I/O pins carry Hall-sensor inputs and gate-driver outputs. Designers porting PIC16 motor code will find the PIC17 upward-compatible instruction set a low-risk migration. Recommended companion: PIC16LF727-I/ML for ancillary BLDC channel control.

🏭

HVAC and Building Control Subsystems

PIC17C42A-25/P powers HVAC zone controllers and building-automation nodes where deterministic 8-bit behavior, OTP firmware security, and 40-pin PDIP through-hole assembly combine well with hand-solderable field service. Its USART supports Modbus RTU or BACnet MS/TP over RS-485 transceivers, while 33 GPIO pins interface with thermistor inputs, damper actuators, and relay drivers. The -40 °C to +85 °C temperature range covers unconditioned mechanical rooms. Compared with flash PIC18, the OTP image is protected against inadvertent field rewrites that could invalidate regulatory listings. Recommended companion: PIC16LF818-I/SO for remote sensor end-nodes.

🚗

Automotive Body and Comfort Modules

PIC17C42A-25/P serves automotive body-control and comfort modules - lighting drivers, seat controllers, accessory multiplexers - where 8-bit simplicity and 5 V operation tolerate 12 V battery feeds through regulators. The 33 GPIO drive small LED arrays, relay coils, and switch matrices; the USART links the module to a central body controller. Microchip recommends migrating new automotive programs to PIC18F4220 or flash PIC18 parts because OTP cannot be field-updated for recalled firmware, but existing PIC17C42A-25/P designs remain supported in long-life vehicle platforms. Recommended companion: PIC16LF877-04I/P for gateway modules bridging LIN and CAN.

🌐

Legacy Communication Protocol Bridges

PIC17C42A-25/P bridges legacy RS-232/RS-485 serial devices to modern UART-based controllers, retaining the PIC17 instruction set and 58 single-word instruction simplicity that long-standing firmware relies on. The USART directly drives RS-232 transceivers, while the external-memory addressing extension allows large protocol-conversion tables in parallel EPROM when protocol dictionaries exceed the 4 KB on-chip OTP. The 25 MHz clock sustains sustained protocol parsing without buffering overflow. Compared with 16-bit PIC24 or dsPIC33 alternatives, PIC17C42A-25/P maintains bit-banged firmware paths that legacy code already depends on. Recommended companion: PIC16LF818-I/SO for end-of-line protocol taps.

🔧

Instrumentation and Test Equipment

PIC17C42A-25/P powers benchtop instrumentation front-panels and test fixtures that need a stable 8-bit core, ample GPIO for switch matrices, and a USART for PC-side SCPI command handling. The 4 KB OTP EPROM stores calibration constants and test sequences that must not drift after NIST-traceable calibration cycles. 232 bytes of RAM plus 33 I/O cover simple display-and-keypad UIs without external logic. Compared with flash PIC18F4220, OTP EPROM provides tamper-resistance during factory calibration, an advantage for certified measurement products. Recommended companion: PIC16LF872-I/SO for keypad-scan co-processors.

What type of microcontroller is the PIC17C42A-25/P?
The PIC17C42A-25/P is an 8-bit RISC microcontroller from Microchip's PIC17 family with OTP EPROM program memory. According to the Microchip datasheet (DS30412C family), it executes up to 8.25 MIPS at 25 MHz and ships in a 40-pin PDIP package. Its 58 single-word instructions and PIC16C5X upward compatibility make it a drop-in upgrade path from earlier 8-bit PIC designs.
What is the program memory size of PIC17C42A-25/P?
The PIC17C42A-25/P integrates 4 KB of OTP EPROM/ROM program memory organized as 2K x 16-bit wide words. Per the Microchip PIC17C4X datasheet (DS30412C), the 16-bit instruction width and 4 KB capacity allow ~2,048 single-word instructions to be programmed, suitable for medium-complexity embedded control firmware.
What is the operating voltage of PIC17C42A-25/P?
The PIC17C42A-25/P operates from a 5 V to 6 V supply window. According to the Microchip datasheet, operation below 5 V risks oscillator instability and ADC/inline timing drift, while going above 6 V exceeds absolute-maximum ratings. A 5 V regulated rail with 100 nF + 10 µF decoupling near VDD and VSS is the typical deployment.
What is the maximum clock speed of PIC17C42A-25/P?
The PIC17C42A-25/P supports a 25 MHz maximum clock frequency. Per the Microchip datasheet, with a 4-cycle instruction pipeline this yields a 121 ns instruction cycle and 8.25 MIPS throughput, enabling deterministic real-time loops for motor, HVAC, and industrial control applications.
How does the PIC17C42A differ from PIC17C42A-25/P?
PIC17C42A is the family base part; PIC17C42A-25/P is the -25 speed grade (25 MHz, commercial temperature) packaged in 40-pin PDIP. According to Microchip nomenclature, the -25 speed designation is the maximum oscillator frequency, the /P suffix denotes PDIP package, and there is no commercial-temperature-only restriction because this device already covers 0 °C to +70 °C minimum.
Where can I buy PIC17C42A-25/P online?
PIC17C42A-25/P is currently in stock at multiple distributors as of 2026-09-25, including Heisener, LCSC Electronics, Microchip USA, Veswin, Future Electronics, and Nantian. DigiKey/Mouser cross-reference tools can also surface the part. Pricing varies by quantity: $12.08 at qty 1 dropping to $7.62 at qty 1,000 per Verified Web Data on 2026-09-25.
What is the price of PIC17C42A-25/P?
The PIC17C42A-25/P prices as of 2026-09-25 range from $12.08 per unit (qty 1) down to $7.62 per unit (qty 1,000) per Heisener and distributor pricing captured in Verified Web Data. LCSC shows a $4.30 entry price tier for small orders. Always request a quote for higher volumes because NRND status can shift supply quickly.
What is the lead time for PIC17C42A-25/P?
Lead time for PIC17C42A-25/P as of 2026-09-25 is 'to be confirmed' at Heisener with estimated delivery between May 25 and May 30 from order date. Future Electronics and LCSC also list stock. Because the part is NRND, lead times can lengthen rapidly when remaining inventory is consumed - order ahead.
Is PIC17C42A-25/P in stock?
Yes, PIC17C42A-25/P was in stock with 6,432 pieces at Heisener as of 2026-09-25 per Verified Web Data. Stock is also reported by LCSC, Veswin, Future Electronics, and ampheo. Because the part is NRND, inventory will not be replenished once consumed, so plan future designs around PIC18F4220 or other flash-based PIC18 replacements.
What is the best drop-in replacement for PIC17C42A-25/P?
The best drop-in replacements for PIC17C42A-25/P share its 40-pin PDIP footprint and instruction-set compatibility. According to Verified Web Data, PIC17C42A-16/P (16 MHz) and PIC17C42A-16E/P (16 MHz extended temperature) are the closest same-package drop-ins within the same PIC17 family. For new designs, Microchip recommends migrating to PIC18F4220.
What is the difference between PIC17C42A-25/P and PIC18F4220?
The PIC17C42A-25/P is an OTP EPROM 8-bit MCU at 25 MHz with 4 KB program memory in 40-pin PDIP. The PIC18F4220 is Microchip's recommended modern migration: flash-based (re-programmable), enhanced PIC18 core, more RAM and peripherals, also available in PDIP-40. PIC18F4220 requires recompilation, while PIC17C42A-16/P and PIC17C42A-16E/P keep the same PIC17 core with minor speed/temperature adjustments.
When should I choose PIC17C42A-25/P over PIC18F4220?
Choose PIC17C42A-25/P only when you must replicate a legacy PIC17 firmware image exactly, when the OTP security model is preferred, or when existing inventory, tooling, and qualified assembly lines are tied to the PIC17 footprint. For new designs, choose PIC18F4220: it is flash-based, offers higher peripheral integration, a more modern toolchain, and is in active production.
Where can I download the PIC17C42A-25/P datasheet PDF?
The PIC17C42A-25/P datasheet PDF is hosted at https://ww1.microchip.com/downloads/en/devicedoc/30412c.pdf per Verified Web Data, covering the PIC17C4X family (PIC17C42, PIC17C42A, PIC17C43, PIC17CR42, PIC17CR43, PIC17C44). AllDataSheet and DigiChip also mirror the document; for the latest revision always start from Microchip's official site.
Where can I find PIC17C42A-25/P pinout information?
PIC17C42A-25/P pinout for the 40-pin PDIP is documented in the PIC17C4X datasheet (DS30412C) on Microchip's website. Pins include OSC1/OSC2 for the 25 MHz crystal, MCLR/VPP for reset and programming, RA0-RA5, RB0-RB7, RC0-RC7, RD0-RD7, RE0-RE2 ports, VDD, and VSS. Refer to the full table in the datasheet for exact pin-by-pin mapping.
What are the key specifications of PIC17C42A-25/P that engineers should know?
The PIC17C42A-25/P runs at 25 MHz delivering 8.25 MIPS, with 4 KB OTP EPROM program memory (2K x 16), 232 bytes of RAM, 33 I/O pins, two 8-bit timers plus a 16-bit timer, two capture inputs, two PWM outputs, a USART, and external memory addressing. Per the Microchip datasheet (DS30412C), it operates from 5 V to 6 V across -40 °C to +85 °C, packaged in 40-pin PDIP.

Engineering reference data for PIC17C42A-25/P — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC17C42A-25/P when you must replicate an existing PIC17 firmware image exactly, when OTP memory security is required to prevent field updates, and when 25 MHz execution with 33 GPIO pins is sufficient for industrial, motor, HVAC, automotive body, or instrumentation controllers. Choose PIC17C42A-16/P as a lower-cost drop-in when 16 MHz is acceptable. Choose PIC17C42A-16E/P when extended -40 °C to +125 °C temperature range is mandatory. Choose PIC17CR42A-25/P when ROM-mask production volumes are large enough to amortize the mask charge. Avoid PIC17C42A-25/L (PLCC) unless your PCB is already laid out for it. For all new designs, Microchip recommends PIC18F4220 (flash-based, modern toolchain) - migrate firmware at design time rather than sourcing a NRND part for new layouts.

Comparison with Alternatives

Parameter This Product PIC17C42A-16/P PIC17C42A-16E/P PIC17CR42A-25/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 40-pin PDIP 40-pin PDIP 40-pin PDIP 40-pin PDIP
Maximum Clock Frequency 25 MHz 16 MHz 16 MHz 25 MHz
Program Memory Size 4 KB (2K x 16 OTP EPROM) 4 KB (2K x 16 OTP EPROM) 4 KB (2K x 16 OTP EPROM) 4 KB (2K x 16 ROM)
RAM Size 232 bytes 232 bytes 232 bytes 232 bytes
Number of I/O Pins 33 33 33 33
Supply Voltage 5 V to 6 V 5 V to 6 V 5 V to 6 V 5 V to 6 V
Operating Temperature -40 °C to +85 °C 0 °C to +70 °C (commercial) -40 °C to +125 °C (extended) -40 °C to +85 °C
Program Memory Type OTP EPROM OTP EPROM OTP EPROM Mask ROM
Lifecycle Status NRND NRND NRND NRND

Key Differentiators

  • One-Time-Programmable EPROM security model (vs PIC17C42A-16E/P)
  • 40-pin PDIP through-hole form factor (vs PIC17C42A-25/L (PLCC))
  • PIC17 family upward compatibility (vs PIC18F4220)

Design Notes

Estimated: with VDD at 5.0 V and active current near 25 mA at 25 MHz, the device dissipates approximately 125 mW. Place a 100 nF X7R ceramic decoupling capacitor within 5 mm of the VDD pin and a bulk 10 µF tantalum or aluminum-polymer capacitor on the same supply node. According to the Microchip PIC17C4X datasheet (DS30412C), the supply tolerance is 5 V to 6 V; design the upstream regulator for 5.0 V to leave margin for transient dips during MCLR resets.

Estimated: route the 25 MHz crystal traces from OSC1/OSC2 (pins 8 and 9) as short, matched-length stubs with a continuous ground pour on the opposite layer. Keep digital signal traces more than 5 mm away from the crystal to minimize capacitive loading. A grounded guard ring around the crystal cans reduces EMI pickup. The MCLR/VPP pin (pin 11) needs an external pull-up to VDD through a 10 kΩ resistor and a 100 nF cap to ground for noise immunity during reset.

Because PIC17C42A-25/P is OTP EPROM (one-time-programmable), firmware mistakes during in-system programming are irreversible; always verify the code image in an emulator window or socket-replaceable device before committing to the production programmer. The 16-bit instruction width differs from PIC16's 14-bit words, so binary code is not portable. Per the Microchip datasheet, exceeding 6 V on VDD stresses internal EPROM cells and may corrupt code even after a successful program/verify cycle.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliance per Microchip product documentation. Not AEC-Q100 qualified for automotive designs requiring that certification; for AEC-Q100 designs use flash-based PIC18 parts. Lead-free yes. Halogen-free status not surfaced in Verified Web Data - [DATA_NEEDED: halogen_free verification].

Data verified on: 2026-09-25 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC17C42A-25/P PIC17C42A-25/P datasheet PDF Microchip PIC17C42A-25/P PIC17C42A 25MHz 8-bit MCU PDIP 40-pin PDIP OTP EPROM microcontroller PIC17C42A motor control application PIC17C42A-25/P vs PIC18F4220 PIC17C42A-25/P drop-in replacement PIC17C42A-25/P buy price stock what is the program memory of PIC17C42A-25/P PIC17C42A-25/P pinout 40-pin PDIP 8-bit OTP microcontroller industrial control

Related Components & Terms

Microchip Technology PIC17C42A-25/P PIC17C42A PIC17C42A-16/P PIC17C42A-16E/P PIC17CR42A-25/P PIC18F4220 PIC16C5X PIC12CXXX PIC16LF877A-I/P PIC16LF727-I/ML PIC16LF818-I/SO 8-bit microcontroller RISC Harvard architecture OTP EPROM USART PDIP-40 MIPS RoHS instruction set hardware stack capture/compare/PWM industrial automation automotive body module
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details