dsPIC33CK256MP508 dsPIC33CK256MP508 Motor Control Plug-In Module (PIM) Information Sheet for Internal Op Amp Configuration The dsPIC33CK256MP508 Internal Op Amp Motor FIGURE 1: dsPIC33CK256MP508 Control PIM (P/N: MA330041-2) is designed to INTERNAL OP AMP MOTOR demonstrate the motor control capabilities of the CONTROL PIM (MA330041-2) dsPIC33CK256MP508 device using the internal op amps of the device. The dsPIC33CK256MP508 device is a high- performance, 16-bit Digital Signal Controller (DSC). This Motor Control PIM is designed to take advantage of the high-resolution PWM (with fine edge place- ment) peripheral in 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 compatible 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 FIGURE 2: INTERNAL OP AMP Development Boards, insert an internal op amp CONFIGURATION BOARD configuration matrix board on to the J4 header (as shown in Figure 2) on the board. The PIM design also supports dual motor control on the Low-Voltage Motor Control Bundle (DV330100). For additional information regarding development boards, refer to the respective users guides available on the Microchip web site (www.microchip.com). 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 users guide for the hardware version identification information. 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-3 Development Board DM330023-3 All Revisions dsPICDEM MCHV-2 Development Board DM330023-2 All Revisions dsPICDEM MCLV-2 Development Board DM330021-2 All Revisions Low-Voltage Motor Control Development Bundle DV330100 All Revisions Warning: Do not connect non-isolated oscilloscope probes to the test points on the PIM while using with the dsPICDEM MCHV-2 or MCHV-3 Development Board. Failure to heed this warning could result in hardware damage. 2018 Microchip Technology Inc. DS50002756A-page 1dsPIC33CK256MP508 Table 2 provides the mapping between the 80-pin device pinout and the 100-pin PIM. TABLE 2: DEVICE TO PIM MAPPING (SORTED BY DEVICE PIN NUMBER) Device dsPIC33CK256MP508 Device PIM Pin Remarks Pin Functional Description 1 RP46/PWM1H/RB14 PIM:94 Direct Connection 2 AN20/RE0 PIM:22 Direct Connection 3 RP47/PWM1L/PMD6/RB15 PIM:93 Direct Connection 4 AN21/RE1 PIM:21 Direct Connection 5 RP60/PWM8H/PMD7/RC12 PIM:09 Direct Connection 6 RP61/PWM8L/PMA5/RC13 PIM:08 Direct Connection 7 RP62/PWM6H/PMA4/RC14 PIM:04 Direct Connection 8 RP63/PWM6L/PMA3/RC15 PIM:05 Direct Connection 9MCLR PIM:13 MCLR 10 RP79/PCI22/PMA2/RD15 PIM:19 Direct Connection (4) 11 VSS PIM:15, 36, 65, 75 Digital Ground (DGND) (3) 12 VDD PIM:02, 16, 37, 62, 86 Digital Power (DVDD) 13 RP78/PCI21/RD14 PIM:92 Direct Connection 14 ANN2/RP77/RD13 PIM:89 Direct Connection 15 AN12/ANN0/RP48/RC0 PIM:55 Direct Connection (1) 16 OA1OUT/AN0/CMP1A/IBIAS0/RA0 PIM:25 Connected via 0 Ohm Resistor (2) 16 OA1OUT/AN0/CMP1A/IBIAS0/RA0 PIM:57 Can be Connected via 0 Ohm Resistor 17 AN22/RE2 PIM:20 Direct Connection (1) 18 OA1IN-/ANA1/RA1 PIM:24 Connected via 0 Ohm Resistor (2) 18 OA1IN-/ANA1/RA1 PIM:56 Can be Connected via 0 Ohm Resistor 18 OA1IN-/ANA1/RA1 PIM:67 Optional Internal Op Amp Connection can be Connected to Op Amp 1 Input 19 AN23/RE3 PIM:33 Direct Connection 20 OA1IN+/AN9/PMA6/RA2 PIM:66 Optional Internal Op Amp Connection 21 DACOUT1/AN3/CMP1C/RA3 PIM:12 Direct Connection 22 RE4 PIM:69 Direct Connection (2) 23 OA3OUT/AN4/CMP3B/IBIAS3/RA4 PIM:21 Can be Connected via 0 Ohm Resistor 24 RE5 PIM:68 Direct Connection 25 AVDD PIM:30 Analog Power (AVDD) (5) 26 AVss PIM:31 Analog Ground (AGND) 27 RP76/RD12 PIM:85 Direct Connection 28 OA3IN-/AN13/CMP1B/ISRC0/RP49/PMA7/RC1 PIM:66 Internal Op Amp Connection 29 OA3IN+/AN14/CMP2B/ISRC1/RP50/PMD13/PMA13/RC2 PIM:73 Internal Op Amp Connection 30 AN17/ANN1/IBIAS1/RP54/PMD12/PMA12/RC6 PIM:43 Direct Connection (3) 31 VDD PIM:02, 16, 37, 62, 86 Digital Power (DVDD) (4) 32 VSS PIM:15, 36, 65, 75 Digital Ground (DGND) 33 AN15/CMP2A/IBIAS2/RP51/PMD11/PMA11/RC3 PIM:23 Direct Connection 34 OSCI/CLKI/AN5/RP32/PMD10/PMA10/RB0 PIM:63 Direct Connection 35 OSCO/CLKO/AN6/RP33/PMA1/PMALH/PSA1/RB1 PIM:64 Direct Connection 36 AN19/CMP2C/RP75/PMA0/PMALL/PSA0/RD11 PIM:32 Direct Connection 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 desired. 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, R27, on the PIM. DS50002756A-page 2 2018 Microchip Technology Inc.