PIC32MK MCM PIC32MK MCM 100-pin Motor Control Plug-In Module (PIM) Information Sheet The PIC32MK MCM 100-pin Motor Control Plug-in Selecting the Internal On-board Op Amp Module (PIM) (MA320211) is designed to Configuration demonstrate the capabilities of the PIC32MK MCM To operate the PIC32MK MCM 100-pin Motor 100-pin Motor Control device, Control PIM using internal on-chip op amps, insert PIC32MK1024MCM100, using external or internal the Internal Op Amp Configuration Board, which is on-chip op amps with the following hardware: included with the development board, into the dsPICDEM MCLV-2 development board appropriate header for the hardware in use: (DM330021-2) J14 (dsPICDEM MCLV-2 development board) dsPICDEM MCHV-2 development board J4 (dsPICDEM MCHV-2/MCHV-3 development (DM330023-2 board) dsPICDEM MCHV-3 development board (DM330023-3) Figure 2 shows the connection locations for the internal on-board op amp on the dsPICDEM MCLV-2 All above development boards support 100-pin PIM development board. interfaces. FIGURE 2: INTERNAL OP AMP Selecting the External On-board Op Amp CONFIGURATION BOARD Configuration To operate the PIC32MK MCM 100-pin Motor Control PIM using external on-board op amps, insert the External Op amp Configuration Board, which is included with the development board, into the appropriate header for the hardware in use: J14 (dsPICDEM MCLV-2 development board) J4 (dsPICDEM MCHV-2/MCHV-3 development board). In addition, for MCHV-2/MCHV-3, ensure that jumpers are set at position 1-2 for J12, J13, WARNING:Do not connect non-isolated J14, and position 5-6 for J11. oscilloscope probes to probe any Figure 1 shows the connection location for the traces while using the PIM with the external on-board op amp on the dsPICDEM MCLV-2 dsPICDEM MCHV-2 or dsPICDEM development board. MCHV-3 development boards. Instead, use a high-voltage FIGURE 1: EXTERNAL OP AMP differential probe, rate in excess of CONFIGURATION BOARD 600 VRMS (Common mode). Failure to heed this warning could result in hardware damage. Table 1 provides the static mapping between the 100- pin PIM pins and the 100-pin device pins. Figure 3 shows the 100-pin PIM header schematic. Figure 4 shows the 100-pin PIM device schematic. 2019-2020 Microchip Technology Inc. DS50002930C-page 1PIC32MK MCM 2019-2020 Microchip Technology Inc. DS50002930C-page 2 TABLE 1: PIN MAP dsPICDEM MCHV2/MCHV3 Board 100-pin PIM PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header Header PIM Pin Number Pin Pin Name Pin Name Pin Functionality Pin Name Pin Functionality Number 1 1 RG15 DBG LED2 Debug LED 2 DBG LED1 Debug LED 1 2 2 VDD VDD VDD +3.3V DIG VDD 3 93 PWM3H PWM1H3 Phase M3 High-Side PWM PWM1H3 Phase M3 High-Side PWM 4 6 PWM5L N/A N/A N/A N/A 5 N/A N/A N/A N/A N/A N/A 6 8 PWM6L N/A N/A N/A N/A 7 9 PWM6H N/A N/A N/A N/A 8 17 AN22 N/A N/A N/A N/A 9 18 AN21 N/A N/A N/A N/A 10 N/A N/A N/A N/A N/A N/A 11 N/A N/A N/A N/A N/A N/A 12 N/A N/A N/A N/A N/A N/A 13 13 Master Clear Reset (MCLR) Master Clear Reset (MCLR) MCLR MCLR MCLR 14 N/A N/A N/A N/A N/A N/A 15 15 VSS VSS VSS GND DIG VSS 16 16 VDD VDD VDD +3.3V DIG VDD 17 N/A N/A N/A N/A N/A N/A 18 50 FLT15 FAULT MC Motor Fault FAULT Motor Fault 19 42 FLT6 N/A N/A PFC FAULT PFC Fault QEI - INDX/Potentiometer Phase M3 Voltage Feedback PIM INDX/POT/ 20 23 AN1/RPA1 PIM V M3 Signal/Phase M3 Voltage Signal V M3 Feedback Signal