Microchip Technology

PIC16C58B-40/P - 8-bit 40MHz 3KB OTP MCU 18-PDIP | Microchip

MPN: PIC16C58B-40/P ✓ Active
In Stock Ships in 1-3 business days
2.5 V to 5.5 V (family-wide) Vdss 18-DIP (0.300 inch, 7.62 mm), Through-Hole Package 40 MHz Speed OTP (One-Time Programmable), CMOS EPROM-based Memory
From $1.35 USD / Unit
MOQ: 1 |
Price updated: 2026-09-17
Volume Pricing
Qty Unit Price Extended
1 $2.161 $2.16
10 $1.95 $19.50
100 $1.72 $172.00
500 $1.5 $750.00
1,000 $1.35 $1,350.00
ℹ️ All prices are in USD

PIC16C58B-40/P Overview

The Microchip Technology PIC16C58B-40/P is an 8-bit RISC CMOS microcontroller belonging to the PIC16C5X family, delivering up to 40 MHz operation with 3 KB (2K x 12) of One-Time Programmable (OTP) program memory and 73 bytes of RAM in an 18-pin PDIP (0.300 inch, 7.62 mm) through-hole package. It features a fully static core, 33 single-word/single-cycle instructions, a 12-bit instruction word, and an 8-bit data path, executing most instructions in a single 100 ns instruction cycle at 40 MHz.

A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory (program + RAM), and peripherals onto one silicon die, intended for embedded control tasks. Within the broader semiconductor taxonomy, a microcontroller sits under the umbrella of microprocessors, then integrated circuits, then semiconductors. PIC16C5X devices occupy the entry-level leaf of the PIC family tree, optimized for cost-sensitive, high-volume legacy and industrial control. The 'C' in PIC16C58B denotes CMOS EPROM/OTP technology, 'B' the silicon revision, and '40' the maximum clock frequency (40 MHz). The trailing '/P' indicates the plastic PDIP package.

Key features include a 12-bit wide instruction set, Harvard architecture (separate program and data buses), 8-level hardware stack, 12 I/O pins, power-on reset, power-saving SLEEP mode, watchdog timer with dedicated on-chip RC oscillator, and a programmable code-protection mechanism. The 18-pin PDIP footprint offers breadboard-friendly prototyping and reliable socket-based field replacement, while the OTP memory suits small-to-medium production runs where in-system reprogrammability is not required.

Typical applications include appliance controls, simple sensor interfaces, LED and relay drivers, battery chargers, and legacy replacement boards where deterministic single-cycle execution, 33-instruction simplicity, and long-term Microchip supply continuity are critical. The PIC16C58B-40/P supports commercial (0C to +70C) and industrial (-40C to +85C) temperature grades and runs from 2.5 V to 5.5 V across the family.

When designing with this MCU, note that OTP requires programming at the contract manufacturer (CM) or with a development programmer before solder attach. Engineers migrating to a Flash-based equivalent should consider the PIC16F57 as a code- and pin-compatible migration path within the same 18-pin PDIP footprint.

Drop-in alternatives for PIC16C58B-40/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 PIC16C58B-40/P (same form factor and footprint) — differing in Watchdog Timer, RoHS Status, Core Architecture, Maximum Clock Frequency, Package.

Microchip Technology
Watchdog Timer: Yes (with on-chip RC oscillator)
RoHS Status: Compliant
Package: 28-pin PDIP (DIP-28, 0.600 inch / 15.24 mm row spacing)
Microchip Technology
Watchdog Timer: Yes, with on-chip RC oscillator
RoHS Status: Compliant (lead-free PDIP)
Core Architecture: PIC 8-bit RISC
Microchip Technology
Watchdog Timer: Yes
Core Architecture: 8-bit PIC RISC (Harvard)
Maximum Clock Frequency: 4 MHz
Microchip Technology
Watchdog Timer: Yes
RoHS Status: Non-compliant (through-hole PDIP, SnPb finish)
Core Architecture: PIC 8-bit RISC
Microchip Technology
RoHS Status: Non-compliant (Pb-bearing DIP)
Package: 18-pin PDIP (P)

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

