English
Language : 

PIC18F-LF1XK50 Datasheet, PDF (13/420 Pages) Microchip Technology – 20-Pin USB Flash Microcontrollers
PIC18F1XK50/PIC18LF1XK50
TABLE 1-2: PIC18F/LF1XK50 PINOUT I/O DESCRIPTIONS
Pin Name
RA0/D+/PGD
RA0
D+
PGD
Pin Pin
Number Type
19
I
I/O
I/O
Buffer
Type
TTL
XCVR
ST
Description
Digital input
USB differential plus line (input/output)
ICSP™ programming data pin
RA1/D-/PGC
RA1
D-
PGC
18
I
TTL
Digital input
I/O XCVR USB differential minus line (input/output)
I/O
ST
ICSP™ programming clock pin
RA3/MCLR/VPP
RA3
MCLR
VPP
4
Master Clear (input) or programming voltage (input)
I
ST
Digital input
I
ST
Active-low Master Clear with internal pull-up
P
—
High voltage programming input
RA4/AN3/OSC2/CLKOUT
RA4
AN3
OSC2
CLKOUT
3
I/O TTL
Digital I/O
I Analog ADC channel 3
O XTAL
Oscillator crystal output. Connect to crystal or resonator
in Crystal Oscillator mode
O CMOS In RC mode, OSC2 pin outputs CLKOUT which
has 1/4 the frequency of OSC1 and denotes
the instruction cycle rate
RA5/OSC1/CLKIN
RA5
OSC1
CLKIN
2
I/O TTL
Digital I/O
I XTAL
Oscillator crystal input or external clock input
ST buffer when configured in RC mode; analog other
wise
I CMOS External clock source input. Always associated with the
pin function OSC1 (See related OSC1/CLKIN, OSC2,
CLKOUT pins
RB4/AN10/SDI/SDA
RB4
AN10
SDI
SDA
13
I/O TTL
Digital I/O
I Analog ADC channel 10
I
ST
I/O
ST
SPI data in
I2C™ data I/O
RB5/AN11/RX/DT
RB5
AN11
RX
DT
12
I/O TLL
Digital I/O
I Analog ADC channel 11
I
ST
EUSART asynchronous receive
I/O
ST
EUSART synchronous data (see related RX/TX)
RB6/SCK/SCI
RB6
SCK
SCI
11
I/O TLL
I/O
ST
I/O
ST
Digital I/O
Synchronous serial clock input/output for SPI mode
Synchronous serial clock input/output for I2C™ mode
RB7/TX/CK
10
RB7
TX
CK
Legend: TTL = TTL compatible input
ST = Schmitt Trigger input
O = Output
XTAL= Crystal Oscillator
I/O TLL
O CMOS
I/O
ST
Digital I/O
EUSART asynchronous transmit
EUSART synchronous clock (see related RX/DT)
CMOS = CMOS compatible input or output
I
= Input
P
= Power
XCVR = USB Differential Transceiver
 2010 Microchip Technology Inc.
Preliminary
DS41350E-page 13