PIC16C58B-40/SS - 8-Bit 40MHz 3KB OTP MCU 20-SSOP | Microchip
MPN: PIC16C58B-40/SS ✗ End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.05 | $1.05 |
| 10 | $0.95 | $9.50 |
| 100 | $0.85 | $85.00 |
| 500 | $0.78 | $390.00 |
| 1,000 | $0.72 | $720.00 |
PIC16C58B-40/SS Overview
An 8-bit OTP microcontroller is a single-chip computer whose non-volatile program memory can be written exactly once by an external programmer. It belongs to the broader category of microcontrollers (MCUs), which sit below microprocessors in the embedded system hierarchy because they integrate CPU, RAM, non-volatile memory, and peripherals on a single die. The PIC16C5X family targets cost-sensitive applications where small code size, deterministic execution, and minimal external components outweigh the need for in-system re-programmability.
Key features include a 12-bit instruction word, an 8-bit data path, eight-bit timer/counter, watchdog timer with on-chip RC oscillator, power-on reset, brown-out detection, and an operating temperature range of 0C to +70C (commercial grade). The PIC16C58B-40/SS uses an OTP EPROM cell rather than flash, which is one reason this part is now in long-term support rather than new design.
The RISC-style Harvard architecture separates program and data buses, allowing instruction fetch and operand read to occur in a single cycle. This gives the PIC16C58B-40/SS a 40 MHz (10 MIPS) throughput that is competitive with flash-based PIC16F1xxx parts, while the OTP EPROM cell yields a smaller die and lower unit cost. Program memory is 12 bits wide, while data RAM is 8 bits wide, which is the classic PIC16C5X footprint.
Typical applications include consumer appliances, low-end remote controls, simple sensor interfaces, LED drivers, battery chargers, educational kits, and legacy industrial controllers that require deterministic behavior and small PCB area. The wide 4.5V to 5.5V supply range also suits 5V-rail automotive accessory and hobby electronics designs.
When designing with this device, note that OTP memory requires a windowless package and a one-time-programmer; it cannot be re-flashed in-circuit. Engineers transitioning to a re-programmable flash-based PIC should consider the pin-compatible PIC16F57 / PIC16F59 family as the modern drop-in migration path.
Drop-in alternatives for PIC16C58B-40/SS — 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/SS (same form factor and footprint) — differing in Package, Program Memory Type, Core Architecture, Operating Temperature Range, Program Memory Size.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16C58B-20I/SS
✅ Drop-In✓ In Stock
$1.74 / Unit
View Datasheet →PIC16C58B-20I/P
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16C58B-04I/P
✅ Drop-In✓ In Stock
$1.88 / Unit
View Datasheet →PIC16C58B-04/SS
✅ Drop-In✓ In Stock
$1.45 / Unit
View Datasheet →PIC16C58B-20E/SS
✅ Drop-In✓ In Stock
$2.78 / Unit
View Datasheet →PIC16F57-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C58B-40/SS Maximum Ratings & Electrical Characteristics
| Product Type | 8-bit OTP Microcontroller |
| Family | PIC16C5X |
| Program Memory Type | OTP EPROM |
| Program Memory Size | 3 KB (2K x 12 words) |
| Data RAM | 72 bytes |
| CPU Speed | 40 MHz |
| Instruction Set | 33 instructions, 12-bit width, single-cycle |
| Supply Voltage (VDD) | 4.5 V to 5.5 V |
| I/O Pins | 12 |
| Timers | 8-bit Timer/Counter (TMR0) |
| Watchdog Timer | Yes, with on-chip RC oscillator |
| Brown-out Reset | Yes |
| Power-on Reset | Yes |
| Operating Temperature | 0C to +70C |
| Package | 20-pin SSOP (5.30 mm body, 0.65 mm pitch) |
| Mounting Type | Surface Mount |
| Lead Finish | Matte Tin (Pb-free) |
PIC16C58B-40/SS Pin Configuration
| Pin 1 | RA2 — Bidirectional I/O port A bit 2 |
| Pin 2 | RA3 — Bidirectional I/O port A bit 3 |
| Pin 3 | T0CKI — Timer 0 clock input (shared with RA4) |
| Pin 4 | MCLR — Master Clear (reset) input, active low |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0 — Bidirectional I/O port B bit 0 |
| Pin 7 | RB1 — Bidirectional I/O port B bit 1 |
| Pin 8 | RB2 — Bidirectional I/O port B bit 2 |
| Pin 9 | RB3 — Bidirectional I/O port B bit 3 |
| Pin 10 | RB4 — Bidirectional I/O port B bit 4 |
| Pin 11 | RB5 — Bidirectional I/O port B bit 5 |
| Pin 12 | RB6 — Bidirectional I/O port B bit 6 |
| Pin 13 | RB7 — Bidirectional I/O port B bit 7 |
| Pin 14 | VDD — Positive supply voltage (4.5V to 5.5V) |
| Pin 15 | OSC2 — Crystal/Resonator output or RC oscillator connection |
| Pin 16 | OSC1 — Crystal/Resonator input or RC oscillator connection |
| Pin 17 | RA0 — Bidirectional I/O port A bit 0 |
| Pin 18 | RA1 — Bidirectional I/O port A bit 1 |
| Pin 19 | NC — Not connected (per datasheet) |
| Pin 20 | NC — Not connected (per datasheet) |
Typical Applications
PIC16C58B-40/SS is suitable for 7 applications: Consumer Appliance Controllers, Infrared Remote Control Transmitters, LED Driver and Chaser Modules, Battery Chargers for Small Cells, Educational and Hobby Microcontroller Kits, Industrial Sensor Interfaces (Legacy), Simple PWM Fan / Motor Speed Controllers.
Consumer Appliance Controllers
The PIC16C58B-40/SS suits low-cost consumer appliance controllers (toasters, coffee makers, hair dryers, simple washing-machine sub-modules) where the BOM cost matters more than firmware updates. Its 3KB OTP program memory holds the state machine for sensor reads, relay timing, and user-input debouncing, while the 40 MHz / 10 MIPS throughput handles PWM fan/solenoid control without external logic. The wide 4.5V to 5.5V supply range supports direct connection to a rectified 5V rail without additional regulation, and the 12 I/O pins drive LEDs, keypads, and triac interfaces. Designers choose this part when the firmware is locked at production time and end-of-line programming cost is acceptable.
Recommended
Infrared Remote Control Transmitters
The PIC16C58B-40/SS is well suited to fixed-function infrared remote control transmitters for TVs, set-top boxes, and audio equipment. Its 8-bit RISC core runs NEC / RC5 / Sony SIRC encoding in software with timing accurate to 25 microseconds at 40 MHz, and the 3KB OTP memory stores button-scan tables and protocol state machines. The 0.65 mm-pitch SSOP package fits behind the keypad of a slim handset, and the 4.5V to 5.5V supply range matches two AAA cells through a boost converter. Brown-out reset prevents corrupted IR bursts when the battery sags below 4.5V, and the watchdog timer guards against keypad-stuck faults.
Recommended
LED Driver and Chaser Modules
LED chaser modules, decorative light strings, and signage controllers use the PIC16C58B-40/SS to multiplex up to 12 I/O pins into 144 LED segments via external shift registers. The 40 MHz core sustains 100 Hz refresh for 12-channel PWM dimming while leaving cycles for blinking patterns, fade math, and serial-command interpretation. The 3KB OTP program memory holds seasonal pattern libraries compiled at production time, and the SSOP footprint is small enough to embed inside a light fixture. Compared to a 555-timer + EPROM approach, the PIC16C58B-40/SS eliminates analog trim and timing drift.
Recommended
Battery Chargers for Small Cells
Single-cell NiMH / NiCd and small Li-ion chargers use the PIC16C58B-40/SS to implement CC/CV charge profiles with -delta-V detection. The 8-bit ADC-less design relies on comparator inputs (or external ADC) to sense cell voltage and current, while software runs the charge state machine in the 3KB OTP. The 40 MHz throughput handles 1 kHz PWM for current regulation without jitter, and the brown-out reset protects the cell from over-discharge faults. The 20-pin SSOP allows the controller to fit on a PCB the size of a 9V battery clip.
Recommended
Educational and Hobby Microcontroller Kits
The PIC16C58B-40/SS appears in low-cost PIC training kits, university lab boards, and hobbyist projects because of its simple 33-instruction RISC core and breadboard-friendly 0.65 mm SSOP-to-DIP adapter. Students learn assembly programming on a part with only 72 bytes of RAM and 3KB of code, which enforces efficient coding habits. The 40 MHz speed exercises timing loops, interrupt handling, and watchdog-reset recovery in a single lab session. With MPLAB X IDE and a PICkit 3/4 programmer, the part is fully supported by free toolchains - though most educators have migrated to the flash-based PIC16F57-I/SS.
Recommended
Industrial Sensor Interfaces (Legacy)
Legacy industrial sensor interfaces and 4-20 mA loop transmitters still specify the PIC16C58B-40/SS because of long-term firmware stability and wide second-source availability. The 40 MHz core digitizes up to 12-bit equivalent sensor signals via external sigma-delta converters, performs linearization in software, and outputs via UART or PWM current loop. The OTP memory prevents accidental firmware corruption in the field, which is an asset in 10-year-plus deployed equipment. New installations should select the flash-based PIC16F57-I/SS to benefit from in-field firmware updates and longer product-lifecycle support from Microchip.
Recommended
Simple PWM Fan / Motor Speed Controllers
Low-side or high-side PWM fan and DC motor speed controllers use the PIC16C58B-40/SS as a one-chip solution: TMR0 generates the PWM carrier, an ADC input (or external comparator) reads tachometer feedback, and the 8-bit core runs PI control in software. The 40 MHz / 10 MIPS throughput maintains 25 kHz PWM with 8-bit duty resolution while servicing tach interrupts every 100 microseconds. The 4.5V to 5.5V supply rail matches standard 5V fan systems, and the SSOP-20 footprint drops onto a 12 mm x 12 mm PCB alongside the MOSFET driver. Choose PIC16F57-I/SS for new designs that need field tuning of the speed profile.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C58B-40/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C58B-20I/SS | PIC16F57-I/SS | PIC16C58B-04/SS |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-SSOP | 20-SSOP - same | 20-SSOP - same | 20-SSOP - same |
| Program Memory Type | OTP EPROM | OTP EPROM | Flash | OTP EPROM |
| Program Memory Size | 3 KB (2K x 12) | 3 KB (2K x 12) | 3 KB (2K x 12) | 3 KB (2K x 12) |
| Data RAM | 72 bytes | 72 bytes | 72 bytes | 72 bytes |
| Maximum Clock Speed | 40 MHz | 20 MHz | 20 MHz | 4 MHz |
| Supply Voltage | 4.5V to 5.5V | 4.5V to 5.5V | 2.0V to 5.5V (wider) | 2.5V to 6.0V (wider) |
| Operating Temperature | 0C to +70C | -40C to +85C | -40C to +85C | 0C to +70C |
| In-Circuit Programmable | No (OTP only) | No (OTP only) | Yes (ICSP) | No (OTP only) |
| Lifecycle Status | NRND | NRND | Active | NRND |
Key Differentiators
- Higher 40 MHz clock speed vs other PIC16C5X grades (vs PIC16C58B-04/SS)
- Flash-based in-circuit reprogrammability vs OTP only (vs PIC16C58B-20I/SS)
- Wider commercial/industrial temperature grade over -04 part (vs PIC16C58B-04I/P)
Design Notes
The PIC16C58B-40/SS uses OTP EPROM, not flash - firmware can be programmed only once by an external device programmer such as PICkit 4 or MPLAB ICD 4. Any code bug forces scrap of the device. For prototypes, buy the flash-based PIC16F57-I/SS which is pin-compatible on the same 20-pin SSOP footprint; once firmware is verified, the OTP PIC16C58B-40/SS can be used for production to save unit cost. Always verify firmware on a flash part first.
Place a 100 nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 14), with the ground return to VSS (pin 5) using the shortest possible trace. For multi-rail or noisy environments, add a 10 uF tantalum or aluminum polymer bulk capacitor near the VDD pin. The PIC16C58B-40/SS operates from 4.5V to 5.5V; below 4.5V the brown-out reset will assert and reset the part, so a clean regulated supply is required.
The 20-pin SSOP package has a 0.65 mm pitch - design PCB land patterns per the Microchip SSOP package outline drawing to avoid solder bridges. Use a reflow profile that does not exceed 260C peak temperature and keep time above 220C under 60 seconds to protect the OTP EPROM cell. Add a ground pour under the IC body, but avoid running noisy switching traces directly under the OSC1/OSC2 pins to minimize crosstalk into the clock signal.
For a 40 MHz system clock, use a 10 MHz crystal with the internal 4x PLL, or a 40 MHz crystal directly across OSC1 (pin 16) and OSC2 (pin 15) with 15-33 pF load capacitors to ground. The PIC16C58B-40/SS also supports external RC oscillator mode for cost-sensitive applications, but RC mode offers poorer frequency accuracy and stability over temperature than crystal mode. Estimated: 10 MHz crystal + 4x PLL gives an effective 40 MHz instruction rate.
Compliance Information
RoHS compliant per Microchip product page. Lead-free (matte tin) finish. AEC-Q100 not applicable - this is a commercial-grade MCU; for automotive designs use AEC-Q100-qualified parts such as PIC16F57-E/SS industrial variants.