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.
DS70000610C-page 4 2009-2019 Microchip Technology Inc.
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.
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.
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.
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.
The dsPICDEM™ MCSM Development Board is targeted to control both unipolar and
bipolar stepper motors with no hardware configuration changes. This flexible and costeffective 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.1OVERVIEW
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