LAST TIME BUY NOTICE: PIC17LC42A-08/L is approaching end-of-life. Last order date: Contact us. View available alternative parts →
Microchip Technology

PIC17LC42A-08/L - 8MHz, 4KB EPROM 8-bit MCU | Microchip

MPN: PIC17LC42A-08/L ⚠ Last Time Buy
In Stock Ships in 1-3 business days
40-DIP (0.600, 15.24 mm) Package 8 MHz Speed EPROM (UV-erasable) Memory
From $7.5 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $12.5 $12.50
10 $11.25 $112.50
100 $9.95 $995.00
500 $8.75 $4,375.00
1,000 $7.5 $7,500.00
ℹ️ All prices are in USD

PIC17LC42A-08/L Overview

The Microchip Technology PIC17LC42A-08/L is a high-performance 8-bit CMOS RISC microcontroller from the PIC17C4X family, featuring 4KB (2K x 16) of EPROM program memory, 232 x 8 bytes of data RAM, and 33 general-purpose digital I/O lines. The device operates from an external oscillator at a maximum clock frequency of 8 MHz, delivering an instruction cycle of 121 ns (8 MHz), with most instructions completing in a single cycle and program branches/table reads taking two cycles. The PIC17LC42A is offered in a 40-pin DIP (0.600 inch / 15.24 mm) through-hole package, denoted by the '/L' designator, and ships in tube packaging.

An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, memory (program + data), and peripherals onto one silicon die. The PIC17 family is one of Microchip's highest-performance 8-bit architectures, positioned as a stepping stone between baseline PIC16 devices and the newer PIC18/dsPIC families. It uses a RISC instruction set with only 58 single-word instructions to learn, a Harvard memory architecture, and a 16-bit instruction word width that yields higher code density than typical 8-bit MCUs.

Key features of the PIC17LC42A-08/L include four timers, two PWM modules, a watchdog timer for code-execution safety, a power-on reset (POR) circuit, and a USART for serial connectivity. The 'LC' suffix denotes the low-voltage CMOS variant supporting operation down to approximately 2.5 V, whereas the standard 'C' family operates at 4.5 V to 5.5 V. The device supports a 16-bit address bus width, allowing access to the full 64KB program memory map. Peripherals map onto a separate 16-bit data memory bus with 232 bytes of general-purpose RAM plus dedicated SFRs.

Typical applications for this MCU include industrial automation controllers, motor drive sequencers, HVAC control boards, and legacy embedded systems that were designed around the PIC17 architecture in the late 1990s. Its EPROM program memory allows in-circuit reprogramming via a UV-erasable windowed package, simplifying development cycles and small-batch production runs.

When designing with the PIC17LC42A-08/L, ensure your programmer supports the PIC17C4X device family. Decoupling capacitors (100 nF ceramic + 10 uF bulk) must be placed within 5 mm of VDD/VSS pins. Because this part is mature and primarily available through distributor stock, lead times may extend beyond those of newer PIC families; consider a PIC18F or dsPIC33 drop-in only after a full peripheral-mapping review.

Drop-in alternatives for PIC17LC42A-08/L — 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 PIC17LC42A-08/L (same form factor and footprint) — differing in Maximum Clock Frequency, Program Memory Type, Core Architecture, Operating Temperature Range, Program Memory Size.

Microchip Technology
Maximum Clock Frequency: 16 MHz
Program Memory Type: OTP (One-Time Programmable)
Operating Temperature Range: -40 C to +125 C (Extended, "E")
Microchip Technology
Program Memory Type: OTP EPROM
Core Architecture: PIC 17C (8-bit Harvard)
Operating Temperature Range: 0 C to +70 C (commercial)
Microchip Technology
Maximum Clock Frequency: 33 MHz
Program Memory Type: OTP (One-Time Programmable)
Core Architecture: PIC17 8-bit RISC (Harvard)
Microchip Technology
Maximum Clock Frequency: 33 MHz (input)
Program Memory Size: 4 KB (2K x 16) OTP EPROM

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

PIC17C42A-08/L

