PIC16C781/782
8-Bit CMOS Microcontrollers with A/D, D/A, OPAMP,
Comparators and PSMC
Microcontroller Core Features:
Microcontroller Core Features (Continued):
• High performance RISC CPU
• Low power, high speed CMOS EPROM
technology
• Only 35 single word instructions to learn
• Fully static design
• All single cycle instructions except for program
branches which are two cycle
• Low power consumption:
- < 2 mA @ 5V, 4 MHz
• Direct, indirect and relative addressing modes
- Operating speed: DC - 20 MHz clock input
DC - 200 ns instruction cycle
- < 1 A typical standby current.
Pin Diagram
Program
Memory
X14
Data Memory
PDIP, Windowed CERDIP, SOIC, SSOP
Device
X8
RA0/AN0/OPA+
RA1/AN1/OPA-
RA4/T0CKI
•1
20
19
18
17
16
15
14
13
12
RB3/AN7/OPA
RB2/AN6
1
PIC16C781
PIC16C782
1K
2K
128
128
2
2
3
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT/T1CKI
VDD
3
RA5/MCLR/VPP
VSS
44
55
• 8-level deep hardware stack
AVSS
AVDD
6
6
RA2/AN2/VREF2
RA3/AN3/VREF1
RB0/INT/AN4/VR
RB1/AN5/VDAC
7
7
RB7/C2/PSMC1B/T1G
RB6/C1/PSMC1A
RB5
RB4
• Interrupt capability (up to 8 internal/external
interrupt sources)
8
8
9
9
11
10
• 16 I/O pins:
- Individual direction control (13 pins)
- Input only (3 pins), low leakage (2 pins)
- Digital/Analog inputs (8 pins)
Peripheral Features:
• Timer0: 8-bit timer/counter with 8-bit prescaler
• Enhanced Timer1:
• Programmable PORTB interrupt-on-change (8 pins)
• Programmable PORTB weak pull-ups (8 pins)
• Power-on Reset (POR)
- 16-bit timer/counter with prescaler
- External Gate Input mode
• Power-up Timer (PWRT) and
Oscillator Start-up Timer (OST)
- Option to use OSC1 and OSC2 in LP mode
as Timer1 oscillator, if INTRC oscillator mode
selected
• Watchdog Timer (WDT) with a software enabled
option and its own on-chip RC oscillator for
reliable operation
• Analog-to-Digital Converter (ADC):
- 8-bit resolution
• Programmable Brown-out Reset (BOR)
• Programmable Low Voltage Detection (LVD)
• Internal/external MCLR
- Programmable 8-channel input
- Internal voltages available for self-
diagnostics
• Programmable code protection
• Power saving SLEEP mode
• Digital-to-Analog Converter (DAC):
- 8-bit resolution
• Selectable oscillator options:
- Reference from AVDD, VREF1, or VR module
HS, XT, LP, EC, RC, INTRC (4 MHz/37 kHz)
- Output configurable to VDAC pin, Compara-
tors, and ADC reference
• In-Circuit Serial Programming™ (ISCP™)
• Program Memory Read (PMR) capability
• Four user programmable ID locations
• Wide operating voltage range:
• Operational Amplifier module (OPA):
- Firmware initiated input offset voltage Auto
Calibration module
- 2.5V to 5.5V for commercial and industrial
temperature ranges
- Low leakage inputs
- Programmable Gain Bandwidth Product
(GBWP)
- Extended temperature range available
2001-2013 Microchip Technology Inc.
Preliminary
DS41171B-page 1