PIC16C745/765 8-Bit CMOS Microcontrollers with USB Devices included in this data sheet: Pin Diagrams PIC16C745 PIC16C765 28-Pin DIP, SOIC Microcontroller Core Features: 1 28 RB7 MCLR/VPP RB6 RA0/AN0 2 27 High-performance RISC CPU RB5 RA1/AN1 3 26 RB4 Only 35 single word instructions RA2/AN2 4 25 RB3 RA3/AN3/VREF 5 24 RB2 Memory RA4/T0CKI 6 23 RB1 A/D A/D RA5/AN4 7 22 Device Pins RB0/INT Vss 8 21 Program Data Resolution Channels VDD OSC1/CLKIN 9 20 x14 x8 Vss OSC2/CLKOUT 10 19 RC7/RX/DT RC0/T1OSO/T1CKI 11 18 PIC16C745 8K 256 28 8 5 RC6/TX/CK RC1/T1OSI/CCP2 12 17 PIC16C765 8K 256 40 8 8 13 16 D+ RC2/CCP1 14 15 D- VUSB All single cycle instructions except for program branches which are two cycle Interrupt capability (up to 12 internal/external Peripheral Features: interrupt sources) Universal Serial Bus (USB 1.1) Eight level deep hardware stack - Soft attach/detach Direct, indirect and relative addressing modes 64 bytes of USB dual port RAM Power-on Reset (POR) 22 (PIC16C745) or 33 (PIC16C765) I/O pins Power-up Timer (PWRT) and Oscillator Start-up - Individual direction control Timer (OST) - 1 high voltage open drain (RA4) Watchdog Timer (WDT) with its own on-chip RC - 8 PORTB pins with: oscillator for reliable operation - Interrupt-on-change control (RB<7:4> only) Brown-out detection circuitry for - Weak pull-up control Brown-out Reset (BOR) - 3 pins dedicated to USB Programmable code-protection Timer0: 8-bit timer/counter with 8-bit prescaler Power saving SLEEP mode Timer1: 16-bit timer/counter with prescaler Selectable oscillator options can be incremented during SLEEP via external - EC - External clock (24 MHz) crystal/clock - E4 - External clock with PLL (6 MHz) Timer2: 8-bit timer/counter with 8-bit period - HS - Crystal/Resonator (24 MHz) register, prescaler and postscaler - H4 - Crystal/Resonator with PLL (6 MHz) 2 Capture, Compare and PWM modules Processor clock of 24 MHz derived from 6 MHz - Capture is 16-bit, max. resolution is 10.4 ns crystal or resonator - Compare is 16-bit, max. resolution is 167 ns Fully static low-power, high-speed CMOS - PWM maximum resolution is 10-bit In-Circuit Serial Programming (ICSP) 8-bit multi-channel Analog-to-Digital converter Operating voltage range Universal Synchronous Asynchronous Receiver - 4.35 to 5.25V Transmitter (USART/SCI) High Sink/Source Current 25/25 mA Parallel Slave Port (PSP) 8-bits wide, with exter- Wide temperature range nal RD, WR and CS controls (PIC16C765 only) - Industrial (-40 C - 85 C) Low-power consumption: - ~ 16 mA 5V, 24 MHz - 100 A typical standby current 1999-2013 Microchip Technology Inc. Preliminary DS41124D-page 1 PIC16C745PIC16C745/765 44-Pin PLCC 44-Pin TQFP RA4/T0CKI 7 39 RB3 RA5/AN4 8 38 RB2 RC7/RX/DT 1 33 NC RE0/RD/AN5 9 37 RB1 RD4/PSP4 2 32 RE1/WR/AN6 10 36 RB0/INT RC0/T1OSO/T1CKI RD5/PSP5 3 31 RE2/CS/AN7 11 35 VDD OSC2/CLKOUT 4 RD6/PSP6 30 VSS VDD 12 34 OSC1/CLKIN PIC16C765 RD7/PSP7 5 29 RD7/PSP7 VSS 13 33 VSS 6 VSS 28 RD6/PSP6 PIC16C765 OSC1/CLKIN 14 32 VDD VDD 7 27 RD5/PSP5 RE2/CS/AN7 OSC2/CLKOUT 15 31 RB0/INT 8 26 RC0/T1OSO/T1CKI 16 30 RD4/PSP4 RE1/WR/AN6 RB1 9 25 NC 17 29 RC7/RX/DT RE0/RD/AN5 10 RB2 24 RA5/AN4 11 RB3 23 RA4/T0CKI 40-Pin DIP MCLR/VPP 1 40 RB7 RA0/AN0 2 39 RB6 RA1/AN1 3 38 RB5 RA2/AN2 4 37 RB4 RA3/AN3/VREF 5 36 RB3 RA4/T0CKI RB2 6 35 RA5/AN4 7 34 RB1 RE0/RD/AN5 8 33 RB0/INT RE1/WR/AN6 VDD 9 32 RE2/CS/AN7 10 31 VSS VDD 11 30 RD7/PSP7 VSS 12 29 RD6/PSP6 OSC1/CLKIN 28 RD5/PSP5 13 OSC2/CLKOUT 14 27 RD4/PSP4 RC0/T1OSO/T1CKI RC7/RX/DT 15 26 RC1/T1OSI/CCP2 RC6/TX/CK 16 25 RC2/CCP1 D+ 17 24 VUSB 18 23 D- RD0/PSP0 19 22 RD3/PSP3 RD1/PSP1 20 21 RD2/PSP2 Key Features TM PIC16C745 PIC16C765 PICmicro Mid-Range Reference Manual (DS33023) Operating Frequency 6 MHz or 24 MHz 6 MHz or 24 MHz Resets (and Delays) POR, BOR (PWRT, OST) POR, BOR (PWRT, OST) Program Memory (14-bit words) 8K 8K Data Memory (bytes) 256 256 Dual Port Ram 64 64 Interrupt Sources 11 12 I/O Ports 22 (Ports A, B, C) 33 (Ports A, B, C, D, E) Timers 3 3 Capture/Compare/PWM modules 2 2 Analog-to-Digital Converter Module 5 channel x 8 bit 8 channel x 8 bit Parallel Slave Port Yes Serial Communication USB, USART/SCI USB, USART/SCI Brown-out Detect Reset Yes Yes DS41124D-page 2 Preliminary 1999-2013 Microchip Technology Inc. RA3/AN3/VREF RC1/T1OSI/CCP2 18 6 RA2/AN2 RC2/CCP1 19 5 RA1/AN1 VUSB 20 4 RA0/AN0 RD0/PSP0 3 21 MCLR/VPP RD1/PSP1 22 2 PIC16C765 RD2/PSP2 1 NC 23 RD3/PSP3 44 RB7 24 D- 43 RB6 25 D+ 42 RB5 26 RC6/TX/CK 41 RB4 27 NC 40 NC 28 RC6/TX/CK NC 12 44 D+ NC 13 43 D- RB4 14 42 RD3/PSP3 RB5 15 41 RD2/PSP2 RB6 16 40 RD1/PSP1 RB7 17 39 RD0/PSP0 MCLR/VPP 18 38 VUSB RA0/AN0 19 37 RC2/CCP1 RA1/AN1 20 36 RC1/T1OSI/CCP2 RA2/AN2 21 35 NC 22 RA3/AN3/VREF 34