Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

PIC16C65B-04

40-pin OTP MCU, USART+SPI+I2C, dual CCP, PSP, 4096W, 33 I/O, 4MHz, PIC16 core

Effective inventoryPCS

3200
in stock

SpecificationsTechnical data

Manufacturer part

PIC16C65B-04

Package

PDIP-40 (13.9 x 52.3 x 4.1 mm) / PLCC-44 / TQFP-44

Brand

MICROCHIP

Category

Microcontrollers (MCU), Microcontrollers & Processors

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The PIC16C65B-04 is a feature-rich 40-pin 8-bit OTP microcontroller from Microchip’s PIC16 mid-range family, offering extensive I/O capabilities and multiple serial communication peripherals including USART, SPI, and I²C. With 4096 words of One-Time Programmable program memory, 192 bytes of RAM, three timers, a parallel slave port (PSP), and up to 33 I/O pins, this device provides comprehensive functionality for complex embedded control applications. The 04 speed grade operates at 4 MHz, delivering a 1 MIPS execution rate suitable for industrial control, data acquisition, and multi-peripheral system designs.

Key Specifications

Core Architecture PIC RISC (8-bit, mid-range)
Program Memory 4096 words (OTP)
RAM (Data Memory) 192 bytes
EEPROM None
Serial Ports USART + SSP (SPI/I²C)
Parallel Slave Port 8-bit PSP
Oscillator Options RC, LP, XT, HS, EC
Max Frequency 4 MHz (04 variant)
Supply Voltage 2.5V to 6.0V
I/O Pins Up to 33
Timers TMR0 (8-bit), TMR1 (16-bit), TMR2 (8-bit)
CCP Module 2 channels (Capture/Compare/PWM)
Operating Temperature 0°C to +70°C (Commercial)
Package Type PDIP-40 / PLCC-44 / TQFP-44

Features

  • 4096 words OTP program memory
  • 192 bytes of RAM
  • USART (UART) + SSP (SPI/I²C) serial ports
  • 8-bit Parallel Slave Port (PSP)
  • Dual CCP modules (Capture/Compare/PWM)
  • 3 timers: TMR0, TMR1, TMR2
  • Up to 33 general-purpose I/O pins
  • Interrupt-on-change on Port B
  • Multiple interrupt sources

Applications

  • Industrial control and automation
  • Multi-protocol communication gateways
  • Data acquisition and logging systems
  • Motor control with PWM
  • Intelligent instrument front-ends
  • Networked sensor controllers
  • PC peripheral interfaces
  • PLC and DCS I/O modules
