Microchip Technology

PIC16LF873A-I/SP - 8-Bit PIC MCU, 7KB Flash, 28-SPDIP | Microchip

MPN: PIC16LF873A-I/SP ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 28-pin SPDIP (Skinny Plastic DIP), 7.62 mm row spacing Package 20 MHz Speed 7 KB (4K x 14 words) Memory
From $5.78 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $8.2 $8.20
10 $7.55 $75.50
100 $6.92 $692.00
500 $6.3 $3,150.00
1,000 $5.78 $5,780.00
ℹ️ All prices are in USD

PIC16LF873A-I/SP Overview

The Microchip PIC16LF873A-I/SP is an 8-bit PIC microcontroller from the PIC16F family, featuring a 14-bit instruction set, 7KB (4K x 14 words) of Flash program memory, 192 bytes of RAM, and 128 bytes of EEPROM data memory. It operates at up to 20 MHz (10 MHz at 2.0V) and is housed in a 28-pin SPDIP (Skinny Plastic DIP) through-hole package. The "LF" prefix indicates the low-voltage F-version, supporting operation from 2.0V to 5.5V, while the "I" suffix denotes the -40C to +85C industrial temperature grade.

A microcontroller (MCU) is a single-chip computer containing a processor core, non-volatile program memory, volatile data memory, and configurable peripheral interfaces. The PIC16F architecture belongs to the Modified Harvard RISC family, where program and data buses are separated to allow simultaneous instruction fetch and operand access. Within the broader semiconductor taxonomy, an 8-bit MCU sits below 32-bit ARM Cortex-M devices in processing power but offers lower cost, simpler toolchains, and deterministic interrupt latency suitable for hard real-time control loops. PIC MCUs target embedded control applications where cost, low power, and ease of programming outweigh raw computational throughput.

Key features of the PIC16LF873A-I/SP include five 10-bit Analog-to-Digital Converter (ADC) channels with conversion rates up to 100 ksps, two 10-bit Pulse-Width Modulation (PWM) modules, a USART with addressable asynchronous/synchronous mode, a Master Synchronous Serial Port (MSSP) supporting SPI and I2C (master and slave), two analog comparators, and 22 general-purpose digital I/O pins organized across three ports (PORTA, PORTB, PORTC). The device supports in-circuit serial programming (ICSP) via two pins, allowing firmware updates without removing the part from the board.

The architecture is built around a 14-bit instruction word, an 8-level deep hardware stack, and 35 single-cycle instructions. Brown-out Reset (BOR), Power-on Reset (POR), and a Watchdog Timer (WDT) with on-chip RC oscillator provide robustness for unattended industrial deployments. The SSP module handles I2C up to 400 kHz and SPI up to 10 MHz, while the USART supports RS-232/RS-485 links up to 5 Mbps. With 100,000 erase/write cycle endurance on Flash and EEPROM, the part is suitable for field-deployed systems requiring occasional firmware updates.

Typical applications include industrial sensor conditioning, low-power remote sensor nodes, home appliance control panels, HVAC thermostat interfaces, motor control signal conditioning, and battery-powered instrumentation. The wide operating voltage range allows direct connection to single-cell lithium (3.6V nominal), two-cell alkaline (3.0V nominal), or regulated 5V rails.

When designing with this MCU, ensure that the ICSPDAT/ICSPCLK pins are isolated from any heavy capacitive loads to avoid programming failures, and reserve a 100 nF decoupling capacitor within 5 mm of the VDD pin. The MCLR reset pin should be pulled up through a 10 kohm resistor to VDD and decoupled with a 100 nF capacitor in noisy environments.

This page synthesizes distributor pricing, drop-in pin-compatible alternatives, and practical design considerations not found in the standalone manufacturer datasheet, helping engineers shorten the evaluation cycle and reduce sourcing risk.

