PIC16C63A/65B/73B/74B 8-Bit CMOS Microcontrollers with A/D Converter Devices included in this data sheet: PIC16C7X Peripheral Features: Timer0: 8-bit timer/counter with 8-bit prescaler PIC16C63A PIC16C73B Timer1: 16-bit timer/counter with prescaler PIC16C65B PIC16C74B can be incremented during SLEEP via external crystal/clock PIC16CXX Microcontroller Core Features: Timer2: 8-bit timer/counter with 8-bit period High performance RISC CPU register, prescaler and postscaler Only 35 single word instructions to learn Capture, Compare, PWM modules All single cycle instructions except for program - Capture is 16-bit, max. resolution is 200 ns branches which are two cycle - Compare is 16-bit, max. resolution is 200 ns Operating speed: DC - 20 MHz clock input - PWM max. resolution is 10-bit DC - 200 ns instruction cycle 8-bit multichannel Analog-to-Digital converter 4 K x 14 words of Program Memory, TM Synchronous Serial Port (SSP) with SPI 192 x 8 bytes of Data Memory (RAM) 2 TM and I C Interrupt capability Universal Synchronous Asynchronous Receiver Eight-level deep hardware stack Transmitter (USART/SCI) Direct, indirect and relative addressing modes Parallel Slave Port (PSP), 8-bits wide with Power-on Reset (POR) external RD, WR and CS controls Power-up Timer (PWRT) and Oscillator Start-up Brown-out detection circuitry for Brown-out Reset Timer (OST) (BOR) Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation Pin Diagram: Programmable code protection PDIP, Windowed CERDIP Power-saving SLEEP mode Selectable oscillator options 1 40 MCLR/VPP RB7 2 39 RA0/AN0 RB6 Low power, high speed CMOS EPROM 3 38 RA1/AN1 RB5 4 37 technology RA2/AN2 RB4 5 36 RB3 RA3/AN3/VREF Wide operating voltage range: 2.5V to 5.5V 6 35 RB2 RA4/T0CKI 7 34 RA5/SS/AN4 RB1 High Sink/Source Current 25/25 mA 8 33 RE0/RD/AN5 RB0/INT 9 32 VDD RE1/WR/AN6 Commercial, Industrial and Automotive 10 31 VSS RE2/CS/AN7 temperature ranges 11 30 RD7/PSP7 VDD 12 29 VSS RD6/PSP6 Low power consumption: 13 28 RD5/PSP5 OSC1/CLKIN 14 27 RD4/PSP4 OSC2/CLKOUT - < 5 mA 5V, 4 MHz 15 26 RC7/RX/DT RC0/T1OSO/T1CKI 16 25 RC6/TX/CK RC1/T1OSI/CCP2 -23 A typical 3V, 32 kHz 17 RC2/CCP1 24 RC5/SDO 18 23 RC4/SDI/SDA -< 1.2 A typical standby current RC3/SCK/SCL 19 22 RD3/PSP3 RD0/PSP0 20 21 RD2/PSP2 RD1/PSP1 I/O A/D Devices PSP Interrupts Pins Chan. PIC16C63A 22 - No 10 PIC16C65B 33 - Yes 11 PIC16C73B 22 5 No 11 PIC16C74B 33 8 Yes 12 2000 Microchip Technology Inc. DS30605C-page 1 PIC16C65B PIC16C74BPIC16C63A/65B/73B/74B SDIP, SOIC, Windowed CERDIP MCLR/VPP 1 28 RB7 27 RA0/AN0 2 RB6 26 RA1/AN1 3 RB5 25 RA2/AN2 4 RB4 24 RA3/AN3/VREF 5 RB3 23 RA4/T0CKI 6 RB2 22 RA5/SS/AN4 7 RB1 21 VSS 8 RB0/INT 20 OSC1/CLKIN 9 VDD 19 OSC2/CLKOUT 10 VSS 18 RC0/T1OSO/T1CKI 11 RC7/RX/DT 17 RC1/T1OSI/CCP2 12 RC6/TX/CK RC2/CCP1 13 16 RC5/SDO RC3/SCK/SCL 14 15 RC4/SDI/SDA PLCC MQFP TQFP 39 RB3 RA4/T0CKI 7 1 33 NC 38 RB2 RC7/RX/DT RA5/SS/AN4 8 2 32 RC0/T1OSO/T1CKI 37 RB1 RD4/PSP4 RE0/RD/AN5 9 3 31 OSC2/CLKOUT 36 RB0/INT RD5/PSP5 RE1/WR/AN6 10 4 30 OSC1/CLKIN RD6/PSP6 PIC16C65B 35 VDD RE2/CS/AN7 11 5 29 VSS RD7/PSP7 PIC16C65B 34 VSS 6 VDD 12 28 VDD PIC16C74B VSS 33 RD7/PSP7 VSS 13 7 PIC16C74B 27 RE2/CS/AN7 VDD 32 RD6/PSP6 8 26 RE1/WR/AN6 OSC1/CLKIN 14 RB0/INT RD5/PSP5 31 9 25 OSC2/CLKOUT 15 RE0/RD/AN5 RB1 30 RD4/PSP4 10 24 RC0/T1OSO/T1CKI 16 RA5/SS/AN4 RB2 29 RC7/RX/DT 11 23 17 RA4/T0CKI NC RB3 Key Features PICmicro Mid-Range MCU Family PIC16C63A PIC16C65B PIC16C73B PIC16C74B Reference Manual (DS33023) Program Memory (EPROM) x 14 4 K 4 K 4 K 4 K Data Memory (Bytes) x 8 192 192 192 192 Pins 28 40 28 40 Parallel Slave Port Yes Yes Capture/Compare/PWM Modules 2 2 2 2 Timer Modules 3 3 3 3 A/D Channels 58 2 2 2 2 Serial Communication SPI/I C, USART SPI/I C, USART SPI/I C, USART SPI/I C, USART In-Circuit Serial Programming Yes Yes Yes Yes Brown-out Reset Yes Yes Yes Yes Interrupt Sources 10 11 11 12 Packages 28-pin SDIP, SOIC, 40-pin PDIP 28-pin SDIP, SOIC, 40-pin PDIP SSOP, 44-pin PLCC, SSOP, 44-pin PLCC, Windowed CERDIP MQFP, TQFP, Windowed CERDIP MQFP, TQFP, Windowed CERDIP Windowed CERDIP DS30605C-page 2 2000 Microchip Technology Inc. RC1/T1OSI/CCP2 18 RA3/AN3/VREF 6 RC2/CCP1 19 5 RA2/AN2 RC3/SCK/SCL 20 4 RA1/AN1 21 RD0/PSP0 3 RA0/AN0 RD1/PSP1 22 2 MCLR/VPP 23 RD2/PSP2 1 NC RD3/PSP3 24 44 RB7 25 RC4/SDI/SDA 43 RB6 RC5/SDO 26 42 RB5 27 RC6/TX/CK 41 RB4 28 NC 40 NC PIC16C63A PIC16C73B 12 44 RC6/TX/CK NC 13 43 RC5/SDO NC 14 42 RB4 RC4/SDI/SDA 15 41 RB5 RD3/PSP3 16 40 RD2/PSP2 RB6 17 39 RD1/PSP1 RB7 18 38 RD0/PSP0 MCLR/VPP 19 37 RA0/AN0 RC3/SCK/SCL 20 36 RA1/AN1 RC2/CCP1 21 35 RA2/AN2 RC1/T1OSI/CCP2 22 34 NC RA3/AN3/VREF