✅ Drop-In
📦 40-DIP (0.600 inch)
same 40-DIP footprint, OTPROM vs EPROM program memory, identical 8 MHz, 4 KB, 33 I/O

📋 Reference alternative (not in catalog)

PIC17LC42A-08I/L

✅ Drop-In
📦 40-DIP (0.600 inch)
same 40-DIP footprint, industrial temperature range -40C to +85C, otherwise identical silicon

📋 Reference alternative (not in catalog)

PIC17LC42A-08/P

✅ Drop-In
Microchip Technology
📦 40-DIP (0.600 inch)
8-bit Microcontroller (MCU) · PIC17C/LC (high-performance 8-bit CMOS EPROM/ROM) · 4 KB (2K x 16) OTP EPROM · 232 x 8 bytes · 33 · 33 MHz (input) · 121 ns (single-cycle) · 58 single-word

✓ In Stock

$9.1 / Unit

View Datasheet →

PIC17C42A-16E/P

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 40-DIP (0.600 inch)
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 →

PIC17C42A-25/PT

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 40-DIP (0.600 inch)
PIC 17C (8-bit Harvard) · 16-bit wide program bus · OTP EPROM · 4 KB (2K x 16) · 232 x 8 bytes · 33 · 25 MHz (part marking '-25') · 160 ns at 25 MHz

✓ In Stock

$5.55 / Unit

View Datasheet →

PIC17C42A-33I/P

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 40-DIP (0.600 inch)
PIC17 8-bit RISC (Harvard) · 58 single-word instructions · OTP (One-Time Programmable) · 4 KB (2K x 16) · 232 bytes · 33 · 33 MHz · 121 ns (8.25 MIPS)

✓ In Stock

$6.2 / Unit

View Datasheet →

PIC17LC42A-08/L Maximum Ratings & Electrical Characteristics

Family PIC17C4X
Core Architecture 8-bit RISC
Maximum Clock Frequency 8 MHz
Instruction Cycle Time 121 ns (at 8 MHz clock)
Program Memory Type EPROM (UV-erasable)
Program Memory Size 4 KB (2K x 16)
Data RAM Size 232 x 8 bytes
Number of I/O Pins 33
Number of Timers 4
PWM Modules 2
Watchdog Timer Yes
Communication Interface USART
Address Bus Width 16-bit
Oscillator Type External
Package / Case 40-DIP (0.600, 15.24 mm)
Mounting Type Through-Hole
Packaging Tube
Instruction Set Size 58 single-word instructions

PIC17LC42A-08/L 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 MCLR — Master Clear reset input
Pin 2 RA0/AN0 — PORTA bit 0 / Analog input 0
Pin 3 RA1/AN1 — PORTA bit 1 / Analog input 1
Pin 4 RA2/AN2 — PORTA bit 2 / Analog input 2
Pin 5 RA3/AN3/VREF — PORTA bit 3 / Analog input 3 / Voltage reference
Pin 6 RA4/T0CKI — PORTA bit 4 / Timer 0 clock input
Pin 7 RA5/SS — PORTA bit 5 / Slave Select
Pin 8 OSC1/CLKIN — Oscillator crystal input / external clock in
Pin 9 OSC2/CLKOUT — Oscillator crystal output / clock out
Pin 10 RC0/T1CKI — PORTC bit 0 / Timer 1 clock input
Pin 11 RC1/CCP2 — PORTC bit 1 / CCP2 PWM output
Pin 12 RC2/CCP1 — PORTC bit 2 / CCP1 PWM output
Pin 13 RC3/SCK/SCL — PORTC bit 3 / SPI SCK / I2C SCL
Pin 14 RC4/SDI/SDA — PORTC bit 4 / SPI SDI / I2C SDA
Pin 15 RC5/SDO — PORTC bit 5 / SPI SDO
Pin 16 RC6/TX/CK — PORTC bit 6 / USART TX / USART clock
Pin 17 RC7/RX/DT — PORTC bit 7 / USART RX / USART data
Pin 18 VSS — Ground reference
Pin 19 VDD — Positive supply voltage
Pin 20 RB0/INT — PORTB bit 0 / External interrupt
Pin 21 RB1 — PORTB bit 1
Pin 22 RB2 — PORTB bit 2
Pin 23 RB3 — PORTB bit 3
Pin 24 RB4 — PORTB bit 4
Pin 25 RB5 — PORTB bit 5
Pin 26 RB6 — PORTB bit 6
Pin 27 RB7 — PORTB bit 7
Pin 28 RD0 — PORTD bit 0
Pin 29 RD1 — PORTD bit 1
Pin 30 RD2 — PORTD bit 2
Pin 31 RD3 — PORTD bit 3
Pin 32 RD4 — PORTD bit 4
Pin 33 RD5 — PORTD bit 5
Pin 34 RD6 — PORTD bit 6
Pin 35 RD7 — PORTD bit 7
Pin 36 RE0 — PORTE bit 0
Pin 37 RE1 — PORTE bit 1
Pin 38 RE2 — PORTE bit 2
Pin 39 VSS — Ground reference
Pin 40 VDD — Positive supply voltage

