Accessible pinout for PIC18F4580-IP

Part description: 32K Flash, 1536B SRAM, 256 EEPROM, ECAN, DIP40

Package description: This package has two parallel rows of pins extending down from opposite edges of the chip.

There should be a semicircular notch that you can feel in the middle of one of the package's shorter bare edges. With the pins facing downward and the chip oriented so notch is on the side of the chip furthest from you, Pin 1 will be in the far left corner of the chip.

Pins are numbered counter-clockwise. Numbers increase from the far left corner to the near left corner. They then continue on the right side, increasing from the near right corner to the far right corner. Thus the highest number pin is to the right of pin 1.

Pin assignments

Left side (numbering starts at far end)

Pin Signals
1MCLR (active low) / VPP / RE3
2RA0 / AN0 / CVref
3RA1 / AN1
4RA2 / AN2 / Vref-
5RA3 / AN3 / Vref+
6RA4 / TOCKI
7RA5 / ANA4 / SS (active low) / HLVDIN
8AN5 / RD (active low) / RE0
9C1OUT / AN6 / WR (active low) / RE1
10C2OUT / AN7 / CS (active low) / RE2
11VDD
12VSS
13OSC1 / CLKI / RA7
14OSC2 / CLKO / RA6
15T13CKI / T1OSO / RC0
16T1OSI / RC1
17CCP1 / RC2
18SCL / SCK / RC3
19C1IN+ / PSP0 / RD0
20C1IN- / PSP1 / RD1

Right side (numbering starts at near end)

Pin Signals
21C2IN+ / PSP2 / RD2
22C2IN- / PSP3 / RD3
23SDA / SDI / RC4
24SDO / RC5
25CK / TX / RC6
26DT / RX / RC7
27P1A / ECCP1 / PSP4 / RD4
28P1B / PSP5 / RD5
29P1C / PSP6 / RD6
30P1D / PSP7 / RD7
31VSS
32VDD
33RB0 / INT0 / FLT0 / AN10
34RB1 / INT1 / AN8
35RB2 / INT2 / CANTX
36RB3 / CANRX
37RB4 / KBI0 / AN9
38RB5 / KBI1 / PGM
39RB6 / KBI2 / PGC
40RB7 / KBI3 / PGD

This pinout was automatically generated from the KiCAD symbol library revision 164574.

It is possible that there may be a mistake in the source data leading to wrong information on this page.