dsPIC33EP256MC506 dsPIC33EP256MC506 Plug-In Module (PIM) Information Sheet for Internal Op amp Configuration The dsPIC33EP256MC506 Internal Op amp Motor Figure 1 shows the connection location for the Control PIM is designed to demonstrate the dsPICDEM MCHV-2 Development Board. capabilities of the dsPIC33EP256MC506 Motor Control device using internal op amps with FIGURE 1: INTERNAL OP AMP development boards such as the dsPICDEM CONFIGURATION BOARD MCLV-2 Development Board (DM330021-2) and the dsPICDEM MCHV-2 Development board (DM330023-2), which support 100-pin PIM interfaces. The dsPIC33EP256MC506 is a high-performance, 16- bit Digital Signal Controller (DSC) in a 64-pin TQFP package. This device is equipped with three internal Op amp/Comparators and one dedicated Analog Comparator. The dsPIC33EP256MC506 Internal Op amp Motor Control PIM takes advantage of these analog peripherals configured using on-board passive components (resistors and capacitors) to support motor control applications without requiring external op Hardware Compatibility amps or comparators. Table 1 provides information on the hardware versions To operate this PIM with the dsPICDEM MCLV-2 and of the motor control boards that are compatible with this dsPICDEM MCHV-2 Development Boards, please PIM. Refer to the user s guide for the specific motor insert the Internal Op amp Configuration Board into the control board for hardware version identification header J4 (for the dsPICDEM MCHV-2 Development information. Board) or header J14 (for the dsPICDEM MCLV-2 Development Board). TABLE 1: HARDWARE COMPATIBILITY Development Board Part Number Compatible Hardware Version(s) dsPICDEM MCHV Development Board DM330023 Not compatible dsPICDEM MCLV Development Board DM330021 Not compatible dsPICDEM MCSM Development Board DM330022 Not compatible dsPICDEM MCHV-2 Development Board DM330023-2 All revisions dsPICDEM MCLV-2 Development Board DM330021-2 All revisions Warning: Do not connect non-isolated oscilloscope probes to the test points on the dsPIC33EP256MC506 Internal Op amp Motor Control PIM while using the PIM with the dsPICDEM MCHV-2 Development Board. Use a high voltage differential probe rated in excess of 600 VRMS (common mode). Failure to heed this warning could result in hardware damage. 2012 Microchip Technology Inc. DS52062A-page 1dsPIC33EP256MC506 DS52062A-page 2 2012 Microchip Technology Inc. Table 2 provides the static mapping between the 100-pin PIM pins and the device pins. TABLE 2: 64-PIN DEVICE TO 100-PIN PIM MAPPING Device dsPIC33EP256MC506 Device dsPIC33EP256MC506 PIM Functional PIM Pin PIM Functional Description PIM Pin Pin Device Functional Description Pin Device Functional Description Description 1 TDI/RA7 Not connected 33 CVREF2O/SDO1/RP20/T1CK/RA4 Used by Op amp circuit 2 RPI46/PWM1H/T3CK/RB14 94 PWM Out H1 34 SDI1/RPI25/RA9 77 HALLC/INDX/STP PWM 3 RPI47/PWM1L/T5CK/RB15 93 PWM Out L1 35 SCK1/RPI51/RC3 79 AC input zero cross 4 RP118/RG6 84 Switch/UART TX 36 SDA1/RPI52/RC4 69 LIN Fault 5 RPI119/RG7 83 Switch 37 SCL1/RPI53/RC5 49 UART RX 6 RP120/RG8 76 HALLB/QEB/USB TX 38 VDD 2, 16, 37, N/A 46, 62, 86 7 MCLR 13 Device Master Clear 39 OSC1/CLKI/RC12 63 OSCI 8 RPI121/RG9 72 HALLA/QEA/USB RX 40 OSC2/CLKO/RC15 64 OSCO 9 VSS 15, 36, N/A 41 VSS 15, 36, N/A 45, 65, 75 45, 65, 75 10 VDD 2, 16, 37, N/A 42 RD8 Debug test point 46, 62, 86 11 AN10/RPI28/RA12 35 DC BUS voltage (scaled) 43 PGED2/ASDA2/RP37/RB5 27 PGED2 12 AN9/RPI27/RA11 25 IA/IPFC current 44 PGEC2/ASCL2/RP38/RB6 26 PGEC2 13 AN0/OA2OUT/RA0 42 V M2 motor phase voltage 45 RPI58/RC10 61 HOME signal (QEI) 14 AN1/C2IN1+/RA1 22, 41 QEA/IA/V M1/POT 46 RP39/INT0/RB7 19 PFC Fault/UART TX 15 PGED3/VREF-/AN2/C2IN1-/SS1/RPI32/CTED2/RB0 43 V M3/IBUS/HALLC 47 RC13 82 General purpose I/O 16 PGEC3/VREF+/AN3/OA1OUT/RPI33/CTED1/RB1 59 Op amp 1 output 48 TCK/CVREF1O/ASCL1/RP40/T4CK/RB8 68 BTN/LINCS 17 PGEC1/AN4/C1IN1+/RPI34/RB2 21 QEB/IB/V M2 49 TMS/ASDA1/RP41/RB9 78 PFC PWM/CAN RX 18 PGED1/AN5/C1IN1-/RP35/RB3 Used by Op amp circuit 50 RP54/RC6 47 HALLB/QEB 19 AVDD 30 N/A 51 RP55/RC7 70 BTN/RX 20 AVSS 31 N/A 52 RP56/RC8 88 CAN TX 21 AN6/OA3OUT/C4IN1+/OCFB/RC0 58 Op amp 3 output 53 RD5 60 Debug LED2 22 AN7/C3IN1-/C4IN1-/RC1 Used by Op amp circuit 54 RD6 1 Debug LED1 23 AN8/C3IN1+/U1RTS/BCLK1/FLT3/RC2 20 INDX/POT/V M3 55 RP57/RC9 87 CAN RX 24 AN11/C1IN2-/U1CTS/FLT4/RC11 24 IB/POT 56 VCAP Not connected 25 VSS 15, 36, N/A 57 VDD 2, 16, 37, N/A 45, 65, 75 46, 62, 86 26 VDD 2, 16, 37, N/A 58 RPI96/RF0 48 HALLC/INDX 46, 62, 86 27 AN12/C2IN2-/U2RTS/BCLK2/RE12 Reconstructed motor neutral input 59 RP97/RF1 50 UART TX 28 AN13/C3IN2-/U2CTS/RE13 32, 33 Potentiometer 60 RP42/PWM3H/RB10 3 PWM Out H3 29 AN14/RPI94/RE14 23 IBUS / VBUS 61 RP43/PWM3L/RB11 100 PWM Out L3 30 AN15/RPI95/RE15 34 General purpose I/O 62 RPI44/PWM2H/RB12 99 PWM Out H2 31 SDA2/RPI24/RA8 80 HALLA/QEA 63 RPI45/PWM2L/CTPLS/RB13 98 PWM Out L2 32 FLT32/SCL2/RP36/RB4 18 Overcurrent Fault input 64 TDO/RA10 Not connected