pic32mk 100-pin motor control plug-in module (pim) information...

14
2019-2020 Microchip Technology Inc. DS50002930C-page 1 PIC32MK MCM The PIC32MK MCM 100-pin Motor Control Plug-in Module (PIM) (MA320211) is designed to demonstrate the capabilities of the PIC32MK MCM 100-pin Motor Control device, PIC32MK1024MCM100, using external or internal on-chip op amps with the following hardware: dsPICDEM™ MCLV-2 development board (DM330021-2) dsPICDEM™ MCHV-2 development board (DM330023-2 dsPICDEM™ MCHV-3 development board (DM330023-3) All above development boards support 100-pin PIM interfaces. Selecting the External On-board Op Amp 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, J14, and position 5-6 for J11. Figure 1 shows the connection location for the external on-board op amp on the dsPICDEM MCLV-2 development board. FIGURE 1: EXTERNAL OP AMP CONFIGURATION BOARD Selecting the Internal On-board Op Amp Configuration To operate the PIC32MK MCM 100-pin Motor Control PIM using internal on-chip op amps, insert the Internal 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) Figure 2 shows the connection locations for the internal on-board op amp on the dsPICDEM MCLV-2 development board. FIGURE 2: INTERNAL OP AMP CONFIGURATION BOARD 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. WARNING: Do not connect non-isolated oscilloscope probes to probe any traces while using the PIM with the dsPICDEM MCHV-2 or dsPICDEM MCHV-3 development boards. Instead, use a high-voltage differential probe, rate in excess of 600 VRMS (Common mode). Failure to heed this warning could result in hardware damage. PIC32MK MCM 100-pin Motor Control Plug-In Module (PIM) Information Sheet

Upload: others

Post on 04-Nov-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32MK MCMPIC32MK MCM 100-pin Motor Control Plug-In Module (PIM) Information Sheet

The PIC32MK MCM 100-pin Motor Control Plug-inModule (PIM) (MA320211) is designed todemonstrate the capabilities of the PIC32MK MCM100-pin Motor Control device,PIC32MK1024MCM100, using external or internalon-chip op amps with the following hardware:• dsPICDEM™ MCLV-2 development board

(DM330021-2)• dsPICDEM™ MCHV-2 development board

