Microchip Technology dsPICDEM MCSM User Manual

Page 1
dsPICDEM™ MCSM
Development Board
User’s Guide
2009-2019 Microchip Technology Inc. DS70000610C
Page 2
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 our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow 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 device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.
Trademarks
The 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.
© 2009-2019, Microchip Technology Incorporated, All Rights Reserved.
For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.
ISBN: 978-1-5224-5025-2
DS70000610C-page 2 2009-2019 Microchip Technology Inc.
Page 3
dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 5
Introduction............................................................................................................ 5
Document Layout .................................................................................................. 5
Conventions Used in this Guide ............................................................................ 6
Recommended Reading........................................................................................ 7
The Microchip Website .......................................................................................... 8
Product Change Notification Service..................................................................... 8
Customer Support ................................................................................................. 8
Document Revision History ................................................................................... 8
Chapter 1. Introduction.................................................................................................. 9
1.1 Overview ........................................................................................................ 9
1.2 Features ....................................................................................................... 11
1.3 What’s Included ............................................................................................ 11
1.4 Reference Documents and Webinars .......................................................... 12
Chapter 2. Getting Started........................................................................................... 13
2.1 Board Setup ................................................................................................. 13
2.2 Programming and Debugging Application Code .......................................... 14
Chapter 3. Hardware .................................................................................................... 15
3.1 Hardware Architecture .................................................................................. 15
3.2 Board Connectors ........................................................................................ 21
3.3 User Interface Hardware .............................................................................. 24
Appendix A. Board Layout and Schematics.............................................................. 25
Appendix B. Electrical Specifications........................................................................ 31
Index ............................................................................................................................. 33
Worldwide Sales and Service .................................................................................... 34
2009-2019 Microchip Technology Inc. DS70000610C-page 3
Page 4
dsPICDEM™ MCSM Development Board User’s Guide
NOTES:
DS70000610C-page 4 2009-2019 Microchip Technology Inc.
Page 5
dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Preface

NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/ or tool descriptions may differ from those in this document. Please refer to our website (www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level of the document.
For the most up-to-date information on development tools, see the MPLAB Select the Help menu, and then Topics to open a list of available online help files.

INTRODUCTION

®
IDE online help.
This preface contains general information that will be useful to know before using the dsPICDEM™ Motor Control Stepper Motor (MCSM) Development Board. Topics discussed in this preface include:
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Website
Customer Support
Customer Support
Document Revision History

DOCUMENT LAYOUT

This user’s guide describes how to use the dsPICDEM™ MCSM Development Board. The document is organized as follows:
Chapter 1. “Introduction” – This chapter introduces the dsPICDEM™ MCSM
Development Board and provides a brief overview of its features.
Chapter 2. “Getting Started” – This chapter provides information on getting
started with the dsPICDEM™ MCSM Development Board.
Chapter 3. “Hardware” – This chapter describes the hardware on the
dsPICDEM™ MCSM Development Board.
Appendix A. “Board Layout and Schematics” – This appendix provides
diagrams of the hardware layout, as well as schematic diagrams for the dsPICDEM™ MCSM Development Board.
Appendix B. “Electrical Specifications” – This appendix provides pertinent
electrical specifications for the dsPICDEM™ MCSM Development Board.
2009-2019 Microchip Technology Inc. DS70000610C-page 5
Page 6
dsPICDEM™ MCSM Development Board User’s Guide

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:

DOCUMENTATION CONVENTIONS

Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Curly braces and pipe character: { | }
Ellipses... Replaces repeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
Choice of mutually exclusive arguments; an OR selection
Represents code supplied by user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void) { ... }
®
IDE User’s Guide
DS70000610C-page 6 2009-2019 Microchip Technology Inc.
Page 7

RECOMMENDED READING

This user’s guide describes how to use the dsPICDEM™ MCSM Development Board. The device-specific data sheets contain current information on programming the specific microcontroller or digital signal controller devices. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources:
MPLAB® XC16 C Compiler User’s Guide (DS50002071)
This user’s guide describes how to use the 16-bit MPLAB® XC16 C Compiler. Please visit www.microchip.com/compilers for more information.
MPLAB® X IDE User’s Guide (DS50002027)
This document describes how to setup the MPLAB® X IDE software and use it to create projects and program devices.
MPLAB® XC16 Assembler, Linker and Utilities User’s Guide (DS50002106)
This user’s guide describes how to use GNU language tools to write code for 16-bit applications.
Preface
Readme Files
For the latest information on using other tools, read the tool-specific Readme files in the Readme subdirectory of the MPLAB contain updated information and known issues that may not be included in this user’s guide.
®
IDE installation directory. The Readme files
dsPIC33/PIC24 Family Reference Manuals
A specific Family Reference Manual (FRM) is available for each module, which explains the operation of the dsPIC modules. The specifics of each device family are discussed in their respective data sheet.
®
DSC MCU family architecture and peripheral
dsPIC33CK64MP105 Motor Control Plug-In Module (PIM) Information Sheet for External Op Amp Configuration (DS50002848)
Information Sheet for External Op Amp Configuration. This information sheet provides information specific to the dsPIC33CK64MP105 External Op Amp Configuration Motor Control Plug-In Module (PIM).
To obtain any of these documents, visit the Microchip website at www.microchip.com.
2009-2019 Microchip Technology Inc. DS70000610C-page 7
Page 8
dsPICDEM™ MCSM Development Board User’s Guide

THE MICROCHIP WEBSITE

Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. The website contains the following information:
Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents, latest software releases and archived software
General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program member listing
Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives

PRODUCT CHANGE NOTIFICATION SERVICE

Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, access the Microchip website at www.microchip.com, click on Product
Change Notification and follow the registration instructions.

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
• Development Systems Information Line
Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document.
Technical support is available through the website at: http://support.microchip.com

DOCUMENT REVISION HISTORY

Revision A (September 2009)
This is the initial released revision of this document.
Revision B (August 2019)
In this revision of the document, changes are made to mention that the board is for Microchip Digital Signal Controller (DSC) devices in general, not specifically for the dsPIC33F family of devices as mentioned in the previous revision.
Minor text and formatting edits throughout document.
Revision C (September 2019)
Changed the devlopment board part number in Section 1.3 “What’s Included”.
DS70000610C-page 8 2009-2019 Microchip Technology Inc.
Page 9
The dsPICDEM™ MCSM Development Board is targeted to control both unipolar and bipolar stepper motors with no hardware configuration changes. This flexible and cost­effective board can be configured in different ways for use with Microchip’s specialized Motor Control Digital Signal Controllers (DSCs).
The dsPICDEM™ MCSM Development Board offers a mounting option to connect either a 28-pin SOIC device or a generic 100-pin Plug-In Module (PIM). The board also has two full-bridge inverters. The hardware is designed in such a way that no hardware changes are necessary for eight, six or four-wire stepper motors in either bipolar or unipolar configurations. Topics covered include:
Overview
Features
What’s Included
Reference Documents and Webinars