PIC16C58B-20/P

✅ Drop-In
Microchip Technology
📦 18-DIP
PIC 8-bit RISC · OTP EPROM · 3 KB (2K x 12) · 73 bytes · 20 MHz · 200 ns · 12 · 33 instructions (single-word/single-cycle)

✓ In Stock

$1.55 / Unit

View Datasheet →

PIC16C58B-20I/P

✅ Drop-In
Microchip Technology
📦 18-DIP
PIC16C5X RISC 8-bit · 33 single-word instructions, 12-bit wide · OTP EPROM · 3 KB (2K x 12) · 73 bytes · Not present · 20 MHz · 5 MIPS

✓ In Stock

$1.55 / Unit

View Datasheet →

PIC16C58B-04/P

✅ Drop-In
Microchip Technology
📦 18-DIP
PIC 8-bit RISC · 4 MHz · OTP EPROM · 3 KB (2K x 12) · 73 bytes · 12 · 33 single-word, single-cycle instructions · 12 bits

✓ In Stock

$2.55 / Unit

View Datasheet →

PIC16C58B-04I/P

✅ Drop-In
Microchip Technology
📦 18-DIP
8-bit PIC RISC (Harvard) · PIC16C5X · OTP EPROM · 3 KB (2K x 12) · 73 bytes · 4 MHz · 3.0 V to 5.5 V · 12

✓ In Stock

$1.88 / Unit

View Datasheet →

PIC16F57-I/P

✅ Drop-In
📦 18-DIP
Flash (reprogrammable) vs OTP, 20 MHz max vs 40 MHz (-50% clock), same pinout, same instruction set, same 2K x 12 word memory

📋 Reference alternative (not in catalog)

PIC16C58B-40/P Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit RISC (PIC)
Instruction Set 33 single-word/single-cycle instructions
Maximum Clock Frequency 40 MHz
Program Memory Type OTP (One-Time Programmable), CMOS EPROM-based
Program Memory Size 3 KB (2K x 12)
RAM 73 bytes
Data EEPROM None
I/O Pins 12
Hardware Stack 8 levels
Instruction Cycle 100 ns at 40 MHz (4 clocks per instruction cycle)
Supply Voltage (VDD) 2.5 V to 5.5 V (family-wide)
Operating Temperature Range 0C to +70C (commercial)
Package / Case 18-DIP (0.300 inch, 7.62 mm), Through-Hole
Mounting Type Through-Hole
Watchdog Timer Yes (with dedicated on-chip RC oscillator)
Power-on Reset Yes
SLEEP / Power-Saving Mode Yes
Code Protection Programmable

PIC16C58B-40/P Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 RA2 — Bidirectional I/O pin, PORTA bit 2
Pin 2 RA3 — Bidirectional I/O pin, PORTA bit 3
Pin 3 RTCC — Timer0 clock input (also general-purpose I/O)
Pin 4 MCLR — Master Clear reset input, active low
Pin 5 VSS — Ground reference
Pin 6 RB0 — Bidirectional I/O pin, PORTB bit 0
Pin 7 RB1 — Bidirectional I/O pin, PORTB bit 1
Pin 8 RB2 — Bidirectional I/O pin, PORTB bit 2
Pin 9 RB3 — Bidirectional I/O pin, PORTB bit 3
Pin 10 RB4 — Bidirectional I/O pin, PORTB bit 4
Pin 11 RB5 — Bidirectional I/O pin, PORTB bit 5
Pin 12 RB6 — Bidirectional I/O pin, PORTB bit 6
Pin 13 RB7 — Bidirectional I/O pin, PORTB bit 7
Pin 14 VDD — Positive supply voltage (+2.5 V to +5.5 V)
Pin 15 OSC2 — Oscillator crystal/clock output
Pin 16 OSC1 — Oscillator crystal/clock input
Pin 17 RA0 — Bidirectional I/O pin, PORTA bit 0
Pin 18 RA1 — Bidirectional I/O pin, PORTB bit 1

