This document describes the functions of 40 pins on a microcontroller. It lists each pin number and the abbreviations for all its possible functions, which include connections to ports, analog/digital inputs and outputs, power supplies, oscillators, timers, and communication protocols. Most pins have multiple functions related to I/O control, analog sensing, interrupt handling, and programming/debugging interfaces.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
338 views2 pages
PIC18F4550 Pin Functions
This document describes the functions of 40 pins on a microcontroller. It lists each pin number and the abbreviations for all its possible functions, which include connections to ports, analog/digital inputs and outputs, power supplies, oscillators, timers, and communication protocols. Most pins have multiple functions related to I/O control, analog sensing, interrupt handling, and programming/debugging interfaces.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Pin 1: (MCLR; VPP; RE3): This pin refers to Master Clear Input (RESET), Programming Voltage Input, and
I/O Pin 3 of PORTE.
Pin 2: (RA0; AN0): This pin refers to time PORTA I/O Pin 0 of PORTA and Analog Input 0 Pin 3: (RA1; AN1): This pin refers to I/O Pin 1 of PORTA and Analog Input 1. Pin 4: (RA2; VREF; CVREF; AN2): This pin refers to I/O Pin 2 of PORTA, A/D reference Voltage Input (low), Analog Comparator Reference Output, and Analog Input 2. Pin 5: (RA3; AN3; VREF): This pin refers to I/O Pin 3 of PORTA, Analog Input 3, and A/D reference Voltage Input (High). Pin 6: (RA4; T0CK1; C1OUT; RCV): This pin refers to I/O pin 4 of PORTA, Timer 0 external clock input, Comparator 1 output, and External USB Transceiver RCV input. Pin 7: (RA5; AN4; SS; HLVDIN; C2OUT): This pin refers to I/O pin 5 of PORTA, Analog Input 4, SPI Slave Select input, High/Low-level Voltage Detect Input, Comparator 2 output. Pin 8: (RE0; AN5; CK1SPP): This pin refers to I/O PIN 0 of PORTE, Analog Input 5, and SPP clock 1 output. Pin 9: (RE1; AN6; CK2SPP): This pin refers to PORTE I/O PIN 1, Analog Input, and SPP clock 2 output. Pin 10: (RE2; AN7; OESPP): This pin refers to I/O PIN 2 of PORTE, Analog Input 7, and SPP Enable output. Pin 11: (VDD): This pin refers to 5 Volts positive power supply. Pin 12: (VSS): This pin refers to Ground (0V). Pin 13: (OSC1; CLKI): This pin refers to Oscillator pin 1 and External clock source input. Pin 14: (OSC2; CLKO; RA6): This pin refers to Oscillator pin 2, a clock source output. and PORTA I/O PIN 6. Pin 15: (RC0; T1OSO; T13CKL): This pin refers to PORT C I/O pin 0, Timer 0 oscillator output, and Timer 1/ Timer 3 external clock input. Pin 16: (RC1; T1OSL; CCP2; UOE): This pin refers to PORTC I/O PIN 1, Timer 1 Oscillator input, Capture 2 input or compares 2 output/PWM2 output and External USB transceiver OE output. Pin 17: (RC2; CCP1; P1A): This pin refers to PORTC I/O PIN 2, capture 1 input/ compare 1output/ PWM1 output and Enhanced CCP1 PWM output, channel A. Pin 18: (VUSB): This pin refers to Internal USB 3.3V regulator voltage output. Pin 19: (RD0; SPP0): This pin refers to PORT D I/O pin 0 and Streaming parallel port data. Pin 20: (RD1; SPP1): This pin refers to PORT D I/O PIN 1 and Streaming parallel port data. Pin 21:(RD2; SPP2): This pin refers to PORT D I/O PIN 2 and Streaming parallel port data. Pin 22:(RD3; SPP3): This pin refers to PORT D I/O PIN 3 and Streaming parallel port data. Pin 23: (RC4;D-; VM): This pin refers to PORT C I/O PIN 4, USB differential minus line (input/output), and External USB transceiver VM input. Pin 24:(RC5; D+; VP): This pin refers to I/O PIN 5 of PORT C, USB different (input/output) plus line, and External USB transceiver VP output. Pin 25:(RC6; TX, CK): This pin refers to I/O PIN 6 of PORT C, EUSART asynchronous transmit, and EUSART synchronous clock (RX/DT). Pin 26:(RC7; RX; DT; SDO): This pin refers to I/O PIN 7 of PORT C, EUSART asynchronous receive, EUSART synchronous data (TX/CK), and SDO: SPI data output. Pin 27:(RD4; SPP4): This pin refers to I/O PIN 4 of PORT D and Streaming parallel port data. Pin 28: (RD5; SPP5; P1B): This pin refers to I/O PIN 5 of PORT D, Streaming parallel port data and Enhanced CCP1 PWM output, channel B. Pin 29: (RD6; SPP6; P1C): This pin refers to I/O PIN 6 of PORT D, streaming parallel port data and Enhanced CCP1 PWM output, channel C. Pin 30: (RD7; SPP7; P1D): This pin refers to I/O PIN 7 of PORT D, streaming parallel port data and Enhanced CCP1 PWM output, channel D. Pin 31:(VSS): This pin refers to a 5V Positive power supply. Pin 32:(VDD): This pin refers is for the Ground connection. Pin 33: (RB0; AN12; INT0; FLT0; SDI; SDA): This pin refers to I/O pin 0 of PORT B, Analog input 12, External interrupt 0, Enhanced PWM fault input ( module ECCP1), SPI data in and I2C data I/O. Pin 34: (RB1; AN10; INT1; SCK; SCL): This pin refers to I/O pin 1 of PORT B, Analog input 10, External interrupt 1, Synchronous serial clock input/output for SPi module, and synchronous serial clock input/output for the I2C module. Pin 35: (RB2; AN8; INT2; VMO): This pin refers to I/O pin 2 of PORT B, Analog input 8, External interrupt 2, and External USB transceiver VMO output. Pin 36: (RB3; AN9; CCP2; PWM; VPO): This pin refers to I/O pin 3 of PORT B, Analog input 9, capture 2 input / Compare 2 output / PWM output, and External USB transceiver VPO Output. Pin 37: (RB4; AN11; KBI0; CSSPP): I/O Pin 4 of PORT B, Analog Input 11, Interrupt-on-change pin, and SPP chip select control output. Pin 38: (RB5; KBI1; PGM): This pin refers to I/O Pin 5 of PORT B, Interrupt-on-change pin and Low- voltage ICSP programming enable pin. Pin 39:(RB6; KBI2; PGC): This pin refers to I/O pin 6 of port B, Interrupt-on-change pin and In-circuit debugger, and ICSP programming clock pin. Pin 40: (RB7; KBI3; PGD): This pin refers to I/O pin 7 of PORT B, Interrupt-on-change pin and In-circuit debugger, and ICSP Programming data pin.