PIC18 (L) F2X/45K50 USB Flash MCU Product Brief
PIC18 (L) F2X/45K50 USB Flash MCU Product Brief
PIC18 (L) F2X/45K50 USB Flash MCU Product Brief
Comparators
Program Memory Data Memory
8-bit/16-bit
10-bit A/D
BOR/LVD
channels
EUSART
USB 2.0
Timers
CTMU
MSSP
ECCP
CCP/
Device Data Pins I/O
Flash Single Word SRAM
(bytes) Instructions (bytes)
EEPROM
(bytes)
PIC18(L)F45K50 32K 16384 2048 256 40/44 36 25-ch 2 1/1 Yes Yes 1 1 2/2 Yes
PIC18(L)F25K50 32K 16384 2048 256 28 25 14-ch 2 1/1 Yes Yes 1 1 2/2 Yes
PIC18(L)F24K50 16K 8192 2048 256 28 25 14-ch 2 1/1 Yes Yes 1 1 2/2 Yes
MCLR/VPP/RE3 1 28 RB7
RA0 2 27 RB6
RA1 3 26 RB5
RA2 4 25 RB4
PIC18(L)F2XK50
RA3 5 24 RB3
RA4 6 23 RB2
RA5 7 22 RB1
VSS 8 21 RB0
RA7 9 20 VDD
RA6 10 19 VSS
RC0 11 18 RC7
RC1 12 17 RC6
RC2 13 16 RC5/D+
VUSB3V3 14 15 RC4/D-
28-PIN QFN
RA1
RA0
RB7
RB6
RB5
RB4
27
28
25
26
24
22
23
RA2 1 21 RB3
RA3 2 20 RB2
RA4 3 19 RB1
RA5 4 PIC18(L)F2XK50 18 RB0
VSS 5 17 VDD
RA7 6 16 VSS
RA6 7 15 RC7
10
13
14
12
11
9
8
VUSB3V3
D-/RC4
RC0
RC1
RC2
D+/RC5
RC6
PIC18(L)F45K50
RE0 8 33 RB0
RE1 9 32 VDD
RE2 10 31 VSS
VDD 11 30 RD7
VSS 12 29 RD6
RA7 13 28 RD5
RA6 14 27 RD4
RC0 15 26 RC7
RC1 16 25 RC6
RC2 17 24 RC5/D+
VUSB3V3 18 23 RC4/D-
RD0 19 22 RD3
RD1 20 21 RD2
40-PIN UQFN
VUSB3V3
RC5/D+
RC4/D-
RD3
RD1
RD0
RC2
RC1
RC6
RD2
40
39
38
37
36
35
33
32
31
34
RC7 1 30 RC0
RD4 2 29 RA6
RD5 3 28 RA7
RD6 4 27 VSS
RD7 5 PIC18(L)F45K50 26 VDD
VSS 6 25 RE2
VDD 7 24 RE1
RB0 8 23 RE0
RB1 9 22 RA5
RB2 10 21 RA4
16
11
12
13
14
15
17
18
19
20
RB3
RB4
RB5
RB6
RB7
MCLR/VPP/RE3
RA0
RA1
RA2
RA3
44-PIN TQFP
VUSB3V3
RC5/D+
RC4/D-
RC6
RD3
RD2
RD1
RD0
RC2
RC1
NC
41
40
39
37
36
35
34
42
44
43
38
RC7 1 33 NC/ICRST(1)/ICVPP(1)
RD4 2 32 RC0
RD5 3 31 RA6
RD6 4 30 RA7
RD7 5 29 VSS
VSS 6 PIC18(L)F45K50 28 VDD
VDD 7 27 RE2
RB0 8 26 RE1
RB1 9 25 RE0
RB2 10 24 RA5
RB3 11 23 RA4
12
13
14
15
16
17
18
19
20
21
22
NC/ICDT(1)/ICPGD(1)
RB4
RB5
RB6
RB7
MCLR/VPP/RE3
RA0
RA1
RA2
RA3
NC/ICCK(1)/ICPGC(1)
40-Pin UQFN
44-Pin TQFP
Comparator
40-Pin PDIP
28-Pin QFN
Reference
Interrupts
SR Latch
EUSART
(E)CCP
Analog
Pull-up
Timers
CTMU
MSSP
Basic
USB
ICD
I/O
PIC18(L)F2X/45K50
SDA
RB1 22 19 34 9 9 AN10 C12IN3- P1C(5) SCK INT1 Y
SCL
RB2 23 20 35 10 10 AN8 CTED1 P1B(5) INT2 Y
RB3 24 21 36 11 11 AN9 C12IN2- CTED2 CCP2(1) SDO Y
RB4 25 22 37 12 14 AN11 P1D(5) IOCB4 Y
RB5 26 23 38 13 15 AN13 T1G IOCB5 Y
T3CKI(2)
RB6 27 24 39 14 16 IOCB6 Y PGC
RB7 28 25 40 15 17 IOCB7 Y PGD
Note 1: Alternate CCP2 pin location based on Configuration bit.
DS30025A-page 5
PIC18(L)F2X/45K50
28-PIn PDIP/SOIC/SSOP
40-Pin UQFN
44-Pin TQFP
Comparator
40-Pin PDIP
28-Pin QFN
Reference
Interrupts
SR Latch
EUSART
(E)CCP
Analog
Pull-up
Timers
CTMU
MSSP
Basic
USB
ICD
I/O
P1A
— 14 11 18 33 37 — VUSB3V3 VDDCORE
RC4(7) 15 12 23 38 42 — D- IOCC4
RC5(7) 16 13 24 39 43 — D+ IOCC5
RC6 17 14 25 40 44 AN18 TX IOCC6
CK
RC7 18 15 26 1 1 AN19 RX SDO(6) IOCC7
DT
RD0 — — 19 34 38 AN20
RD1 — — 20 35 39 AN21
RD2 — — 21 36 40 AN22
RD3 — — 22 37 41 AN23
RD4 — — 27 2 2 AN24
RD5 — — 28 3 3 AN25 P1B(4)
2012 Microchip Technology Inc.
PIC18(L)F2X/45K50
28-PIn PDIP/SOIC/SSOP
40-Pin UQFN
44-Pin TQFP
Comparator
40-Pin PDIP
28-Pin QFN
Reference
Interrupts
SR Latch
EUSART
(E)CCP
Analog
Pull-up
Timers
CTMU
MSSP
Basic
USB
ICD
I/O
RE1 — — 9 24 26 AN6
RE2 — — 10 25 27 AN7
RE3(7) 1 26 1 16 18 — Y MCLR
VPP
20 17 11, 7, 7, VDD
Advance Information
32 26 28
8, 5, 12, 6, 6, VSS
19 16 31 27 29
– –- 12(3) ICPGC(3) ICCK(3)
– –- 13(3) ICPGD(3) ICDT(3)
–- –- 33(3) ICVPP (3)
ICRST(3)
Note 1: Alternate CCP2 pin location based on Configuration bit.
2: Alternate T3CKI pin location based on Configuration bits.
3: Pins are enabled when ICPRT = 1, otherwise, they are disabled.
4: Location on 40/44-Pin parts (PIC18(L)F45K50). Function not on this pin on 28-Pin parts (PIC18(L)F2XK50).
5: Location on 28-Pin parts (PIC18(L)F2XK50). Function not on this pin on 40/44-Pin parts (PIC18(L)F45K50).
6: Alternate SDO pin location based on Configuration bits.
7: RE3, RC4 and RC5 can be used for digital input only (no output functionality).
2012 Microchip Technology Inc.
PIC18(L)F2X/45K50
NOTES:
• 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.
ISBN: 9781620762592
QUALITY MANAGEMENT SYSTEM Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
CERTIFIED BY DNV Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
== ISO/TS 16949 ==
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® 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.