Typical Applications

PIC16C58B-40/P is suitable for 6 applications: Appliance Control Boards, Battery Charger Controllers, LED Lighting Controllers, Industrial Sensor Interfaces, Automotive Body Electronics (Legacy), Legacy Board Replacement / Form-Fit-Function.

🔧

Appliance Control Boards

The PIC16C58B-40/P fits appliance control boards because its 33-instruction RISC core executes deterministic single-cycle instructions at 100 ns, ensuring predictable response times for relay and triac switching. The 12 I/O pins drive 7-segment displays, keypads, and indicator LEDs without external logic, and the on-chip watchdog timer with dedicated RC oscillator protects against firmware lockup in unattended operation. The 40 MHz headroom lets the MCU multiplex displays and run a soft-PWM motor control loop in the same scan cycle. The OTP memory prevents firmware extraction in cost-sensitive consumer markets where reverse engineering is a concern.

Battery Charger Controllers

For sealed lead-acid and NiCd battery charger designs, the PIC16C58B-40/P delivers 40 MIPS of deterministic compute for voltage/current loop regulation while the OTP memory locks the firmware to prevent tampering with the charge profile. The 2K x 12 instruction word is sufficient for state-machine chargers with CC/CV/timer logic, and the 12 I/O pins accommodate ADC-free comparator-based sensing plus relay and LED outputs. The 8-level hardware stack handles nested interrupt service for safety shutdown, and the wide 2.5 V to 5.5 V supply range supports both 3-cell and 6-cell battery packs with the same firmware.

💡

LED Lighting Controllers

Architectural and decorative LED controllers benefit from the PIC16C58B-40/P's 40 MHz compute, which executes 8-channel software PWM at refresh rates above 100 Hz with full flicker-free color mixing. The 12 I/O pins drive Charlieplexed or matrixed LED arrays up to 96 diodes without external drivers, and the SLEEP mode cuts quiescent current below 1 uA for battery-backed accent lighting. The OTP memory secures DMX or proprietary lighting protocols from copying, and the small 18-pin PDIP footprint fits inside standard junction boxes. The watchdog timer auto-recovers from brownouts on long cable runs in permanent installations.

🏭

Industrial Sensor Interfaces

The PIC16C58B-40/P serves as a smart sensor front-end for industrial 4-20 mA loops, providing RTCC-based pulse counting, debounced digital input conditioning, and HART-like Manchester encoding on a single 5 V supply. Its 33-instruction simplicity enables compact, audit-friendly firmware for safety-critical monitoring, and the 8-level hardware stack supports nested interrupt handlers for time-stamping events. The OTP memory suits hazardous-location certifications where firmware must be locked. Operating at 40 MHz, the MCU can run a digital filter and linearization algorithm on a thermocouple or load cell signal while servicing the 4-20 mA output DAC.

🚗

Automotive Body Electronics (Legacy)

Although not AEC-Q100 qualified, the PIC16C58B-40/P has historically powered non-safety automotive body modules such as interior lighting controllers, mirror adjusters, and accessory timers in pre-2005 vehicle platforms. Its 40 MHz execution and OTP memory suit the deterministic, locked-firmware requirements of these modules. Designers migrating to newer platforms should select AEC-Q100-qualified PIC microcontrollers from the PIC16F1xxx family. The 18-pin PDIP footprint supports through-hole field-replacement modules in dealer service environments. SLEEP mode drops quiescent current below 1 uA to preserve battery during long vehicle storage.

🔧

Legacy Board Replacement / Form-Fit-Function

The PIC16C58B-40/P is the canonical drop-in for maintaining legacy 1990s-era embedded controllers in industrial PLCs, telecom line cards, test fixtures, and instrumentation that were originally designed around the PIC16C5X family. Its 18-pin PDIP footprint matches the original socket exactly, and its 33-instruction RISC core runs the original assembly firmware without recompilation. The 40 MHz grade provides up to 5x compute headroom over the 04 grade that shipped on some legacy boards, allowing the same hardware to support firmware features added over decades. The OTP memory preserves bit-for-bit the original firmware behavior required for regulatory re-certification.

