Microchip Technology dsPIC33CH User Manual

dsPIC33CH Curiosity
Development Board
User’s Guide
2018 Microchip Technology Inc.
Advance Information
DS50002762A
Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949 ==
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.
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 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.
®
MCUs and dsPIC® DSCs, KEEL
®
OQ
code hopping
QUALITY MANAGEMENT S
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, K
EELOQ
logo, Kleer, LANCheck, LINK MD, maXStylus,
K maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, 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, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, 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.
© 2018, Microchip Technology Incorporated, All Rights Reserved.
ISBN: 978-1-5224-3181-7
EELOQ
,
DS50002762A-page 2
Advance Information
2018 Microchip Technology Inc.
dsPIC33CH CURIOSITY DEVELOPMENT
BOARD USER’S GUIDE

Table of Contents

Preface ...........................................................................................................................5
Chapter 1. Introduction................................................................................................11
1.1 Schematics and Bill of Materials (BOM) ....................................................... 12
Chapter 2. Hardware....................................................................................................13
2.1 Powering the Board ...................................................................................... 13
2.1.1 USB Power ................................................................................................ 13
2.1.2 External Power .......................................................................................... 13
2.2 Using the Programmed Demo Firmware ...................................................... 14
2.3 Reprogramming and Debugging the dsPIC33CH128MP508 Device (U1) ...... 14
2.4 Using the Isolated USB-UART Interface ...................................................... 15
2.5 Circuit Details ............................................................................................... 15
2.5.1 Jumpers/Headers/Connectors ................................................................... 15
2.5.2 SMPS Hardware Overcurrent Protection ................................................... 16
2.5.3 SMPS Hardware Overvoltage Protection .................................................. 17
2.5.4 PWM DAC/DC Bias Generator .................................................................. 17
2.5.5 Transient Load Tester Circuit .................................................................... 18
2.6 Low-Side Current Sensing ........................................................................... 19
2.7 High-Side Current Sensing ........................................................................... 20
Appendix A. Schematics.............................................................................................21
Appendix B. Bill of Materials.......................................................................................27
Worldwide Sales and Service ....................................................................................30
2018 Microchip Technology Inc.
Advance Information
DS50000000A-page 3
dsPIC33CH Curiosity Development Board User’s Guide
NOTES:
DS50000000A-page 4
Advance Information
2018 Microchip Technology Inc.
dsPIC33CH CURIOSITY DEVELOPMENT
BOARD USER’S GUIDE

Preface

NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are const antly 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 on-line help files.

INTRODUCTION

®
IDE on-line help.
This preface contains general information that will be useful to know before using the dsPIC33CH Curiosity Development Board. Topics discussed in this preface include:
Document Layout
Conventions Used in this Guide
Recommended Reading
Recommended Reading
The Microchip WebSite
Development Systems Customer Change Notification Service
Customer Support
Document Revision History

DOCUMENT LAYOUT

This user’s guide provides an overview of the dsPIC33CH Curiosity Development Board. The document is organized as follows:
Chapter 1. “Introduction” – This chapter introduces the dsPIC33CH Curiosity
Development Board and provides a brief overview of its features.
Chapter 2. “Hardwa re ” – This chapter describes some of the noteworthy
hardware features of the board.
Appendix A. “Schematics” – This appendix provides schematic diagrams for
the dsPIC33CH Curiosity Development Board.
Appendix B. “Bill of Materials (BOM)” – This appendix provides the component
list used in assembling the board.
2018 Microchip Technology Inc.
Advance Information
DS50002762A-page 5
dsPIC33CH Curiosity 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
DS50002762A-page 6
Advance Information
2018 Microchip Technology Inc.

RECOMMENDED READING

This user’s guide describes how to use the dsPIC33CH Curiosity Development Board. The device-specific data sheets contain current information on programming the specific microcontroller or Digital Signal Controller (DSC) devices. The following Microchip documents are available and recommended as supplemental reference resources:
MPLAB® XC16 C Compiler User’s Guide (DS50002071)
This comprehensive guide describes the usage, operation and features of Microchip’s MPLAB XC16 C compiler (formerly MPLAB C30) for use with 16-bit devices.
MPLAB® X IDE User’s Guide (DS50002027)
This document describes how to set up the MPLAB X IDE software and use it to create projects and program devices.
dsPIC33CH128MP508 Family Data Sheet (DS70005319)
Refer to this document for detailed information on the dsPIC33CH Dual Core Digital Signal Controllers (DSCs). Reference information found in this data sheet includes:
• Device memory maps
• Device pinout and packaging details
• Device electrical specifications
• List of peripherals included on the devices
Preface
dsPIC33/PIC24 Family Reference Manual Sections
Family Reference Manual (FRM) sections are available, which explain the operation of the dsPIC each device family are discussed in the individual family’s device data sheet.
®
DSC MCU family architecture and peripheral modules. The specifics of
2018 Microchip Technology Inc.
Advance Information
DS50002762A-page 7
dsPIC33CH Curiosity 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. Accessible by using your favorite Internet browser, 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

DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFI CATION 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 Customer Change Notification and follow the registration instructions.
The Development Systems product group categories are:
Compilers – The latest information on Microchip C compilers and other language
tools. These include the MPLAB assemblers; MPLINK™ and MPLAB 16-bit object linkers; and MPLIB™ and MPLAB 16-bit object librarians.
Emulators – The latest information on the Microchip MPLAB REAL ICE™
in-circuit emulator.
In-Circuit Debuggers – The latest information on the Microchip in-circuit
debugger, MPLAB ICD 4.
MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the
Windows This list is focused on the MPLAB X IDE, MPLAB SIM simulator, MPLAB X IDE Project Manager and general editing and debugging features.
Programmers – The latest information on Microchip programmers. These include
the MPLAB PM3 device programmer and the PICkit™ 3 development programmers.
®
Integrated Development Environment for development systems tools.
®
C compiler; MPASM™ and MPLAB 16-bit
DS50002762A-page 8
Advance Information
2018 Microchip Technology Inc.

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
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 (June 2018)
This is the initial released version of this document.
Preface
2018 Microchip Technology Inc.
Advance Information
DS50002762A-page 9
Loading...
+ 21 hidden pages