Drop-in alternatives for PIC16LF873A-I/SP — 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 PIC16LF873A-I/SP (same form factor and footprint) — differing in Package, Timers, ADC, Mounting Type, Operating Temperature.

Microchip Technology
Package: PDIP-18 (through-hole)
Timers: 1 x 8-bit Timer0, 1 x 16-bit Timer1
ADC: 5-channel, 10-bit
Microchip Technology
Package: 28-pin SOIC (wide-body, 7.50 mm, 'SO' / 300-mil)
Timers: 2 x 8-bit + 1 x 16-bit
ADC: 10-bit, up to 5 channels
Microchip Technology
Package: 28-pin SOIC (SO, 0.295 inch / 7.50 mm width)
Timers: 2 x 8-bit, 1 x 16-bit
ADC: 10-bit, up to 5 channels

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

PIC16F873A-I/SP

✅ Drop-In ⚠️ Specs Unverified
📦 28-SPDIP
same 28-SPDIP pinout, but VDD range 4.0 V to 5.5 V (vs 2.0 V to 5.5 V for LF); peripherals and memory identical

📋 Reference alternative (not in catalog)

PIC16LF876A-I/SP

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 28-SPDIP
PIC16 8-bit RISC · 14 KB (8K x 14) Flash · 368 bytes · 256 bytes · 10 MHz internal (20 MHz external) · 2.0 V to 5.5 V · 22 · 10-bit, 5 channels

✓ In Stock

$4.02 / Unit

View Datasheet →

PIC16F873A-04I/SP

✅ Drop-In ⚠️ Specs Unverified
📦 28-SPDIP
same 28-SPDIP pinout, 4 MHz max CPU (vs 20 MHz, -80%), lower power, otherwise identical memory and peripherals

📋 Reference alternative (not in catalog)

PIC16LF873-04I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC (not SPDIP)
8-bit PIC16 RISC (Harvard) · 7 KB (4K x 14 words) Flash · 192 bytes · 128 bytes · 4 MHz (external oscillator input) · 2.0 V to 5.5 V · -40C to +85C (industrial, 'I' suffix) · 22

✓ In Stock

$5.45 / Unit

View Datasheet →

PIC16LF873A-I/SS

✅ Drop-In
Microchip Technology
📦 28-SSOP
PIC16 (RISC, Harvard) · 8-bit · 7 KB (4K x 14) · 192 bytes · 128 bytes · 10 MHz (200 ns instruction cycle) · 2.0 V to 5.5 V · -40 °C to +85 °C (Industrial)

✓ In Stock

$3.05 / Unit

View Datasheet →

PIC16LF873A-I/SP Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (14-bit instruction word)
Program Memory (Flash) 7 KB (4K x 14 words)
Data RAM 192 bytes
Data EEPROM 128 bytes
Maximum CPU Frequency 20 MHz
Supply Voltage (VDD) 2.0 V to 5.5 V
Operating Temperature -40 C to +85 C (Industrial)
Number of I/O Pins 22
ADC 10-bit, 5 channels, up to 100 ksps
PWM Modules 2 x 10-bit
USART 1 (addressable, RS-232/RS-485)
SPI / I2C (MSSP) 1 (SPI master/slave + I2C master/slave)
Comparators 2 analog
Timers 3 (Timer0, Timer1, Timer2)
Watchdog Timer Yes (with on-chip RC oscillator)
Brown-out Reset / POR Yes
In-Circuit Programming ICSP via 2 pins
Package 28-pin SPDIP (Skinny Plastic DIP), 7.62 mm row spacing
Mounting Type Through-Hole
RoHS Status Compliant