Recommended Products Summary

PIC16F57-I/P Flash equivalent for in-system reprogrammability Used in: Appliance Control Boards, Battery Charger Controllers, LED Lighting Controllers, Industrial Sensor Interfaces, Automotive Body Electronics (Legacy), Legacy Board Replacement / Form-Fit-Function MOC3021 Optoisolator for triac drive outputs Used in: Appliance Control Boards ULN2003A Darlington relay driver array Used in: Appliance Control Boards LM358 Dual op-amp for current shunt sensing Used in: Battery Charger Controllers TL431 Texas Instruments Used in: Battery Charger Controllers BC847 NPN transistor for LED row drive Used in: LED Lighting Controllers MAX485 RS-485 transceiver for DMX-512 input Used in: LED Lighting Controllers XTR105 4-20 mA current loop transmitter Used in: Industrial Sensor Interfaces MAX31855 Thermocouple-to-digital converter Used in: Industrial Sensor Interfaces PIC16F628A-I/P AEC-Q100 alternative with more peripherals Used in: Automotive Body Electronics (Legacy) BTS432E2 Smart high-side power switch Used in: Automotive Body Electronics (Legacy) PIC16C58B-20/P Microchip Technology Used in: Legacy Board Replacement / Form-Fit-Function MAX232 RS-232 transceiver for legacy serial debug Used in: Legacy Board Replacement / Form-Fit-Function
What is the program memory size of PIC16C58B-40/P?
The PIC16C58B-40/P integrates 3 KB of One-Time Programmable (OTP) program memory organized as 2K x 12 instruction words. According to the Microchip PIC16C5X family datasheet, the 12-bit-wide instruction word stores each instruction in a single cycle, so 2K instructions are addressable. There is no separate data EEPROM on this device, and general-purpose RAM is 73 bytes. For designs needing field reprogrammability, the Flash-based PIC16F57 (2K x 12 words, same 18-pin PDIP) is a code-compatible migration path.
What is the maximum clock frequency of PIC16C58B-40/P?
The PIC16C58B-40/P operates at a maximum 40 MHz external clock with an instruction cycle of 100 ns (4 clocks per instruction). The '40' suffix in the part number denotes the speed grade. Lower grades -04 (4 MHz) and -20 (20 MHz) are also available in the same family and share identical pinout and instruction set, allowing a slower grade to be substituted on the same PCB where frequency margin is acceptable.
Is PIC16C58B-40/P RoHS compliant?
RoHS compliance for the PIC16C58B-40/P [DATA_NEEDED: RoHS status of PDIP package]. Through-hole PDIP packages from Microchip are commonly available in both lead-free (Pb-free, matte-tin) and SnPb finishes depending on the ordering code suffix. Designers should request the explicit RoHS-compliant material declaration from the supplier (Microchipdirect, DigiKey, Mouser) before placing volume orders for sale into the EU. The product family datasheet should be cross-checked for the latest environmental compliance matrix.
Where to download PIC16C58B-40/P datasheet PDF?
The official Microchip PIC16C58B-40/P datasheet PDF is hosted on Microchip.com at https://ww1.microchip.com/downloads/en/DeviceDoc/30412F.pdf. The same document covers the broader PIC16C5X family including PIC16C52, PIC16C54, PIC16C55, PIC16C56, PIC16C57, and PIC16C58, which share the same architecture. The device-specific electrical characteristics and AC/DC timing tables are at the front of the document; pinout and package drawings are in section 1, and the instruction set reference is in section 9.
What is the pinout of PIC16C58B-40/P?
The PIC16C58B-40/P uses the standard 18-pin PIC16C5X PDIP pinout: pin 1 = RA2, pin 2 = RA3, pin 3 = RTCC (timer0 clock input), pin 4 = MCLR (reset, active-low), pin 5 = VSS (ground), pin 6 = RB0, pin 7 = RB1, pin 8 = RB2, pin 9 = RB3, pin 10 = RB4, pin 11 = RB5, pin 12 = RB6, pin 13 = RB7, pin 14 = VDD (+5 V), pin 15 = OSC2 (crystal), pin 16 = OSC1 (crystal), pin 17 = RA0, pin 18 = RA1. This pinout is shared across the PIC16C54/55/56/57/58 PDIP family.
What is the best drop-in replacement for PIC16C58B-40/P?
The best drop-in replacements for the PIC16C58B-40/P in the same 18-pin PDIP footprint are: PIC16C58B-20/P (20 MHz grade, same die, same OTP memory and pinout) and PIC16C58B-04/P (4 MHz grade, same die). For designs needing in-system reprogrammability, the PIC16F57-I/P is the Flash equivalent in the same 18-pin PDIP with identical pinout and code compatibility. All four parts drop into the same socket without PCB rework. Cross-brand replacements in 18-pin PDIP are not recommended because the PIC16C5X instruction set is proprietary to Microchip.
Where to buy PIC16C58B-40/P online?
The PIC16C58B-40/P can be purchased directly from Microchipdirect, and is in stock at franchised distributors including DigiKey (4,880 pieces in stock as of 2026-09-17) and Mouser. Third-party distributors Heisener, Ampheo, Veswin, Nantian, Xecor, and Xilinx-Components also list inventory. The DigiKey product page is https://www.digikey.com/en/products/detail/microchip-technology/PIC16C58B-40-P/442593. For volume production, Microchipdirect offers factory-direct pricing and RoHS-compliant material options. Lead time is generally stock-to-2 weeks from authorized channels.
What is the price of PIC16C58B-40/P?
The unit price of the PIC16C58B-40/P is approximately $2.16 at qty 1, dropping to roughly $1.35 at qty 1000 (prices as of 2026-09-17, sourced from DigiKey and Heisener listings). Volume breaks at qty 500 reach about $1.50 per unit. Pricing fluctuates with market demand and remaining OTP wafer inventory because this is a mature part; for budget-critical designs the Flash-based PIC16F57-I/P is generally cheaper in volume and reprogrammable. Always request an up-to-date quote from Microchipdirect for production planning.
What is the lead time for PIC16C58B-40/P?
Lead time for the PIC16C58B-40/P from DigiKey is stock-to-2 weeks (4,880 pieces in stock as of 2026-09-17). Heisener reports a delivery window of Nov 13 to Nov 18, 2026 for replenishment orders. Microchipdirect typically fulfills factory-direct orders in 4-8 weeks. Because the PIC16C58B family is mature OTP product, lead times can extend if remaining wafer inventory is constrained - buyers should qualify a second source (PIC16F57-I/P) early in the design cycle.
PIC16C58B-40/P vs PIC16F57-I/P - which is better for new designs?
For new designs the PIC16F57-I/P is generally the better choice: it offers identical 2K x 12 instruction word size, identical 18-pin PDIP pinout, identical 33-instruction RISC core, and Flash (reprogrammable) memory instead of OTP, with the same 20 MHz maximum clock. The PIC16C58B-40/P is preferable only when (1) a higher 40 MHz clock is required and the design cannot move to a faster Flash MCU, (2) the OTP memory's one-time-write characteristic is desired as an anti-tamper mechanism, or (3) the design is a form-fit-function replacement for an existing board. For new designs, prefer the Flash-based PIC16F57-I/P.
Can PIC16F57-I/P replace PIC16C58B-40/P in an existing design?
Yes, the PIC16F57-I/P can serve as a code-compatible, pin-compatible replacement for the PIC16C58B-40/P in the same 18-pin PDIP socket. Both share identical pinout, instruction set, register map, and 2K x 12 program word size. The differences: PIC16F57-I/P uses Flash (reprogrammable) instead of OTP, runs to 20 MHz maximum (vs 40 MHz on the 'B-40' part), and has slightly higher typical supply current. For designs running under 20 MHz, the swap is drop-in. For designs needing 40 MHz operation, migrate to PIC16F57 with a reduced oscillator configuration or to a faster Flash MCU like PIC16F628A.
Is PIC16C58B-40/P still in production in 2026?
The PIC16C58B family remains in active production as of 2026-09-17, with current stock at major distributors and continued Microchipdirect availability. Microchip Technology has historically maintained long-term supply for the PIC16C5X family because of its installed base in industrial and appliance control. However, the underlying OTP process is mature and is being gradually migrated toward the Flash-based PIC16F57-I/P for new designs. Engineers planning new products should treat the PIC16C58B-40/P as legacy/active but check Microchip's product longevity statement (PLS) for their specific application.
What is the difference between PIC16C58B-40/P and PIC16C58B-20I/P?
The PIC16C58B-40/P and PIC16C58B-20I/P differ in two parameters: clock speed grade (40 MHz vs 20 MHz) and operating temperature range. The -40/P variant is the commercial-grade 40 MHz grade operating 0C to +70C; the -20I/P variant is the industrial-grade 20 MHz grade operating -40C to +85C. Both share the same 18-pin PDIP footprint, identical die, identical 3 KB OTP memory, and identical instruction set. The two parts are pin-compatible; the 40 MHz grade can run at 20 MHz if the temperature spec allows, but not vice versa.
What are the key specifications of PIC16C58B-40/P that engineers should know?
Engineers should know five key PIC16C58B-40/P specifications: (1) 8-bit RISC core with 33 single-cycle instructions and 100 ns instruction cycle at 40 MHz; (2) 3 KB OTP program memory (2K x 12) with 73 bytes RAM and no data EEPROM; (3) 12 bidirectional I/O pins across PORTA (5) and PORTB (8); (4) 18-pin PDIP through-hole package, 0.300 inch row spacing; (5) 2.5 V to 5.5 V supply, commercial 0C to +70C. Peripheral set: watchdog timer with dedicated RC oscillator, power-on reset, SLEEP mode, hardware 8-level stack, programmable code protection. Source: Microchip PIC16C5X family datasheet, document 30412F.
Is PIC16C58B-40/P suitable for new product designs?
The PIC16C58B-40/P is suitable for new product designs only when specific constraints apply: high-volume cost optimization, 40 MHz operation, OTP one-time-write anti-tamper, or form-fit-function compatibility with legacy boards. For general new designs, Microchip recommends the Flash-based PIC16F57-I/P (same pinout and instruction set, reprogrammable) or the PIC16F628A (more peripherals, more memory). New designs should also evaluate whether an 8-bit PIC is the right architecture given that modern 32-bit MCUs in similar packages offer more capability at lower cost in many cases.

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

