dspic33ck64mp105 motor control pim information sheet for internal op amp … · 2018. 8. 15. · op...

12
2019 Microchip Technology Inc. DS50002849A-page 1 dsPIC33CK64MP105 The dsPIC33CK64MP105 Motor Control PIM for Internal Op Amp Motor Configuration (P/N: MA330050-2) is designed to demonstrate the motor control capabilities of the dsPIC33CK64MP105 device using internal op amps available on the device. The dsPIC33CK64MP105 device is a high- performance, 16-bit Digital Signal Controller (DSC). This Motor Control PIM is designed to take advan- tage of the high-resolution PWM (with fine edge placement) peripheral on the device. The PWM, along with other peripherals, such as the ADC, enable motor control applications. The PIM can be used to demonstrate and develop motor control applications by inserting it in the 100-pin PIM interface header provided on the compatible motor control development boards (see Table 1). The PIM is designed to run a single motor with all the com- patible development boards. When operating this PIM on the dsPICDEM™ MCLV-2 Development Board, insert an internal op amp configuration matrix board (see Figure 2) on the J14 header provided on the board. In the case of dsPICDEM MCHV-2/MCHV-3 Development Boards, insert an internal op amp configuration matrix board on to the J4 header (as shown in Figure 2) on the board. This PIM can be used on the dsPICDEM MCHV-3 Development Board to implement and demonstrate single-stage boost Power Factor Correction (PFC) control, along with field-oriented control. For additional information regarding development boards, refer to the respective user’s guides available on the Microchip website (www.microchip.com). FIGURE 1: dsPIC33CK64MP105 MOTOR CONTROL PIM FOR INTERNAL OP AMP (P/N: MA330050-2) Table 1 provides information on the hardware versions of the motor control boards that are compatible with this PIM. Refer to the specific motor control board user’s guide for the hardware version identification information. FIGURE 2: INTERNAL OP AMP CONFIGURATION BOARD dsPIC33CK64MP105 Motor Control Plug-In Module (PIM) Information Sheet for Internal Op Amp Configuration

Upload: others