PIC16LF873A-I/SP Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 MCLR/VPP — Master Clear (Reset) input / programming voltage 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/VREF- — PORTA bit 2 / Analog input 2 / ADC VREF-
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC VREF+
Pin 6 RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output
Pin 7 RA5/AN4/SS/C2OUT — PORTA bit 5 / Analog input 4 / SPI Slave Select / Comparator 2 output
Pin 8 VSS — Ground reference
Pin 9 OSC1/CLKI — Crystal oscillator input / external clock input
Pin 10 OSC2/CLKO — Crystal oscillator output / clock output
Pin 11 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 12 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 (PWM2)
Pin 13 RC2/CCP1 — PORTC bit 2 / CCP1 (PWM1)
Pin 14 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pin 15 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pin 16 RC5/SDO — PORTC bit 5 / SPI data out
Pin 17 RC6/TX/CK — PORTC bit 6 / USART TX / USART clock
Pin 18 RC7/RX/DT — PORTC bit 7 / USART RX / USART data
Pin 19 VSS — Ground reference
Pin 20 VDD — Positive supply voltage
Pin 21 RB0/INT — PORTB bit 0 / External interrupt
Pin 22 RB1 — PORTB bit 1
Pin 23 RB2 — PORTB bit 2
Pin 24 RB3/PGM — PORTB bit 3 / ICSP programming clock
Pin 25 RB4 — PORTB bit 4
Pin 26 RB5/PGM — PORTB bit 5
Pin 27 RB6/PGC — PORTB bit 6 / ICSP clock (PGC)
Pin 28 RB7/PGD — PORTB bit 7 / ICSP data (PGD)

Typical Applications

PIC16LF873A-I/SP is suitable for 6 applications: Industrial Sensor Conditioning, Battery-Powered Remote Sensor Node, Home Appliance Control Panel, HVAC Thermostat Interface, Motor Control Signal Conditioning, Educational / Hobbyist Embedded Projects.

🏭

Industrial Sensor Conditioning

The PIC16LF873A-I/SP fits industrial sensor conditioning boards because its 10-bit 5-channel ADC samples up to 100 ksps, sufficient for temperature, pressure, and 4-20 mA loop transducers. The 2.0 V to 5.5 V supply range lets the MCU run directly from a 24 V-to-5 V isolated rail or a battery backup. The integrated I2C/SPI MSSP peripheral connects to digital sensors and EEPROMs without external glue logic. Brown-out Reset and Watchdog Timer provide the resilience required for unattended factory-floor deployments.

🧩

Battery-Powered Remote Sensor Node

The PIC16LF873A-I/SP is well-suited for battery-powered remote sensor nodes because its LF process variant supports 2.0 V to 5.5 V operation, allowing direct connection to single-cell lithium (3.6 V) or two-cell alkaline (3.0 V) chemistries without an external LDO. Sleep current below 1 uA at 3 V extends battery life into multi-year ranges for periodic-sampling applications. The 7 KB Flash accommodates basic Modbus or LoRaWAN stack snippets, and the integrated ADC reads sensor outputs directly.

🏠

Home Appliance Control Panel

The PIC16LF873A-I/SP is commonly used in home appliance control panels (washing machines, microwave ovens, dishwashers) because the 22 I/O pins drive multiplexed LED or LCD displays, keypads, and triac-controlled heater relays. The two 10-bit PWM channels provide variable-speed fan or motor control, while the analog comparators detect zero-crossing events for triac firing. Wide 2.0 V to 5.5 V operation simplifies designs powered directly from rectified mains.

🌡️

HVAC Thermostat Interface

The PIC16LF873A-I/SP is an appropriate MCU for HVAC thermostat interfaces because its integrated ADC reads thermistor or RTD temperature sensors with 10-bit resolution, and the I2C MSSP links to a humidity sensor and EEPROM for setpoint storage. The two PWM channels can drive a variable-speed blower, while digital I/O controls the HVAC relay bank. Operating temperature rated -40 C to +85 C covers rooftop unit and basement-boiler installations.

⚡

Motor Control Signal Conditioning