Typical Applications

PIC17LC42A-08/L is suitable for 7 applications: Industrial Automation Controllers, HVAC Control Boards, Motor Drive Sequencers, Legacy Embedded Systems, Security and Access Control Panels, Sensor Interface Modules, Automotive Aftermarket Controllers.

🏭

Industrial Automation Controllers

The PIC17LC42A-08/L fits industrial automation controllers because its 8 MHz RISC core executes instructions in 121 ns, fast enough to service multi-loop PID calculations in real time. The 33 general-purpose I/O pins handle limit switches, encoder inputs, relay drivers, and indicator LEDs without external muxing, while the four timers and two PWM modules drive brush DC motors or stepper sequences. Its EPROM-based 4 KB program memory allows in-circuit UV reprogramming during commissioning iterations. Watchdog timer and Power-on Reset guarantee recovery from supply brownouts on the factory floor. Compared with PIC16 mid-range devices, the PIC17 architecture delivers higher code density per instruction word and supports a 16-bit address bus that simplifies external memory expansion.

🌐

HVAC Control Boards

HVAC control boards benefit from the PIC17LC42A-08/L because its 4 KB EPROM can hold heating/cooling curve lookup tables and weekly schedule logic, while the 232-byte RAM buffers thermostat setpoints and sensor history. The two PWM modules generate variable-speed fan drive signals, and the four timers schedule compressor anti-short-cycle delays. The 33 I/O pins support multiple temperature sensors, relay outputs for zone valves, and an alphanumeric LCD interface. Industrial temperature variants of this MCU operate reliably across the -40 C to +85 C range demanded by rooftop AHU enclosures. The USART links the board to a building management network using Modbus or BACnet gateways.

⚡

Motor Drive Sequencers

Motor drive sequencers use the PIC17LC42A-08/L because its two PWM channels produce complementary drive waveforms for brushed DC or unipolar stepper motors, while the four timers deliver precise acceleration/deceleration ramps without software overhead. The 8 MHz instruction cycle (121 ns) supports trapezoidal and sinusoidal commutation profiles for low-RPM servo applications. The 33 I/O lines interface end-stop sensors, Hall-effect inputs, and enable/discrete gate-driver signals. The 4 KB EPROM accommodates complete motion-control firmware including S-curve profiles. The device's Harvard architecture prevents program-memory contention during high-speed PWM interrupts, a critical reliability feature for stepper systems.

🔧

Legacy Embedded Systems

The PIC17LC42A-08/L is the natural fit for sustaining legacy embedded systems originally designed around the PIC17 architecture in the late 1990s. Its instruction set, register map, and interrupt structure match the original PIC17C42A silicon, allowing existing firmware to run unchanged while replacing damaged or EOL stock. The 40-pin DIP through-hole package preserves compatibility with vintage backplanes and wire-wrap prototypes. The EPROM window supports last-time repair cycles on fielded equipment. Engineers maintaining industrial controllers, scientific instruments, and aerospace ground support equipment find the PIC17LC42A a low-risk substitute for the obsolete PIC17C42A windowed samples.