Selection Guide

Choose the PIC16C58B-40/P when you need a Microchip 8-bit RISC MCU with the highest 40 MHz speed grade in the PIC16C58B OTP family, in an 18-pin PDIP through-hole package for breadboard or socketed legacy designs. It is ideal for deterministic single-cycle control loops, locked-firmware cost-sensitive consumer products, and form-fit-function maintenance of legacy boards. Select the PIC16C58B-20/P or PIC16C58B-04/P if your firmware fits comfortably under 20 MHz or 4 MHz - these grades are cheaper and may have longer remaining supply. Migrate to the PIC16F57-I/P (Flash, 20 MHz) for new designs that need in-system reprogrammability; choose PIC16F628A-I/P if you need more peripherals, more RAM, or AEC-Q100 automotive qualification. The PIC16C5X instruction set is proprietary to Microchip - no cross-brand drop-in exists in 18-pin PDIP.

Comparison with Alternatives

Parameter This Product PIC16C58B-20/P PIC16C58B-20I/P PIC16C58B-04/P PIC16F57-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 18-DIP (0.300 inch) 18-DIP - same 18-DIP - same 18-DIP - same 18-DIP - same
Maximum Clock Frequency 40 MHz 20 MHz 20 MHz 4 MHz 20 MHz
Program Memory Type OTP (3 KB / 2K x 12) OTP (3 KB / 2K x 12) OTP (3 KB / 2K x 12) OTP (3 KB / 2K x 12) Flash (3 KB / 2K x 12) - reprogrammable
RAM 73 bytes 73 bytes 73 bytes 73 bytes 73 bytes
Operating Temperature Range 0C to +70C (commercial) 0C to +70C (commercial) -40C to +85C (industrial) 0C to +70C (commercial) -40C to +85C (industrial)
Reprogrammability No (OTP, one-time write) No (OTP) No (OTP) No (OTP) Yes (Flash, 100k erase cycles)
Supply Voltage 2.5 V to 5.5 V 2.5 V to 5.5 V 2.5 V to 5.5 V 2.5 V to 5.5 V 2.0 V to 5.5 V