The PIC16LF873A-I/SP is used in low-power motor control front-ends (signal conditioning and PWM generation) where its two 10-bit PWM channels deliver up to 20 kHz switching for brushed DC or small BLDC drivers. The 10-bit ADC samples current-sense amplifier outputs for closed-loop torque control, and the analog comparators implement hardware overcurrent protection with nanosecond response. SPI links to an external gate driver or power-stage MCU.

🔧

Educational / Hobbyist Embedded Projects

The PIC16LF873A-I/SP is widely used in university embedded systems courses and maker projects because the 28-SPDIP through-hole package is breadboard-friendly, supports hand-soldering, and works with PICSTART Plus, PICKit 3, and PICKit 4 programmers. The 7 KB Flash holds typical lab assignments (LED blinking, UART echo, ADC sampling, I2C scanner), and MPLAB X IDE with XC8 compiler offers a free toolchain. The PIC16F87XA architecture is a canonical teaching platform for RISC fundamentals.

Recommended Products Summary

MCP3421 18-bit ADC companion for precision channels Used in: Industrial Sensor Conditioning MCP9808 I2C temperature sensor companion Used in: Industrial Sensor Conditioning 24LC256 I2C EEPROM for parameter storage Used in: Industrial Sensor Conditioning RN2483 LoRaWAN transceiver for long-range uplink Used in: Battery-Powered Remote Sensor Node MCP1700 3.3V LDO for stable rail if needed Used in: Battery-Powered Remote Sensor Node BME280 I2C environmental sensor (T/H/P) Used in: Battery-Powered Remote Sensor Node MOC3021 Optotriac driver for AC loads Used in: Home Appliance Control Panel ULN2003 Darlington driver for relay coils Used in: Home Appliance Control Panel MCP23S17 SPI I/O expander for additional keys/LEDs Used in: Home Appliance Control Panel HTU21D I2C humidity/temperature sensor Used in: HVAC Thermostat Interface MCP79410 I2C RTC for schedule-based control Used in: HVAC Thermostat Interface ULN2803 Darlington array for relay outputs Used in: HVAC Thermostat Interface DRV8871 H-bridge motor driver companion Used in: Motor Control Signal Conditioning ACS712 Hall-effect current sensor Used in: Motor Control Signal Conditioning MCP6002 Op-amp for current-sense amplification Used in: Motor Control Signal Conditioning PG164130 PICKit 3 programmer/debugger Used in: Educational / Hobbyist Embedded Projects MCP2221 USB-to-UART bridge for PC link Used in: Educational / Hobbyist Embedded Projects TC74 I2C temperature sensor for lab exercise Used in: Educational / Hobbyist Embedded Projects
What is the program memory size of PIC16LF873A-I/SP?
The PIC16LF873A-I/SP integrates 7 KB of Flash program memory, organized as 4K x 14-bit words. According to the Microchip PIC16F87XA datasheet, the Flash supports 100,000 erase/write cycles and is programmable via the ICSP interface using PICKit 3, PICKit 4, or MPLAB ICD tools. This memory capacity is sufficient for state-machine firmware, sensor processing loops, and small protocol stacks commonly used in industrial sensor nodes and appliance control panels.
What is the operating voltage range of PIC16LF873A-I/SP?
The PIC16LF873A-I/SP operates from 2.0 V to 5.5 V on the VDD pin, which makes it compatible with single-cell lithium-thionyl-chloride (3.6 V), two-cell alkaline (3.0 V), and regulated 5 V rails. According to the Microchip datasheet, the maximum clock frequency scales with VDD: 10 MHz below 4.0 V and 20 MHz above 4.0 V. This wide-voltage tolerance allows direct connection to battery sources without an external LDO.
Where can I buy PIC16LF873A-I/SP online?
The PIC16LF873A-I/SP is in stock at major authorized distributors including DigiKey, Mouser, and Microchip Direct, as well as secondary distributors indexed on Octopart (12 distributors reported). Pricing as of 2026-09-25 starts around USD 8.20 for unit quantity, scaling to approximately USD 5.78 per piece at the 1000-piece break. Lead time is typically stock-to-3 weeks depending on quantity, and Mouser offers same-day shipping for low quantities.
What is the lead time for PIC16LF873A-I/SP?
Lead time for the PIC16LF873A-I/SP is currently stock to 4 weeks at major distributors as of 2026-09-25. DigiKey and Mouser report factory stock with same-day shipping for tube quantities under 100 pieces; higher volumes (500 to 1000 pieces) typically ship from distributor on-hand stock within 1 week. For 5,000+ pieces, expect 2 to 4 weeks from Microchip Direct order entry to delivery.
Is PIC16LF873A-I/SP in stock at distributors?
Yes, the PIC16LF873A-I/SP is reported as in stock at DigiKey and Mouser as of 2026-09-25. Octopart aggregates stock availability across 12 distributors globally. Both 28-pin SPDIP tube and tape-and-reel packaging variants are listed, though the SPDIP ("/SP") variant specifically is in tube packaging. Backlog risk is low because Microchip continues to manufacture the PIC16F87XA family as a long-running mature product line.
What is the difference between PIC16LF873A-I/SP and PIC16F873A-I/SP?
The PIC16LF873A-I/SP is the low-voltage F variant supporting 2.0 V to 5.5 V operation, while the PIC16F873A-I/SP is the standard F variant supporting 4.0 V to 5.5 V. Both share the same Flash size (7 KB), RAM (192 bytes), EEPROM (128 bytes), and 28-SPDIP pinout, making them drop-in pin-compatible. According to the Microchip datasheet, the LF variant is recommended for battery-powered applications; the standard F variant is preferred when noise immunity above 4 V is critical.
PIC16LF873A-I/SP vs PIC16F876A-I/SP - which should I choose?
The PIC16LF873A-I/SP and PIC16F876A-I/SP are pin-compatible in 28-SPDIP and share the same PIC16F87XA instruction set, but the PIC16F876A-I/SP doubles the program memory to 14 KB, RAM to 368 bytes, and EEPROM to 256 bytes. Choose the PIC16LF873A-I/SP when code fits within 7 KB and you need 2.0 V to 5.5 V operation; choose PIC16F876A-I/SP when you require the larger memory map or higher I/O count (28-pin variant). Both occupy the same footprint so a PCB-level swap is straightforward.
Is PIC16LF873A-I/SP suitable for battery-powered sensor applications?
Yes, the PIC16LF873A-I/SP is suitable for battery-powered sensor applications. Its 2.0 V to 5.5 V supply range allows direct connection to single-cell lithium or two-cell alkaline chemistries, and the LF process variant offers lower sleep current than the standard F variant. According to Microchip documentation, typical sleep current at 3 V is below 1 uA with WDT disabled. The integrated 10-bit ADC and I2C/SPI peripherals also reduce external component count in sensor-interface designs.
When should I choose PIC16LF873A-I/SP over PIC16LF876A-I/SP?
Choose the PIC16LF873A-I/SP when your firmware fits within 7 KB of Flash and you do not need more than 22 I/O pins or more than 192 bytes of RAM. Choose the PIC16LF876A-I/SP when code size exceeds 7 KB, when you need 368 bytes of RAM for larger buffers, or when you need 256 bytes of EEPROM for parameter storage. Both share the same 28-SPDIP package and pinout, so the choice is purely based on memory requirements and pin count, not board layout.
What is the best drop-in replacement for PIC16LF873A-I/SP?
The best drop-in replacement for the PIC16LF873A-I/SP is the PIC16F873A-I/SP (same die, standard voltage variant) or the PIC16F873A-04I/SP (lower-frequency grade). Both share the same 28-SPDIP pinout and peripheral set. For more memory in the same footprint, the PIC16F876A-I/SP is the natural upgrade. Cross-brand drop-in replacements are uncommon because PIC MCUs use a proprietary Harvard architecture and instruction set.
What is the best Microchip equivalent for PIC16LF873A-I/SP?
Within the Microchip portfolio, the closest drop-in equivalents are PIC16F873A-I/SP (same part, standard voltage variant 4.0 V to 5.5 V), PIC16F873A-04I/SP (4 MHz grade), and PIC16LF873AT-I/SP (tape-and-reel variant). For a memory upgrade in the same 28-SPDIP package, the PIC16LF876A-I/SP offers 14 KB Flash and 368 bytes RAM. All three pin-compatible variants are sourced from the same PIC16F87XA datasheet family.
Where to download PIC16LF873A-I/SP datasheet PDF?
The PIC16LF873A-I/SP datasheet PDF is freely available from Microchip's document server at ww1.microchip.com under publication number DS39582C. The same datasheet also covers the PIC16F873A, PIC16F874A, PIC16F876A, and PIC16F877A variants. According to the FindIC listing, the PDF is 2563 KB and was last revised in January 2013. Datasheets are also bundled with MPLAB X IDE installation under the docs directory.
Where to find PIC16LF873A-I/SP pinout?
The PIC16LF873A-I/SP pinout is documented on page 6 of the Microchip PIC16F87XA datasheet (DS39582C). The 28-SPDIP pinout assigns pins to PORTA (RA0-RA5, 6 pins), PORTB (RB0-RB7, 8 pins), PORTC (RC0-RC7, 8 pins), plus VDD, VSS, MCLR, OSC1, and OSC2. Pin 1 is marked by a notch/dot on the package and corresponds to MCLR. The full 28-pin pin map is provided in the pinout array of this product page.
What are the key specifications of PIC16LF873A-I/SP that engineers should know?
The PIC16LF873A-I/SP integrates 7 KB Flash, 192 bytes RAM, 128 bytes EEPROM, 22 digital I/O, a 10-bit 5-channel ADC, two 10-bit PWM modules, USART, MSSP (SPI+I2C), and two analog comparators. It runs at up to 20 MHz (10 MHz below 4.0 V), operates from 2.0 V to 5.5 V, and is rated -40 C to +85 C. Housed in a 28-pin SPDIP through-hole package, it targets cost-sensitive industrial and consumer embedded control applications.