1.1 OVERVIEW

dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Chapter 1. Introduction

Figure 1-1 shows a photograph of the dsPICDEM™ MCSM Development Board. A
®
dsPIC the motor windings. The board includes various circuitries to perform the following functions:
• Drive two motor windings with the two on-board full-bridge inverters
• Measure feedback and other analog signals (i.e., current, DC voltage,
• Communicate with a host computer or an external device via USB
The dsPICDEM™ MCSM Development Board supports terminal voltages up to 80V and currents up to 3A. Refer to Appendix B. “Electrical Specifications” for more information.
device uses the MOSFET driver to drive the two full-bridge inverters that power
potentiometer and Fault signals)
2009-2019 Microchip Technology Inc. DS70000610C-page 9
Page 10
dsPICDEM™ MCSM Development Board User’s Guide

FIGURE 1-1: dsPICDEM™ MCSM DEVELOPMENT BOARD

DS70000610C-page 10 2009-2019 Microchip Technology Inc.
Page 11

1.2 FEATURES

The key features of this board include the following:
• Motor Control PIM Device (U2) Socket:
• Motor Control Interfaces:
• Input/Output Control Switches:
• Communication Ports:
• Built-In Power Supplies:
• Power Supply Connectors:
• Programming Connectors:
Introduction
- The dsPIC33FJ12MC202 motor control device in SOIC package (U3) footprint
- Two full-bridge inverters
- Two phase current sense resistors
- DC bus voltage sense resistor
- Overcurrent protection
- One push button (S1)
- Reset push button (RESET)
- 10 k potentiometer (POT)
- LED indicators for PWM outputs arranged in a full-bridge format
- LED indicator for overcurrent
- UART communication via USB (J4)
- 15V power supply, maximum power available: 11W
- 3.3V power supply, maximum power available: 2W
- 24V power input connector (J6) for the controller and power stage
- Auxiliary power tab fast on connectors (BP1 and BP2) for the power stage
- ICSP™ connector for programming a dsPIC DSC device (J2)
- RJ11 connector for programming a dsPIC DSC device (J1)
- ICSP connector for programming the PIC18LF2450 USB-to-UART bridge (J3)

1.3 WHAT’S INCLUDED

The dsPICDEM MCSM Development Board with the part number DM330022-1 contains the following:
• dsPICDEM MCSM Development Board
• dsPIC33CK64MP105 External Op Amp Motor Control Plug-In-Module (P/N: MA330050-1)
• USB to Mini-USB cable
• Screwdriver
2009-2019 Microchip Technology Inc. DS70000610C-page 11
Page 12
dsPICDEM™ MCSM Development Board User’s Guide

1.4 REFERENCE DOCUMENTS AND WEBINARS

In addition to the documents listed in the Recommended Reading section, the following are also available from Microchip to support the use of the dsPICDEM™ MCSM Development Board.
AN907 “Stepping Motors Fundamentals”
• AN906 “Stepper Motor Control Using the PIC16F684”
AN822 “Stepper Motor Microstepping with PIC18C452”
• Stepper motor webinars are available at:
http://techtrain.microchip.com/webseminars/Archived.aspx
- Stepper Motors Part 1: Types of Stepper Motors
- Stepper Motors Part 2: Stepper Motor Control
You can obtain these reference documents from your nearest Microchip sales office (listed in the last page of this document) or by downloading them from the Microchip website.
DS70000610C-page 12 2009-2019 Microchip Technology Inc.
Page 13
This chapter describes how to set up the dsPICDEM™ MCSM Development Board hardware and software; and how to run the included demonstration software. Refer to
Chapter 3. “Hardware” for detailed information on the board and its components.
Topics in this chapter include:
Board Setup
Programming and Debugging Application Code

2.1 BOARD SETUP

The dsPICDEM™ MCSM Development Board is intended to drive bipolar or unipolar step­per motors. Before connecting the motor, make sure that the power rating of the motor is equal to or less than the power rating of the board, as shown in Appendix B. “Electrical
Specifications”. Also, make sure the configuration resistors are correct for the firmware
and the specific dsPIC warning could lead to malfunction of the board and the motor, and could result in physical harm.
Before beginning the start-up procedure, complete a visual check of the board and the motor for connectivity and mechanical damage. If damage is found, DO NOT power up the board; otherwise, you may further damage the equipment. Contact Microchip’s local office or distributor immediately.
dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Chapter 2. Getting Started

