PIC18F13K50

20-Pin USB Flash Microcontrollers with nanoWatt XLP™ Technology

PDF datasheet

    
VCC1 •20GND
RA5/OSC1/CLKIN219RA0/D+/PGD
RA4/AN3/OSC2/CLKOUT318RA1/D-/PGC
RA3/MCLR/VPP417VUSB
RC5/CCP1/P1A/T0CKI516RC0/AN4/C12IN+/INT0/VREF+
RC4/P1B/C12OUT/SRQ615RC1/AN5/C12IN-/INT1/VREF-
RC3/AN7/P1C/C12IN3-/PGM714RC2/AN6/P1D/C12IN2-/CVREF/INT2
RC6/AN8/SS/T13CKI/T1OSCI813RB4/AN10/SDI/SDA
RC7/AN9/SDO/T1OSCO912RB5/AN11/RX/DT
RB7/TX/CK1011RB6/SCK/SCI
    
PinSymbolDescription
1VCCPositive supply for logic and I/O pins
2RA5/OSC1/CLKINDigital I/O, Oscillator crystal input or external clock input, External clock source input.
3RA4/AN3/OSC2/CLKOUTDigital I/O, ADC channel 3, Oscillator crystal output., In RC mode, OSC2 pin outputs CLKOUT
4RA3/MCLR/VPPDigital input, Active-low Master Clear with internal pull-up, High voltage programming input
5RC5/CCP1/P1A/T0CKIDigital I/O, Capture 1 input/Compare 1 output/PWM 1 output, Enhanced CCP1 PWM output, Timer0 external clock input
6RC4/P1B/C12OUT/SRQDigital I/O, Enhanced CCP1 PWM output, Comparator C1 and C2 output, SR Latch output
7RC3/AN7/P1C/C12IN3-/PGMDigital I/O, ADC channel 7, Enhanced CCP1 PWM output, Comparator C1 and C2 inverting input, Low-Voltage ICSP Programming enable pin
8RC6/AN8/SS/T13CKI/T1OSCIDigital I/O, ADC channel 8, SPI slave select input, Timer0 and Timer3 external clock input, Timer1 oscillator input
9RC7/AN9/SDO/T1OSCODigital I/O, ADC channel 9, SPI data out, Timer1 oscillator output
10RB7/TX/CKDigital I/O, EUSART asynchronous transmit, EUSART synchronous clock (see related RX/DT)
11RB6/SCK/SCIDigital I/O, Synchronous serial clock input/output for SPI mode, Synchronous serial clock input/output for I2C mode
12RB5/AN11/RX/DTDigital I/O, ADC channel 11, EUSART asynchronous receive, EUSART synchronous data (see related RX/TX)
13RB4/AN10/SDI/SDADigital I/O, ADC channel 10, SPI data in, I2C data I/O
14RC2/AN6/P1D/C12IN2-/CVREF/INT2Digital I/O, ADC channel 6, Enhanced CCP1 PWM output, Comparator C1 and C2 inverting input, Comparator reference voltage output, External, interrupt 0
15RC1/AN5/C12IN-/INT1/VREF-Digital I/O, ADC channel 5, Comparator C1 and C2 non-inverting input, External interrupt 0, Comparator reference voltage (low) input
16RC0/AN4/C12IN+/INT0/VREF+Digital I/O, ADC channel 4, Comparator C1 and C2 non-inverting input, External interrupt 0, Comparator reference voltage (high) input
17VUSBPositive supply for USB transceiver
18RA1/D-/PGCDigital input, USB differential minus line (input/output), ICSP programming clock pin
19RA0/D+/PGDDigital input, USB differential plus line (input/output), ICSP programming data pin
20GNDGround reference for logic and I/O pins

Specifications

(typical values under recommended operating conditions, unless specified)
ParameterValueUnit
Program Memory8KB
CPU Speed12MIPS
RAM512Bytes
Data EEPROM256Bytes

Notes

Note: Data is maintained by an independent source and accuracy is not guaranteed. Check with the manufacturer's datasheet for up-to-date information.