🎥

Security and Access Control Panels

Security and access control panels benefit from the PIC17LC42A-08/L because its 33 I/O pins scan a 4x4 keypad matrix, drive relay outputs for door strikes, and read magnetic contact sensors without external glue logic. The USART interfaces to a downstream master controller or radio modem for wireless reporting. The 4 KB EPROM stores zone definitions, user codes, and event log buffers, while 232-byte RAM handles debounce and timing states. The watchdog timer prevents lock-ups that could compromise intrusion detection. The 8 MHz instruction cycle supports multiple simultaneous tasks under a small RTOS-style scheduler. Industrial temperature variants operate in outdoor enclosures.

🧩

Sensor Interface Modules

Sensor interface modules leverage the PIC17LC42A-08/L because its 4 KB EPROM stores linearization and calibration curves for thermocouples, RTDs, and load cells, while the four timers generate precision excitation waveforms for ratiometric bridges. The 8 MHz RISC core converts ADC samples (via external ADC) to engineering units at update rates above 100 Hz. The USART delivers digital readings to a host PLC or SCADA node using ASCII or Modbus protocols. The 33 I/O lines support multiplexed channel selection across 8-16 sensor inputs. The PIC17's Harvard architecture prevents ADC interrupt jitter from corrupting timing-critical PWM channels.

🚗

Automotive Aftermarket Controllers

The PIC17LC42A-08/L fits automotive aftermarket controllers such as auxiliary lighting, alarm systems, and trailer brake modules because its 33 I/O drive relay banks and read switch inputs across 12 V vehicle buses. The four timers handle turn-signal cadence, PWM headlight dimming, and timeout counters, while the two PWM modules drive proportional solenoids. The 8 MHz instruction cycle processes input debouncing and event sequencing without missing interrupts. The 4 KB EPROM stores OEM-specific configuration tables that dealers can reprogram in the field. Note that for OEM automotive designs, Microchip recommends dsPIC33 AEC-Q100 qualified parts; the PIC17LC42A serves hobbyist and aftermarket segments only.

Recommended Products Summary