WARNING
®
DSC device mounted on the socket. Failure to comply with this
The following procedure describes how to set up the dsPICDEM™ MCSM Development Board to run with the demonstration software. The stepper motor used for the demonstration is the Leadshine Stepping Motor (P/N 42HS03). This can be ordered from the Microchip web site as part number AC300024.
1. Place the dsPICDEM™ MCSM Development Board on a sturdy insulated platform.
2. Make sure that the dsPIC33CK64MP105 PIM or an appropriate PIM is mounted in the socket.
3. Connect the stepper motor (Leadshine part # 42HS03 or a substitute stepper motor) to J8. Connect the motor phases in a bipolar series connection as described in Table 2-1.

TABLE 2-1: MOTOR CONFIGURATION TABLE

J8 Pin Number J8 Pin Name Bipolar Series Bipolar Parallel Bipolar Half-winding Unipolar
1 NC Green + Yellow Yellow
2 M1 Black Black + Yellow Black Black
3 DC+ Orange Green + Yellow
4 M2 Orange Green + Orange Green Orange
5 M3 Red Red + White Red Red
6 DC+ White Blue + White
7 M4 Brown Blue + Brown Blue Brown
8 NC Blue + White Brown
2009-2019 Microchip Technology Inc. DS70000610C-page 13
Page 14
dsPICDEM™ MCSM Development Board User’s Guide
4. Connect the 24V power supply to J6. A power supply can be ordered from the Microchip website as part number AC002013, or substitute any power adapter compatible with the Phihong model PSAC60W-240 (24 volts, 2.5 amps, with a center positive barrel DC output connector).
5. Press S1 to run the motor.
6. Vary the motor’s speed with the potentiometer.
7. Press S1 to switch to Full-Step Wave mode, Full-Step, Half-Step and Various Microstepping modes. Pushing S1 after the 256 the motor. Press S1 again to repeat the cycle.
Operating the dsPICDEM™ MCSM Development Board using the on-board POT and switch button cannot offer the flexibility required in most applications and it is only intended as a quick start demonstration. To have more control over the motor using a real-time communication tool, please refer to the next section.

2.2 PROGRAMMING AND DEBUGGING APPLICATION CODE

The following procedure describes how to program the dsPICDEM™ MCSM Development Board in Debug mode:
1. Place the dsPICDEM™ MCSM Development Board on a sturdy insulated platform.
2. Make sure that the dsPIC33CK64MP105 PIM or an appropriate PIM is mounted in the socket.
3. Connect the stepper motor (Leadshine part #42HS03 or a substitute stepper motor) to J8. Connect motor phases in a bipolar series connection as described in Ta b le 2 -1 .
4. Connect the 24V power supply to J6. A power supply can be ordered from the Microchip website as part number AC002013, or substitute any power adapter compatible with the Phihong model PSAC60W-240 (24 volts, 2.5 amps, with a center positive barrel DC output connector).
5. Connect PICkit™ 3 or PICkit 4 In-Circuit Debugger/Programmer, MPLAB or ICD 4, or MPLAB REAL ICE™ In-Circuit Emulator to the computer and to the board at J1 or J2.
6. Connect the USB cable to J4 and to the computer.
7. Download the stepper motor (AN1307) code for the dsPIC33CK64MP105 from the Microchip web site for the MCSM at www.microchip.com/mcsm.
8. Build the project and download the program into the processor.
9. Click the Run icon when in Debug mode.
th
microstep step setting stops
®
ICD 3
Note: For more information on running stepper motors, refer to
Section 1.4 “Reference Documents and Webinars”.
DS70000610C-page 14 2009-2019 Microchip Technology Inc.
Page 15
dsPICDEM™ MCSM DEVELOPMENT
Plug In Module
(PIM)
Drivers
IMOTOR1
FAULT
IMOTOR2
Safe Current
Level
Amplifier
Amplifier
Comparator
PWM1H1
DC_BUS
24 VDC
BP1 BP2
J5
J7
J6
3.3V
Regulator
Regulator
PWM1L1 PWM1H2 PWM1L2 PWM1H3 PWM1L3 PWM2H1 PWM2L1
M1
M2
M3
M4
J8
M
UART
to
USB
USB
J4
ICD2
J1/J2
3.3V
POT
S1
DC_BUS
M1
M2
M3
M4
15V
BOARD USER’S GUIDE

Chapter 3. Hardware

This chapter describes the hardware used in the dsPICDEM™ MCSM Development Board. Topics covered include:
Hardware Architecture
Board Connectors
User Interface Hardware

3.1 HARDWARE ARCHITECTURE

The dsPIC DSC® devices feature an 8-channel, high-speed PWM with Complementary mode output, a programmable ADC trigger on the PWM reload cycle, digital dead-time control, internal shoot-through protection and hardware Fault shutdown.
These features make the dsPIC DSC an ideal solution for high-performance stepper motor control applications where full control of the full-bridge inverter is required.
Figure 3-1 provides a simplified block diagram of the development board hardware.

FIGURE 3-1: dsPICDEM™ MCSM DEVELOPMENT BOARD BLOCK DIAGRAM

2009-2019 Microchip Technology Inc. DS70000610C-page 15
Page 16
dsPICDEM™ MCSM Development Board User’s Guide

3.1.1 PIM Header

The dsPICDEM™ MCSM Development Board has been designed to accommodate detachable Plug-in Modules (PIMs). The board supports 100-pin PIMs. The PIM pinout and function on the dsPICDEM™ MCSM Development Board are provided in Table 3-2.
TABLE 3-1: PIM PIN DESCRIPTION
PIM Pin Number Signal Name Pinout Description
1— N/A
2V
3 PWM1H3 PWM Output
4 PWM2L1 PWM Output
5 PWM2H1 PWM Output
6— N/A
7— N/A
8— N/A
9— N/A
10 N/A
11 N/ A
12 N/A
13 {MCLR
14 N/A
15 VSS Digital Supply Ground
16 V
17 N/A
18 PWM2H1 PWM Output
19 PWM2L1 PWM Output
20 POT Potentiometer Signal
21 N/A
22 POT Potentiometer Signal
23 DC_REF DC Bus Voltage (downscaled)
24 IMOTOR2 Phase 1 Current Signal
25 IMOTOR1 Phase 2 Current Signal
26 PGC Device Programming Clock Line
27 PGD Device Programming Data Line
28 N/A
29 N/A
30 AV
31 AV
32 N/A
33 N/A
34 N/A
35 DC_REF DC Bus Voltage (downscaled)
36 V
37 V
38 N/A
39 N/A
40 N/A
DD Digital Supply
} Device Master Clear
DD Digital Supply
DD Analog Supply
SS Analog Supply Ground
SS Digital Supply Ground
DD Digital Supply
DS70000610C-page 16 2009-2019 Microchip Technology Inc.
Page 17
TABLE 3-1: PIM PIN DESCRIPTION (CONTINUED)
PIM Pin Number Signal Name Pinout Description
41 POT Potentiometer Signal
42 N/A
43 N/A
44 N/A
45 V
46 VDD Digital Supply
47 N/A
48 N/A
49 USB_RX UART Receive
50 USB_TX UART Transmit
51 USB_TX UART Transmit
52 USB_RX UART Receive
53 N/A
54 USB_V
55 USB_3.3V N/A
56 USB_D- USB Data -
57 USB_D+ USB Data +
58 N/A
59 N/A
60 N/A
61 N/A
62 V
63 OSCI Crystal Oscillator In
64 OSCO Crystal Oscillator Out
65 V
66 N/A
67 N/A
68 FAULT_1 Fault Signal
69 N/A
70 BTN_1 Push Button S1 Input
71 N/A
72 N/A
73 N/A
74 N/A
75 V
76 USB_TX UART Transmit
77 PWM2H1 PWM Output
78 PWM2L1 PWM Output
79 N/A
80 N/A
81 N/A
82 N/A
83 USB_TX UART Transmit
84 USB_RX UART Receive
85 N/A
SS Digital Supply Ground
BUS USB VBUS
DD Digital Supply
SS Digital Supply Ground
SS Digital Supply Ground
Hardware
2009-2019 Microchip Technology Inc. DS70000610C-page 17
Page 18
dsPICDEM™ MCSM Development Board User’s Guide
TABLE 3-1: PIM PIN DESCRIPTION (CONTINUED)
PIM Pin Number Signal Name Pinout Description
86 VDD Digital Supply
87 N/A
88 N/A
89 N/A
90 N/A
91 N/A
92 N/A
93 PWM1L1 PWM Output
94 PWM1H1 PWM Output
95 N/A
96 N/A
97 N/A
98 PWM1L2 PWM Output
99 PWM1H2 PWM Output
100 PWM1L3 PWM Output
PIM Pin 19 can be configured for FAULT_1 or PWM2L1 signals by soldering the appropriate resistor as follows:
• For FAULT_1: Remove R87 and solder R86
• For PWM2L1: Remove R86 and solder R87 (default)
Note 1: The “dsPIC33CK64MP105 Motor Control Plug-In Module (PIM) Informa-
tion Sheet for External Op Amp Configuration” is available from either the
PIM website: https://new.microchipdirect.com/product/search/all/
MA330050-1 or else from the Microchip website (www.microchip.com/ DS50002848).
2: Refer to www.microchip.com/mcsm for compatible PIMs released in the
future and their PIM information sheets.

3.1.2 Power Stage

The dsPICDEM™ MCSM Development Board features two full-bridge inverters to accommodate a bipolar stepper motor. The full-bridge inverters can be powered from a supply of up to 80V.
3.1.2.1 MOSFET DRIVER
Although the dsPIC DSC devices can operate in Complementary PWM mode, Independent PWM mode is still possible. In this case, internal dead-time control and shoot-through protection circuits are disabled. In order to protect the power stage from high shoot-through currents in Independent PWM mode, the chosen MOSFET driver also has a built-in shoot-through protection and a small fixed dead time. In Independent PWM mode, the development board is suitable for controlling two Brushed DC motors with full direction control, or up to four DC motors with a single turning direction.
DS70000610C-page 18 2009-2019 Microchip Technology Inc.
Page 19
3.1.2.2 SWITCHING TOPOLOGY
T1 T2 T1 T2
PWM1H1PWM1L1
PWM1H2PWM1L2
PWM1H1
PWM1L1
PWM1H2
PWM1L2
T1
PWM1H1PWM1L1
PWM1H2PWM1L2
Driving a stepper motor in a full-bridge topology requires switching the opposite diagonal MOSFETs on and off, at the same time, in order to reverse the drive current and to accommodate all possible Decay modes. Since all PWMxHx pins are on at the same time (for example, PWM1H1 and PWM1H2), it is not possible to drive all of the high-side MOSFETs with the PWMxHx signals. Figure 3-2 shows the PWM and MOSFET assignment.
Driving the high PWM pins active will run the current through a motor winding in one direction, while driving the low PWM pins active will run the current through the winding in the opposite direction. By using this topology, in addition to the dsPIC PWM override feature, all Decay modes for the winding current can be achieved.
Refer to Appendix A. “Board Layout and Schematics” for the complete schematic and PWM pin assignments.
FIGURE 3-2: MOSFET PWM ASSIGNMENT
Hardware
2009-2019 Microchip Technology Inc. DS70000610C-page 19
Page 20
dsPICDEM™ MCSM Development Board User’s Guide
Gain R
SHUNT
R
27
R28R29+
-----------------------=
Note: The default gain value is 0.75 V/A, allowing a resolution of 4.3 mA/count
with a 10-bit ADC.
DC_REF
1
28
----- - DC_BUS=

3.1.3 Current Sensing

Two shunt resistors are available for current sensing, one for each of the two motor windings. In order to read both positive and negative currents, the amplifier circuit is designed with an offset of V current range of ±2.2A.
To calculate the amplifier gain, use the formula provided in Equation 3-1:
EQUATION 3-1: AMPLIFIER GAIN CALCULATION FORMULA
The formula shown in Equation 3-1 is a simplified version of the complete formula and is only valid when R
28
are needed, use the above formula to calculate R and then replace both R changes for R
and R45.
39
The DC voltage supplied to the power stage is measured with a simple resistor divider. To calculate the DC_REF signal used for this purpose, use the formula provided in
Equation 3-2:
REF = AVDD/2. The amplifier gain allows for a maximum
= R29 = R33 = R34 and R27 = R35. If changes to the amplifier gain
corresponding to the desired gain,
and R35 with the calculated resistor value. Make the same
27
27
EQUATION 3-2: DC_REF SIGNAL CALCULATION FORMULA

3.1.4 Fault Protection

The dsPICDEM™ MCSM Development Board features an overcurrent Fault detection, which triggers a PWM shutdown. Each phase current is amplified and then compared with a fixed “safe” current value. A value of 1.7A is set for the dsPICDEM™ MCSM Development Board; however, the user can change this limit by changing the resistor divider made by R48 and R51. When either of the two phase currents is above the “safe” current level, a Fault signal is triggered and the dsPIC DSC hardware module automatically switches off all PWM outputs.
The Fault LED (D15) is active only when an overcurrent is present in the motor windings. It will go inactive immediately after the internal dsPIC Fault circuit shuts down the PWM pins. In this case, the LED will not be visible as the on time is very short. The Fault LED will only be visible if the Fault is persistent, that is when the software Fault shutdown is disabled.
WARNING
If the Fault LED is permanently active, power off the board immediately to avoid damage to the power MOSFETs.
DS70000610C-page 20 2009-2019 Microchip Technology Inc.
Page 21
Hardware
J8
D3-D10
S1
POT1
J2
J1
J4
J3
BP2
BP1
J7
J5
J6
RESET
U2

3.2 BOARD CONNECTORS

Figure 3-3 shows the various user interface components available on the dsPICDEM™
MCSM Development Board. Ta b le 3- 2 describes the hardware connection between the PICkit™ 3, PICkit 4, MPLAB Emulator, the power supply, and the dsPICDEM™ MCSM Development Board connectors.

FIGURE 3-3: dsPICDEM™ MCSM DEVELOPMENT BOARD USER INTERFACE COMPONENTS

®
ICD 3 or ICD 4, or MPLAB REAL ICE™ In-Circuit
TABLE 3-2: dsPICDEM™ MCSM DEVELOPMENT BOARD USER INTERFACE
COMPONENTS
Designator Description
2009-2019 Microchip Technology Inc. DS70000610C-page 21
BP1-BP2 Auxiliary Power Supply Connector
D3-D10 PWM LEDs
S1 Push Button Switch 1
RESET Device Reset Switch
POT1 Potentiometer
U2 Plug-In Module (PIM) Adapter
J1 RJ11, 6-Pin Connector for Programming a dsPIC
J2 ICSP™ Connector for Programming a dsPIC DSC Device
J3 ICSP Programmer Interface Connector for Programming the PIC18LF2450
USB-to-UART Bridge
J4 USB Interface Port
J5 24V Power Supply Select Jumper
J6 24V Input Power Supply Connector
J7 Auxiliary Power Supply Select Jumper
J8 Motor Power Connector
®
DSC Device
Page 22
dsPICDEM™ MCSM Development Board User’s Guide

3.2.1 Input Power Connector (J6, BP1-BP2)

The dsPICDEM™ MCSM Development Board receives the power for control circuits from a +24V power supply. The 24V supply is always needed as it supplies the necessary 15V and 3.3V for the dsPIC DSC, and for the interface between the dsPIC DSC and the power stage. The power stage DC bus voltage can be connected to the development board through the J6 or BP1-BP2 connectors.

3.2.2 DC Bus Power Supply Connector (J5 and J7)

By default, jumper J5 is short and jumper J7 is open, and the +24V input power supply connected to J6 supplies both the control circuits and the DC bus voltage to the development board. If jumper J7 is short and jumper J5 is open, the BP1-BP2 connectors supply the DC bus voltage to the development board power stage and J6 supplies the control circuits.
The 0V-80V DC power supply can be connected between BP1-BP2.

3.2.3 USB Interface (J4)

The development board uses an on-board PIC18 interface as a bridge between the UART and the USB. The PIC18 UART pins are connected to the dsPIC devices on different ports depending on the specific dsPIC device used. For the specific devices that do not have remappable peripherals, additional UART RX/TX pins are available on the device-designated port for UART communication.
For dsPIC DSC devices that have an embedded USB port, populate R7, R8, R9 and R10 with 0 resistors, and disable the PIC18 USB communication by removing R84 and R85.

3.2.4 ICSP Connector for dsPIC DSC (J1/J2)

The MPLAB® ICD 3 and MPLAB REAL ICE™ connector is an RJ11 female connector (J1) that connects the MPLAB ICD 3, ICD 4 or MPLAB REAL ICE In-Circuit Debugger to the dsPIC device for programming and debugging purposes. The PICkit™ 3 or PICkit 4 In-Circuit Debugger/Programmer can be connected to the board using a 6-pin ICSP connector (J2).

3.2.5 ICSP for PIC18 (J3)

J3 is a 6-pin connector that connects the PICkit 3 In-Circuit Debugger/Programmer to the PIC18 device. The development board uses the on-board PIC18 interface as a bridge between the UART and USB. The PIC18 can be programmed for USB communication.

3.2.6 Motor Connector (J8)

The motor connector has eight terminals. Ta bl e 3 - 3 lists the functionality of each terminal.
TABLE 3-3: MOTOR CONNECTOR DETAILS
Terminal Number Designator Description
1 N/C Not Connected
2 M1 Motor Wire 1 (Phase 1)
3 DC+ DC Bus Voltage
4 M2 Motor Wire 2 (Phase 1)
5 M3 Motor Wire 3 (Phase 2)
6 DC+ DC Bus Voltage
7 M4 Motor Wire 4 (Phase 2)
8 N/C Not Connected
DS70000610C-page 22 2009-2019 Microchip Technology Inc.
Page 23
Hardware
The connector is configured in such a way so that all eight motor wires can be connected in all possible configurations. Considering an eight-wire motor in a bipolar configuration (series or half-winding), two wires will be left floating. The N/C pins are available to accommodate the two floating wires.
The DC bus connection is placed between wires of two different phases to accommodate the center tap of a winding in unipolar configurations. Refer to Ta b le 3 - 3 for details on how to connect the motor wires to J8 for all possible configurations.

3.2.7 Test Points

Ta bl e 3 - 4 lists the test points that can be used to check various signals.
TABLE 3-4: TEST POINTS
Test Points Description
POT POT Signal
15V 15V MOSFET Driver Supply
3.3V 3.3V Digital Supply
AVDD Analog Supply (3.3V)
AVSS Analog Ground
IMOTOR1 Motor Current Phase 1
IMOTOR2 Motor Current Phase 2
REF Zero Current Reference Voltage
V
DC_REF DC_BUS Voltage Input to ADC
IREF Reference Current for Fault Detection
PWM1H1 PWM Output for Wire 1 Top Switch
PWM1L1 PWM Output for Wire 1 Bottom Switch
PWM1H2 PWM Output for Wire 2 Bottom Switch
PWM1L2 PWM Output for Wire 2 Top Switch
PWM1H3 PWM Output for Wire 3 Top Switch
PWM1L3 PWM Output for Wire 3 Bottom Switch
PWM2H1 PWM Output for Wire 4 Bottom Switch
PWM2L1 PWM Output for Wire 4 Top Switch
2009-2019 Microchip Technology Inc. DS70000610C-page 23
Page 24
dsPICDEM™ MCSM Development Board User’s Guide

3.3 USER INTERFACE HARDWARE

The dsPICDEM™ MCSM Development Board consists of the following push buttons, LEDs and potentiometers:
• One Push Button
• One Potentiometer
• Eight PWM LEDs
• One Power-on Status LED
• Two USB LEDs
• One Fault LED
• Device Reset Push Button

TABLE 3-5: INDICATORS AND HUMAN INTERFACES

Label Hardware Element Description
S1 Push button; this push button is connected to a port pin. When momentarily
pressed, the switch connects the respective port pin to Ground.
POT1 10 k potentiometer; it is connected to the analog input pin.
RESET Push button; this push button, when pressed, causes a device Reset.
D1 USB communication indicator, which indicates the device has been detected.
D2 USB bus indicator, which indicates that the device is connected to the USB bus.
D3-D10 LEDs, which indicate the PWM pin status. When an LED is on, the respective
PWM pin is high.
D14 Power-on status LED, which indicates the status of the +3.3V regulator.
D15 Fault LED; indicates an overcurrent.
DS70000610C-page 24 2009-2019 Microchip Technology Inc.
Page 25
dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Appendix A. Board Layout and Schematics

FIGURE A-1: dsPICDEM™ MCSM DEVELOPMENT BOARD LAYOUT (TOP)

2009-2019 Microchip Technology Inc. DS70000610C-page 25
Page 26
dsPICDEM™ MCSM Development Board User’s Guide
GND
+3.3V
GND
DNPR8
+3.3V
GND
GND
GND
+3.3V
AGND
AV
DD
+3.3V
GND
DNPR7
DNPR9
DNPR10
+3.3V
0.1 μF
C8
2
1
3
4
S1
0.1 μF
C11
AGND
POT
0.1 μF
C9
0.1 μF
C5
2
1
3
4
RESET
470R
R6
0R
R87
DNP
R86
+3.3V
CCW
CW
1
3
2
10K
POT1
GND
4.7K
R5
+3.3V
4.7K
R4
ICSP for PIM (PICkit™ 3/4)
+3.3V
dsPIC
®
DSC
+3.3V
GND
AV
DD
100R
R11
4.7K
R2
74
73
716870
676465
62
6155595658
53
52
32586
9
111412
15
172018
21
23
24
75
72
69
66
63
60
57
54
51
1
4
7
10
13
16
19
22
25
77
78
48
49
83
80
81
84
43
46
42
45
89
86
87
90
37
40
39
36
95
92
93
96
31
34
33
30
98
99
28
27
7650
7947
8244
85
41
8838
9135
9432
97
29
10026
U2
100-Pin PIM Header
BTN_1
BTN_1
D-
D+
DC_REF
DC_REF
FAULT_1
FAULT_1
IMOTOR1
IMOTOR2
MCLR
MCLR
OSCI
OSCO
PGC
PGD
POT
POT
POT
POT
PWM1H1
PWM1H2
PWM1H3
PWM1L1
PWM1L2
PWM1L3
PWM2H1
PWM2H1
PWM2H1
PWM2L1
PWM2L1
PWM2L1
USB_RX
USB_RX
USB_RX
USB_TX
USB_TX
USB_TXUSB_TX
VBUS
0.1 μF
C1
GND
+3.3V
ICSP™ for PIM (RJ11)
6
5
4
3
2
1
J1
25361
4
J2
MCLR
PGC
PGD

FIGURE A-2: dsPICDEM™ MCSM DEVELOPMENT BOARD SCHEMATIC (SHEET 1 OF 4)

DS70000610C-page 26 2009-2019 Microchip Technology Inc.
Page 27
Board Layout and Schematics
GND
GND
33 pF
C16
AV
DD
10 μFC14
AGND
GND
0.1 μFC13
33 pF
C15
+3.3V
GND
0.1 μF
C17
8 MHz
Y2
BTN_1
DC_REF
FAULT_1
IMOTOR1
IMOTOR2
MCLR
OSCI
OSCO
PGC
PGD
POT
PWM1H1
PWM1H2
PWM1H3
PWM1L1
PWM1L2
PWM1L3
PWM2H1
PWM2L1
USB_RX
USB_TX
VDDCORE
GND GND GNDGND GND GND
1K
R13
1K
R15
D5
1K
R14
D4
1K
R17
D7
1K
R19
1K
R20
D9 D10
GND GND
PWM1L3
PWM1H3
PWM2L1
PWM2H1
PWM1L2
PWM1L1
PWM1H1
PWM1H2
1K
R18
D3 D8
1K
R16
D6
PWM1H1
PWM1H2
PWM1H3
PWM1L1
PWM1L2
PWM1L3
PWM2H1
PWM2L1
GND
22 pF
C3
GND
+3.3V
0R
R84
0.1 μFC2
470R
R3
10K
R1
GND
0R
R85
GND
470 nF
C6
22 pF
C4
Orange
D1
+3.3V
GND
1.0 μF
C7
USB
+3.3V
20 MHz
Y1
D-
D+
MCLR_18F
PGC_18F
PGD_18F
USB_RX
USB_TX
0.1 μF
C10
+3.3V
5
3
261
4
J3
ICSP™ for USB
GND
MCLR_18F
PGC_18F
PGD_18F
GND
GND
GND
470R
R12
USB Communication
GND
1.0 μF
C12
D2
5
V
BUS
1
4
D-2D+
3
Shield
6
J4
D-
D+
VBUS
PWM1H1/RB14
25
RB0/AN2/PGD1
4
AVDD
28
PWM1L2/RB13
24
RB1/AN3/PGC1
5
AVss
27
RA3/OSCO
10
PWM1H3/RB10
21
PWM1L3/RB11
22
PWM2L1/RB9
18
Vss
19
INT0/RB7
16
RB6
15
PWM1L1/RB15
26
PWM1H2/RB12
23
VDDCORE
20
RA2/OSCI
9
PWM2H1/RB8
17
MCLR1RA0/AN0
2
RB3/AN57Vss
8
RB4
11
RB514VDD
13
RA1/AN1
3
RB2/AN4
6
RA4
12
U3
dsPIC33FJ12MC202-I_SO
RA2/AN2
1
AN9/RB3
21
RX/DT/RC7
15
OSC2/CLKO
7
INT0/RB0
18
RA5/AN4
4
INT2/RB2
20
RA3/AN3
2
VDD
17
VSS
5
INT1/RB1
19
RA4/RCV3OSC1/CLKI
6
Vss
16
PGM/RB5
23
TX/CK/RC6
14
D+//VP/RC5
13
RC1/UOE
9
PGC/RB6
24
RA1/AN1
28
MCLR
26
RC2
10
AN11/RB4
22
D-/VM/RC4
12
RCO/T1CKI
8
PGD/RB7
25
VUSB
11
RA0/AN0
27
U1
PIC18F2450

FIGURE A-3: dsPICDEM™ MCSM DEVELOPMENT BOARD SCHEMATIC (SHEET 2 OF 4)

2009-2019 Microchip Technology Inc. DS70000610C-page 27
Page 28
dsPICDEM™ MCSM Development Board User’s Guide
27 pF
C31
10K
R33
27 pF
C27
AGND
IMOTOR2
AGND
IMOTOR1
GND
0.1 μF
C28
GND
1K
R38
GND
100 pF
C29
100 pF
C32
+3.3V
D15
0.1 μF
C50
10K
R40
10K
R41
10K
R43
10K
R44
Note:
0.75 V/A
0A = 1.65V
10K
R28
10K
R29
10K
R34
1K
R42
1K
R31
MCP6024
D
12
13
14
U4D
0.1 μF
C30
AGND
10KR32
10KR37
10K
R36
A
3
2
1
MCP6024
U4A
150K
R27
150K
R35
150K
R39
150K
R45
AVDD
7
2
1
SN74LVC2G02D
U5A
10K
R30
MCP6024
B
7
6
5
U4B
10K
R88
MCP6024
C
10
9
8
U4C
SN74LVC2G02D
3
6
5
U5B
FAULT_1
IMOTOR1
IMOTOR1
IMOTOR2
IMOTOR2
IREF
IREF
SHUNT_1
SHUNT_1_GND
SHUNT_2
SHUNT_2_GND
VREF
VREF
AGND
IREF
AGND
A
3
2
1
MCP6024
U6A
AGND
22K
R51
2.7K
R48
MCP6024
B
7
6
5
U6B
AGND
0.1 μF
C39
AGND
AGND
AVDD
0.1 μF
C35
AVDD
DC_REF
AGND
AGND
AVDD
0.1 μF
C37
AGND
AGND
27K
R47
DC+
MCP6024
C
10
9
8
U6C
0.1 μF
C36
10K
R46
10K
R50
VREF
0.1 μF
C34
1K
R49
0.1 μF
C33
0.1 μF
C38
DC_REF
IREF
VREF
Sensing
GND
3.3V
AGND
0.1 μF
C26
47 μF
C18
0.1 μF
C23
GND
D13
SS1P3L
0.01 μF
C19
GND GND
GND
1R
R21
100 μF
C20
AVDD
AVss
GND
GND GND
15V
0.1 μF
C49
100 μF
C48
0R
R24
AVDD
3.3V Supply
GND
231
J6
KLDX-0202-A
+15V SUPPLY
+15V
100K
R22
10K
R26
AGND
GND
D14
D11
BAT17
10 μH
L1
0.1 μF
C25
GND
GND
100 μF
C22
BOOST
1
SW
6
VIN5EN
4
GND
2
FB
3
VR2
LM2736Y
16.5K
R23
+3.3V
1K
R25
Power
GND
2
VIN
1
VOUT
3
MC7815CD2T/R4
VR1
24V
AGND
D12
1 2
J7
0.1 μF
C24
DC+
1 2
J5
VIN (+)
BP1
J5 connected by
default from Factory
GND (–)
BP2
470 μF
C21
24V
AGND

FIGURE A-4: dsPICDEM™ MCSM DEVELOPMENT BOARD SCHEMATIC (SHEET 3 OF 4)

DS70000610C-page 28 2009-2019 Microchip Technology Inc.
Page 29
Board Layout and Schematics
0.1 μF
C42
10K
R58
+15V
BAT41
D16
33R
R62
AGND
0.1R/2W
R66
33R
R65
BAT41
D17
+15V
10K R59
+15V
33R
R54
DC+
0R
R67
DC+
33R
R57
+15V
GND
10K R60
50R
R52
3.3 μF/50V
C40
10K R61
50R
R53
3.3 μF/50V
C41
0.1 μF
C43
GND
10K
R55
10K
R63
1 7
2
8
FDS3992
Q1A
FDS3992
3 6
4
5
Q1B
10K
R56
10K
R64
HO13VS12NC10LO
9
CSC
6
FO
5
HIN
3
SD
2
VB14NC11VSL
8
LIN
1
VDD
4
Vss
7
U8
FAN7384
HO
13
VS
12
NC
10
LO
9
CSC6FO
5
HIN3SD
2
VB
14
NC
11
VSL
8
LIN1VDD
4
Vss
7
U7
FAN7384
1 7
2
8
FDS3992
Q2A
FDS3992
3 6
4
5
Q2B
M1 M2PWM1H1
PWM1H2PWM1L1
PWM1L2
SHUNT_1
SHUNT_1_GND
GND
0.1 μF
C46
+15V
+15V
BAT41
D18
50R
R68
33R
R78
AGND
0.1R/2W
R82
33R
R81
BAT41
D19
+15V
33R
R70
DC+
0R
R83
DC+
33R
R73
+15V
10K
R75
GND
10K R76
FDS3992
3
6
4
5
Q3B
3.3 μF/50V
C44
10KR77
50R
R69
3.3 μF/50V
C45
0.1 μF
C47
10K R74
10K
R71
10K
R79
1
7
2
8
FDS3992
Q3A
10K
R72
10K
R80
HO13VS12NC10LO
9
CSC
6
FO
5
HIN
3
SD
2
VB14NC11VSL
8
LIN
1
VDD
4
Vss
7
U10
FAN7384
FDS3992
3
6
4
5
Q4B
HO
13
VS
12
NC
10
LO
9
CSC6FO
5
HIN3SD
2
VB
14
NC
11
VSL
8
LIN1VDD
4
Vss
7
U9
FAN7384
1 7
2
8
FDS3992
Q4A
M3 M4PWM1H3
PWM1L3 PWM2H1
PWM2L1
SHUNT_2
SHUNT_2_GND
Note:
PWM1H2/L2 and PWM2H1/L1 are swapped
to accommodatethe switching topology.
SeeUser’s Guide for more detail.
DC+
1
2
3
4
5
8
7
6
J8
M1
M2
M3
M4

FIGURE A-5: dsPICDEM™ MCSM DEVELOPMENT BOARD SCHEMATIC (SHEET 4 OF 4)

2009-2019 Microchip Technology Inc. DS70000610C-page 29
Page 30
dsPICDEM™ MCSM Development Board User’s Guide
NOTES:
DS70000610C-page 30 2009-2019 Microchip Technology Inc.
Page 31
dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Appendix B. Electrical Specifications

This appendix provides important electrical specifications for the dsPICDEM™ MCSM Development Board.

TABLE B-1: DC INPUT RATING

Parameter Condition Min Typ Max Unit
Power Supply Connected to J6 18 24 35 VDC
Power Supply Connected to BP1-BP2 J5 open, J7 closed 0 24 80 VDC

TABLE B-2: DC OUTPUT RATING (J8)

Parameter Condition Min Typ Max Unit
Voltage J5 closed, J7 open
J5 open, J7 closed
Peak Current 0 1 3.5 A
Power Rating 0 9
Note 1: While driving two phases on, at 1A each, through a 4.6 winding resistance.
2: Maximum power tested is 40W. 3: Maximum theoretical power with no additional heat sink is: 80V * 1.7A = 135W.
0 0
24 24
(1)
40
24 80
(2,3)
V
DC
W
2009-2019 Microchip Technology Inc. DS70000610C-page 31
Page 32
dsPICDEM™ MCSM Development Board User’s Guide
NOTES:
DS70000610C-page 32 2009-2019 Microchip Technology Inc.
Page 33
dsPICDEM™ MCSM DEVELOPMENT
BOARD USER’S GUIDE

Index

A
Amplifier Gain Calculation Formula.......................... 20
B
Block Diagram.......................................................... 10
Board Layout............................................................ 25
C
Connectors and Jumpers......................................... 21
Current Sensing....................................................... 20
Customer Support...................................................... 8
D
DC Bus Power Supply Connector (J5 and J7)......... 22
DC_REF Signal Calculation Formula....................... 20
Documentation
Conventions........................................................ 6
Layout ................................................................. 5
F
Fault LED (D15) ....................................................... 20
Fault Protection........................................................ 20
I
ICSP Connector for dsPIC DSC (J1/J2)................... 22
ICSP for PIC18 (J3) ................................................. 22
Indicators and Human Interfaces ............................. 24
Input Power Connector (J6, BP1-BP2) .................... 22
Internet Address......................................................... 8
K
Key Features............................................................ 11
Kit Contents ............................................................. 11
M
Microchip Internet Website......................................... 8
MOSFET PWM Assignment..................................... 19
Motor Configuration.................................................. 13
Motor Connector (J8) ............................................... 22
P
Plug-In Module (PIM) ................................................. 9
Power Stage............................................................. 18
MOSFET Driver ................................................ 18
Switching Topology........................................... 19
R
Reading, Recommended ........................................... 7
S
Schematics
Sheet 1 of 4....................................................... 26
Sheet 2 of 4....................................................... 27
Sheet 3 of 4....................................................... 28
Sheet 4 of 4....................................................... 29
Signal Test Points .................................................... 23
Stepper Motors
Bipolar................................................................. 9
Unipolar............................................................... 9
U
USB Interface (J4).................................................... 22
User Interface Hardware.......................................... 24
W
WWW Address........................................................... 8
2009-2019 Microchip Technology Inc. DS70000610C-page 33
Page 34

Worldwide Sales and Service

AMERICAS
Corporate Office
2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support:
http://www.microchip.com/ support
Web Address:
www.microchip.com
Atlanta
Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455
Austin, TX
Tel: 512-257-3370
Boston
Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088
Chicago
Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075
Dallas
Addison, TX Tel: 972-818-7423 Fax: 972-818-2924
Detroit
Novi, MI Tel: 248-848-4000
Houston, TX
Tel: 281-894-5983
Indianapolis
Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Tel: 317-536-2380
Los Angeles
Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Tel: 951-273-7800
Raleigh, NC
Tel: 919-844-7510
New York, NY
Tel: 631-435-6000
San Jose, CA
Tel: 408-735-9110 Tel: 408-436-4270
Canada - Toronto
Tel: 905-695-1980 Fax: 905-695-2078
ASIA/PACIFIC
Australia - Sydney
Tel: 61-2-9868-6733
China - Beijing
Tel: 86-10-8569-7000
China - Chengdu
Tel: 86-28-8665-5511
China - Chongqing
Tel: 86-23-8980-9588
China - Dongguan
Tel: 86-769-8702-9880
China - Guangzhou
Tel: 86-20-8755-8029
China - Hangzhou
Tel: 86-571-8792-8115
China - Hong Kong SAR
Tel: 852-2943-5100
China - Nanjing
Tel: 86-25-8473-2460
China - Qingdao
Tel: 86-532-8502-7355
China - Shanghai
Tel: 86-21-3326-8000
China - Shenyang
Tel: 86-24-2334-2829
China - Shenzhen
Tel: 86-755-8864-2200
China - Suzhou
Tel: 86-186-6233-1526
China - Wuhan
Tel: 86-27-5980-5300
China - Xian
Tel: 86-29-8833-7252
China - Xiamen
Tel: 86-592-2388138
China - Zhuhai
Tel: 86-756-3210040
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-3090-4444
India - New Delhi
Tel: 91-11-4160-8631
India - Pune
Tel: 91-20-4121-0141
Japan - Osaka
Tel: 81-6-6152-7160
Japan - Tokyo
Tel: 81-3-6880- 3770
Korea - Daegu
Tel: 82-53-744-4301
Korea - Seoul
Tel: 82-2-554-7200
Malaysia - Kuala Lumpur
Tel: 60-3-7651-7906
Malaysia - Penang
Tel: 60-4-227-8870
Philippines - Manila
Tel: 63-2-634-9065
Singapore
Tel: 65-6334-8870
Taiwan - Hsin Chu
Tel: 886-3-577-8366
Taiwan - Kaohsiung
Tel: 886-7-213-7830
Taiwan - Taipei
Tel: 886-2-2508-8600
Thailand - Bangkok
Tel: 66-2-694-1351
Vietnam - Ho Chi Minh
Tel: 84-28-5448-2100
EUROPE
Austria - Wels
Tel: 43-7242-2244-39 Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828 Fax: 45-4485-2829
Finland - Espoo
Tel: 358-9-4520-820
France - Paris
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - Garching
Tel: 49-8931-9700
Germany - Haan
Tel: 49-2129-3766400
Germany - Heilbronn
Tel: 49-7131-72400
Germany - Karlsruhe
Tel: 49-721-625370
Germany - Munich
Tel: 49-89-627-144-0 Fax: 49-89-627-144-44
Germany - Rosenheim
Tel: 49-8031-354-560
Israel - Ra’anana
Tel: 972-9-744-7705
Italy - Milan
Tel: 39-0331-742611 Fax: 39-0331-466781
Italy - Padova
Tel: 39-049-7625286
Netherlands - Drunen
Tel: 31-416-690399 Fax: 31-416-690340
Norway - Trondheim
Tel: 47-7288-4388
Poland - Warsaw
Tel: 48-22-3325737
Romania - Bucharest
Tel: 40-21-407-87-50
Spain - Madrid
Tel: 34-91-708-08-90 Fax: 34-91-708-08-91
Sweden - Gothenberg
Tel: 46-31-704-60-40
Sweden - Stockholm
Tel: 46-8-5090-4654
UK - Wokingham
Tel: 44-118-921-5800 Fax: 44-118-921-5820
DS70000610C-page 34 2009-2019 Microchip Technology Inc.
05/14/19
Loading...