Key Differentiators

  • Highest clock grade in the PIC16C58B family (vs PIC16C58B-20/P)
  • OTP memory provides hardware-level firmware lock (vs PIC16F57-I/P)
  • Industrial temperature variant available in same family (vs PIC16C58B-04/P)

Design Notes

The PIC16C58B-40/P uses One-Time Programmable (OTP) memory - firmware must be fully validated before programming because there is no second chance. Plan a parallel engineering build using the Flash-based PIC16F57-I/P in the same 18-pin PDIP socket for firmware development; only commit the locked OTP image to the PIC16C58B-40/P at the production programming step. Microchip recommends verifying the device ID and checksum on every programmed unit, and using the code-protection bit once the firmware is finalized to prevent bit-level extraction.

Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 14), with the ground lead short to the VSS pin (pin 5). Use a 10 to 100 uF bulk capacitor on the same VDD rail. For crystal oscillator operation, keep the crystal and load capacitors close to pins 15 (OSC2) and 16 (OSC1); route oscillator traces over a continuous ground plane and away from switching signals. The MCLR reset pin (pin 4) should be pulled up to VDD through a 10 kohm resistor with a 100 nF cap to VSS to filter noise; do not leave MCLR floating.

The PIC16C5X architecture has no interrupts - all event handling must be polled. This simplifies timing analysis but requires careful loop-budget planning; at 40 MHz the instruction cycle is 100 ns, so a polled 1 ms task consumes 10,000 cycles. The 8-level hardware stack means subroutines cannot nest more than 8 deep; deeply nested call chains must be inlined or refactored. The watchdog timer has its own dedicated on-chip RC oscillator, so it continues to count even when the main oscillator is stopped in SLEEP mode - this is intentional but must be accounted for in low-power designs.

Compliance Information

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

RoHS and lead-free status of the PIC16C58B-40/P PDIP package not stated explicitly in the verified web data; request material declaration from Microchipdirect before EU sale. Not AEC-Q100 qualified - choose PIC16F628A-I/P or PIC16F1823-I/P for automotive.

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

Related Searches

PIC16C58B-40/P datasheet PIC16C58B-40/P price PIC16C58B-40/P pinout PIC16C58B-40/P equivalent PIC16C58B-40/P buy PIC16C58B-40/P vs PIC16F57 PIC16C58B-40/P in stock Microchip 8-bit 40 MHz OTP MCU PIC16C58B 18-pin PDIP PIC16C5X drop-in replacement PIC16C58B-40/P lead time PIC16C58B-40/P Microchip distributor

Related Components & Terms

Microchip Technology PIC16C58B-40/P PIC16C58B-20/P PIC16C58B-20I/P PIC16C58B-04/P PIC16F57-I/P 8-bit microcontroller MCU RISC architecture OTP memory EPROM Flash memory PDIP-18 through-hole package PIC16C5X family Harvard architecture watchdog timer MCLR reset RTCC timer RoHS AEC-Q100 industrial temperature grade appliance control LED driver battery charger legacy embedded
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