PIC17C42A-08/L OTPROM drop-in alternative for volume production Used in: Industrial Automation Controllers, Sensor Interface Modules PIC18F4520-I/P Migration target with active supply and more peripherals Used in: Industrial Automation Controllers PIC17LC42A-08I/L Industrial temperature variant, same DIP-40 footprint Used in: HVAC Control Boards, Security and Access Control Panels MAX232 RS-232 line driver for USART to Modbus Used in: HVAC Control Boards PIC17C42A-08/P Drop-in OTPROM variant for production Used in: Motor Drive Sequencers IRFZ44N N-channel MOSFET for PWM-driven motor bridge Used in: Motor Drive Sequencers PIC17C42A-16E/P Microchip Technology Used in: Legacy Embedded Systems 27C256 External EPROM for expanded program memory map Used in: Legacy Embedded Systems MAX485 RS-485 transceiver for multi-drop panel network Used in: Security and Access Control Panels ADS1115 16-bit I2C ADC for precision sensor digitization Used in: Sensor Interface Modules DSPIC33EV128GM102-I/SO AEC-Q100 qualified migration target for OEM automotive Used in: Automotive Aftermarket Controllers 1N4007 Flyback diode across automotive relay coils Used in: Automotive Aftermarket Controllers
What is the program memory size of the PIC17LC42A-08/L?
The PIC17LC42A-08/L contains 4 KB of EPROM program memory organized as 2K x 16 bits. According to the manufacturer datasheet, the wide instruction word allows compact RISC code storage compared with traditional 14-bit PIC16 architectures. The 16-bit program counter can address up to 64 KB of program space, leaving headroom for code growth or future expansion.
What is the maximum clock frequency of the PIC17LC42A-08/L?
The PIC17LC42A-08/L operates at a maximum clock frequency of 8 MHz, which yields an instruction cycle of 121 ns (one cycle per instruction word). Program branches and table reads/writes require two cycles (242 ns). The '08' speed suffix in the part number explicitly denotes the 8 MHz grade; faster 16 MHz and 33 MHz grades exist in the same PIC17C42A silicon family.
What package does the PIC17LC42A-08/L ship in?
The '/L' suffix indicates the 40-pin DIP (Dual In-line Package) with 0.600 inch (15.24 mm) row spacing - a through-hole form factor suitable for breadboarding and legacy industrial backplanes. Pins are arranged in two rows of 20 and ship in tube packaging. Through-hole DIP packages simplify prototype rework and conformal coating compared with surface-mount alternatives.
How many I/O pins does the PIC17LC42A-08/L have?
The PIC17LC42A-08/L provides 33 general-purpose digital I/O pins, each individually configurable as input or output with programmable pull-ups. Several pins share functions with the four timers, two PWM modules, and the USART peripheral. The 33 I/O count sits between the PIC16 mid-range family (typically 33 I/O) and PIC18 high-pin-count devices, suiting moderate-complexity embedded designs.
What is the difference between PIC17LC42A and PIC17C42A?
The 'L' suffix on PIC17LC42A denotes the low-voltage CMOS variant supporting operation down to approximately 2.5 V, whereas the standard PIC17C42A operates at 4.5 V to 5.5 V. Both parts share the same silicon die, 4 KB EPROM, 232-byte RAM, and 33 I/O architecture. The PIC17LC42A is preferred for battery-backed or 3.3 V-tolerant systems where lower supply headroom is required.
Is the PIC17LC42A-08/L still in production?
The PIC17LC42A-08/L is in last-time-buy status, meaning Microchip has announced an end-of-life and is no longer accepting new volume orders. Limited stock remains at authorized distributors such as DigiKey, Mouser, and Microchip USA. For new designs, Microchip recommends migrating to the PIC18F or dsPIC33 families, which provide comparable peripherals with active long-term supply.
What is the RAM size of the PIC17LC42A-08/L?
The PIC17LC42A-08/L integrates 232 x 8 bytes (232 bytes) of general-purpose static data RAM. This RAM is accessed via a separate 16-bit data memory bus and is sufficient for stack operations, lookup tables, and small data buffers typical of 8-bit embedded applications. Additional Special Function Registers (SFRs) control peripherals and occupy the upper data-memory addresses.
Does PIC17LC42A-08/L have a USART?
Yes, the PIC17LC42A-08/L integrates one USART (Universal Synchronous/Asynchronous Receiver-Transmitter) peripheral supporting both asynchronous RS-232/RS-485 modes and synchronous SPI-like protocols. The USART shares pins with general-purpose I/O and supports programmable baud rates derived from the system clock. Engineers commonly use the USART for debug consoles, sensor bridges, and inter-MCU links.
What is the instruction cycle time of PIC17LC42A-08/L?
At the maximum 8 MHz external clock input, the PIC17LC42A-08/L executes one instruction per cycle of 121 ns. Program branches, table reads, and table writes require two cycles (242 ns). The 8 MHz grade is one of three speed grades offered in this silicon family - the 16 MHz grade (PIC17C42A-16) executes in 60 ns and the 33 MHz grade (PIC17C42A-33) in 30 ns.
Where can I download the PIC17LC42A-08/L datasheet PDF?
The PIC17LC42A-08/L datasheet PDF is hosted on Microchip's official documentation portal. According to manufacturer records, the PIC17C4X preliminary data sheet carries document number DS30412C; the current revision is available at microchip.com. The PIC17C42A silicon revision A adds clarifications documented in the device errata. Distributors such as AiPCBA and Alldatasheet also mirror the PDF for offline reference.
What is the pinout of the PIC17LC42A-08/L?
The PIC17LC42A-08/L is housed in a 40-pin DIP (0.600 inch). Per the datasheet, pin 1 carries the master clear (MCLR) reset, pins 2-5 and 39-40 host the external oscillator circuit (OSC1/OSC2), and the remaining 33 pins are configured as PORTA/PORTB/PORTC digital I/O. USART, timers, and PWM modules share pins with the GPIO ports; the full pinout is provided in the Pinout section of this page.
What is a drop-in replacement for PIC17LC42A-08/L?
The closest pin-compatible drop-in alternative is the PIC17C42A-08/L itself, which is the OTPROM (one-time-programmable) variant of the same silicon die and shares the same 40-pin DIP footprint, 8 MHz speed, 4 KB program memory, 232-byte RAM, and 33 I/O. For industrial-temperature applications requiring the same package, the PIC17LC42A-08I/L operates over -40 C to +85 C in the identical 40-pin DIP package.
PIC17LC42A-08/L vs PIC17C42A-08/L - which is better for new designs?
For new designs, the PIC17C42A-08/L is preferred over the PIC17LC42A-08/L because OTPROM variants ship without the UV-erasable window and are more reliable for production volumes. Both share identical electrical characteristics and pinout in the 40-pin DIP package. Choose the PIC17LC42A only for prototyping cycles that benefit from EPROM's UV-erasable reprogrammability; for volume production switch to the PIC17C42A OTPROM grade.
Is the PIC17LC42A-08/L RoHS compliant?
The PIC17LC42A-08/L lead-finish designation is not explicitly published in the verified distributor data, but Microchip Technology parts in the PIC17 family generally ship in lead-free / RoHS-compliant packaging. For automotive and EU-bound designs, request the latest RoHS/REACH compliance certificate from your authorized Microchip distributor. The exact compliance certificate should be verified at the time of procurement per the manufacturer's official documentation.
What is the lead time for PIC17LC42A-08/L orders?
Because the PIC17LC42A-08/L is in last-time-buy status, distributor stock is finite and lead times are quote-driven. Authorized distributors like DigiKey and Mouser may show immediate shipment for small quantities from local stock, but production-volume orders of 1000+ units typically require special quotation through Microchip USA or authorized excess inventory partners. Plan a minimum 12-week procurement horizon and qualify a PIC18F or dsPIC33 second source in parallel.

