dsPIC33FJ32MC104 Motor Control Plug-in Module Overview The dsPIC33FJ32MC104 Motor Control Plug-in Module (Part No. MA330032) is designed to demonstrate the capabilities of the dsPIC33FJ32MC104 motor control device using the dsPICDEM™ MCLV-2 Development Board (DM330021-2) and dsPICDEM MCHV-2 Development Board (DM330023-2). The PIM is also compatible with the dsPICDEM MCLV Development Board (DM330021) and dsPICDEM MCHV Development Board (DM330023). The dsPIC33FJ32MC104 device is an ultra low-cost 16-bit Digital Signal Controller (DSC) in a 44-pin 10x10 mm TQFP package. The 44 pins of this device host 14 analog inputs, 35 pins with general I/O function and 26 pins with Peripheral Pin Select (PPS) functionality. Americas Asia/Pacific (Continued) Atlanta - 678-957-9614 Boston - 774-760-0087 Chicago - 630-285-0071 Cleveland - 216-447-0464 Dallas - 972-818-7423 Detroit - 248-538-2250 Indianapolis - 317-773-8323 Los Angeles - 949-462-9523 Phoenix - 480-792-7200 Santa Clara - 408-961-6444 Toronto - 905-673-0699 China - Hangzhou - 86-571-2819-3187 China - Hong Kong SAR - 852-2401-1200 China - Nanjing- 86-25-8473-2460 China - Qingdao - 86-532-8502-7355 China - Shanghai - 86-21-5407-5533 China - Shenyang - 86-24-2334-2829 China - Shenzhen - 86-755-8203-2660 China - Wuhan - 86-27-5980-5300 China - Xiamen - 86-592-2388138 China - Xian - 86-29-8833-7252 China - Zhuhai - 86-756-3210040 India - Bangalore - 91-80-3090-4444 India - New Delhi - 91-11-4160-8631 India - Pune - 91-20-2566-1512 Japan - Osaka - 81-66-152-7160 Japan - Yokohama - 81-45-471-6166 Korea - Daegu - 82-53-744-4301 Korea - Seoul - 82-2-554-7200 Malaysia - Kuala Lumpur - 60-3-6201-9857 Malaysia - Penang - 60-4-227-8870 Philippines - Manila - 63-2-634-9065 Singapore - 65-6334-8870 Taiwan - Hsin Chu - 886-3-5778-366 Taiwan - Kaohsiung - 886-7-536-4818 Taiwan - Taipei - 886-2-2500-6610 Thailand - Bangkok - 66-2-694-1351 Europe Austria - Wels - 43-7242-2244-39 Denmark - Copenhagen - 45-4450-2828 France - Paris - 33-1-69-53-63-20 Germany - Munich - 49-89-627-144-0 Italy - Milan - 39-0331-742611 Netherlands - Drunen - 31-416-690399 Spain - Madrid - 34-91-708-08-90 UK - Wokingham - 44-118-921-5869 Asia/Pacific Australia - Sydney - 61-2-9868-6733 China - Beijing - 86-10-8569-2100 China - Chengdu - 86-28-8665-5511 China - Chongqing - 86-23-8980-9588 11/29/11 Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199 www.microchip.com The Microchip name and logo, the Microchip logo, and MPLAB are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. dsPICDEM is a trademark of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective companies. © 2012, Microchip Technology Incorporated, Printed in the U.S.A. All Rights Reserved. 10/12 DS52096A *DS52096A The dsPIC33FJ32MC104 Motor Control Plug-in Module provides test points and zero ohm resistors for easier testing and debugging. In-circuit programming/debugging is accommodated using the PGEC3-PGED3 pin pair. The PIM supports a PWM Fault input on the FLTA pin. Figure 1 provides the schematics for the dsPIC33FJ32MC104 Motor Control Plug-in Module. Table 1 shows the mapping between the device pins and the PIM pins. Note: For use of this PIM with the dsPICDEM MCLV-2 Development Board (DM330021-2) and dsPICDEM MCHV-2 Development Board (DM330023-2): Insert the external op amp configuration matrix board into the appropriate jumper before powering up the development board. Table 1: Table 1: 44-Pin Device to 100-Pin PIM Mapping Device Pin # Device Functional Description 44-Pin Device to 100-Pin PIM Mapping (Continued) PIM Pin # Device Pin # Device Functional Description PIM Pin # 1 SDA/RP9/CN21/RB9 50 32 RA8 83 2 RP22/CN18/RC6 80 33 PGED3/SOSCI/AN9/RP4/CN1/RB4 27 3 RP23/CN17/RC7 47 34 PGEC3/SOSCO/AN10/T1CK/CN0/RA4 26 4 RP24/CN20/RC8 48 35 RA9 84 5 RP25/CN19/RC9 49 36 AN11/RP19/CN28/RC3 21 6 VSS 15, 45, 65, 75 37 AN12/RP20/CN25/RC4 22 7 VCAP N/A 38 AN15/RP21/CN26/RC5 8 PWM1H3/RP10/CN16/RB10 3 39 VSS 15, 45, 65, 75 40 VDD 2, 16, 37, 46, 62, 86 41 FLTB/ASDA1/RP5/CN27/RB5 N/A 42 FLTA/ASCL1/RP6/CN24/RB6 18 43 INT0/RP7/CN23/RB7 68 44 SCL1/RP8/CN22/RB8 69 9 PWM1L3/RP11/CN15/RB11 100 10 PWM1H2/RP12/CN14/RB12 99 11 PWM1L2/RP13/CN13/RB13 98 12 RA10 60 13 RA7 1 14 PWM1H1/RTCC/RP14/CN12/RB14 94 15 PWM1L1/RP15/CN11/RB15 93 16 AVSS 31 17 AVDD 30 18 MCLR 13 19 PGED2/AN0/C3INB/C1INA/CTED1/CN2/ RA0 25 20 PGEC2/AN1/C3INA/C1INB/CTED2/CN3/ RA1 24 21 PGED1/AN2/C2INA/C1INC/CTCMP/RP0/ CN4/RB0 35 22 PGEC1/AN3/CVREFI/CVREFO/C2INB/ C1IND/RP1/CN5/RB1 41 23 AN4/C3INC/C2INC/RP2/CN6/RB2 42 24 AN5/C3IND/C2IND/RP3/CN7/RB3 43 25 AN6/RP16/CN8/RC0 29 26 AN7/RP17/CN9/RC1 61 27 AN8/RP18/CN10/RC2 32, 33 28 VDD 2, 16, 37, 46, 62, 86 29 VSS 15, 45, 65, 75 30 OSC1/CLKI/CN30/RA2 63 31 OSC2/CLKO/CN29/RA3 64 23 DS52096A dsPIC33FJ32MC104 Motor Control Plug-in Module Figure 1: Schematics R7 REMAP8 No Load U1 Phase1_VF 21 22 AN2/RP0/RB0 AN3/RP1/RB1 RP3/RB3/AN5 RP2/RB2/AN4 PIN25 24 PIN24 R21 0R 23 PIN23 R20 0R HALLA S2 S3 VDD PW M1H1 PW M1L 1 76 77 Z2 Z1 Z3 78 80 79 Z4 Z5 81 Z6 Z7 82 83 Z8 Z9 84 85 Z10 87 88 86 Z11 Z12 Z13 89 90 Z15 Z14 91 Z16 Z17 92 93 Z18 94 95 Z20 Z19 Z21 96 97 REC_N 0 Ohm Phase3_VF 72 71 70 69 68 LINFLT BTN/LINCS 67 66 65 64 63 62 61 60 OSC2 OSC1 VDD HOME DEBUG_LED2 59 58 57 56 55 54 53 52 51 X 25 X 24 49 HOME X 23 Y1 X 22 W25 X 21 Y2 X 20 W24 X 19 Y3 POT R5 Z22 W23 73 TX 25 Y4 74 50 PIN22 RC0/AN6/RP16 26 W22 RX R19 0R AN1/RA1 RC1/AN7/RP17 PIN26 R22 0R 25 Y5 48 PIN21 20 AN0/RA0 27 PIN27 R23 0R Phase1_CF W21 47 R18 0R 19 VDD 24 Y6 46 PIN20 RC2/AN8/RP18 28 Phase2_CF W20 HA L L C DC_BUS R17 0R *MCLR C3 0.1 μF Y7 HA L L B Phase2_CF PIN19 23 DATA2 Y8 W19 75 VDD Phase1_CF R16 0R VDD 29 W18 X1 18 MCLR AVDD VSS Y9 26 AVDD C2 0.1 μF 17 AVSS W17 PGE C 3 16 Y10 45 22 DATA1 W16 X 18 21 DATA0 Y11 X 17 OSC1 W15 43 30 Y12 44 OSC1 W14 Phase3_V F RP15/RB15 20 Y13 Phase2_V F REMAP8 19 W13 X 16 18 REMAP7 Y14 42 OSC2 W12 41 31 Y15 Phase1_V F OSC2 W11 X 15 17 S2 FLT1A RP14/PB14 16 Y16 40 VDD Y17 W10 X 14 32 PIN32 R24 0R W9 X 13 RA8 15 PGED3 Y18 39 RA7 33 Y19 W8 38 RP4 PW M1L 2 PW M1L 3 13 MCLR Y20 GENERIC_PIM_100P W7 X 12 PGEC3 U1A W6 V DD RA10 PIN15 15 34 Y21 X 10 0R 11 S3 W5 X 11 R15 10 14 PIN14 14 9 DATA0 Y22 37 0R RA4 PIN13 13 8 W4 36 PWM1L1 R14 RP13/RB13 PIN12 12 7 DATA1 12 PIN11 11 35 PIN35 R25 0R 6 Y23 DC_B US PWM1H1 RA9 36 PIN36 R26 0R 5 DATA2 W3 X9 DEBUG_LED1 RP12/RB12 37 PIN37 R27 0R 4 Y24 35 0R 10 38 PIN38 R28 0R 3 Y25 W2 X8 R13 RC3/AN11/RP19 PIN10 PWM1H3 W1 33 DEBUG_LED2 RP11/RB11 RC4/AN12/RP20 39 1 2 VDD 34 0R RP10/RB10 RC5/AN15/RP21 DEBUG_LED1 VDD C4 0.1 μF X7 R12 VCAP VSS 40 POT R11 0R 9 VSS FLTB X5 R10 0R PIN9 VDD PIN41 X6 PWM1L2 0R 8 RP25/RC9 41 REMAP7 No Load 32 PWM1H2 R9 PIN8 FLTB/RP5/RB5 FLTA 31 PWM1L3 0R 7 RP24/RC8 42 AV DD 5 FLTA/RP6/RB6 Z23 4 RP23/RC7 X4 3 X3 PWM1H3 R8 BTN/LINCS R29 6 C1 10 μF 43 30 PIN5 0R RB7/RP7 29 R6 PIN4 RP22/RC6 R E C_N 0R 2 PW M1H2 PIN3 99 0R LINFLT PIN43 R30 0R 98 R3 R31 0R 44 100 PIN2 PIN44 RB8/RP8 Z24 0R RP9/RB9 28 RX R2 1 Z25 HALLC R4 PIN1 X2 HALLB 0R 27 HALLA R1 PGE D3 TX Phase2_VF dsPIC33FJ32MC104 R34 0R FLTA FLTB R33 10K R32 10K FLT1A VDD VDD DS52096A