Datasheet

© 2005 Microchip Technology Inc. DS70043F-page 79
dsPIC30F
APPENDIX B: DEVICE I/O PINOUTS
AND FUNCTIONS
FOR MOTOR
CONTROL FAMILY
Table B-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 B-1: PINOUT I/O DESCRIPTIONS FOR MOTOR CONTROL FAMILY
Pin Name
Pin
Type
Buffer
Type
Description
AN0-AN15 I Analog Analog input channels.
AN0 and AN1 are also used for device programming data and clock inputs, respectively.
AV
DD P P Positive supply for Analog module.
AV
SS P P Ground reference for Analog module.
CLKI
CLKO
I
O
ST/CMOS
External clock source input. Always associated with OSC1 pin function.
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.
CN0-CN23 I ST Input change notification inputs.
Can be software programmed for internal weak pull-ups on all inputs.
COFS
CSCK
CSDI
CSDO
I/O
I/O
I
O
ST
ST
ST
Data Converter Interface frame synchronization pin.
Data Converter Interface serial clock input/output pin.
Data Converter Interface serial data input pin.
Data Converter Interface serial data output pin.
C1RX
C1TX
C2RX
C2TX
I
O
I
O
ST
ST
CAN1 bus receive pin.
CAN1 bus transmit pin.
CAN2 bus receive pin.
CAN2 bus transmit pin.
EMUD
EMUC
EMUD1
EMUC1
EMUD2
EMUC2
EMUD3
EMUC3
I/O
I
I/O
I
I/O
I
I/O
I
ST
ST
ST
ST
ST
ST
ST
ST
Primary data I/O pin for ICD Communication Channel.
Primary clock input pin for ICD Communication Channel.
Alternate 1 data I/O pin for ICD Communication Channel.
Alternate 1 clock input pin for ICD Communication Channel.
Alternate 2 data I/O pin for ICD Communication Channel.
Alternate 2 clock input pin for ICD Communication Channel.
Alternate 3 data I/O pin for ICD Communication Channel.
Alternate 3 clock input pin for ICD Communication Channel.
IC1-IC8 I ST Capture inputs 1 through 8.
INDX
QEA
QEB
UPDN
I
I
I
O
ST
ST
ST
CMOS
Quadrature Encoder Index Pulse input.
Quadrature Encoder Phase A input in QEI mode.
Auxiliary Timer External Clock/Gate input in Timer mode.
Quadrature Encoder Phase A input in QEI mode.
Auxiliary Timer External Clock/Gate input in Timer mode.
Position Up/Down Counter Direction State.
INT0
INT1
INT2
INT3
INT4
I
I
I
I
I
ST
ST
ST
ST
ST
External interrupt 0.
External interrupt 1.
External interrupt 2.
External interrupt 3.
External interrupt 4.
LVDIN I Analog Low Voltage Detect Reference Voltage Input pin.
Legend: CMOS = CMOS compatible input or output Analog = Analog input
ST = Schmitt Trigger input with CMOS levels O = Output I = Input P = Power