English
Language : 

PIC24EPXXX810 Datasheet, PDF (1/2 Pages) Microchip Technology – Dual Motor Control Plug-In Module (PIM) Information Sheet
TABLE 1:
MCLV
Dual Shunt
AN1299
CABLE SETTINGS BASED ON APPLICATION NOTE
R1 R2 R3 R4 R5 R6 R11
ON ON
x
ON ON OFF OFF
ON ON ON
x
x OFF OFF
R12
OFF
OFF
R13
x
OFF
R14
OFF
x
R15
OFF
x
MCHV
Dual Shunt
AN1299
R1 R2 R3 R4 R5 R6 R11 R12 R13 R14 R15
ON ON ON OFF OFF OFF OFF OFF OFF ON ON
ON ON
x
x
x OFF OFF OFF x
x
x
MCLV & MCHV R1
AN1160
ON
AN1017
ON
R2 R3 R4 R5 R6 R11 R12 R13 R14 R15
ON OFF OFF OFF OFF OFF OFF ON ON ON
ON
x
x
x OFF OFF OFF x
x
x
MCSM
R1 R2 R3 R4 R5 R6 R11 R12
AN1307
OFF OFF ON ON ON ON ON ON
Legend: Dual Shunt = AN1078, AN1162, AN1292, and AN1206; x = don't care
R13
OFF
R14
OFF
R15
OFF
Americas
Atlanta - 678-957-9614
Boston - 774-760-0087
Chicago - 630-285-0071
Cleveland - 216-447-0464
Dallas - 972-818-7423
Detroit - 248-538-2250
Indianapolis - 317-773-8323
Los Angeles - 949-462-9523
Phoenix - 480-792-7200
Santa Clara - 408-961-6444
Toronto - 905-673-0699
Europe
Austria - Wels - 43-7242-2244-39
Denmark - Copenhagen - 45-4450-2828
France - Paris - 33-1-69-53-63-20
Germany - Munich - 49-89-627-144-0
Italy - Milan - 39-0331-742611
Netherlands - Drunen - 31-416-690399
Spain - Madrid - 34-91-708-08-90
UK - Wokingham - 44-118-921-5869
Asia/Pacific
Australia - Sydney - 61-2-9868-6733
China - Beijing - 86-10-8569-2100
China - Chengdu - 86-28-8665-5511
Asia/Pacific (Continued)
China - Chongqing - 86-23-8980-9588
China - Hangzhou - 86-571-2819-3180
China - Hong Kong SAR - 852-2401-1200
China - Nanjing- 86-25-8473-2460
China - Qingdao - 86-532-8502-7355
China - Shanghai - 86-21-5407-5533
China - Shenyang - 86-24-2334-2829
China - Shenzhen - 86-755-8203-2660
China - Wuhan - 86-27-5980-5300
China - Xiamen - 86-592-2388138
China - Xian - 86-29-8833-7252
China - Zhuhai - 86-756-3210040
India - Bangalore - 91-80-3090-4444
India - New Delhi - 91-11-4160-8631
India - Pune - 91-20-2566-1512
Japan - Yokohama - 81-45-471-6166
Korea - Daegu - 82-53-744-4301
Korea - Seoul - 82-2-554-7200
Malaysia - Kuala Lumpur - 60-3-6201-9857
Malaysia - Penang - 60-4-227-8870
Philippines - Manila - 63-2-634-9065
Singapore - 65-6334-8870
Taiwan - Hsin Chu - 886-3-6578-300
Taiwan - Kaohsiung - 886-7-213-7830
Taiwan - Taipei - 886-2-2500-6610
Thailand - Bangkok - 66-2-694-1351
05/02/11
Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199
www.microchip.com
The Microchip name and logo, the Microchip logo, and MPLAB are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective
companies. © 2011, Microchip Technology Incorporated, Printed in the U.S.A. All Rights Reserved. 08/10
DS51979B
*DS51979B*
Dual Motor Control Plug-In Module (PIM) Information Sheet
The Dual Motor Control Plug-In Module (PIM) is designed to facilitate the development of Motor
Control applications using two motors and one Digital Signal Controller (DSC) or Microcontroller
(MCU). Two Microchip dsPICDEM™ motor control development boards can be used with this
PIM to control 3-phase or stepper motors. A flexible cable connects the two boards together and
routes all signals to the appropriate pins on the DSC or MCU. The configuration of the cable and
signal was carefully chosen to support a wide range of dual motor configuration application notes
written for the dsPICDEM MCLV, MCHV, and MCSM Development Boards.
Installing MPLAB® IDE and C Compilers
The MPLAB Integrated Development Environment (IDE) should be installed prior to running the
Dual Motor Control demonstration. While MPLAB provides the assembler tools for development,
most of the code examples are written in C language and require a C compiler to be installed.
Microchip’s MPLAB C compiler seamlessly integrates into MPLAB IDE. Both the MPLAB IDE and
MPLAB C compiler are free (see the note below) and are available for download at
www.microchip.com/MPLAB and www.microchip.com/compilers, respectively.
Note: Standard Evaluation (Free) – All optimization levels are enabled for 60 days, but then
revert to optimization level 1 only.
Code Examples and More Information
For code examples and more information, please visit the Dual Motor Control page at http://
www.microchip.com/motor. From the Development Tools menu, click Development and Evaluation
Boards and from the list select dsPICDEM Dual Motor Control PIM MA330027. Then, from the
Downloads section, select the code for the desired Application Note and Development Board.
Refer to Table 1 for the hardware settings required for each Development Board.
Running and Debugging Applications (MCLV) Development Board
After downloading the code example and installing the development tools, please use the following
procedure to build and run your software:
1. Connect one motor to each MCLV board as described in the “dsPICDEM™ MCLV
Development Board User’s Guide” (DS70331).
2. Place the two MCLV boards side by side, on a sturdy platform.
3. Carefully insert the Dual Motor Control PIM into U9 on each MCLV board. The board on which
the PIM labeled as Master is plugged into is referred to as the Master board. The other MCLV
board is referred to as the Slave board.
4. Connect a 24V power supply to J2 on both the Master and Slave boards.
5. Connect a programmer/debugger (i.e., MPLAB ICD 3 or REAL ICE™) using the J11 connector
on the Master board.
6. Extract the Dual Motor Control software previously downloaded and load the project file.
7. In MPLAB 8.XX IDE:
- Select Programmer > Tool and then choose the appropriate tool.
- Build the project by selecting Project > Build All.
- Download your code to the DSC or MCU by selecting Programmer > Program.
8. In MPLAB X IDE:
- Select Run > Set Project Configuration > Customize.
- Select required tool under Hardware Tools. Click Apply > Ok to confirm the selection.
- Select Run > Run Project. This will download the code to the target chip and release
reset.
9. To start a motor, press the S2 button on the corresponding board. Press the S2 button again
to stop the motor.
10. Use the potentiometers on each board to change the speed of a motor.
11. For an enhanced demonstration, the application requires the Real-Time Data Monitor (RTDM).
Connect the development computer to J8 on the Master board with a mini-USB cable and
follow the instructions provided on the Dual Motor Control web page for additional instructions
on this demonstration.
Note:
When using the Dual Motor Control PIM with the dsPICDEM MCHV Development
Board, connecting the GND test point to an oscilloscope must be done only through
a High-Voltage Differential Probe.