PIC16F193X/16LF193X 28/40/44-Pin 8-Bit Flash Microcontroller Product Brief High-Performance RISC CPU: Peripheral Features: * Only 49 Instructions to Learn * Operating Speed: - DC - 32 MHz clock input - DC - 125 ns instruction cycle * Interrupt Capability with Automatic Context Saving * 16-Level Deep Hardware Stack with Optional Overflow/Underflow Reset * Direct, Indirect and Relative Addressing modes: - Two full 16-bit File Select Registers (FSRs) - FSRs can read program and data memory * Integrated LCD Controller: - Up to 96 segments - Variable clock input - Contrast control - Internal voltage reference selections * Up to 35 I/O Pins and 1 Input-only Pin: - High current sink/source for LED drivers - Individually programmable interrupt-onchange pins - Individually programmable weak pull-ups * Timer0: 8-Bit Timer/Counter with 8-Bit Programmable Prescaler * Enhanced Timer1: - 16-bit timer/counter with prescaler - External Gate Input mode - Dedicated low-power 32 kHz oscillator driver * Timer2, 4, 6: 8-Bit Timer/Counter with 8-Bit Period Register, Prescaler and Postscaler * Two Capture/Compare/PWM modules (CCP): - Software selectable time bases * Three Enhanced Capture, Compare, PWM modules (ECCP): - Software selectable time bases - Auto-shutdown and auto-restart - PWM steering * Master Synchronous Serial Port (SSP) with SPI and I2CTM with: - 7-bit address masking - SMBus/PMBusTM compatibility * Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART): - RS-232, RS-485 and LIN compatible - Auto-Baud Detect - Auto-wake-up on start * SR Latch (Integrated 555 Timer): - Multiple Set/Reset input options * Analog-to-Digital Converter (ADC): - 10-bit resolution - Up to 14 channels * 2 Comparators: - Rail-to-rail inputs - Power mode control - Software controllable hysteresis * Voltage Reference module: - Fixed Voltage Reference (FVR) with 1.024V, 2.048V and 4.096V output levels - 5-bit rail-to-rail resistive DAC with positive and negative reference selection * mTouchTM Sensing oscillator module - Up to 16 channels for button, sensor or slider input Special Microcontroller Features: * Precision Internal Oscillator: - Factory calibrated to 1%, typical - Software selectable frequency range from 32 MHz to 31 kHz * 31 kHz Low-Power Internal Oscillator * External Oscillator Block with: - 4 crystal/resonator modes up to 32 MHz using 4xPLL - 3 external clock modes up to 32 MHz * 4x Phase Locked Loop (PLL) * Fail-Safe Clock Monitor * Two-Speed Start-up * Power-Saving Sleep mode * Power-on Reset (POR) * Power-up Timer (PWRT) * Oscillator Start-up Timer (OST) * Brown-out Reset (BOR) with Selectable Trip Point * Extended Watch-Dog Timer (WDT) * In-Circuit Serial ProgrammingTM (ICSPTM) via two pins * In-Circuit Debug (ICD) via Two Pins * Enhanced Low-Voltage Programming (LVP) * Operating Voltage Range: - 1.8V to 3.6V (PIC16LF193X) - 1.8V to 5.5V (PIC16F193X) * Programmable Code Protection * Self-Programmable under Software Control Low-Power Features: * Standby Current (PIC16LF193X): - 100 nA @ 1.8V, typical * Operating Current (PIC16LF193X): - 150 A @ 1 MHz, 1.8V, typical * Low-Power Watchdog Timer Current (PIC16LF193X): - 1.0 A @ 1.8V, typical (c) 2008 Microchip Technology Inc. Advance Information DS41355B-page 1 PIC16F193X/16LF193X TABLE 1: PIC16F193X/16LF193X FAMILY TYPES Program Data Memory SRAM 10-bit A/D EEPROM I/Os Flash (bytes) (ch) (bytes) (words) Device PIC16F1933 PIC16LF1933 PIC16F1934 PIC16LF1934 PIC16F1936 PIC16LF1936 PIC16F1937 PIC16LF1937 PIC16F1938 PIC16LF1938 PIC16F1939 PIC16LF1939 Note 1: 4096 4096 4096 4096 8192 8192 8192 8192 16384 16384 16384 16384 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 512 512 512 512 1024 1024 1024 1024 25 25 36 36 25 25 36 36 25 25 36 36 11 11 14 14 11 11 14 14 11 11 14 14 Timers 8/16-bit EUSART 4/1 4/1 4/1 4/1 4/1 4/1 4/1 4/1 4/1 4/1 4/1 4/1 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes LCD CCP/ I2CTM segments/ and SPI ECCP commons Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 2/3 2/3 2/3 2/3 2/3 2/3 2/3 2/3 2/3 2/3 2/3 2/3 16(1)/4 16(1)/4 24/4 24/4 16(1)/4 16(1)/4 24/4 24/4 16(1)/4 16(1)/4 24/4 24/4 COM3 and SEG15 share the same physical pin on the PIC16F1933/1936/1938, therefore SEG15 is not available when using 1/4 multiplex displays. FIGURE 1: 28-PIN SPDIP, SOIC, SSOP PACKAGE DIAGRAM FOR PIC16F1933/1936/1938 AND PIC16LF1933/1936/1938 SPDIP, SOIC, SSOP 28 RB7/SEG13/ICSPDAT VCAP(1)/SS/SEG12/SRNQ/C2OUT/C12IN0-/AN0/RA0 2 27 RB6/SEG14/ICSPCLK SEG7/C12IN1-/AN1/RA1 3 26 RB5/AN13/P2B/CCP3/P3A/CPS5/T1G/COM1 25 RB4/AN11/P1D/CPS4/COM0 COM2/DACOUT/C2IN+/VREF-/AN2/RA2 4 SEG15/COM3/C1IN+/VREF+/AN3/RA3 5 SEG4/CCP5/SRNQ/C1OUT/T0CKI/CPS6/RA4 6 VCAP(1)/SEG5/SS/CPS7/SRNQ/C2OUT/AN4/RA5 7 VSS 8 SEG2/CLKIN/OSC1/RA7 9 RB3/AN9/C12IN2-/CPS3/CCP2/P2A/VLCD3 23 RB2/AN8/P1B/CPS2/VLCD2 22 RB1/AN10/C12IN3-/P1C/CPS1/VLCD1 21 RB0/AN12/CCP4/CPS0/SRI/INT/SEG0 VDD 19 VSS 18 RC7/RX/DT/P3B/SEG8 12 17 RC6/TX/CK/CCP3/P3A/SEG9 13 16 RC5/SDO/SEG10 14 15 RC4/SDI/SDA/T1G/SEG11 10 P2B/T1CKI/T1OSO/RC0 11 P2A/CCP2/T1OSI/RC1 SEG6/SCL/SCK/RC3 24 20 VCAP(1)/SEG1/CLKOUT/OSC2/RA6 SEG3/P1A/CCP1/RC2 PIC16LF1933/1936/1938 1 PIC16F1933/1936/1938 VPP/MCLR/RE3 Legend: Pin functions in bold can be assigned to one of two pin locations via software. Note 1: PIC16F193X devices only. DS41355B-page 2 Advance Information (c) 2008 Microchip Technology Inc. PIC16F193X/16LF193X FIGURE 2: 28-PIN QFN PACKAGE DIAGRAM FOR PIC16F1933/1936/1938 AND PIC16LF1933/ 1936/1938 RB4/AN11/CPS4/P1D/COM0 RB5/AN13/CPS5/T1G/P2B/CCP3/P3A/COM1 RB6/ICSPCLK/SEG14 RB7/ICSPDAT/SEG13 RA0/AN0/SS/VCAP(1)/SEG12/SRNQ/C2OUT/C12IN0RE3/MCLR/VPP 28 27 26 25 24 23 22 RA1/AN1/SEG7/C12IN1- 28-Pin QFN COM2/DACOUT/C2IN+/VREF-/AN2/RA2 SEG15/COM3/C1IN+/VREF+/AN3/RA3 SEG4/CCP5/SRNQ/C1OUT/T0CKI/CPS6/RA4 SEG5/SRNQ/C2OUT/VCAP(1)/SS/CPS7/AN4/RA5 VSS SEG2/CLKIN/OSC1/RA7 21 20 19 18 17 16 15 RB3/AN9/C12IN2-/CPS3/CCP2/P2A/VLCD3 RB2/AN8/CPS2/P1B/VLCD2 RB1/AN10/CPS1/C1IN3-/P1C/VLCD1 RB0/AN12/CPS0/INT/CCP4/SRI/SEG0 VDD VSS RC7/RX/DT/P3B/SEG8 SEG9/CCP3/P3A/CK/TX/RC6 SEG10/SDO/RC5 SEG6/SCL/SCK/RC3 SEG11/T1G/SDA/SDI/RC4 SEG3/P1A/CCP1/RC2 P2A/CCP2/T1OSI/RC1 P2B/T1CKI/T1OSO/RC0 8 9 10 11 12 13 14 SEG1/VCAP(1)/CLKOUT/OSC2/RA6 1 2 3 PIC16F1933/1936/1938 4 PIC16LF1933/1936/1938 5 6 7 Legend: Pin functions in bold can be assigned to one of two pin locations via software. Note 1: PIC16F193X devices only. (c) 2008 Microchip Technology Inc. Advance Information DS41355B-page 3 PIC16F193X/16LF193X SRNQ(1) -- -- -- 28 AN1 -- C12IN1- -- -- -- -- 1 AN2/ VREF- -- C2IN+/ DACOUT -- -- -- -- 2 AN3/ VREF+ -- C1IN+ -- -- -- -- Basic C12IN0-/ C2OUT(1) Pull-up -- Interrupt AN0 LCD 27 MSSP EUSART 5 CCP RA3 Timers 4 SR Latch 3 RA2 Comparator RA1 Cap Sense 2 A/D 28-Pin SPDIP, SOIC, SSOP RA0 28-PIN ALLOCATION TABLE (PIC16F193X) 28-Pin QFN I/O TABLE 2: SS(1) SEG12 -- -- VCAP -- SEG7 -- -- -- -- COM2 -- -- -- -- SEG15/ COM3 -- -- -- RA4 6 3 -- CPS6 C1OUT SRNQ T0CKI CCP5 -- -- SEG4 -- -- -- RA5 7 4 AN4 CPS7 C2OUT(1) SRNQ(1) -- -- -- SS(1) SEG5 -- -- VCAP RA6 10 7 -- -- -- -- -- -- -- -- SEG1 -- -- OSC2/ CLKOUT VCAP RA7 9 6 -- -- -- -- -- -- -- -- SEG2 -- -- OSC1/ CLKIN RB0 21 18 AN12 CPS0 -- SRI -- CCP4 -- -- SEG0 INT/ IOC Y -- RB1 22 19 AN10 CPS1 C12IN3- -- -- P1C -- -- VLCD1 IOC Y -- RB2 23 20 AN8 CPS2 -- -- -- P1B -- -- VLCD2 IOC Y -- RB3 24 21 AN9 CPS3 C12IN2- -- -- CCP2(1)/ P2A(1) -- -- VLCD3 IOC Y -- RB4 25 22 AN11 CPS4 -- -- -- P1D -- -- COM0 IOC Y -- RB5 26 23 AN13 CPS5 -- -- T1G(1) P2B(1) CCP3(1)/ P3A(1) -- -- COM1 IOC Y -- RB6 27 24 -- -- -- -- -- -- -- -- SEG14 IOC Y ICSPCLK RB7 28 25 -- -- -- -- -- -- -- -- SEG13 IOC Y ICSPDAT RC0 11 8 -- -- -- -- T1OSO/ T1CKI P2B(1) -- -- -- -- -- -- RC1 12 9 -- -- -- -- T1OSI CCP2(1)/ P2A(1) -- -- -- -- -- -- RC2 13 10 -- -- -- -- -- CCP1/ P1A -- -- SEG3 -- -- -- RC3 14 11 -- -- -- -- -- -- -- SCK/SCL SEG6 -- -- -- RC4 15 12 -- -- -- -- T1G(1) -- -- SDI/SDA SEG11 -- -- -- RC5 16 13 -- -- -- -- -- -- -- SDO SEG10 -- -- -- RC6 17 14 -- -- -- -- -- CCP3(1) P3A(1) TX/CK -- SEG9 -- -- -- RC7 18 15 -- -- -- -- -- P3B RX/DT -- SEG8 -- -- -- RE3 1 -- -- -- -- -- -- -- -- -- -- Y MCLR/VPP VDD 20 17 -- -- -- -- -- -- -- -- -- -- -- VDD Vss 8, 5, 19 16 -- -- -- -- -- -- -- -- -- -- -- VSS Note 1: 26 Pin functions can be assigned to one of two pin locations via software. DS41355B-page 4 Advance Information (c) 2008 Microchip Technology Inc. PIC16F193X/16LF193X FIGURE 3: 40-PIN PDIP PACKAGE DIAGRAM FOR PIC16F1934/1937/1939 AND PIC16LF1934/1937/ 1939 40-Pin PDIP 40 RB7/SEG13/ICSPDAT VCAP /SS/SEG12/SRNQ/C2OUT/C12IN0-/AN0/RA0 2 39 RB6/SEG14/ICSPCLK SEG7/C12IN1-/AN1/RA1 3 38 RB5/AN13/CPS5/CCP3/P3A/T1G/COM1 COM2/DACOUT/C2IN+/VREF-/AN2/RA2 4 37 RB4/AN11/CPS4/COM0 SEG15/C1IN+/VREF+/AN3/RA3 5 36 RB3/AN9/C12IN2-/CPS3/CCP2/P2A/VLCD3 SEG4/SRNQ/C1OUT/T0CKI/CPS6/RA4 6 35 RB2/AN8/CPS2/VLCD2 VCAP(1)/SEG5/SS/CPS7/SRNQ/C2OUT/AN4/RA5 7 SEG21/CCP3/P3A/AN5/RE0 8 SEG22/P3B/AN6/RE1 9 PIC16F1934/1937/1939 1 PIC16LF1934/1937/1939 VPP/MCLR/RE3 (1) 34 RB1/AN10/C12IN3-/CPS1/VLCD1 33 RB0/AN12/CPS0/INT/SRI/SEG0 32 VDD 31 VSS 30 RD7/CPS15/P1D/SEG20 29 RD6/CPS14/P1C/SEG19 28 RD5/CPS13/P1B/SEG18 27 RD4/CPS12/P2D/SEG17 15 26 RC7/RX/DT/SEG8 16 25 RC6/TX/CK/SEG9 SEG3/P1A/CCP1/RC2 17 RC5/SDO/SEG10 SEG6/SCL/SCK/RC3 18 24 23 COM3/CPS8/RD0 19 22 RD3/CPS11/P2C/SEG16 20 21 RD2/CPS10/P2B SEG23/CCP5/AN7/RE2 10 VDD 11 VSS 12 SEG2/CLKIN/OSC1/RA7 13 SEG1/VCAP(1)/CLKOUT/OSC2/RA6 14 P2B/T1CKI/T1OSO/RC0 P2A/CCP2/T1OSI/RC1 CCP4/CPS9/RD1 RC4/SDI/SDA/T1G/SEG11 Legend: Pin functions in bold can be assigned to one of two pin locations via software. Note 1: PIC16F193X devices only. (c) 2008 Microchip Technology Inc. Advance Information DS41355B-page 5 PIC16F193X/16LF193X FIGURE 4: 44-PIN QFN PACKAGE DIAGRAM FOR PIC16F1934/1937/1939 AND PIC16LF1934/ 1937/1939 33 32 31 30 29 28 27 26 25 24 23 12 13 14 15 16 17 18 19 20 21 22 1 2 3 4 5 PIC16F1934/1937/1939 6 PIC16LF1934/1937/1939 7 8 9 10 11 RA6/OSC2/CLKOUT/VCAP(1)/SEG1 RA7/OSC1/CLKIN/SEG2 VSS VSS NC VDD RE2/AN7/CCP5/SEG23 RE1/AN6/P3B/SEG22 RE0/AN5/CCP3/P3A/SEG21 RA5/AN4/CPS7/SS/VCAP(1)/SRNQ/C2OUT/SEG5 RA4/CPS6/T0CKI/C1OUT/SRNQ/SEG4 VLCD3/P2A/C12IN2-/CCP2/CPS3/AN9/RB3 NC COM0/CPS4/AN11/RB4 COM1/T1G/CCP3/P3A/CPS5/AN13/RB5 SEG14/ICSPCLK/RB6 SEG13/ICSPDAT/RB7 VPP/MCLR/RE3 SEG12/SRNQ/C2OUT/C12IN0-/VCAP(1)/SS/AN0/RA0 SEG7/C12IN1-/AN1/RA1 COM2/DACOUT/C2IN+/VREF-/AN2/RA2 SEG15/C1IN+//VREF+/AN3/RA3 SEG8/DT/RX/RC7 SEG17/P2D/CPS12/RD4 SEG18/P1B/CPS13/RD5 SEG19/P1C/CPS14/RD6 SEG20/P1D/CPS15/RD7 VSS VDD VDD SEG0/SRI/INT/CPS0/AN12/RB0 VLCD1/C12IN3-/CPS1/AN10/RB1 VLCD2/CPS2/AN8/RB2 44 43 42 41 40 39 38 37 36 35 34 RC6/TX/CK/SEG9 RC5/SDO/SEG10 RC4/SDI/SDA/T1G/SEG11 RD3/CPS11/P2C/SEG16 RD2/CPS10/P2B RD1/CPS9/CCP4 RD0/CPS8/COM3 RC3/SCK/SCL/SEG6 RC2/CCP1/P1A/SEG3 RC1/T1OSI/CCP2/P2A RC0/T1OSO/T1CKI/P2B QFN Legend: Pin functions in bold can be assigned to one of two pin locations via software. Note 1: PIC16F193X devices only. DS41355B-page 6 Advance Information (c) 2008 Microchip Technology Inc. PIC16F193X/16LF193X FIGURE 5: 44-PIN TQFP PACKAGE DIAGRAM FOR PIC16F1934/1937/1939 AND PIC16LF1934/ 1937/1939 44 43 42 41 40 39 38 37 36 35 34 RC6/TX/CK/SEG9 RC5/SDO/SEG10 RC4/SDI/SDA/T1G/SEG11 RD3/CPS11/P2C/SEG16 RD2/CPS10/P2B RD1/CPS9/CCP4 RD0/CPS8/COM3 RC3/SCK/SCL/SEG6 RC2/CCP1/P1A/SEG3 RC1/T1OSI/CCP2/P2A NC 44-PiN TQFP 33 32 31 30 29 28 27 26 25 24 23 NC RC0/T1OSO/T1CKI/P2B RA6/OSC2/CLKOUT/VCAP(1)/SEG1 RA7/OSC1/CLKIN/SEG2 VSS VDD RE2/AN7/CCP5/SEG23 RE1/AN6/P3B/SEG22 RE0/AN5/CCP3/P3A/SEG21 RA5/AN4/CPS7/SS/VCAP(1)/SRNQ/C2OUT/SEG5 RA4/CPS6/T0CKI/C1OUT/SRNQ/SEG4 COM1/T1G/CCP3/P3A/CPS5/AN13/RB5 SEG14/ICSPCLK/RB6 SEG13/ICSPDAT/RB7 VPP/MCLR/RE3 SEG12/SRNQ/C2OUT/C12IN0-/VCAP(1)/SS/AN0/RA0 SEG7/C12IN1-/AN1/RA1 COM2/DACOUT/C2IN+/VREF-/AN2/RA2 SEG15/C1IN+/VREF+/AN3/RA3 COM0/CPS4/AN11/RB4 NC NC SEG0/SRI/INT/CPS0/AN12/RB0 VLCD1/C12IN3-/CPS1/AN10/RB1 VLCD2/CPS2/AN8/RB2 VLCD3/P2A/C12IN2-/CCP2/CPS3/AN9/RB3 1 2 3 4 PIC16F1934/1937/1939 5 6 PIC16LF1934/1937/1939 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 SEG8/DT/RX/RC7 SEG17/P2D/CPS12/RD4 SEG18/P1B/CPS13/RD5 SEG19/P1C/CPS14/RD6 SEG20/P1D/CPS15/RD7 VSS VDD Legend: Pin functions in bold can be assigned to one of two pin locations via software. Note 1: PIC16F193X devices only. (c) 2008 Microchip Technology Inc. Advance Information DS41355B-page 7 PIC16F193X/16LF193X SRNQ(1) -- -- -- 20 AN1 -- C12IN1- -- -- -- -- 21 AN2/ VREF- -- C2IN+/ DACOUT -- -- -- -- 22 AN3/ VREF+ -- C1IN+ -- -- -- -- Basic C12IN0-/ C2OUT(1) Pull-up -- Interrupt 22 AN0 LCD 5 19 MSSP RA3 EUSART 21 CCP 20 4 Timers 3 RA2 SR Latch RA1 Comparator 19 Cap Sense 2 A/D 44-Pin TQFP RA0 44-Pin QFN 40-Pin PDIP 40/44-PIN ALLOCATION TABLE (PIC16F1934/1937/1939) I/O TABLE 3: SS(1) SEG12 -- -- VCAP -- SEG7 -- -- -- -- COM2 -- -- -- -- SEG15/ COM3 -- -- -- RA4 6 23 23 -- CPS6 C1OUT SRNQ T0CKI -- -- SEG4 -- -- -- RA5 7 24 24 AN4 CPS7 C2OUT(1) SRNQ(1) -- -- -- SS(1) SEG5 -- -- VCAP RA6 14 31 33 -- -- -- -- -- -- -- -- SEG1 -- -- OSC2/ CLKOUT VCAP RA7 13 30 32 -- -- -- -- -- -- -- -- SEG2 -- -- OSC1/ CLKIN RB0 33 8 9 AN12 CPS0 -- SRI -- -- -- -- SEG0 INT/ IOC Y -- RB1 34 9 10 AN10 CPS1 C12IN3- -- -- -- -- -- VLCD1 IOC Y -- RB2 35 10 11 AN8 CPS2 -- -- -- -- -- -- VLCD2 IOC Y -- RB3 36 11 12 AN9 CPS3 C12IN2- -- -- CCP2(1)/ P2A(1) -- -- VLCD3 IOC Y -- RB4 37 14 14 AN11 CPS4 -- -- -- -- -- -- COM0 IOC Y -- RB5 38 15 15 AN13 CPS5 -- -- T1G(1) CCP3(1)/ P3A(1) -- -- COM1 IOC Y -- RB6 39 16 16 -- -- -- -- -- -- -- -- SEG14 IOC Y ICSPCLK RB7 40 17 17 -- -- -- -- -- -- -- -- SEG13 IOC Y ICSPDAT RC0 15 32 34 -- -- -- -- T1OSO/ T1CKI P2B(1) -- -- -- -- -- -- RC1 16 35 35 -- -- -- -- T1OSI CCP2(1)/ P2A(1) -- -- -- -- -- -- RC2 17 36 36 -- -- -- -- -- CCP1/ P1A -- -- SEG3 -- -- -- RC3 18 37 37 -- -- -- -- -- -- -- SCK/SCL SEG6 -- -- -- RC4 23 42 42 -- -- -- -- T1G(1) -- -- SDI/SDA SEG11 -- -- -- RC5 24 43 43 -- -- -- -- -- -- -- SDO SEG10 -- -- -- RC6 25 44 44 -- -- -- -- -- -- TX/CK -- SEG9 -- -- -- RC7 26 1 1 -- -- -- -- -- -- RX/DT -- SEG8 -- -- -- RD0 19 38 38 -- CPS8 -- -- -- -- -- -- COM3 -- -- -- RD1 20 39 39 -- CPS9 -- -- -- CCP4 -- -- -- -- -- -- RD2 21 40 40 -- CPS10 -- -- -- P2B(1) -- -- -- -- -- -- RD3 22 41 41 -- CPS11 -- -- -- P2C -- -- SEG16 -- -- -- RD4 27 2 2 -- CPS12 -- -- -- P2D -- -- SEG17 -- -- -- RD5 28 3 3 -- CPS13 -- -- -- P1B -- -- SEG18 -- -- -- RD6 29 4 4 -- CPS14 -- -- -- P1C -- -- SEG19 -- -- -- RD7 30 5 5 -- CPS15 -- -- -- P1D -- -- SEG20 -- -- -- RE0 8 25 25 AN5 -- -- -- -- CCP3(1) P3A(1) -- -- SEG21 -- -- -- RE1 9 26 26 AN6 -- -- -- -- P3B -- -- SEG22 -- -- -- RE2 10 27 27 AN7 -- -- -- -- CCP5 -- -- SEG23 -- -- -- RE3 1 18 18 -- -- -- -- -- -- -- -- -- -- Y MCLR/ VPP VDD 11, 32 7, 28 7,8, 28 -- -- -- -- -- -- -- -- -- -- -- VDD Vss 12, 6, 31 29 6,30 ,31 -- -- -- -- -- -- -- -- -- -- -- VSS Note 1: Pin functions can be assigned to one of two pin locations via software. DS41355B-page 8 Advance Information (c) 2008 Microchip Technology Inc. Note the following details of the code protection feature on Microchip devices: * Microchip products meet the specification contained in their particular Microchip Data Sheet. * Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. * There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. * Microchip is willing to work with the customer who is concerned about the integrity of their code. * Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as "unbreakable." Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip's code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights. Trademarks The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, rfPIC, SmartShunt and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, PICDEM.net, PICtail, PIC32 logo, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. (c) 2008, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company's quality system processes and procedures are for its PIC(R) MCUs and dsPIC(R) DSCs, KEELOQ(R) code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip's quality system for the design and manufacture of development systems is ISO 9001:2000 certified. (c) 2008 Microchip Technology Inc. Advance Information DS41355B-page 9 WORLDWIDE SALES AND SERVICE AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Web Address: www.microchip.com Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 India - Bangalore Tel: 91-80-4182-8400 Fax: 91-80-4182-8422 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 India - Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Japan - Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260 Kokomo Kokomo, IN Tel: 765-864-8360 Fax: 765-864-8387 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Santa Clara Santa Clara, CA Tel: 408-961-6444 Fax: 408-961-6445 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China - Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 China - Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 Taiwan - Hsin Chu Tel: 886-3-572-9526 Fax: 886-3-572-6459 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 UK - Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049 01/02/08 DS41355B-page 10 Advance Information (c) 2008 Microchip Technology Inc.