PIC18F23K20/24K20/25K20/26K20 43K20/44K20/45K20/46K20 Data Sheet Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology © 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.
PIC18F2XK20/4XK20 28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology Power-Managed Modes: Flexible Oscillator Structure: • • • • • • • • • Four Crystal modes, up to 64 MHz • 4X Phase Lock Loop (available for crystal and internal oscillators) • Two External RC modes, up to 4 MHz • Two External Clock modes, up to 64 MHz • Internal Oscillator Block: - 8 user selectable frequencies, from 31 kHz to 16 MHz - Provides a complete range of clock speeds from 31 kHz to 64 MHz when used with
PIC18F2XK20/4XK20 Program Memory Device Data Memory (1) Flash # Single-Word SRAM EEPROM I/O (bytes) Instructions (bytes) (bytes) 10-bit A/D (ch)(2) CCP/ ECCP (PWM) MSSP SPI Master I2C™ EUSART - Comp.
PIC18F2XK20/4XK20 Pin Diagrams 28-pin PDIP, SOIC, SSOP 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 RA1/AN1/C12IN1RA0/AN0/C12IN0- MCLR/VPP/RE3 RA0/AN0/C12IN0RA1/AN1/C12IN1RA2/AN2/VREF-/CVREF/C2IN+ RA3/AN3/VREF+/C1IN+ RA4/T0CKI/C1OUT RA5/AN4/SS/HLVDIN/C2OUT RE0/RD/AN5 RE1/WR/AN6 RE2/CS/AN7 VDD VSS OSC1/CLKIN/RA7 OSC2/CLKOUT/RA6 RC0/T1OSO/T13CKI RC1/T1OSI/CCP2(1) RC2/CCP1/P1A RC3/SCK/SCL RD0/PSP0 RD1/PSP1 PIC18F43K20 PIC18F44K20 PIC18F45K20 PIC18F46K20 40-pin PDIP 28-pin QFN 28 27 26 25 24 23 22
PIC18F2XK20/4XK20 RC6/TX/CK RC5/SDO RC4/SDI/SDA RD3/PSP3 RD2/PSP2 RD1/PSP1 RD0/PSP0 RC3/SCK/SCL RC2/CCP1/P1A RC1/T1OSI/CCP2(1) NC Pin Diagrams (Cont.
PIC18F2XK20/4XK20 RA2 AN2 C2IN+ VREF-/ CVREF 5 22 22 RA3 AN3 6 23 23 RA4 C1IN+ VREF+ C1OUT — DIL Pin Basic 21 Pull-up 21 Interrupts 4 Slave — — Timers C12IN1- MSSP C12IN0- AN1 EUSART AN0 RA1 ECCP RA0 20 Analog 19 20 I/O 19 3 QFN Pin 2 TQFP Pin Reference PIC18F4XK20 PIN SUMMARY Comparator TABLE 1: — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — T0CKI — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
PIC18F2XK20/4XK20 AN2 C2IN+ VREF-/ CVREF AN3 C1IN+ VREF+ Basic RA2 Pull-up 1 Interrupts C12IN1- 4 Slave C12IN0- AN1 Timers AN0 RA1 MSSP Comparator RA0 28 EUSART Analog 27 3 ECCP I/O 2 Reference Pin QUAD PIC18F2XK20 PIN SUMMARY Pin DIL TABLE 2: 5 2 RA3 6 3 RA4 7 4 RA5 10 7 RA6 OSC2/ CLKOUT 9 6 RA7 OSC1/ CLKIN C1OUT AN4 21 18 RB0 AN12 22 19 RB1 AN10 23 20 RB2 AN8 24 21 RB3 AN9 25 22 RB4 AN11 C2OUT C12IN3C12IN2- T0CKI HLVDIN SS FLT0