PIC16C64X & PIC16C66X
8-Bit EPROM Microcontrollers with Analog Comparators
Devices included in this data sheet:
Pin Diagrams
PDIP, SOIC, Windowed CERDIP
• PIC16C641
• PIC16C642
• PIC16C661
• PIC16C662
MCLR/VPP
RA0/AN0
RA1/AN1
RA2/AN2/VREF
RA3/AN3
RA4/T0CKI
RA5
1
2
3
4
5
6
7
8
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0/INT
VDD
High Performance RISC CPU:
• Only 35 instructions to learn
• All single-cycle instructions (200 ns), except for
program branches which are two-cycle
• Operating speed:
VSS
OSC1/CLKIN
OSC2/CLKOUT
RC0
9
10
11
12
13
14
VSS
RC7
RC6
RC5
RC4
RC1
RC2
RC3
- DC - 20 MHz clock input
- DC - 200 ns instruction cycle
Device
Program
Data
Memory x14 Memory x8
PDIP, Windowed CERDIP
PIC16C641
2K
4K
128
176
40
39
38
37
36
35
34
33
32
31
30
MCLR/VPP
RA0/AN0
RA1/AN1
RA2/AN2/VREF
RA3/AN3
RA4/T0CKI
RA5
1
2
3
4
5
6
7
8
9
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0/INT
VDD
VSS
PIC16C642
PIC16C661
2K
4K
128
176
PIC16C662
RE0/RD
RE1/WR
• Interrupt capability
• 8-level deep hardware stack
• Direct, Indirect and Relative addressing modes
10
11
RE2/CS
VDD
RD7/PSP7
VSS
OSC1/CLKIN
OSC2/CLKOUT
RC0
29
28
27
26
25
24
23
22
21
RD6/PSP6
RD5/PSP5
RD4/PSP4
RC7
RC6
RC5
RC4
RD3/PSP3
RD2/PSP2
12
13
14
15
16
17
18
19
20
Peripheral Features:
• Up to 33 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(VREF) module
RC1
RC2
RC3
RD0/PSP0
RD1/PSP1
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs can be output signals
• Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
• Four user programmable ID locations
• Program Memory Parity Error checking circuitry
with Parity Error Reset (PER)
• CMOS Technology:
Special Microcontroller Features:
• Low-power, high-speed CMOS EPROM technology
• Fully static design
• Wide operating voltage range: 3.0V to 6.0V
• Commercial, Industrial and Automotive
temperature ranges
• Low power consumption
- < 2.0 mA @ 5.0V, 4.0 MHz
- 15 µA typical @ 3.0V, 32 kHz
- < 1.0 µA typical standby current @ 3.0V
• Power-on Reset (POR)
• Power-up Timer (PWRT) and
Oscillator Start-up Timer (OST)
• Brown-out Reset
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Programmable code protection
• Power saving SLEEP mode
• Selectable oscillator options
• Serial in-circuit programming (via two pins)
1996 Microchip Technology Inc.
Preliminary
DS30559A-page 1
This document was created with FrameMaker 4 0 4