PIC16C9XX 8-Bit CMOS Microcontroller with LCD Driver Devices included in this data sheet: Available in Die Form PIC16C923 PIC16C924 Microcontroller Core Features: High performance RISC CPU Only 35 single word instructions to learn 4K x 14 on-chip EPROM program memory 176 x 8 general purpose registers (SRAM) All single cycle instructions (500 ns) except for program branches which are two-cycle Operating speed: DC - 8 MHz clock input DC - 500 ns instruction cycle Interrupt capability Eight level deep hardware stack Direct, indirect and relative addressing modes Peripheral Features: 25 I/O pins with individual direction control 25-27 input only pins Timer0: 8-bit timer/counter with 8-bit prescaler Synchronous Serial Port (SSP) with SPI 2 and I C Timer1: 16-bit timer/counter, can be incremented during sleep via external crystal/clock 8-bit multi-channel Analog to Digital converter (PIC16C924 only) Timer2: 8-bit timer/counter with 8-bit period regis- ter, prescaler and postscaler Special Microcontroller Features: One pin that can be congured a capture input, Power-on Reset (POR) PWM output, or compare output Power-up Timer (PWRT) and Oscillator Start-up - Capture is 16-bit, max. resolution 31.25 ns Timer (OST) - Compare is 16-bit, max. resolution 500 ns Watchdog Timer (WDT) with its own on-chip RC - PWM max resolution is 10-bits. oscillator for reliable operation Maximum PWM frequency 8-bit resolution Programmable code-protection = 32 kHz, 10-bit resolution = 8 kHz Power saving SLEEP mode Programmable LCD timing module Selectable oscillator options - Multiple LCD timing sources available In-Circuit Serial Programming (via two pins) - Can drive LCD panel while in Sleep mode - Static, 1/2, 1/3, 1/4 multiplex CMOS Technology - Static drive and 1/3 bias capability Low-power, high-speed CMOS EPROM - 16 bytes of dedicated LCD RAM technology - Up to 32 segments, up to 4 commons Fully static design Common Segment Pixels Wide operating voltage range: 2.5V to 6.0V 132 32 Commercial and Industrial temperature ranges 231 62 Low-power consumption: 330 90 - < 2 mA 5.5V, 4 MHz 4 29 116 - 22.5 m A typical 4V, 32 kHz - < 1 m A typical standby current 3.0V 2 ICSP is a trademark of Microchip Technology Inc. I C is a trademark of Philips Corporation. SPI is a trademark of Motorola Corporation. 1997 Microchip Technology Inc. DS30444E - page 1PIC16C923 PIC16C9XX Pin Diagrams PLCC 10 RD5/SEG29/COM3 RA4/T0CKI 60 11 59 RG6/SEG26 RA5/SS 12 RG5/SEG25 RB1 58 13 57 RG4/SEG24 RB0/INT RC3/SCK/SCL 14 56 RG3/SEG23 15 RG2/SEG22 RC4/SDI/SDA 55 16 54 RG1/SEG21 RC5/SDO C1 17 53 RG0/SEG20 PIC16C923 C2 18 52 RG7/SEG28 19 RF7/SEG19 VLCD2 51 VLCD3 20 50 RF6/SEG18 VDD 21 49 RF5/SEG17 RF4/SEG16 VDD 22 48 VSS 23 RF3/SEG15 47 OSC1/CLKIN 24 46 RF2/SEG14 RF1/SEG13 OSC2/CLKOUT 25 45 RC0/T1OSO/T1CKI 26 44 RF0/SEG12 Shrink PDIP (750 mil) MCLR/VPP 1 64 RB4 RB3 2 63 RB5 RB2 3 62 RB7 RA0 4 61 RB6 RA1 VDD 5 60 VSS 6 59 COM0 RA2 7 58 RD7/SEG31/COM1 RA3 8 57 RD6/SEG30/COM2 RA4/T0CKI 9 56 RD5/SEG29/COM3 RA5/SS 10 55 RG6/SEG26 RB1 11 54 RG5/SEG25 RB0/INT 12 53 RG4/SEG24 13 52 RG3/SEG23 RC3/SCK/SCL RG2/SEG22 RC4/SDI/SDA 14 51 RG1/SEG21 RC5/SDO 15 50 C1 16 49 RG0/SEG20 C2 RF7/SEG19 17 48 VLCD2 18 47 RF6/SEG18 RF5/SEG17 VLCD3 19 46 20 45 RF4/SEG16 VDD VSS 21 44 RF3/SEG15 43 OSC1/CLKIN 22 RF2/SEG14 OSC2/CLKOUT 23 42 RF1/SEG13 41 RF0/SEG12 RC0/T1OSO/T1CKI 24 RC1/T1OSI 25 40 RE6/SEG11 RC2/CCP1 39 26 RE5/SEG10 VLCD1 38 RE4/SEG09 27 37 VLCDADJ 28 RE3/SEG08 TQFP RD0/SEG00 36 RE2/SEG07 29 35 RD1/SEG01 30 RE1/SEG06 34 RE0/SEG05 RD2/SEG02 31 RD3/SEG03 32 33 RD4/SEG04 1 RD5/SEG29/COM3 RA4/T0CKI 48 RA5/SS 2 47 RG6/SEG26 3 46 RG5/SEG25 RB1 RB0/INT 4 45 RG4/SEG24 5 44 RG3/SEG23 RC3/SCK/SCL RC4/SDI/SDA 6 43 RG2/SEG22 7 42 RG1/SEG21 RC5/SDO 8 C1 41 RG0/SEG20 PIC16C923 C2 9 40 RF7/SEG19 VLCD2 10 RF6/SEG18 39 VLCD3 11 38 RF5/SEG17 12 RF4/SEG16 VDD 37 VSS 13 36 RF3/SEG15 14 35 RF2/SEG14 OSC1/CLKIN OSC2/CLKOUT 15 34 RF1/SEG13 16 33 RF0/SEG12 RC0/T1OSO/T1CKI LEGEND: Input Pin Output Pin Input/Output Pin Digital Input/LCD Output Pin LCD Output Pin DS30444E - page 2 1997 Microchip Technology Inc. 64 RA3 RC1/T1OSI 17 RC2/CCP1 18 63 RA2 9 RC1/T1OSI 27 RA3 VLCD1 19 62 VSS 28 8 RA2 RC2/CCP1 VLCDADJ 20 61 RA1 VLCD1 29 7 VSS RD0/SEG00 60 RA0 21 6 VLCDADJ 30 RA1 RB2 RD1/SEG01 22 59 5 RA0 RD0/SEG00 31 RB3 RD2/SEG02 23 58 RD1/SEG01 32 4 RB2 RD3/SEG03 24 57 MCLR/VPP RD2/SEG02 33 3 RB3 RD4/SEG04 25 56 RB4 34 RD3/SEG03 2 MCLR/VPP 55 RB5 35 1 N/C RE0/SEG05 26 RD4/SEG04 RB7 RE7/SEG27 36 68 RB4 RE1/SEG06 27 54 RB5 RB6 RE0/SEG05 37 67 RE2/SEG07 28 53 38 66 RB7 VDD RE1/SEG06 RE3/SEG08 29 52 RE2/SEG07 39 65 RB6 RE4/SEG09 30 51 COM0 VDD RE3/SEG08 40 64 31 50 RD7/SEG31/COM1 RE5/SEG10 COM0 RE4/SEG09 41 63 49 RD6/SEG30/COM2 RE6/SEG11 32 42 RD7/SEG31/COM1 RE5/SEG10 62 RE6/SEG11 43 61 RD6/SEG30/COM2