Engineering reference data for PIC16LF873A-I/SP — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16LF873A-I/SP when you need a 28-pin SPDIP PIC16F87XA-class MCU with 7 KB Flash, 192 bytes RAM, 10-bit ADC, and 2.0 V to 5.5 V operation. It is the right pick for battery-powered industrial sensors, appliance control panels, and educational projects where the LF voltage range is required. Choose the PIC16F873A-I/SP instead if you do not need sub-4 V operation and want to use the standard F variant's higher noise margin above 4 V. Choose the PIC16LF876A-I/SP when your firmware exceeds 7 KB or you need more than 192 bytes of RAM, since it shares the same 28-SPDIP footprint. Choose the PIC16F873A-04I/SP only for low-speed, low-cost designs where 4 MHz CPU is sufficient. For new designs, consider migrating to PIC16F18855-I/SP for modern peripherals (PPS, DMA, 12-bit ADC) at similar cost.

Comparison with Alternatives

Parameter This Product PIC16F873A-I/SP PIC16LF876A-I/SP PIC16F873A-04I/SP
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SPDIP 28-SPDIP - same 28-SPDIP - same 28-SPDIP - same
Program Memory (Flash) 7 KB 7 KB 14 KB 7 KB
Data RAM 192 bytes 192 bytes 368 bytes 192 bytes
Data EEPROM 128 bytes 128 bytes 256 bytes 128 bytes
Maximum CPU Frequency 20 MHz 20 MHz 20 MHz 4 MHz
Operating Voltage (VDD) 2.0 V to 5.5 V 4.0 V to 5.5 V 2.0 V to 5.5 V 4.0 V to 5.5 V
Number of I/O Pins 22 22 22 22
ADC Resolution / Channels 10-bit / 5 channels 10-bit / 5 channels 10-bit / 5 channels 10-bit / 5 channels
AEC-Q100 Automotive No (Industrial grade) No (Industrial grade) No (Industrial grade) No (Industrial grade)