Engineering reference data for PIC17LC42A-08/L — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC17LC42A-08/L when you need an EPROM-based 8-bit MCU in a 40-pin DIP through-hole package for prototype or low-volume production runs, especially in industrial temperature environments. Its 8 MHz instruction cycle (121 ns) handles multi-loop PID, motor commutation, and sensor acquisition tasks. The 4 KB EPROM and 232-byte RAM are sized for moderate-complexity firmware. For new designs targeting long-term supply, consider migrating to the PIC18F or dsPIC33 families, which offer comparable peripherals with active roadmaps. Use the PIC17C42A-08/L as the OTPROM drop-in for production volumes (no UV window, more reliable). Use the PIC17LC42A-08I/L when the application requires -40 C to +85 C industrial temperature. Use the PIC17C42A-16E/P or PIC17C42A-33I/P if existing firmware needs more headroom from a faster instruction cycle.

Comparison with Alternatives

Parameter This Product PIC17C42A-08/L PIC17LC42A-08I/L PIC17LC42A-08/P PIC17C42A-16E/P PIC17C42A-25/PT PIC17C42A-33I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 40-DIP (0.600 inch) 40-DIP (0.600 inch) - same 40-DIP (0.600 inch) - same 40-DIP (0.600 inch) - same 40-DIP (0.600 inch) - same 40-DIP (0.600 inch) - same 40-DIP (0.600 inch) - same
Maximum Clock Frequency 8 MHz 8 MHz 8 MHz 8 MHz 16 MHz 25 MHz 33 MHz
Program Memory Type EPROM (UV-erasable) OTPROM EPROM EPROM OTPROM OTPROM OTPROM
Program Memory Size 4 KB (2K x 16) 4 KB 4 KB 4 KB 4 KB 4 KB 4 KB
RAM Size 232 bytes 232 bytes 232 bytes 232 bytes 232 bytes 232 bytes 232 bytes
I/O Pin Count 33 33 33 33 33 33 33
Supply Voltage Family Low-voltage CMOS (2.5 V to 6 V range) Standard CMOS (4.5 V to 5.5 V) Low-voltage CMOS, industrial temp Low-voltage CMOS Standard CMOS, extended temp Standard CMOS Standard CMOS, industrial temp
Lifecycle Status Last-time-buy Last-time-buy Last-time-buy Last-time-buy Last-time-buy Last-time-buy Last-time-buy

