dsPIC30F2011/2012/3012/3013
Table 1-1 provides a brief description of device I/O
pinouts and the functions that may be multiplexed to a
port pin. Multiple functions may exist on one port pin.
When multiplexing occurs, the peripheral module’s
functional requirements may force an override of the
data direction of the port pin.
TABLE 1-1: PINOUT I/O DESCRIPTIONS
Pin Name
Pin
Type
Buffer
Type
Description
AN0 - AN9
AVDD
AVSS
CLKI
CLKO
CN0 - CN7
EMUD
EMUC
EMUD1
EMUC1
EMUD2
EMUC2
EMUD3
EMUC3
IC1 - IC2
INT0
INT1
INT2
LVDIN
MCLR
OC1-OC2
OCFA
OSC1
OSC2
PGD
PGC
RB0 - RB9
RC13 - RC15
RD0, RD8 - RD9
RF2 - RF5
SCK1
SDI1
SDO1
SS1
Legend: CMOS =
ST =
I
=
I
Analog
Analog input channels.
P
P
Positive supply for analog module.
P
P
Ground reference for analog module.
I
ST/CMOS External clock source input. Always associated with OSC1 pin
function.
O
—
Oscillator crystal output. Connects to crystal or resonator in
Crystal Oscillator mode. Optionally functions as CLKO in RC
and EC modes. Always associated with OSC2 pin function.
I
ST
Input change notification inputs.
Can be software programmed for internal weak pull-ups on all
inputs.
I/O
ST
ICD Primary Communication Channel data input/output pin.
I/O
ST
ICD Primary Communication Channel clock input/output pin.
I/O
ST
ICD Secondary Communication Channel data input/output pin.
I/O
ST
ICD Secondary Communication Channel clock input/output pin.
I/O
ST
ICD Tertiary Communication Channel data input/output pin.
I/O
ST
ICD Tertiary Communication Channel clock input/output pin.
I/O
ST
ICD Quaternary Communication Channel data input/output pin.
I/O
ST
ICD Quaternary Communication Channel clock input/output pin.
I
ST
Capture inputs 1 through 2.
I
ST
External interrupt 0.
I
ST
External interrupt 1.
I
ST
External interrupt 2.
I
Analog
Low-Voltage Detect Reference Voltage Input pin.
I/P
ST
Master Clear (Reset) input or programming voltage input. This
pin is an active-low Reset to the device.
O
—
Compare outputs 1 through 2.
I
ST
Compare Fault A input.
I
ST/CMOS Oscillator crystal input. ST buffer when configured in RC mode;
CMOS otherwise.
I/O
—
Oscillator crystal output. Connects to crystal or resonator in
Crystal Oscillator mode. Optionally functions as CLKO in RC
and EC modes.
I/O
ST
In-Circuit Serial Programming™ data input/output pin.
I
ST
In-Circuit Serial Programming clock input pin.
I/O
ST
PORTB is a bidirectional I/O port.
I/O
ST
PORTC is a bidirectional I/O port.
I/O
ST
PORTD is a bidirectional I/O port.
I/O
ST
PORTF is a bidirectional I/O port.
I/O
ST
Synchronous serial clock input/output for SPI1.
I
ST
SPI1 Data In.
O
—
SPI1 Data Out.
I
ST
SPI1 Slave Synchronization.
CMOS compatible input or output
Schmitt Trigger input with CMOS levels
Input
Analog = Analog input
O
= Output
P
= Power
DS70139F-page 16
© 2008 Microchip Technology Inc.