01PIC16C65B-04 · Product Introduction
The PIC16C65B-04 is a 40-pin 8-bit microcontroller from Microchip Technology’s PIC16C family, representing one of the most feature-rich OTP devices in the mid-range PIC lineup. With three serial communication modules (USART, SPI, and I²C via the SSP module), a parallel slave port (PSP), dual CCP modules for capture/compare/PWM, and 33 general-purpose I/O pins, this device is designed for complex embedded systems requiring multiple communication interfaces and rich peripheral integration. The 4096 words of OTP program memory provide substantial code space for implementing communication protocol stacks, control algorithms, and user interface logic. The 192 bytes of RAM support data buffering, variable storage, and intermediate calculations for multi-tasking applications. The Synchronous Serial Port (SSP) module supports both SPI and I²C modes, enabling connectivity to a wide range of peripheral chips including serial EEPROMs, ADCs, sensors, and display controllers. The Parallel Slave Port provides an 8-bit bi-directional parallel interface for high-speed communication with host processors or other microcontrollers. The two CCP (Capture/Compare/PWM) modules support input capture for timing measurements, output compare for waveform generation, and PWM for motor control and dimming applications. The 04 speed grade operates at 4 MHz with a 1 MIPS execution rate and a wide supply voltage range of 2.5V to 6.0V.
02PIC16C65B-04 · Working Principle
The PIC16C65B-04 is built on Microchip’s mid-range PIC Harvard architecture with a 14-bit instruction word and 35 instructions. Separate program and data buses enable parallel instruction fetch and data access through a two-stage pipeline, yielding single-cycle execution for most instructions. At 4 MHz, the instruction cycle is 1 μs (1 MIPS). The 4096-word OTP program memory is addressed by a 12-bit program counter with an 8-level deep hardware stack for subroutine and interrupt context saving. The SSP (Synchronous Serial Port) module provides hardware support for both SPI (Serial Peripheral Interface) and I²C (Inter-Integrated Circuit) serial protocols, operating in master or slave modes with dedicated shift registers and clock generation circuitry. The USART module supports full-duplex asynchronous (UART) and synchronous serial communication with programmable baud rates. The Parallel Slave Port (PSP) is an 8-bit bi-directional parallel interface with handshaking signals, designed for direct interface to microprocessor data buses. The two CCP modules each contain a 16-bit register that can be configured for: Capture mode (recording timer value on pin event), Compare mode (generating output when timer matches), or PWM mode (generating pulse-width modulated waveforms). Timer0 (8-bit), Timer1 (16-bit), and Timer2 (8-bit with period register) provide the time bases for these peripherals. The interrupt system supports multiple sources including USART, SSP, CCP, timers, external interrupt, and port change interrupts.
03PIC16C65B-04 · Pin Description
Port Pins Type Primary Functions
RA0-RA5 6 I/O Port A: analog inputs, comparator I/O, VREF
RB0-RB7 8 I/O Port B: INT, IOC interrupts, SSP (SPI/I2C)
RC0-RC7 8 I/O Port C: T1OSC, CCP1/CCP2, USART (TX/RX)
RD0-RD7 8 I/O Port D: 8-bit Parallel Slave Port data
RE0-RE2 3 I/O Port E: PSP control signals (RD, WR, CS)
MCLR 1 Input Master Clear / System Reset
OSC1/OSC2 2 Analog Oscillator connections
VDD/VSS 4 Power Power and ground pins
04PIC16C65B-04 · Application Scenarios
  • Multi-protocol industrial communication gateways and converters
  • Multi-channel data acquisition systems with serial output
  • DC motor speed and position control with PWM
  • Intelligent digital instrument front-panel controllers
  • PLC remote I/O modules with multiple communication ports
  • Embedded systems requiring both SPI and I2C peripheral expansion
05PIC16C65B-04 · Alternative Models
Manufacturer Part Number Package Notes
Microchip PIC16F877A PDIP-40 Flash version, 8KB, ADC added, widely used
Microchip PIC18F4520 PDIP-40 PIC18 enhanced core, 32KB Flash, more features
Atmel ATmega8535 PDIP-40 AVR core, 8KB Flash, ADC, USART+SPI+I2C
STC STC89C52RC PDIP-40 8051 core, 8KB Flash, UART, very economical

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

GD32F310C8T6

Cortex-M4 Entry-level MCU, 72MHz, 64KB Flash, 8KB SRAM, LQFP-48

Brand: gigadevicePackage: LQFP-48 (7x7mm, 0.5mm pitch)

IN STOCK: 7547pcs

Cargo cycle: 3~7 Days

The minimum order is 1

P87C15SBAA

80C51 8-bit MCU, 16KB Flash, 512B RAM, 20MHz, QFP-44 package

Brand: NXPPackage: LQFP-44 / SBAA (10 x 10 x 1.4 mm)

IN STOCK: 6800pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STC15W408AS-35I

Enhanced 1T 8051 MCU, 35MHz, 2.4-5.5V, 8KB Flash, 5KB EEPROM, 10-bit 8-ch ADC, 3-ch PWM, SPI, UART

Brand: stcmicroPackage: TSSOP-20 / SOP-16 / SOP-20 / DIP-16

IN STOCK: 4242pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32H743BIT6

Flagship ARM Cortex-M7 MCU at 480MHz with 2MB dual-bank Flash, 1MB SRAM, LCD-TFT, JPEG, FDCAN, Ethernet, DFSDM, HRTIM in LQFP-208.

Brand: STPackage: LQFP-208

IN STOCK: 2743pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32L452RCT6

Ultra-low-power ARM Cortex-M4 MCU with FPU, 80MHz, 256KB Flash, 160KB SRAM, USB FS, LQFP64

Brand: STPackage: LQFP-64 (10x10x1.4 mm)

IN STOCK: 10650pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32H7A3ZIT6

ARM Cortex-M7 MCU at 280MHz with 2MB Flash, 1.4MB SRAM, LCD-TFT, JPEG, Octo-SPI, FDCAN, DFSDM, SMPS, high RAM-to-Flash ratio in LQFP-144.

Brand: STPackage: LQFP-144

IN STOCK: 3284pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.