PIC16C6X 8-Bit CMOS Microcontrollers Devices included in this data sheet: Low-power, high-speed CMOS EPROM/ROM technology PIC16C61 PIC16C64A Fully static design PIC16C62 PIC16CR64 Wide operating voltage range: 2.5V to 6.0V PIC16C62A PIC16C65 Commercial, Industrial, and Extended PIC16CR62 PIC16C65A temperature ranges Low-power consumption: PIC16C63 PIC16CR65 < 2 mA 5V, 4 MHz PIC16CR63 PIC16C66 15 A typical 3V, 32 kHz PIC16C64 PIC16C67 < 1 A typical standby current PIC16C6X Microcontroller Core Features: PIC16C6X Peripheral Features: High performance RISC CPU Timer0: 8-bit timer/counter with 8-bit prescaler Only 35 single word instructions to learn Timer1: 16-bit timer/counter with prescaler, can be incremented during sleep via All single cycle instructions except for program external crystal/clock branches which are two-cycle Operating speed: DC - 20 MHz clock input Timer2: 8-bit timer/counter with 8-bit period DC - 200 ns instruction cycle register, prescaler and postscaler Capture/Compare/PWM (CCP) module(s) Interrupt capability Capture is 16-bit, max resolution is 12.5 ns, Eight level deep hardware stack Compare is 16-bit, max resolution is 200 ns, Direct, indirect, and relative addressing modes PWM max resolution is 10-bit. Power-on Reset (POR) 2 Synchronous Serial Port (SSP) with SPI and I C Power-up Timer (PWRT) and Universal Synchronous Asynchronous Receiver Oscillator Start-up Timer (OST) Transmitter (USART/SCI) Watchdog Timer (WDT) with its own on-chip RC Parallel Slave Port (PSP) 8-bits wide, with oscillator for reliable operation external RD, WR and CS controls Programmable code-protection Brown-out detection circuitry for Power saving SLEEP mode Brown-out Reset (BOR) Selectable oscillator options PIC16C6X Features 61 62 62A R62 63 R63 64 64A R64 65 65A R65 66 67 Program Memory 1K 2K 2K 4K 2K 2K 4K 4K 8K 8K (EPROM) x 14 (ROM) x 14 2K 4K 2K 4K Data Memory (Bytes) x 8 36 128 128 128 192 192 128 128 128 192 192 192 368 368 I/O Pins 13 22 22 22 22 22 33 33 33 33 33 33 22 33 Parallel Slave Port Yes Yes Yes Yes Yes Yes Yes Capture/Compare/PWM 1 1 1 22 1 1 1 2 2222 Module(s) Timer Modules 1 3 3 3 3 3 3 3 3 3 3333 2 2 2 2 2 2 2 Serial Communication SPI/ SPI/ SPI/ SPI/I C, SPI/I C, SPI/ SPI/ SPI/ SPI/I C, SPI/I C, SPI/I C, SPI/I C, SPI/I C, 2 2 2 2 2 2 I C I C I C USART USART I C I C I C USART USART USART USART USART In-Circuit Serial Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Programming Brown-out Reset Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Interrupt Sources 3 7 7 7 10 10 8 8 8 11 11 11 10 11 Sink/Source Current (mA) 25/20 25/25 25/25 25/25 25/25 25/25 25/25 25/25 25/25 25/25 25/25 25/25 25/25 25/25 1997-2013 Microchip Technology Inc. DS30234E-page 1PIC16C6X Pin Diagrams PDIP, SOIC, Windowed CERDIP SDIP, SOIC, SSOP, Windowed CERDIP (300 mil) RA2 18 RA1 MCLR/VPP RB7 1 1 28 RA0 RB6 17 RA0 2 27 RA3 2 RA1 RB5 3 26 RA4/T0CKI 3 16 OSC1/CLKIN RA2 RB4 4 25 MCLR/VPP 15 4 OSC2/CLKOUT RA3 RB3 5 24 5 14 VDD RA4/T0CKI RB2 VSS 6 23 RA5/SS RB1 6 13 RB7 7 22 RB0/INT VSS RB0/INT 8 21 RB1 12 7 RB6 VDD OSC1/CLKIN 9 20 RB2 8 11 RB5 OSC2/CLKOUT 10 19 VSS RB3 10 RB4 9 RC7 RC0/T1OSI/T1CKI 11 18 RC1/T1OSO 12 17 RC6 RC2/CCP1 13 16 RC5/SDO PIC16C61 RC3/SCK/SCL 14 15 RC4/SDI/SDA PIC16C62 SDIP, SOIC, SSOP, Windowed CERDIP (300 mil) SDIP, SOIC, Windowed CERDIP (300 mil) 1 28 RB7 1 28 MCLR/VPP MCLR/VPP RB7 RA0 2 27 RB6 RA0 2 27 RB6 RA1 3 26 RB5 RA1 3 26 RB5 RA2 4 25 RB4 RA2 4 25 RB4 RA3 5 24 RB3 RA3 5 24 RB3 RA4/T0CKI 6 23 RB2 RA4/T0CKI 6 23 RB2 RA5/SS 7 22 RB1 RA5/SS 7 22 RB1 VSS 8 21 RB0/INT VSS 8 21 RB0/INT OSC1/CLKIN 9 20 VDD OSC1/CLKIN 9 20 VDD OSC2/CLKOUT 10 19 VSS OSC2/CLKOUT 10 19 VSS RC0/T1OSO/T1CKI 11 18 RC7 RC0/T1OSO/T1CKI 11 18 RC7/RX/DT RC1/T1OSI 12 17 RC6 RC1/T1OSI/CCP2 12 17 RC6/TX/CK RC2/CCP1 13 16 RC5/SDO RC2/CCP1 13 16 RC5/SDO RC3/SCK/SCL 14 15 RC4/SDI/SDA RC3/SCK/SCL 14 15 RC4/SDI/SDA PIC16C62A PIC16C63 PIC16CR62 PIC16CR63 PIC16C66 PDIP, Windowed CERDIP MCLR/VPP 1 40 RB7 MCLR/VPP 1 40 RB7 MCLR/VPP 1 40 RB7 RA0 2 39 RB6 RA0 2 39 RB6 RA0 2 39 RB6 RA1 3 38 RB5 RA1 3 38 RB5 RA1 3 38 RB5 RA2 4 37 RB4 RA2 4 37 RB4 RA2 4 37 RB4 RA3 5 36 RB3 RA3 5 36 RB3 RA3 5 36 RB3 RA4/T0CKI 6 35 RB2 RA4/T0CKI 6 35 RB2 RA4/T0CKI 6 35 RB2 RA5/SS 7 34 RB1 RA5/SS 7 34 RB1 RA5/SS 7 34 RB1 RE0/RD 8 33 RB0/INT RE0/RD 8 33 RB0/INT RE0/RD 8 33 RB0/INT RE1/WR 9 32 VDD RE1/WR 9 32 VDD RE1/WR 9 32 VDD RE2/CS 10 31 VSS RE2/CS 10 31 VSS RE2/CS 10 31 VSS VDD VDD VDD 11 30 RD7/PSP7 11 30 RD7/PSP7 11 30 RD7/PSP7 VSS 12 29 RD6/PSP6 VSS 12 29 RD6/PSP6 VSS 12 29 RD6/PSP6 OSC1/CLKIN 13 28 RD5/PSP5 OSC1/CLKIN 13 28 RD5/PSP5 OSC1/CLKIN 13 28 RD5/PSP5 OSC2/CLKOUT 14 27 RD4/PSP4 OSC2/CLKOUT 14 27 RD4/PSP4 OSC2/CLKOUT 14 27 RD4/PSP4 RC0/T1OSI/T1CKI 15 26 RC7 RC0/T1OSO/T1CKI 15 26 RC7 RC0/T1OSO/T1CKI 15 26 RC7/RX/DT RC1/T1OSO 16 25 RC6 RC1/T1OSI 16 25 RC6 RC1/T1OSI/CCP2 16 25 RC6/TX/CK RC2/CCP1 17 24 RC5/SDO RC2/CCP1 17 24 RC5/SDO RC2/CCP1 17 24 RC5/SDO RC3/SCK/SCL 18 23 RC4/SDI/SDA RC3/SCK/SCL 18 23 RC4/SDI/SDA RC3/SCK/SCL 18 23 RC4/SDI/SDA RD0/PSP0 19 22 RD3/PSP3 RD0/PSP0 19 22 RD3/PSP3 RD0/PSP0 19 22 RD3/PSP3 RD1/PSP1 20 21 RD2/PSP2 RD1/PSP1 20 21 RD2/PSP2 RD1/PSP1 20 21 RD2/PSP2 PIC16C64A PIC16C64 PIC16C65 PIC16CR64 PIC16C65A PIC16CR65 PIC16C67 DS30234E-page 2 1997-2013 Microchip Technology Inc.