Datasheet

2012 Microchip Technology Inc. DS30684A-page 25
PIC18(L)F2X/45K50
2.0 GUIDELINES FOR GETTING
STARTED WITH
PIC18(L)F2X/45K50
MICROCONTROLLERS
2.1 Basic Connection Requirements
Getting started with the PIC18(L)F2X/45K50 family of
8-bit microcontrollers requires attention to a minimal
set of device pin connections before proceeding with
development.
The following pins must always be connected:
•All V
DD and VSS pins
(see Section 2.2 “Power Supply Pins”)
•MCLR
pin
(see Section 2.3 “Master Clear (MCLR) Pin”)
•V
USB3V3 pins
(see Section 2.4 “Voltage Regulator Pins
(VUSB3V3)”)
These pins must also be connected if they are being
used in the end application:
PGC/PGD pins used for In-Circuit Serial
Programming™ (ICSP™) and debugging purposes
(see Section 2.5 “ICSP Pins”)
OSC1 and OSC2 pins when an external oscillator
source is used
(see Section 2.6 “External Oscillator Pins”)
Additionally, the following pins may be required:
•V
REF+/VREF- pins are used when external voltage
reference for analog modules is implemented
The minimum mandatory connections are shown in
Figure 2-1.
FIGURE 2-1: RECOMMENDED
MINIMUM CONNECTIONS
PIC18F2X/45K50
VDD
VSS
VDD
VSS
VSS
VDD
VDD
VSS
C1
R1
V
DD
MCLR
VUSB3V3
R2
C7
(2)
C2
(2)
C3
(2)
C4
(2)
C6
(2)
Key (all values are recommendations):
C1 through C6: 0.1 F, 20V ceramic
R1: 10 k
R2: 100 to 470
Note 1: See Section 2.4 “Voltage Regulator Pins
(V
USB3V3)” for explanation of VUSB3V3 pin
connections.
2: The example shown is for a PIC18F device
with five V
DD/VSS pairs. Other devices may
have more or less pairs; adjust the number
of decoupling capacitors appropriately.
(1)