PIC16C770/771 PIC16C717/770/771 18/20-Pin, 8-Bit CMOS Microcontrollers with 10/12-Bit A/D Microcontroller Core Features: Pin Diagram High-performance RISC CPU 20-Pin PDIP, SOIC, SSOP Only 35 single word instructions to learn 20 RA0/AN0 1 RB3/CCP1/P1A All single cycle instructions except for program RA1/AN1/LVDIN 2 19 RB2/SCK/SCL branches which are two cycle 18 RA4/T0CKI 3 RA7/OSC1/CLKIN Operating speed: DC - 20 MHz clock input RA5/MCLR/VPP 4 17 RA6/OSC2/CLKOUT DC - 200 ns instruction cycle VDD VSS 5 16 Memory AVDD AVSS 6 15 A/D A/D Device Pins 14 RB7/T1OSI/P1D Program Data RA2/AN2/VREF-/VRL 7 Resolution Channels x14 x8 8 13 RB6/T1OSO/T1CKI/P1C RA3/AN3/VREF+/VRH 9 12 RB5/SDO/P1B RB0/AN4/INT PIC16C717 2K 256 18, 20 10 bits 6 11 10 RB4/SDI/SDA RB1/AN5/SS PIC16C770 2K 256 20 12 bits 6 PIC16C771 4K 256 20 12 bits 6 Peripheral Features: Interrupt capability (up to 10 internal/external Timer0: 8-bit timer/counter with 8-bit prescaler interrupt sources) Timer1: 16-bit timer/counter with prescaler, Eight level deep hardware stack can be incremented during SLEEP via external Direct, indirect and relative addressing modes crystal/clock Power-on Reset (POR) Timer2: 8-bit timer/counter with 8-bit period Power-up Timer (PWRT) and register, prescaler and postscaler Oscillator Start-up Timer (OST) Enhanced Capture, Compare, PWM (ECCP) Watchdog Timer (WDT) with its own on-chip RC module oscillator for reliable operation - Capture is 16-bit, max. resolution is 12.5 ns Selectable oscillator options: - Compare is 16-bit, max. resolution is 200 ns - INTRC - Internal RC, dual speed (4 MHz and - PWM max. resolution is 10-bit 37 kHz nominal) dynamically switchable for - Enhanced PWM: power savings - Single, Half-Bridge and Full-Bridge Output - ER - External resistor, dual speed (user modes selectable frequency and 37 kHz nominal) - Digitally programmable deadband delay dynamically switchable for power savings Analog-to-Digital converter: - EC - External clock - PIC16C770/771 12-bit resolution - HS - High speed crystal/resonator - PIC16C717 10-bit resolution - XT - Crystal/resonator On-chip absolute bandgap voltage reference - LP - Low power crystal generator Low power, high speed CMOS EPROM Programmable Brown-out Reset (PBOR) technology circuitry In-Circuit Serial Programming (ICSP Programmable Low-Voltage Detection (PLVD) Wide operating voltage range: 2.5V to 5.5V circuitry 15 I/O pins with individual control for: Master Synchronous Serial Port (MSSP) with two - Direction (15 pins) modes of operation: - Digital/Analog input (6 pins) - 3-wire SPI (supports all 4 SPI modes) - PORTB interrupt on change (8 pins) 2 -I C compatible including Master mode - PORTB weak pull-up (8 pins) support - High voltage open drain (1 pin) Program Memory Read (PMR) capability for look- Commercial and Industrial temperature ranges up table, character string storage and checksum Low power consumption: calculation purposes - < 2 mA 4V, 4 MHz -11 A typical 2.5V, 37 kHz -< 1 A typical standby current 1999-2013 Microchip Technology Inc. DS41120C-page 1PIC16C717 PIC16C717 PIC16C717/770/771 Pin Diagrams 18-Pin PDIP, SOIC 20-Pin SSOP RA0/AN0 1 20 RB3/CCP1/P1A RA0/AN0 1 18 RB3/CCP1/P1A RA1/AN1/LVDIN 19 RB2/SCK/SCL 2 RA1/AN1/LVDIN 2 17 RB2/SCK/SCL RA4/T0CKI 3 18 RA7/OSC1/CLKIN 16 RA4/T0CKI 3 RA7/OSC1/CLKIN RA5/MCLR/VPP 17 4 RA6/OSC2/CLKOUT RA5/MCLR/VPP 4 15 RA6/OSC2/CLKOUT (1) (2) VSS 16 VDD 5 VSS VDD 5 14 (1) (2) VSS 6 15 VDD RA2/AN2/VREF-/VRL 13 RB7/T1OSI/P1D 6 RA2/AN2/VREF-/VRL RB7/T1OSI/P1D 7 14 RA3/AN3/VREF+/VRH 7 12 RB6/T1OSO/T1CKI/P1C RA3/AN3/VREF+/VRH 8 13 RB6/T1OSO/T1CKI/P1C 11 RB0/AN4/INT 8 RB5/SDO/P1B RB0/AN4/INT 9 12 RB5/SDO/P1B RB1/AN5/SS 10 RB4/SDI/SDA 9 RB1/AN5/SS 10 11 RB4/SDI/SDA Note 1: VSS pins 5 and 6 must be tied together. 2: VDD pins 15 and 16 must be tied together. Key Features TM PICmicro Mid-Range MCU Family PIC16C717 PIC16C770 PIC16C771 Reference Manual, (DS33023) Operating Frequency DC - 20 MHz DC - 20 MHz DC - 20 MHz RESETS (and Delays) POR, BOR, MCLR, POR, BOR, MCLR, POR, BOR, MCLR, WDT (PWRT, OST) WDT (PWRT, OST) WDT (PWRT, OST) Program Memory (14-bit words) 2K 2K 4K Data Memory (bytes) 256 256 256 Interrupts 10 10 10 I/O Ports Ports A,B Ports A,B Ports A,B Timers 333 Enhanced Capture/Compare/PWM (ECCP) 111 modules Serial Communications MSSP MSSP MSSP 12-bit Analog-to-Digital Module 6 input channels 6 input channels 10-bit Analog-to-Digital Module 6 input channels Instruction Set 35 Instructions 35 Instructions 35 Instructions DS41120C-page 2 1999-2013 Microchip Technology Inc.