PIC16C58B-20/SS - 8-bit OTP MCU, 20MHz, 3KB ROM, SSOP-20
MPN: PIC16C58B-20/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.07 | $30.70 |
| 100 | $2.73 | $273.00 |
| 500 | $2.45 | $1,225.00 |
| 1,000 | $2.18 | $2,180.00 |
PIC16C58B-20/SS Overview
Key features include a RISC architecture with only 33 single-word, single-cycle instructions (all instructions are single-cycle except for program branches, which take two cycles), a two-level deep hardware stack, and direct, indirect, and relative addressing modes for both data and instructions. An 8-bit real-time clock/counter (TMR0) is included, and the device provides an 8-bit wide data path with 12-bit wide instructions for code density.
The PIC16C58B is part of Microchip's PIC16C5X family, a lineage of low-cost, high-performance, fully static, EPROM/ROM-based CMOS microcontrollers. As a member of the OTP subset, the PIC16C58B is suitable for low-to-medium-volume production where flash re-programmability is not essential. Its compact code footprint (only 33 instructions to learn) and deterministic instruction timing make it attractive for simple state-machine replacement, timer/counter applications, and battery-operated or hand-held devices that need predictable behavior without complex firmware ecosystems.
Typical applications include consumer white goods control, low-cost remote-control transmitters, sensor signal conditioning front-ends, simple user-interface controllers (button scanning, LED multiplexing), and replacement of discrete logic or 74-series glue in space-constrained boards. The SSOP-20 footprint allows dense PCB placement while remaining hand-solderable for prototypes.
When designing with this device, note that the PIC16C5X core lacks interrupts (a key architectural difference from the PIC16F and PIC18 families), so all event handling must be polled. OTP memory means firmware must be finalized before production, and code-protection fuses should be set at programming time to prevent unauthorized read-out of the ROM contents.
Drop-in alternatives for PIC16C58B-20/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-20/SS (same form factor and footprint) — differing in Program Memory Size, Timers, Core Architecture, Program Memory Type, Mounting Type.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16C58B-20I/SS
✅ Drop-In✓ In Stock
$1.74 / Unit
View Datasheet →PIC16C58B-04/SS
✅ Drop-In✓ In Stock
$1.45 / Unit
View Datasheet →PIC16C58B-20/SS
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC16C57C-20/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C56A-20I/SS
✅ Drop-In✓ In Stock
$0.67 / Unit
View Datasheet →PIC16C58B-20/SS Maximum Ratings & Electrical Characteristics
| Core | PIC16C5X 8-bit RISC |
| Program Memory Size | 3 KB (2K x 12) OTP |
| RAM Size | 73 bytes |
| Maximum Clock Speed | 20 MHz |
| Supply Voltage Range | 4.5 V to 5.5 V |
| Number of I/O Pins | 12 |
| Instruction Set Size | 33 single-word instructions |
| Instruction Word Width | 12-bit |
| Data Path Width | 8-bit |
| Stack Depth | 2 levels (hardware) |
| Timers | 1 x 8-bit (TMR0) |
| Package Type | 20-pin SSOP (Shrink Small Outline Package) |
| Terminal Form | GULL WING |
| Mounting Type | Surface Mount |
| Temperature Grade | COMMERCIAL |
| ROM Type | OTP (One-Time Programmable) EPROM-based |
| Architecture | RISC, fully static CMOS |
| Data Addressing Modes | Direct, Indirect, Relative |
PIC16C58B-20/SS Pin Configuration
| Pin 1 | RA2 — PORTA bit 2 (bidirectional I/O) |
| Pin 2 | RA3 — PORTA bit 3 (bidirectional I/O) |
| Pin 3 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pin 4 | MCLR — Master Clear reset input (active low) |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0/INT — PORTB bit 0 (bidirectional I/O) |
| Pin 7 | RB1 — PORTB bit 1 (bidirectional I/O) |
| Pin 8 | RB2 — PORTB bit 2 (bidirectional I/O) |
| Pin 9 | RB3 — PORTB bit 3 (bidirectional I/O) |
| Pin 10 | RB4 — PORTB bit 4 (bidirectional I/O) |
| Pin 11 | RB5 — PORTB bit 5 (bidirectional I/O) |
| Pin 12 | RB6 — PORTB bit 6 (bidirectional I/O) |
| Pin 13 | RB7 — PORTB bit 7 (bidirectional I/O) |
| Pin 14 | VSS — Ground reference (secondary) |
| Pin 15 | OSC1/CLKIN — Oscillator input / external clock input |
| Pin 16 | OSC2/CLKOUT — Oscillator output / clock output |
| Pin 17 | RC0 — PORTC bit 0 (bidirectional I/O) |
| Pin 18 | RC1 — PORTC bit 1 (bidirectional I/O) |
| Pin 19 | RC2 — PORTC bit 2 (bidirectional I/O) |
| Pin 20 | RC3 — PORTC bit 3 (bidirectional I/O) |
Typical Applications
PIC16C58B-20/SS is suitable for 6 applications: Remote Control / IR Transmitter, Consumer White Goods Control, Sensor Signal Conditioning Front-End, Discrete Logic / 74-Series Replacement, LED Display / Sign Multiplexing, Battery-Operated Low-Power Devices.
Remote Control / IR Transmitter
The PIC16C58B-20/SS is well-suited for infrared remote-control transmitter applications where its 12-bit instruction word, 33-instruction RISC core, and polled-only execution model match the deterministic timing required by NEC/RC-5/Philips protocols. With 20 MHz clock, the core executes 5 million single-cycle instructions per second, allowing accurate 38 kHz carrier generation and 8-bit timing for protocol bit cells via TMR0. The 73 bytes of RAM is sufficient for state variables, the 3 KB OTP ROM holds the full protocol state machine plus button-scanning code, and the commercial-temperature grade covers indoor environments. Power consumption is low because the core is fully static CMOS, supporting long battery life. The SSOP-20 footprint (0.65 mm pitch) enables compact remote PCBs, while the absence of interrupts simplifies the real-time firmware design.
Recommended
Consumer White Goods Control
The PIC16C58B-20/SS fits low-end consumer appliance controllers (rice cookers, simple washing-machine timers, electric kettles, induction-cooktop user interfaces) where a sealed, non-reprogrammable controller is acceptable once firmware is locked. Its 12 I/O pins drive 7-segment LED multiplexing and scan a 4x3 button matrix; TMR0 provides a millisecond tick for debouncing and timeout logic; and the 4.5-5.5 V supply range matches regulated AC-DC rails common in white goods. The polled execution model is fine for slow user-interface loops (<1 kHz refresh). OTP ROM prevents field firmware tampering, an advantage in safety-critical appliance applications. The SSOP-20 footprint is hand-solderable for low-volume SKU repair work and survives the conformal-coating process typical in household appliances.
Recommended
Sensor Signal Conditioning Front-End
The PIC16C58B-20/SS works as a low-cost sensor front-end MCU that digitizes analog signals via external ADC chips and transmits readings over UART or I/O-bit-banged protocols. With 20 MHz clock, the core handles bit-banged serial protocols (1-Wire, software UART) at rates up to 115200 baud. The 3 KB OTP ROM fits small protocol stacks for sensors like DS18B20 temperature sensors or simple pulse counters for water/gas meters. 12 I/O pins route signals to multiple sensors, switches, and indicator LEDs, and the polled loop structure keeps timing predictable for time-multiplexed sensor reads. The commercial temperature grade covers indoor metering, while the SSOP-20 small footprint fits inside compact meter enclosures. OTP memory prevents over-the-air firmware attacks on metering infrastructure.
Recommended
Discrete Logic / 74-Series Replacement
The PIC16C58B-20/SS can replace multiple 74HC-series glue-logic chips in space-constrained designs by consolidating state machines into a single MCU, reducing PCB area and BOM cost. With 12 I/O pins driving discrete inputs/outputs and 3 KB OTP ROM holding the encoded logic, a single SSOP-20 PIC16C58B-20/SS can replace 3-5 logic packages. The deterministic polled architecture ensures no race conditions or glitches from interrupt priorities - behavior is fully timing-predictable. The commercial temperature grade and 5 V supply match 74HC logic rails, allowing direct interfacing without level shifters. The polled-only execution is sufficient because timing requirements for signal steering are well below the 5 MIPS throughput ceiling.
Recommended
LED Display / Sign Multiplexing
The PIC16C58B-20/SS is ideal for driving small multiplexed LED matrices, 7-segment displays, and scrolling-message signs in cost-sensitive retail or signage applications. At 20 MHz, the core can refresh a 4-digit 7-segment display at >100 Hz with no perceived flicker while simultaneously scanning buttons via TMR0 interrupts or polled timer flags. 12 I/O pins multiplex up to 6 digits directly, or drive a 4x4 LED matrix without external drivers. The 3 KB OTP ROM stores static lookup tables (7-segment encoding, font data) plus message strings, and the 73 bytes of RAM is sufficient for display buffer plus state variables. SSOP-20 footprint enables slim sign-PCB designs, and the commercial temperature grade covers indoor retail environments.
Recommended
Battery-Operated Low-Power Devices
The PIC16C58B-20/SS fits simple battery-operated devices such as electronic thermometers, kitchen timers, electronic scales, and small toys where the fully-static CMOS core enables very low sleep current and the OTP ROM eliminates flash-leakage current common in flash-based MCUs. With its 4.5-5.5 V supply, the device pairs naturally with a 3 x AA battery pack (4.5 V nominal) or a single Li coin cell plus boost converter. TMR0 can wake the device from sleep via WDT or external interrupt on later 5X-family variants, and the 33-instruction RISC core keeps active current minimal (a few mA at 20 MHz). The polled-only model is acceptable because battery devices typically service events slowly.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C58B-20/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C58B-20I/SS | PIC16C58B-04/SS | PIC16C57C-20/SS | PIC16C56A-20I/SS |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SSOP-20 | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same |
| Maximum Clock Speed | 20 MHz | 20 MHz | 4 MHz | 20 MHz | 20 MHz |
| Program Memory (ROM) | 3 KB OTP | 3 KB OTP | 3 KB OTP | 2 KB OTP | 1 KB OTP |
| RAM Size | 73 bytes | 73 bytes | 73 bytes | 72 bytes | 25 bytes |
| Number of I/O Pins | 12 | 12 | 12 | 20 | 12 |
| Temperature Grade | Commercial (0 to +70 C) | Industrial (-40 to +85 C) | Commercial (0 to +70 C) | Commercial | Industrial (-40 to +85 C) |
| Architecture / Core | PIC16C5X (polled, no interrupts) | PIC16C5X (polled) | PIC16C5X (polled) | PIC16C5X (polled) | PIC16C5X (polled) |
Key Differentiators
- Polled-only PIC16C5X core with 33-instruction RISC instruction set (vs PIC16F690-I/SS)
- 3 KB OTP ROM is 50% larger than the PIC16C57 2 KB variant (vs PIC16C57C-20/SS)
- 20 MHz clock grade provides 5 MIPS execution throughput (vs PIC16C58B-04/SS)
Design Notes
The PIC16C5X core (which includes PIC16C58B-20/SS) is polled-only - there is NO interrupt controller. Engineers migrating from PIC16F or PIC18F devices must rewrite all event-driven firmware as polled loops. TMR0 overflow can be polled via the T0IF flag in a tight timing loop, but true asynchronous event handling is not possible. Estimated: at 20 MHz clock (5 MIPS), a polled TMR0 check costs 1-3 instruction cycles (~200-600 ns) of CPU time per check.
The SSOP-20 package has a 0.65 mm pin pitch which is hand-solderable with care but requires reflow or hot-air for production. Estimated: a 4-layer PCB with 1 oz copper and 0.2 mm trace/space rules handles the 20-pin SSOP cleanly. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 14) and a bulk 10 uF tantalum or ceramic cap at the board power entry. Keep the crystal or resonator within 5 mm of OSC1/OSC2 (pins 15/16) to minimize parasitic capacitance.
OTP ROM (one-time programmable) cannot be erased or rewritten - firmware bugs found in production cannot be fixed by reflashing; the entire batch must be scrapped. Always program at least 5-10 prototype units for full functional verification BEFORE committing to a production run. Use Microchip's OTP-EPROM-emulator (PIC16C5X development tools) for early bring-up. Code-protect fuses must be set during the same programming cycle as code, before any production parts ship, to prevent unauthorized ROM readback via ICSP.
MCLR pin (pin 4) requires a 10-50 kohm pull-up to VDD for normal operation; do NOT leave it floating or the device will randomly reset. Estimated: a 10 kohm pull-up provides ~500 uA sink current at the MCLR input. For noisy environments, add a 100 nF cap from MCLR to VSS to filter transient reset glitches; keep this cap trace length under 5 mm. The oscillator pins (OSC1/OSC2) should be guarded by a ground ring or ground pour to minimize EMI coupling into adjacent analog or RF sections.
Compliance Information
Compliance status not explicitly listed in the verified web data; the part is a commercial-temperature-grade OTP MCU from Microchip. AEC-Q100 not qualified - for automotive applications, consider PIC16F or PIC18F automotive-grade equivalents.