(DM330023-2• dsPICDEM™ MCHV-3 development board

(DM330023-3)All above development boards support 100-pin PIMinterfaces.

Selecting the External On-board Op Amp ConfigurationTo operate the PIC32MK MCM 100-pin MotorControl PIM using external on-board op amps, insertthe External Op amp Configuration Board, which isincluded with the development board, into theappropriate 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, J14, and position 5-6 for J11.

Figure 1 shows the connection location for theexternal on-board op amp on the dsPICDEM MCLV-2development board.

FIGURE 1: EXTERNAL OP AMP CONFIGURATION BOARD

Selecting the Internal On-board Op Amp ConfigurationTo operate the PIC32MK MCM 100-pin MotorControl PIM using internal on-chip op amps, insertthe Internal Op Amp Configuration Board, which isincluded with the development board, into theappropriate header for the hardware in use:• J14 (dsPICDEM MCLV-2 development board)• J4 (dsPICDEM MCHV-2/MCHV-3 development

board) Figure 2 shows the connection locations for theinternal on-board op amp on the dsPICDEM MCLV-2development board.

FIGURE 2: INTERNAL OP AMP CONFIGURATION BOARD

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.

WARNING: Do not connect non-isolatedoscilloscope probes to probe anytraces while using the PIM with thedsPICDEM MCHV-2 or dsPICDEMMCHV-3 development boards.Instead, use a high-voltagedifferential probe, rate in excess of600 VRMS (Common mode). Failure to heed this warning couldresult in hardware damage.

2019-2020 Microchip Technology Inc. DS50002930C-page 1

Page 2: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

2019-2020 M

icrochip Technology Inc.D

S50002930C-page 2

PIC32M

K M

CM

T MCHV2/MCHV3 Board 100-pin PIM

Header

e Pin Functionality

1 Debug LED 1G VDD

Phase M3 High-Side PWM

N/AN/AN/AN/AN/AN/AN/AN/AN/A

Master Clear Reset (MCLR)

N/AVSS

G VDDN/A

Motor FaultLT PFC Fault

OT/ QEI - INDX/Potentiometer Signal/Phase M3 Voltage

Feedback Signal

ABLE 1: PIN MAP

PIM Pin Number

PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header dsPICDEM

Pin Number Pin Name Pin Name Pin Functionality Pin Nam

1 1 RG15 DBG_LED2 Debug LED 2 DBG_LED2 2 VDD VDD VDD +3.3V_DI

3 93 PWM3H PWM1H3 Phase M3 High-Side PWM PWM1H3

4 6 PWM5L N/A N/A N/A5 N/A N/A N/A N/A N/A6 8 PWM6L N/A N/A N/A7 9 PWM6H N/A N/A N/A8 17 AN22 N/A N/A N/A9 18 AN21 N/A N/A N/A

10 N/A N/A N/A N/A N/A11 N/A N/A N/A N/A N/A12 N/A N/A N/A N/A N/A

13 13 _____MCLR

_____MCLR Master Clear Reset (MCLR) _____

MCLR

14 N/A N/A N/A N/A N/A15 15 VSS VSS VSS GND_DIG16 16 VDD VDD VDD +3.3V_DI17 N/A N/A N/A N/A N/A18 50 FLT15 FAULT_MC Motor Fault FAULT19 42 FLT6 N/A N/A PFC_FAU

20 23 AN1/RPA1 PIM_V_M3 Phase M3 Voltage Feedback Signal

PIM_INDX/PV_M3

Page 3: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32M

K M

CM

DS50002930C

-page 3

2019-2020 Microchip Technology Inc.

/IB/V_M2QEI - B/ Phase B Current Signal/

Phase M2 Voltage Feedback Signal

/IA/V_M1QEI - A/ Phase A Current Signal/

Phase M1 Voltage Feedback Signal

S/VBUS DC Bus Voltage Signal

B/POTAC Input Zero Cross/AC Input

Voltage (downscaled)/Potentiometer Signal

A/IPFC PFC Current signal

D Device Programming Clock Line

C Device Programming Clock Line

D/2 AVDD/2

_NEUTR Recreated Motor Neutral Voltage

DD AVDD

SS AVSS

POT Potentiometer SignalPOT Potentiometer Signal

GEN2 General I/OC_BUS DC Bus Voltage Signal

TABLE 1: PIN MAP (CONTINUED)DEM MCHV2/MCHV3 Board 100-pin PIM

Header

ame Pin Functionality

21 26 AN4/RPB2 PIM_V_M2 Phase M2 Voltage Feedback Signal PIM_QEB

22 34 AN8/RPC2 PIM_V_M1 Phase M1 Voltage Feedback Signal PIM_QEA

23 72 AN25 PIM_IMOTOR_SUM DC Bus Current Signal PIM_IBU

24 21 AN9 PIM_IMOTOR2 Phase B Current Signal PIM_I

25 51 AN24 PIM_IMOTOR1 Phase A Current Signal PIM_I

26 70 PGEC2 PGC Device Programming Clock Line PG

27 69 PGED2 PGD Device Programming Clock Line PG

28 N/A N/A VREF AVDD/2 AVD

29 11 AN18 PIM_REC_NEUTR Recreated Motor Neutral Voltage PIM_REC

30 30 AVDD AVDD AVDD AV31 31 AVSS AVSS AVSS AV32 44 AN15 PIM_POT Potentiometer Signal PIM_33 35 AN11 N/A N/A PIM_34 38 RG11 PIM_GEN2 General I/O PIM_35 20 AN10 PIM_VBUS DC Bus Voltage Signal PIM_D

PIM Pin Number

PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header dsPIC

Pin Number Pin Name Pin Name Pin Functionality Pin N

Page 4: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32M

K M

CM

DS50002930C

-page 4

2019-2020 Microchip Technology Inc.

_DIG VSS

_DIG VDD

C_VOL2 AC Input Voltage Signal (unbuffered)

_C_SHUNT PFC Shunt Signal

FC_L PFC Shunt Signal

M1/POTHall sensor A/QEI - A/Phase A

Current signal/Phase M1 Voltage feedback signal

V_M2Hall sensor B/QEI - B/Phase B

Current signal/Phase M2 Voltage feedback signal

M3/IBUS

Hall sensor C/QEI - INDX/DC Bus Current signal/Phase M3

Voltage feedback signal/ Potentiometer Signal

/A N/A_DIG VSS

_DIG VDD

B/QEB Hall sensor B/QEI - B

TABLE 1: PIN MAP (CONTINUED)DEM MCHV2/MCHV3 Board 100-pin PIM

Header

ame Pin Functionality

36 36 VSS VSS VSS GND

37 37 VDD VDD VDD +3.3V

38 39 RF13 N/A N/A PIM_VA

39 40 RF12 N/A N/A PIM_IPFC

40 41 RE12 N/A N/A PIM_P

41 14 RPG9/AN16 PIM_MONITOR_1Hall sensor A/Phase A

Current signal/Phase M1 Voltage feedback signal

PIM_V_

42 12 RPG8/AN17 PIM_MONITOR_2Hall sensor B/Phase B

Current signal/Phase M2 Voltage feedback signal

PIM_

43 53 RPE1/AN41 PIM_MONITOR_3Hall sensor C/DC Bus

Current signal/Phase M3 Voltage feedback signal

PIM_V_

44 47 RD14 N/A N/A N45 45 VSS VSS VSS GND46 46 VDD VDD VDD +3.3V

47 43 RPE14 HALLB Hall Sensor B/QEI - B Input HALL

PIM Pin Number

PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header dsPIC

Pin Number Pin Name Pin Name Pin Functionality Pin N

Page 5: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

2019-2020 M

icrochip Technology Inc.D

S50002930C-page 5

PIC32M

K M

CM

X Hall sensor C/QEI - INDX

UART RxUART Tx

N/AN/AN/AN/AN/AN/AN/A

UT2 General I/OUT1 General I/O2 Debug LED2

Quadrature Encoder Home Input

G VDD

Oscillator Clock InOscillator Clock Out

VSS

+ DC Bus Current Shunt Signal (+)

- DC Bus Current Shunt Signal (-)

Push Button SwitchN/A

T MCHV2/MCHV3 Board 100-pin PIM

Header

e Pin Functionality

48 66 RPA14 HALLC Hall Sensor C/QEI - INDX Input HALLC/IND

49 81 RPC8 RX UART Rx RX50 76 RPB9 TX UART Tx TX51 3 RPA7 USB_TX USB - UART Bridge Tx N/A52 67 RPA15 USB_RX USB - UART Bridge Rx N/A53 58 VBUS2 N/A N/A N/A54 59 D2- N/A N/A N/A55 60 D2+ N/A N/A N/A56 77 USBID2 N/A N/A N/A57 71 DAC2 N/A N/A N/A58 80 RD13 PIM_FLT_OUT2 General I/O PIM_FLT_O59 91 RF6 PIM_FLT_OUT1 General I/O PIM_FLT_O60 61 RF5 DBG_LED1 Debug LED 1 DBG_LED

61 10 RPG6 HOME Quadrature Encoder Home Input HOME

62 62 VDD VDD VDD +3.3V_DI63 63 CLKI OSCI/CLKI Oscillator Clock In OSCI64 64 CLKO OSCO/CLKO Oscillator Clock Out OSCO65 65 VSS VSS VSS GND_DIG

66 N/A N/A PIM_IBUS+ DC Bus current shunt signal (+) PIM_IBUS

67 N/A N/A PIM_IBUS- DC Bus current shunt signal (-) PIM_IBUS

68 68 RD8 LIN_CS LIN Chip Select Signal BTN69 79 RD12 LIN_FAULT LIN Fault Signal N/A

ABLE 1: PIN MAP (CONTINUED)

PIM Pin Number

PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header dsPICDEM

Pin Number Pin Name Pin Name Pin Functionality Pin Nam

Page 6: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32M

K M

CM

DS50002930C

-page 6

2019-2020 Microchip Technology Inc.

X UART RxC_PWM PFC PWM/A N/A

_IB+ Phase B current shunt signal (+)

_IA+ Phase A current shunt signal (+)

_DIG VSS

/A N/A/A N/A/A N/AZX AC Voltage Zero Crossing

A/QEA Hall Sensor A/ QEI - A Input

/A N/AGEN1 General I/O/A N/A/A N/A/A N/A_DIG VDD

/A N/A/A N/A/A N/A/A N/A/A N/A/A N/A

TABLE 1: PIN MAP (CONTINUED)DEM MCHV2/MCHV3 Board 100-pin PIM

Header

ame Pin Functionality

70 81 RPC8 RX UART Rx R71 7 PWM5H N/A N/A PIM_PF72 67 RPA15 USB_RX USB - UART Bridge Rx N

73 N/A N/A PIM_IB+ Phase B current shunt signal (+) PIM

74 N/A N/A PIM_IA+ Phase A current shunt signal (+) PIM

75 75 VSS VSS VSS GND76 3 RPA7 USB_TX USB - UART Bridge Tx N77 52 RPE0 CAN_TX CAN Tx N78 87 RPF0 CAN_RX CAN Rx N79 19 RE9 N/A N/A VAC

80 84 RPC9 HALLA Hall Sensor A/ QEI - A Input HALL

81 N/A N/A N/A N/A N82 82 RD5 PIM_GEN1 General I/O PIM_83 89 RG1 BTN_1 Push Button S2 Input N84 78 RC7 BTN_2 Push Button S3 Input N85 49 DAC3 N/A N/A N86 86 VDD VDD VDD +3.3V87 87 RPF0 CAN_RX CAN Rx N88 52 RPE0 CAN_TX CAN Tx N89 88 RF1 N/A N/A N90 90 RG0 N/A N/A N91 73 SOSCI N/A N/A N92 74 SOSCO N/A N/A N

PIM Pin Number

PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header dsPIC

Pin Number Pin Name Pin Name Pin Functionality Pin N

Page 7: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32M

K M

CM

DS50002930C

-page 7

2019-2020 Microchip Technology Inc.

1L1 Phase M1 Low-Side PWM

1H1 Phase M1 High-Side PWM

/A N/A/A N/A/A N/A

1L2 Phase M2 Low-Side PWM

1H2 Phase M2 High-Side PWM

1L3 Phase M3 Low-Side PWM

TABLE 1: PIN MAP (CONTINUED)DEM MCHV2/MCHV3 Board 100-pin PIM

Header

ame Pin Functionality

93 5 PWM1L PWM1L1 Phase M1 Low-Side PWM PWM

94 4 PWM1H PWM1H1 Phase M1 High-Side PWM PWM

95 95 RG14 N/A N/A N96 96 RG12 N/A N/A N97 97 RG13 N/A N/A N

98 99 PWM2L PWM1L2 Phase M2 Low-Side PWM PWM

99 98 PWM2H PWM1H2 Phase M2 High-Side PWM PWM

100 94 PWM3L PWM1L3 Phase M3 Low-Side PWM PWM

PIM Pin Number

PIC32MK MCM dsPICDEM MCLV2 Board 100-pin PIM Header dsPIC

Pin Number Pin Name Pin Name Pin Functionality Pin N

Page 8: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

2019-2020 M

icrochip Technology Inc.D

S50002930C-page 8

PIC32M

K M

CM

F

IGURE 3: 100-PIN PIM HEADER SCHEMATIC
Page 9: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32M

K M

CM

DS50002930C

-page 9

2019-2020 Microchip Technology Inc.

FIGURE 4: 100-PIN PIM DEVICE SCHEMATIC

DVDD

PIM_IMOTOR1

PIM_MONITOR_3CAN_TX

DEBUG_LED1

HALLCUSB_RXLIN_CS

PGCPGD

PIM_IMOTOR_SUM

OSCO

TX

BTN_2LIN_FAULTPIM_FLT_OUT2RXPIM_GEN1

HALLA

CAN_RX

BTN_1

PIM_FLT_OUT1

PWM1L3PWM1H3

PWM1L2PWM1H2

VBUS2

D2+D2-

SOSCISOSCO

USBID2

CLKI

RF1

RG0

RG14RG12RG13

DAC2

0R

R23

DNP

R24DNP

H

I

DVDD

DAC2

DVDD

VBUS

D1+D1-

RF7

RD6

RA10

VREF

4/RA451

0/RE052

1/RE153

D1-56

D1+57

D2-59

D2+60

5/RF561

/RC1263

/RC1564

/RA1466

/RA1567

RD868

1/RB569

5/RB670

/RC1071

0/RB772

/RC1373

8/RB874

9/RB976

6/RC677

7/RC778

/RD1279

/RD1380

/RC881

/RD582

4/RD683

5/RC984

1/RF087

0/RF188

9/RG189

8/RG090

8/RF691

9/RF792

/RB1093

/RB1194

/RG1495

/RG1296

/RG1397

/RB1298

/RB1399

/RA10100

VDD62

VDD86

VBUS54

B3V355

BUS258

VSS65

VSS75

VSS85

PIC32MK1024MCM100 MC PIM

MCLR

PIN 02

4.7uFTANT-B

C20DNP

AGND

AVDD

PIN 16 PIN 37 PIN 30 PIN 46 PIN 62 PIN 86

220 OHM

FB1

0R

R22

AVDD

AGNDAGND

J3

GND

J4

AGND

DVDD

0.1uFC10

.01uF

C19

0.1uFC11

0.1uFC12

0.1uFC13

0.1uFC14

0.1uFC15

0.1uFC16 0.1uF

C170.1uFC18

DEBUG_LED2

USB_TXPWM1H1PWM1L1

HOMEPIM_REC_NEUTRPIM_MONITOR_2

PIM_MONITOR_1

PIM_VBUSPIM_IMOTOR2

PIM_GEN2

HALLBPIM_POT

FAULT_MCDAC3

0RR25

DNP

R26DNPCLKI CLKI_PIM

DVDD DVDDDVDDDVDDDVDDDVDDDVDD

PWM5L

AN22AN21

PWM6LPWM6H

RF13RF12RE12

RD14

RC11

(DNP)

PIM_IBUS+

PIM_IA+

PIM_V_M1

PIM_IBUS+

PIM_IB+

PIM_V_M2

PIM_IBUS-

PIM_IBUS+

PIM_V_M3

0RR19

0RR20

0RR21

A1

C1

B1

A2

C2

B2

A3

C3

B3

D1

E1

D2

F2

E2

F3

E3

AGND

AGND

AGND

AGND

AGND

AGND

DAC2/VREF

DAC2/VREF

DAC2/VREF

DAC2/VREF D3

DVDD

DVDD

DVDD

DVDD

AVDD

F1

AN20

FLT6

RD2

RF9

RD15

RF10

J1

DVDD

J2

AVDD

GND2

OUT3

VDD4

STB1

GND

OUT VDD

STB

DSC6003CI2A-024.0000

X1 24MHz

AN23/CVC23/PMA23/RG151

TCK/RPA7/PWM10H/PWM4L/PMD5/RA73

RPB14/PWM1H/VBUSON1/PMD6/RB144

RPB15/PWM7H/PWM1L/PMD7/RB155

PWM11H/PWM5L/RD16

PWM5H/RD27

RPD3/PWM12H/PWM6L/RD38

RPD4/PWM6H/RD49

AN19/CVD19/RPG6/PWM10L/VBUSON2/PMA5/RG610

AN18/CVD18/RPG7/PWM10H/SCL1/PMA4/RG711

AN17/CVD17/RPG8/SDA1/PMA3/RG812

MCLR13

AN16/CVD16/RPG9/PMA2/RG914

AN22/CVD22/RG1017

AN21/CVD21/RE818

AN20/CVD20/RE919

AN10/CVD10/RPA12/RA1220

AN9/CVD9/RPA11/RA1121

OA2OUT/AN0/C2IN4-/C4IN3-/RPA0/RA022

OA2IN+/AN1/C2IN1+/RPA1/RA123

PGED3/OA2IN-/AN2/C2IN1-/RPB0/CTED2/RB024

PGEC3/OA1OUT/AN3/C1IN4-/C4IN2-/RPB1/CTED1/RB125

PGEC1/OA1IN+/AN4/C1IN1+/C1IN3-/C2IN3-/RPB2/RB226

PGED1/OA1IN-/AN5/CTCMP/C1IN1-/RTCC/RPB3/RB327

VREF-/AN33/CVD33/PMPA7/RF928

VREF+/AN34/CVD34/PMPA6/RF1029

OA3OUT/AN6/CVD6/C3IN4-/C4IN1+/C4IN4-/RPC0/RC032

OA3IN-/AN7/CVD7/C3IN1-/C4IN1-/RPC1/RC133

OA3IN+/AN8/CVD8/C3IN1+/C3IN3-/RPC2/FLT3/PMA13/RC234

AN11/CVD11/C1IN2-/FLT4/PMA12/RC1135

AN35/CVD35/RG1138

AN36/CVD36/RF1339

AN37/CVD37/RF1240

AN12/CVD12/C2IN2-/C5IN2-/SDA4/FLT5/PMA11/RE1241

AN13/CVD13/C3IN2-/SCL4/FLT6/PMA10/RE1342

AN14/CVD14/RPE14/FLT7/PMA1/RE1443

AN15/CVD15/RPE15/FLT8/PMPA0/RE1544

AN38/CVD38/RD1447

AN39/CVD39/RD1548

TDI/DAC3/AN26/CVD26/RPA8/SDA2/PMA9/RA849

FLT15/RPB4/SCL2/PMA8/RB450

OA5IN+/DAC1/AN24/CVD24/C5IN1+/C5IN3-/RPA

AN40/CVD40/RPEAN41/CVD41/RPE

AN45/CVD4

OSCI/CLKI/AN49/CVD49/RPC12OSCO/CLKO/RPC15

AN46/CVD46/RPA14AN47/CVD47/RPA15

PGED2/RPB5/SDA3/USBIDPGEC2/RPB6/SCL3/SCK2/PMA1

DAC2/AN48/CVD48/RPC10/PMA14/PMCSOA5OUT/AN25/CVD25/C5IN4-/RPB7/SCK1/INT

SOSCI/RPC13SOSCO/RPB

TMS/OA5IN-/AN27/CVD27/LVDIN/C5IN1-/RPBRPC6/USBID2/PMA1

RPC7/PMA1PMD12PMD13

RPC8/PMWRRPD5/PWM12H/PMRD

RPD6/PWM12L/PMD1RPC9/PMD1

RPF0/PWM11H/PMD1RPF1/PWM11L/PMD1

RPG1/PMDRPG0/PMD

TRCLK/PWM9H/PMA1TRD3/PWM9L/PMA1

RPB10/PWM3H/PMD0RPB11/PWM9H/PWM3L/PMD1

TRD2/PWM8H/PMA20TRD1/RPG12/PWM8L/PMA21

TRD0/PWM7H/PMA22RPB12/PWM2H/PMD2

RPB13/PWM8H/PWM2L/CTPLS/PMD3TDO/PWM4H/PMD4

VDD2

VDD16

AVDD30

VDD37

VDD46

VUS

V

VSS15

AVSS31

VSS36

VSS45

U1

PIC32MK1024MCM100-I/PT

3900pFC1

8200pFC7

130RR1

3900pFC2

3900pFC3

3900pFC4

3900pFC5

3900pFC6

8200pFC8

8200pFC9

130RR2

130RR3 130RR4

130RR5 130RR6

130RR7 130RR8

130RR9 130RR10

130RR11 130RR12

3.9kR13

3.9kR14

3.9kR15

3.9kR16

3.9kR17

3.9kR18

Page 10: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32MK MCM

The reference voltage (VREF) biases the op amps toVDD/2, therefore the bidirectional motor phasecurrent can be sensed using unipolar op amps. Thesource of VREF can be selected either from thedevelopment board or from the internally generatedreference voltage using DAC2 and resistors R23/R24, as shown in Figure 4. By default, the PIM isconfigured to source the reference voltage, internallygenerated using DAC2 by populating R23 andkeeping R24 depopulated.

To source the reference voltage from Motor ControlPIM, R23 needs to be depopulated and R24 must bepopulated with a zero ohm resistor.The internal op amp configuration and passiveresistor-capacitive network configures the filterbandwidth, op amp bias and op amp gain, as shownin Figure 4.Table 2 classifies the passive components accordingto their functionality and also specifies the designequations for filter bandwidth and op amp gain.

TABLE 2: ANALOG FUNCTIONALITY LISTINGOp Amp Number Analog Function Passive

Components Design Equations

1 Low-Pass Filter R1, R2, R3, R4, C1, C2, C7

Differential Amplifier Input R1, R2, R3, R4

Differential Amplifier Feedback R13

2 Low-Pass Filter R5, R6, R7, R8, C3, C4, C8

Differential Amplifier Input R5, R6, R7, R8

Differential Amplifier Feedback R15

3 Low-Pass Filter R9, R10, R11, R12, C5, C6, C9

Differential Amplifier Input R9, R10, R11, R12

Differential Amplifier Feedback R17

R1 R2 R3 R4 R= = = =C1 C2 C= =

Common mode f-3dB1

2RC---------------

Differential mode f-3dB1

2 2R C2---- C7+

-----------------------------------------

DifferentialAmplifierGain R132R--------=

R5 R6 R7 R8 R= = = =C3 C4 C= =

Common mode f-3dB1

2RC---------------

Differential mode f-3dB1

2 2R C2---- C8+

-----------------------------------------

DifferentialAmplifierGain R152R--------=

R9 R10 R11 R12 R= = = =C5 C6 C= =

Common mode f-3dB1

2RC---------------

Differential mode f-3dB1

2 2R C2---- C9+

-----------------------------------------

DifferentialAmplifierGain R172R--------=

DS50002930C-page 10 2019-2020 Microchip Technology Inc.

Page 11: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32MK MCM

Figure 5 illustrates a typical block diagram of the opamp circuit.

FIGURE 5: OP AMP CIRCUIT BLOCK DIAGRAM

2019-2020 Microchip Technology Inc. DS50002930C-page 11

Page 12: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

PIC32MK MCM

NOTES:

DS50002930C-page 12 2019-2020 Microchip Technology Inc.

Page 13: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

Note the following details of the code protection feature on Microchip devices:• Microchip products meet the specification contained in their particular Microchip Data Sheet.

• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.

• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

• Microchip is willing to work with the customer who is concerned about the integrity of their code.

• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Information contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights unless otherwise stated.

2019-2020 Microchip Technology Inc.

For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.

TrademarksThe Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.

Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries.GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies.

© 2019-2020, Microchip Technology Incorporated, All Rights Reserved.

ISBN: 978-1-5224-6052-7

DS50002930C-page 13

Page 14: PIC32MK 100-pin Motor Control Plug-in Module (PIM) Information …ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-MCM-100... · 2020. 7. 30. · 2019-2020 Microchip Technology Inc

DS50002930C-page 14 2019-2020 Microchip Technology Inc.

AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.comAtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455Austin, TXTel: 512-257-3370 BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924DetroitNovi, MI Tel: 248-848-4000Houston, TX Tel: 281-894-5983IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Tel: 317-536-2380Los AngelesMission Viejo, CA Tel: 949-462-9523Fax: 949-462-9608Tel: 951-273-7800 Raleigh, NC Tel: 919-844-7510New York, NY Tel: 631-435-6000San Jose, CA Tel: 408-735-9110Tel: 408-436-4270Canada - TorontoTel: 905-695-1980 Fax: 905-695-2078

ASIA/PACIFICAustralia - SydneyTel: 61-2-9868-6733China - BeijingTel: 86-10-8569-7000 China - ChengduTel: 86-28-8665-5511China - ChongqingTel: 86-23-8980-9588China - DongguanTel: 86-769-8702-9880 China - GuangzhouTel: 86-20-8755-8029 China - HangzhouTel: 86-571-8792-8115 China - Hong Kong SARTel: 852-2943-5100 China - NanjingTel: 86-25-8473-2460China - QingdaoTel: 86-532-8502-7355China - ShanghaiTel: 86-21-3326-8000 China - ShenyangTel: 86-24-2334-2829China - ShenzhenTel: 86-755-8864-2200 China - SuzhouTel: 86-186-6233-1526 China - WuhanTel: 86-27-5980-5300China - XianTel: 86-29-8833-7252China - XiamenTel: 86-592-2388138 China - ZhuhaiTel: 86-756-3210040

ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 India - New DelhiTel: 91-11-4160-8631India - PuneTel: 91-20-4121-0141Japan - OsakaTel: 81-6-6152-7160 Japan - TokyoTel: 81-3-6880- 3770 Korea - DaeguTel: 82-53-744-4301Korea - SeoulTel: 82-2-554-7200Malaysia - Kuala LumpurTel: 60-3-7651-7906Malaysia - PenangTel: 60-4-227-8870Philippines - ManilaTel: 63-2-634-9065SingaporeTel: 65-6334-8870Taiwan - Hsin ChuTel: 886-3-577-8366Taiwan - KaohsiungTel: 886-7-213-7830Taiwan - TaipeiTel: 886-2-2508-8600 Thailand - BangkokTel: 66-2-694-1351Vietnam - Ho Chi MinhTel: 84-28-5448-2100

EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4485-5910 Fax: 45-4485-2829Finland - EspooTel: 358-9-4520-820France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - GarchingTel: 49-8931-9700Germany - HaanTel: 49-2129-3766400Germany - HeilbronnTel: 49-7131-72400Germany - KarlsruheTel: 49-721-625370Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44Germany - RosenheimTel: 49-8031-354-560Israel - Ra’anana Tel: 972-9-744-7705Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781Italy - PadovaTel: 39-049-7625286 Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340Norway - TrondheimTel: 47-7288-4388Poland - WarsawTel: 48-22-3325737 Romania - BucharestTel: 40-21-407-87-50Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91Sweden - GothenbergTel: 46-31-704-60-40Sweden - StockholmTel: 46-8-5090-4654UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820

Worldwide Sales and Service

02/28/20