Datasheet

© 2008 Microchip Technology Inc. DS01208A-page 13
AN1208
dsPIC33FJ12MC202 Pin Allocation
Since the dsPIC33FJ12MC202 device is an I/O
remappable device, the functionality for each pin can
be defined by the user. Table 1 lists the different pins
and the functionality assigned to the pin.
TABLE 1: PIN FUNCTIONALITY
Development Resources
To develop and test the PFC application, the following
hardware and software development tools are
required:
Hardware Tools:
- dsPICDEM MC1H 3-Phase High Voltage
Power Module (P/N: DM300021)
- Explorer 16 Development Board
(P/N: DM240001)
- Motor Control Interface PICtail Plus Daughter
Board (P/N: AC164128)
- dsPIC33FJ12MC202 Plug-in Module
(P/N: MA330014)
- 9V DC power supply
- Variable AC power supply (0-220V)
- PMSM motor
- MPLAB ICD 2 Debugger/Programmer
Software Tools:
- MPLAB IDE - Version 8.00.04 (or later)
- C30 - Version 3.01 (or later)
Hardware Setup
ACCESSING THE HIGH VOLTAGE POWER
MODULE
Before removing the lid, the following procedure should
be rigidly followed:
1. Turn off all power to the system.
2. Wait a minimum of 3 minutes so that the internal
discharge circuit has reduced the DC bus volt-
age to a safe level. The red LED bus voltage
indicator visible through the top ventilation holes
should not be lit.
3. Verify with a voltmeter that discharge has taken
place by checking the potential between the plus
(+) and minus (–) DC terminals of the 7-pin
output connector before proceeding. The
voltage should be less than 10V before
proceeding to the next step.
4. Remove all cables from the system.
5. Remove the screws fixing the lid to the chassis
and heat sink on the top and bottom.
6. Slide the lid forward while holding the unit by the
heat sink.
7. After the board is out of the housing, modify the
power module as described in the next section.
No. NAME FUNCTIONALITY
1AN2 V
DC
2AN3 IAC
3AN4 VAC
4 AN5 Speed Reference (POT)
5V
SS Ground
6 RA2 Primary Oscillator Line
7 RA3 Primary Oscillator Line
8 PGD/EMUD3 Debug Data Line
9 PGC/EMUC3 Debug Clock Line
10 V
DD Device Supply
11 RB5 Fault Input Signal
12 RB6 Switch 1 - Motor On/Off
13 RB7 Switch 2 - PFC On/Off
14 PWM2H1 PFC MOSFET Fire
15 RB9 Fault Reset/PWM Enable
16 V
SS Digital Ground
17 V
DDCORE Device Supply
18 PWM1H3 Inverter IGBT3 High Fire
19 PWM1L3 Inverter IGBT3 Low Fire
20 PWM1H2 Inverter IGBT2 High Fire
21 PWM1L2 Inverter IGBT2 Low Fire
22 PWM1H1 Inverter IGBT1 High Fire
23 PWM1L1 Inverter IGBT1 Low Fire
24 AV
SS Analog Ground
25 AV
DD Device Supply
26 MCLR
Reset/Clear
27 AN0 Phase A Current
28 AN1 Phase B Current
WARNING: If the voltage is more than 10V,
repeat steps 2 and 3 until the voltage level is less
than 10V. The system is only safe to work on if the
voltage is less than 10V. Failure to heed this
warning could result in bodily harm.