Post on 28-Jan-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

  • dsPIC33CK64MP105dsPIC33CK64MP105 Motor Control Plug-In Module (PIM)

    Information Sheet for Internal Op Amp Configuration

    The dsPIC33CK64MP105 Motor Control PIM for InternalOp Amp Motor Configuration (P/N: MA330050-2) isdesigned to demonstrate the motor controlcapabilities of the dsPIC33CK64MP105 device usinginternal op amps available on the device.

    The dsPIC33CK64MP105 device is a high-performance, 16-bit Digital Signal Controller (DSC).This Motor Control PIM is designed to take advan-tage of the high-resolution PWM (with fine edgeplacement) peripheral on the device. The PWM, alongwith other peripherals, such as the ADC, enable motorcontrol applications.

    The PIM can be used to demonstrate and developmotor control applications by inserting it in the 100-pinPIM interface header provided on the compatiblemotor control development boards (see Table 1). ThePIM is designed to run a single motor with all the com-patible development boards. When operating this PIMon the dsPICDEM™ MCLV-2 Development Board,insert an internal op amp configuration matrix board(see Figure 2) on the J14 header provided on theboard. In the case of dsPICDEM MCHV-2/MCHV-3Development Boards, insert an internal op ampconfiguration matrix board on to the J4 header (asshown in Figure 2) on the board. This PIM can beused on the dsPICDEM MCHV-3 DevelopmentBoard to implement and demonstrate single-stageboost Power Factor Correction (PFC) control, alongwith field-oriented control.

    For additional information regarding developmentboards, refer to the respective user’s guides availableon the Microchip website (www.microchip.com).

    FIGURE 1: dsPIC33CK64MP105 MOTOR CONTROL PIM FOR INTERNAL OP AMP (P/N: MA330050-2)

    Table 1 provides information on the hardware versionsof the motor control boards that are compatible with thisPIM. Refer to the specific motor control board user’sguide for the hardware version identification information.

    FIGURE 2: INTERNAL OP AMP CONFIGURATION BOARD

    2019 Microchip Technology Inc. DS50002849A-page 1

  • dsPIC33CK64MP105

    TABLE 1: HARDWARE COMPATIBILITY

    Development Board Part Number Compatible Hardware Version(s)

    dsPICDEM™ MCHV Development Board DM330023 Not CompatibledsPICDEM MCLV Development Board DM330021 Not CompatibleLow-Voltage Motor Control Development Bundle DV330100 Not CompatibledsPICDEM MCLV-2 Development Board DM330021-2 All RevisionsdsPICDEM MCHV-2 Development Board DM330023-2 All RevisionsdsPICDEM MCHV-3 Development Board DM330023-3 All Revisions

    WARNING

    Do not connect non-isolated oscilloscope probes to the test points on the PIM while in use with the dsPICDEM™ MCHV-2 or MCHV-3 Development Board. Failure to heed this warning could result in hardware damage.

    DS50002849A-page 2 2019 Microchip Technology Inc.

  • dsPIC33CK64MP105

    Table 2 provides mapping between the 48-pin deviceand the 100-pin PIM.

    TABLE 2: DEVICE TO PIM MAPPING (SORTED BY DEVICE PIN NUMBER)Device Pin # PIM Pin #

    dsPIC33CK64MP105 Device Functional Description Remarks

    1 PIM:94 RP46/PWM1H/RB14 Direct Connection2 PIM:93 RP47/PWM1L/RB15 Direct Connection3 PIM:60 RP60/RC12 Direct Connection4 PIM:01 RP61/RC13 Direct Connection

    5 PIM:13 MCLR Direct Connection6 PIM:78 ANN2/RP77/RD13 Direct Connection7 PIM:35 AN12/ANN0/RP48/RC0 Direct Connection8 PIM:25(1) OA1OUT/AN0/CMP1A/IBIAS0/RA0 Connected via 0 Ohm Resistor9 PIM:24(1) OA1IN-/ANA1/RA1 Connected via 0 Ohm Resistor

    PIM:67 OA1IN-/ANA1/RA1 Optional Op Amp Input10 PIM:23(1) OA1IN+/AN9/RA2 Connected via 0 Ohm Resistor

    PIM:66 OA1IN+/AN9/RA2 Optional Op Amp Input11 PIM:20(1) DACOUT/AN3/CMP1C/RA3 Connected via 0 Ohm Resistor12 PIM:21(2) OA3OUT/AN4/CMP3B/IBIAS3/RA4 Can be Connected via 0 Ohm Resistor13 PIM:30 AVDD Analog Power (AVDD)14 PIM:31(5) AVSS Analog Ground (AGND)15 PIM:66 OA3IN-/AN13/CMP1B/ISRC0/RP49/RC1 Op Amp Input16 PIM:73 OA3IN+/AN14/CMP2B/ISRC1/RP50/RC2 Op Amp Input17 PIM:19 AN17/ANN1/IBIAS1/RP54/RC6 Direct Connection18 PIM:02, 16, 37, 46,

    62, 86(3)VDD Digital Power (DVDD)

    19 PIM:15, 36, 45, 65, 75(4)

    VSS Digital Ground (DGND)

    20 PIM:22 AN15/CMP2A/IBIAS2/RP51/RC3 Direct Connection21 PIM:63 OSCI/CLKI/AN5/RP32/RB0 Direct Connection22 PIM:64 OSCO/CLKO/AN6/RP33/RB1 Direct Connection23 PIM:21 AN18/CMP3C/ISRC3/RP74/RD10 Direct Connection24 PIM:70 AN16/ISRC2/RP55/RC7 Direct Connection25 PIM:22(2) OA2OUT/AN1/AN7/ANA0/CMP1D/CMP2D/CMP3D/

    RP34/INT0/RB2Can be Connected via 0 Ohm Resistor

    26 PIM:66 PGD2/OA2IN-/AN8/RP35/RB3 Op Amp Input27 PIM:74 PGC2/OA2IN+/RP36/RB4 Op Amp Input28 PIM:49 RP56/ASDA1/SCK2/RC8 Direct Connection29 PIM:68 RP57/ASCL1/SDI2/RC9 Direct Connection30 PIM:18 RP72/SDO2/PCI19/RD8 Direct Connection31 PIM:15, 36, 45,

    65, 75(4)VSS Digital Ground (DGND)

    32 PIM:02, 16, 37, 46, 62, 86(3)

    VDD Digital Power (DVDD)

    33 PIM:27 PGD3/RP37/SDA2/RB5 Direct ConnectionNote 1: The PIM pin is directly connected to the device pin through a 0 Ohm resistor (default), which can be removed if desired.

    2: The PIM pin can be connected to a device pin through a 0 Ohm resistor, if required. For proper operation, ensure that other 0 Ohm resistors connecting to the same device pin are removed.

    3: Digital Power (DVDD) pins are shorted together on the PIM.4: Digital Ground (DGND) pins are shorted together on the PIM.5: Analog Ground (AGND) connection via PIM:31 is shorted with Digital Ground (DGND) through 0 Ohm resistor, R28, on

    the PIM.

    2019 Microchip Technology Inc. DS50002849A-page 3

  • dsPIC33CK64MP105

    34 PIM:26 PGC3/RP38/SCL2/RB6 Direct Connection35 PIM:32 TDO/AN2/CMP3A/RP39/RB7 Direct Connection36 PIM:61 PGD1/AN10/RP40/SCL1/RB8 Direct Connection37 PIM:80 PGC1/AN11/RP41/SDA1/RB9 Direct Connection38 PIM:84 RP52/ASDA2/RC4 Direct Connection39 PIM:47 RP53/ASCL2/RC5 Direct Connection40 PIM:48 RP58/RC10 Direct Connection41 PIM:79 RP59/RC11 Direct Connection

    PIM:83 RP59/RC11 Direct Connection42 PIM:15, 36, 45,

    65, 75(4)VSS Digital Ground (DGND)

    43 PIM:02, 16, 37, 46, 62, 86(3)

    VDD Digital Power (DVDD)

    44 PIM:50 RP65/PWM4H/RD1 Direct Connection45 PIM:03 TMS/RP42/PWM3H/RB10 Direct Connection46 PIM:100 TCK/RP43/PWM3L/RB11 Direct Connection47 PIM:99 TDI/RP44/PWM2H/RB12 Direct Connection48 PIM:98 RP45/PWM2L/RB13 Direct Connection

    TABLE 2: DEVICE TO PIM MAPPING (SORTED BY DEVICE PIN NUMBER) (CONTINUED)Device Pin # PIM Pin #

    dsPIC33CK64MP105 Device Functional Description Remarks

    Note 1: The PIM pin is directly connected to the device pin through a 0 Ohm resistor (default), which can be removed if desired.2: The PIM pin can be connected to a device pin through a 0 Ohm resistor, if required. For proper operation, ensure that

    other 0 Ohm resistors connecting to the same device pin are removed.3: Digital Power (DVDD) pins are shorted together on the PIM.4: Digital Ground (DGND) pins are shorted together on the PIM.5: Analog Ground (AGND) connection via PIM:31 is shorted with Digital Ground (DGND) through 0 Ohm resistor, R28, on

    the PIM.

    DS50002849A-page 4 2019 Microchip Technology Inc.

  • dsPIC33CK64MP105

    Table 3 provides mapping between the 100-pin PIMand the 48-pin device.

    TABLE 3: DEVICE TO PIM MAPPING (SORTED BY PIM PIN NUMBER)PIM

    Pin #Device Pin #

    dsPIC33CK64MP105 Device Functional Description Remarks

    PIM:01 4 RP61/RC13 Direct ConnectionPIM:02, 16, 37, 46,

    62, 86(3)18, 32, 43 VDD Digital Power (DVDD)

    PIM:03 45 TMS/RP42/PWM3H/RB10 Direct ConnectionPIM:04 — — Not ConnectedPIM:05 — — Not ConnectedPIM:06 — — Not ConnectedPIM:07 — — Not ConnectedPIM:08 — — Not ConnectedPIM:09 — — Not ConnectedPIM:10 — — Not ConnectedPIM:11 — — Not ConnectedPIM:12 — — Not Connected

    PIM:13 5 MCLR Direct ConnectionPIM:14 — — Not Connected

    PIM:15, 36, 45, 65, 75(4)

    19, 31, 42 VSS Digital Ground (DGND)

    PIM:02, 16, 37, 46, 62, 86(3)

    18, 32, 43 VDD Digital Power (DVDD)

    PIM:17 — — Not ConnectedPIM:18 30 RP72/SDO2/PCI19/RD8 Direct ConnectionPIM:19 17 AN17/ANN1/IBIAS1/RP54/RC6 Direct Connection

    PIM:20(1) 11 DACOUT/AN3/CMP1C/RA3 Connected via 0 Ohm ResistorPIM:21(2) 23 AN18/CMP3C/ISRC3/RP74/RD10 Direct Connection

    12 OA3OUT/AN4/CMP3B/IBIAS3/RA4 Can be Connected via 0 Ohm ResistorPIM:22(2) 20 AN15/CMP2A/IBIAS2/RP51/RC3 Direct Connection

    25 OA2OUT/AN1/AN7/ANA0/CMP1D/CMP2D/CMP3D/RP34/INT0/RB2

    Can be Connected via 0 Ohm Resistor

    PIM:23(1) 10 OA1IN+/AN9/RA2 Connected via 0 Ohm ResistorPIM:24(1) 9 OA1IN-/ANA1/RA1 Connected via 0 Ohm ResistorPIM:25(1) 8 OA1OUT/AN0/CMP1A/IBIAS0/RA0 Connected via 0 Ohm ResistorPIM:26 34 PGC3/RP38/SCL2/RB6 Direct ConnectionPIM:27 33 PGD3/RP37/SDA2/RB5 Direct ConnectionPIM:28 — VREF 1.65V External 1.65V Reference (refer to Figure 3)PIM:29 — — Not ConnectedPIM:30 13 AVDD Analog Power (AVDD)

    PIM:31(5) 14 AVSS Analog Ground (AGND)PIM:32 35 TDO/AN2/CMP3A/RP39/RB7 Direct ConnectionPIM:33 — — Not ConnectedPIM:34 — — Not Connected

    Note 1: The PIM pin is directly connected to the device pin through a 0 Ohm resistor (default), which can be removed if desired.2: The PIM pin can be connected to a device pin through a 0 Ohm resistor, if required. For proper operation, ensure that

    other 0 Ohm resistors connecting to the same device pin are removed.3: Digital Power (DVDD) pins are shorted together on the PIM.4: Digital Ground (DGND) pins are shorted together on the PIM.5: Analog Ground (AGND) connection via PIM:31 is shorted with Digital Ground (DGND) through 0 Ohm resistor, R28, on the PIM.

    2019 Microchip Technology Inc. DS50002849A-page 5

  • dsPIC33CK64MP105

    PIM:35 7 AN12/ANN0/RP48/RC0 Direct ConnectionPIM:15, 36, 45,

    65, 75(4)19, 31, 42 VSS Digital Ground (DGND)

    PIM:02, 16, 37, 46, 62, 86(3)

    18, 32, 43 VDD Digital Power (DVDD)

    PIM:38 — — Not ConnectedPIM:39 — — Not ConnectedPIM:40 — — Not ConnectedPIM:41 — — Not ConnectedPIM:42 — — Not ConnectedPIM:43 — — Not ConnectedPIM:44 — — Not ConnectedPIM:45 — — Not ConnectedPIM:46 — — Not ConnectedPIM:47 39 RP53/ASCL2/RC5 Direct ConnectionPIM:48 40 RP58/RC10 Direct ConnectionPIM:49 28 RP56/ASDA1/SCK2/RC8 Direct ConnectionPIM:50 44 RP65/PWM4H/RD1 Direct ConnectionPIM:51 — — Not ConnectedPIM:52 — — Not ConnectedPIM:53 — — Not ConnectedPIM:54 — — Not ConnectedPIM:55 — — Not ConnectedPIM:56 — — Not ConnectedPIM:57 — — Not ConnectedPIM:58 — — Not ConnectedPIM:59 — — Not ConnectedPIM:60 3 RP60/RC12 Diriect ConnectionPIM:61 36 PGD1/AN10/RP40/SCL1/RB8 Diriect ConnectionPIM:62 — — Not ConnectedPIM:63 21 OSCI/CLKI/AN5/RP32/RB0 Diriect ConnectionPIM:64 22 OSCO/CLKO/AN6/RP33/RB1 Diriect Connection

    PIM:15, 36, 45, 65, 75(4)

    19, 31, 42 VSS Digital Ground (DGND)

    PIM:66 15 OA3IN-/AN13/CMP1B/ISRC0/RP49/RC1 Op Amp Input26 PGD2/OA2IN-/AN8/RP35/RB3 Op Amp Input10 OA1IN+/AN9/RA2 Optional Op Amp Connection

    PIM:67 9 OA1IN-/ANA1/RA1 Optional Op Amp ConnectionPIM:68 29 RP57/ASCL1/SDI2/RC9 Direct ConnectionPIM:69 — — Not ConnectedPIM:70 24 AN16/ISRC2/RP55/RC7 Direct ConnectionPIM:71 — — Not ConnectedPIM:72 — — Not Connected

    TABLE 3: DEVICE TO PIM MAPPING (SORTED BY PIM PIN NUMBER) (CONTINUED)PIM

    Pin #Device Pin #

    dsPIC33CK64MP105 Device Functional Description Remarks

    Note 1: The PIM pin is directly connected to the device pin through a 0 Ohm resistor (default), which can be removed if desired.2: The PIM pin can be connected to a device pin through a 0 Ohm resistor, if required. For proper operation, ensure that

    other 0 Ohm resistors connecting to the same device pin are removed.3: Digital Power (DVDD) pins are shorted together on the PIM.4: Digital Ground (DGND) pins are shorted together on the PIM.5: Analog Ground (AGND) connection via PIM:31 is shorted with Digital Ground (DGND) through 0 Ohm resistor, R28, on the PIM.

    DS50002849A-page 6 2019 Microchip Technology Inc.

  • dsPIC33CK64MP105

    PIM:73 16 OA3IN+/AN14/CMP2B/ISRC1/RP50/RC2 Op Amp InputPIM:74 27 PGC2/OA2IN+/RP36/RB4 Op Amp InputPIM:75 — — Not ConnectedPIM:76 — — Not ConnectedPIM:77 — — Not ConnectedPIM:78 6 ANN2/RP77/RD13 Direct ConnectionPIM:79 41 RP59/RC11 Direct ConnectionPIM:80 37 PGC1/AN11/RP41/SDA1/RB9 Direct ConnectionPIM:81 — — Not ConnectedPIM:82 — — Not ConnectedPIM:83 41 RP59/RC11 Direct ConnectionPIM:84 38 RP52/ASDA2/RC4 Direct ConnectionPIM:85 — — Not ConnectedPIM:86 — — Not ConnectedPIM:87 — — Not ConnectedPIM:88 — — Not ConnectedPIM:89 — — Not ConnectedPIM:90 — — Not ConnectedPIM:91 — — Not ConnectedPIM:92 — — Not ConnectedPIM:93 2 RP47/PWM1L/RB15 Direct ConnectionPIM:94 1 RP46/PWM1H/RB14 Direct ConnectionPIM:95 — — Not ConnectedPIM:96 — — Not ConnectedPIM:97 — — Not ConnectedPIM:98 48 RP45/PWM2L/RB13 Direct ConnectionPIM:99 47 TDI/RP44/PWM2H/RB12 Direct ConnectionPIM:100 46 TCK/RP43/PWM3L/RB11 Direct Connection

    TABLE 3: DEVICE TO PIM MAPPING (SORTED BY PIM PIN NUMBER) (CONTINUED)PIM

    Pin #Device Pin #

    dsPIC33CK64MP105 Device Functional Description Remarks

    Note 1: The PIM pin is directly connected to the device pin through a 0 Ohm resistor (default), which can be removed if desired.2: The PIM pin can be connected to a device pin through a 0 Ohm resistor, if required. For proper operation, ensure that

    other 0 Ohm resistors connecting to the same device pin are removed.3: Digital Power (DVDD) pins are shorted together on the PIM.4: Digital Ground (DGND) pins are shorted together on the PIM.5: Analog Ground (AGND) connection via PIM:31 is shorted with Digital Ground (DGND) through 0 Ohm resistor, R28, on the PIM.

    2019 Microchip Technology Inc. DS50002849A-page 7

  • dsPIC33CK64MP105

    Table 4 classifies the passive components according totheir functionality and quotes the design equationsapplicable in each case.

    TABLE 4: ANALOG FUNCTIONALITY LISTINGOp Amp # Analog Function Passive Components Design Equations

    1 Low-Pass Filter R15, R16, R17, R18, C14, C15, C16

    R15 = R16 = R17 = R18 = RC14 = C16 = CR19 = R22Reference Voltage Bias R19, R22

    Differential Amplifier Input

    R15, R16, R17, R18

    Differential Amplifier Feedback

    R22

    2 Low-Pass Filter R1, R2, R3, R4, C8, C9, C10

    R1 = R2 = R3= R4 = RC8 = C10 = CR5 = R6Reference Voltage Bias R5, R6

    Differential Amplifier Input

    R1, R2, R3, R4

    Differential Amplifier Feedback

    R6

    3 Low-Pass Filter R8, R9, R10, R11, C11, C12, C13

    R8 = R9 = R10 = R11 = RC11 = C13 = CR12 = R13Reference Voltage Bias R12, R13

    Differential Amplifier Input

    R8, R9, R10, R11

    Differential Amplifier Feedback

    R13

    Common-mode f–3 dB 1

    2RC

    Differential-mode f–3 dB 1

    2(2R) C2 + C15( )

    Differential Amplifier Gain = R222R

    Common-mode f–3 dB 1

    2RC

    Differential-mode f–3 dB 1

    2(2R) C2 + C9( )

    Differential Amplifier Gain = R62R

    Common-mode f–3 dB 1

    2RC

    Differential-mode f–3 dB 1

    2(2R) C2 + C12( )

    Differential Amplifier Gain = R132R

    DS50002849A-page 8 2019 Microchip Technology Inc.

  • dsPIC33CK64MP105

    Op Amp 1, as seen in Figure 3, is not used by default. Ifthe filter, bias and feedback circuit section is populatedand configured by software, it can be used to amplify theIBUS current. Prior to using Op Amp 1, the resistor

    jumpers, R25, R26 and R27, should be removed toenable IBUS current to use the Op Amp 1 inputs. As aresult, this limits the PFC functionality in the case of thedsPICDEM MCHV-2 or MCHV-3 Development Boards.

    FIGURE 3: INTERNAL OP AMP CONFIGURATION

    VREF

    IA+

    IBUS+

    Filter,Feedbackand BiasCircuit

    27

    26Op Amp 2 PIM:22 if Enabled by R7

    From ShuntResistor (IA) +

    VREF

    IBUS-

    OA1BypassCircuit

    10

    9Op Amp 1 PIM:25 if Enabled by R25

    From ShuntResistor (IBUS)

    +

    VREF

    IB+

    IBUS+

    Filter,Feedbackand BiasCircuit

    16

    15Op Amp 3 PIM:21 if Enabled by R14

    From ShuntResistor (IB) +

    IBUS+

    1k 1k

    470 pF

    1k 1k

    1000 pF

    470 pF

    Filter, Feedback and Bias Circuit

    DC

    30k30k

    E

    F

    B

    A

    Differential Amplifier Gain 30k2 1k--------------------

    15= =

    Differential-mode f 3dB–1

    2 2 1k 470pF2

    ---------------- 1000pF+

    -------------------------------------------------------------------------------- 65kHz

    Common-mode f 3dB–1

    2 1k 470pF -------------------------------------------- 340kHz

    25

    8

    12

    dsPIC33CK64MP105

    DC

    DC

    DC

    B

    A

    B

    A

    B

    A

    E

    F

    E

    F

    E

    F

    DNP DNP

    DNP

    DNP DNP

    DNP

    DNP

    Op Amp 1 Bypass Circuit

    DC

    DNPDNP

    E

    F

    B

    A

    2019 Microchip Technology Inc. DS50002849A-page 9

  • dsPIC33C

    K64M

    P105

    DS

    50002849A-page 10

    2019 M

    icrochip Technology Inc.

    Designed with

    Altium.com

    72 72

    71 71

    70 70

    69 69

    100 100

    82 8283 8384 8485 8586 8687 87

    81 81

    80 80

    91 91

    90 90

    79 79

    78 78

    77 77

    76 76

    99 99

    75 75

    96 96

    74 74

    73 73

    98 98

    97 97

    95 95

    94 94

    68 68

    65 65

    89 89

    88 88

    56 56

    55 55

    54 54

    53 53

    64 64

    67 67

    66 66

    63 63

    62 62

    61 61

    52 52

    51 51

    60 60

    59 59

    58 58

    57 57

    93 93

    92 92

    ale

    PIM:51PIM:52PIM:53PIM:54PIM:55PIM:56PIM:57PIM:58PIM:59PIM:60PIM:61

    PIM:63PIM:64

    PIM:66PIM:67PIM:68PIM:69PIM:70PIM:71PIM:72PIM:73PIM:74

    DVDD

    DGND

    DGND

    PIM:76PIM:77PIM:78PIM:79PIM:80PIM:81PIM:82PIM:83PIM:84PIM:85

    PIM:87PIM:88PIM:89PIM:90PIM:91PIM:92PIM:93PIM:94PIM:95PIM:96PIM:97PIM:98PIM:99PIM:100

    DVDD

    AGNDDGND0R0805

    R28

    dsPIC_PIN_8

    NPOA1

    TP LOOP Black

    TP2

    TP LOOP Black

    TP1

    dsPIC33CK64MP105 Motor Control Plug-In Module (PIM) for Internal Op Amp Configuration

    Schematic Revision 2.0

    0.1 μF16V

    C5

    0.1 μF16V

    C20.1 μF16V

    C30.1 μF16V

    C4

    4848

    44

    2121

    2222

    2323

    4141

    4242

    4343

    11

    4444

    1010

    55

    2424

    2525

    99

    1515

    1111

    66

    36363535

    1212

    77

    50504949

    3030

    3131

    29292828

    343433333232

    40403939

    88

    1313

    1414

    3322

    2626

    2727

    38383737

    1616

    1717

    4747

    4545

    4646

    1818

    1919

    2020

    PIM 4x25 Fem

    PIM1PIM:01

    PIM:03PIM:04PIM:05PIM:06PIM:07PIM:08PIM:09PIM:10PIM:11PIM:12

    PIM:14

    PIM:17PIM:18PIM:19PIM:20PIM:21PIM:22PIM:23PIM:24PIM:25

    DVDD

    DVDDDGND

    MCLR

    PIM:26PIM:27PIM:28PIM:29

    PIM:32PIM:33PIM:34PIM:35

    PIM:38PIM:39PIM:40PIM:41PIM:42PIM:43PIM:44

    PIM:47PIM:48PIM:49PIM:50

    DVDD

    DVDD

    DGND

    DGND

    AGNDAVDD

    DV

    DD

    DV

    DD

    DV

    DD

    AV

    DD

    DG

    ND

    DG

    ND

    DG

    ND

    AG

    ND

    dsPIC_PIN_41

    dsPIC_PIN_8

    4.7 μF25V

    TANT-B

    C7

    RP46/PWM1H/RB14 1

    RP47/PWM1L/RB15 2

    RP60/RC12 3

    RP61/RC13 4

    MCLR5

    ANN2/RP77/RD136

    AN12/ANN0/RP48/RC0 7

    OA1OUT/AN0/CMP1A/IBIAS0/RA0 8

    OA1IN-/ANA1/RA1 9

    OA1IN+/AN9/RA2 10

    DACOUT1/AN3/CMP1C/RA3 11

    OA3OUT/AN4/CMP3B/IBIAS3/RA4 12

    AVDD13

    AVSS14

    OA3IN-/AN13/CMP1B/ISRC0/RP49/RC1 15

    OA3IN+/AN14/CMP2B/ISRC1/RP50/RC2 16

    AN17/ANN1/IBIAS1/RP54/RC6 17

    VDD18

    VSS19

    AN15/CMP2A/IBIAS2/RP51/RC3 20

    OSCI/CLKI/AN5/RP32/RB0 21

    OSCO/CLKO/AN6/RP33/RB1 22

    AN18/CMP3C/ISRC3/RP74/RD1023

    AN16/ISRC2/RP55/RC7 24

    OA2OUT/AN1/AN7/ANA0/CMP1D/CMP2D/CMP3D/RP34/INT0/RB2 25

    PGD2/OA2IN-/AN8/RP35/RB3 26

    PGC2/OA2IN+/RP36/RB4 27

    RP56/ASDA1/SCK2/RC8 28

    RP57/ASCL1/SDI2/RC9 29

    RP72/SDO2/PCI19/RD830

    VSS31

    VDD32

    PGD3/RP37/SDA2/RB5 33

    PGC3/RP38/SCL2/RB6 34

    TDO/AN2/CMP3A/RP39/RB7 35

    PGD1/AN10/RP40/SCL1/RB8 36

    PGC1/AN11/RP41/SDA1/RB9 37

    RP52/ASDA2/RC4 38

    RP53/ASCL2/RC5 39

    RP58/RC10 40

    RP59/RC11 41

    VSS42

    VDD43

    RP65/RD144

    TMS/RP42/PWM3H/RB10 45

    TCK/RP43/PWM3L/RB11 46

    TDI/RP44/PWM2H/RB12 47

    RP45/PWM2L/RB13 48

    dsPIC33CK64MP105 TQFP-48

    U1

    PIM:94PIM:93

    PIM:60PIM:01

    MCLR

    PIM:78

    PIM:35

    PIM:25

    AVDD

    AGND

    PIM:19

    DVDD

    DGND

    PIM:22

    PIM:63PIM:64

    PIM:21

    PIM:20

    PIM:49

    PIM:50

    PIM:18

    DGND

    DVDD

    DGND

    DVDD

    PIM:68

    PIM:27PIM:26PIM:32

    PIM:48

    PIM:61

    PIM:47

    PIM:80

    PIM:98PIM:99PIM:100PIM:03

    PIM:84

    PIM:79

    PIM:83

    dsPIC_PIN_41

    dsPIC_PIN_90R0603

    R26PIM:24

    dsPIC_PIN_100R0603

    R27PIM:23

    dsPIC_PIN_26dsPIC_PIN_25

    1k

    R1

    1k

    R2

    1k

    R4

    1k

    R3

    470 pFC8

    470 pFC10 30k

    R5

    30k

    R6

    dsPIC_PIN_27

    PIM:66

    PIM:74

    AGND

    AGND PIM:22

    PIM:28

    dsPIC_PIN_15dsPIC_PIN_12

    1k

    R8

    1k

    R9

    1k

    R11

    470 pFC11

    470 pFC13 30k

    R12

    30k

    R13

    dsPIC_PIN_16

    PIM:66

    PIM:73

    AGND

    AGNDPIM:21

    PIM:28

    dsPIC_PIN_9DNP

    R15

    DNP

    R16

    DNP

    R18

    DNP

    R17

    DNPC14

    DNPC16

    D

    R22

    dsPIC_PIN_10

    PIM:67

    PIM:66

    AGND

    AGND

    PIM:28DNP

    R19

    0603DNP

    R14

    1000 pFC9 1000 pF

    C12DNPC15OA2 OA3

    dsPIC_PIN_26dsPIC_PIN_27

    dsPIC_PIN_25

    dsPIC_PIN_15dsPIC_PIN_16

    dsPIC_PIN_12

    dsPIC_PIN_10dsPIC_PIN_9dsPIC_PIN_8

    0R0603

    R25

    0603DNP

    R7

    1k

    R10

    AGND

    DAC

    PIM:70

    dsPIC_PIN_11

    dsPIC_PIN_11

    0R0603

    R29

  • 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 Microchip Technology Inc.

    Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.

    QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV

    == ISO/TS 16949 ==

    TrademarksThe Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, SAM-BA, SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire 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, 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, motorBench, 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.Silicon Storage Technology is a registered trademark 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, Microchip Technology Incorporated, All Rights Reserved.

    ISBN: 978-1-5224-4118-2

    DS50002849A-page 11

  • DS50002849A-page 12 2019 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-4450-2828 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-67-3636Germany - 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

    08/15/18

    http://support.microchip.comhttp://www.microchip.com

    dsPIC33CK64MP105 Motor Control Plug-In Module (PIM) for Internal Op Amp ConfigurationFIGURE 1: dsPIC33CK64MP105 Motor Control PIM for Internal Op Amp (P/N: MA330050-2)FIGURE 2: Internal Op Amp Configuration BoardTABLE 1: Hardware CompatibilityTABLE 2: Device to PIM Mapping (Sorted by Device Pin Number)TABLE 3: Device to PIM Mapping (Sorted by PIM Pin Number)TABLE 4: Analog Functionality ListingFIGURE 3: Internal Op Amp ConfigurationSchematic Revision 2.0Worldwide Sales and Service