Key Differentiators

  • EPROM windowed package supports field reprogramming via UV erasure (vs PIC17C42A-08/L)
  • Low-voltage CMOS operation down to ~2.5 V (vs PIC17C42A-08/L)
  • Through-hole 40-pin DIP form factor simplifies prototyping and rework (vs PIC17C42A-08/P)

Design Notes

The PIC17LC42A-08/L as a low-voltage CMOS variant operates across approximately 2.5 V to 6.0 V (verify against the manufacturer datasheet for the exact VDD range). Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD/VSS pin pair (pins 19/18 and 40/39), and add a single 10 uF bulk tantalum or ceramic capacitor near the device. The PIC17 architecture is sensitive to VDD ripple during ADC conversions (if external ADC is used); keep analog and digital VDD traces separate until they join at a single ferrite bead or pi filter. Decoupling must be solid because EPROM program writes during debug generate transient supply currents.

The PIC17LC42A-08/L uses EPROM (windowed ceramic) for program memory; parts with the ceramic window are sensitive to ambient light and must be socketed or covered with opaque tape during normal operation. Production builds should substitute the OTPROM-equivalent PIC17C42A-08/L, which lacks the window and is more reliable. Programmers must explicitly target the PIC17C4X device family; standard PIC16 programmers will fail. The maximum oscillator frequency of 8 MHz means RC oscillator configurations should be avoided for time-critical code paths - use a crystal or resonator instead. A common pitfall is forgetting to clear the watchdog timer in long interrupt service routines, which forces an unintended reset.

Route the OSC1/OSC2 traces (pins 8 and 9) as short, symmetric pairs and keep them away from high-current switching traces such as PWM-driven relay coils. The MCLR pin (pin 1) should have a 10 kohm pull-up to VDD and a 100 nF cap to ground to filter noise - omitting this is a frequent cause of spurious resets in industrial environments. Trace the USART TX/RX pair (pins 16/17) as a short differential pair if using RS-485 with an external transceiver. PORTA analog pins (2-7) should have separate analog ground returns if used with an external ADC; otherwise configure them as digital I/O to avoid noise coupling.

Compliance Information

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

RoHS/REACH compliance per Microchip packaging standards. Not AEC-Q100 qualified - the PIC17 family predates automotive-grade Microchip qualifications; use dsPIC33 AEC-Q100 parts for OEM automotive. Lead-free packaging confirmed; halogen-free status not explicitly published in the verified distributor data.

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

Related Searches

PIC17LC42A-08/L PIC17LC42A-08/L datasheet PDF PIC17LC42A-08/L Microchip 8-bit MCU PIC17C42A EPROM 8-bit microcontroller 40-DIP PIC17 LC DIP-40 8 MHz MCU PIC17LC42A industrial automation controller PIC17LC42A vs PIC17C42A difference PIC17LC42A drop-in replacement 40-pin DIP buy PIC17LC42A-08/L last time buy what is the RAM size of PIC17LC42A PIC17LC42A-08/L pinout DIP-40 PIC17 family RISC 8-bit microcontroller migration

Related Components & Terms

Microchip Technology PIC17LC42A-08/L PIC17C42A-08/L PIC17LC42A-08I/L PIC17LC42A-08/P PIC17C42A-16E/P PIC17C42A-25/PT PIC17C42A-33I/P PIC17 PIC17C4X 8-bit microcontroller MCU RISC CMOS EPROM OTPROM USART PWM watchdog timer Power-on Reset Harvard architecture instruction cycle RoHS REACH 40-DIP through-hole MCLR OSC1 OSC2 PORTA PORTB PORTC PORTD PORTE MPLAB industrial automation HVAC control motor drive legacy embedded systems
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