Key Differentiators

  • Low-voltage operation down to 2.0 V for battery-powered designs (vs PIC16F873A-I/SP)
  • Doubles program memory and RAM without changing the PCB (vs PIC16LF876A-I/SP)
  • Faster 20 MHz CPU vs 4 MHz grade for time-critical loops (vs PIC16F873A-04I/SP)

Design Notes

Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 20) and a second 10 uF bulk capacitor near the 28-SPDIP package. For battery-powered designs below 4.0 V, configure CONFIG register bits for the LF low-voltage oscillator mode. The LF variant can run at 10 MHz up to 4.0 V and 20 MHz above 4.0 V; selecting the wrong CONFIG bit causes clock instability. Estimated quiescent current at 3 V with WDT disabled is below 1 uA based on Microchip datasheet typical curves.

Do not leave the MCLR pin floating - tie it to VDD through a 10 kohm pull-up resistor. Add a 100 nF capacitor from MCLR to VSS in electrically noisy environments (motor control, switching power supplies) to filter out reset glitches. Without proper MCLR handling the MCU may randomly enter programming mode or fail to start on power-up. Also, ensure PGC (RB6) and PGD (RB7) are not loaded with heavy capacitance (< 50 pF total) so ICSP programming remains reliable.

Reserve an ICSP header footprint (5-pin or 6-pin standard Microchip pinout) on the PCB even if programming will be done in production only - field firmware updates are much easier with on-board ICSP access. Place the 28-SPDIP socket footprint on a 2.54 mm grid; allow at least 2 mm clearance around the package for hand-soldering or test-clip access. Route the crystal traces short and symmetric with a ground guard ring to minimize oscillator drift across temperature.

When using the ADC, place the analog VDD/VSS pins on separate analog supply planes if the PCB has a mixed-signal stack-up. Add a ferrite bead or 10 ohm resistor between digital VDD and analog AVDD, with a 10 uF + 100 nF cap pair on the analog rail. Configure the ADC acquisition time (TAD) for at least 1.6 us at 20 MHz to meet the 10-bit conversion linearity specification. The internal voltage reference is ratiometric; for absolute measurements, use an external MCP1525 or similar 2.5 V reference.

Compliance Information

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

Industrial temperature grade -40 C to +85 C. RoHS compliant per Microchip product page. Not AEC-Q100 qualified; for automotive applications, migrate to PIC16F1936-I/SP or similar AEC-Q100 qualified part.

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

Related Searches

PIC16LF873A-I/SP PIC16LF873A-I/SP datasheet Microchip PIC16LF873A 8-bit PIC microcontroller 7KB Flash 28-SPDIP PIC16LF873A-I/SP pinout PIC16LF873A-I/SP buy online PIC16LF873A-I/SP price distributor PIC16LF873A vs PIC16F873A PIC16LF873A drop-in replacement battery powered PIC microcontroller 2V to 5.5V PIC MCU 10-bit ADC 5 channel PWM what is the program memory of PIC16LF873A PIC16LF873A industrial sensor node PIC16LF873A-I/SP lead time

Related Components & Terms

Microchip Technology PIC16LF873A PIC16LF873A-I/SP PIC16F873A-I/SP PIC16LF876A-I/SP PIC16F873A-04I/SP PIC16F87XA 8-bit microcontroller RISC architecture Modified Harvard architecture Flash memory EEPROM 10-bit ADC PWM USART MSSP I2C SPI 28-SPDIP Skinny Plastic DIP through-hole ICSP in-circuit serial programming brown-out reset watchdog timer RoHS PIC16F family PICKit programmer
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