MICROCHIP DM330030 User guide

dsPIC33CK Curiosity
Development Board
User’s Guide
2019 Microchip Technology Inc. DS50002859A
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.
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.
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, KEELOQ
®
code hopping
QUALITY MANAGEMENT S
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, 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, 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, motorBench, 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.
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.
© 2019, Microchip Technology Incorporated, All Rights Reserved.
ISBN: 978-1-5224-4357-5
DS50002859A-page 2 2019 Microchip Technology Inc.
dsPIC33CK CURIOSITY
DEVELOPMENT BOARD
USER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 5
Chapter 1. Overview....................................................................................................... 9
1.1 Introduction ..................................................................................................... 9
Chapter 2. Hardware .................................................................................................... 13
2.1 Powering the Board ...................................................................................... 13
2.1.1 USB Power ................................................................................................ 13
2.1.2 External Power .......................................................................................... 13
2.1.3 mikroBUS™ Power ................................................................................... 13
2.2 Using the Programmed Demo Firmware ...................................................... 13
2.3 Reprogramming and Debugging the dsPIC33CK256MP508 Device ........... 13
2.4 Using the USB-UART Interface .................................................................... 14
2.5 Circuit Details ............................................................................................... 15
2.5.1 Jumpers/Headers/Connectors ................................................................... 15
2.5.2 User Interface (UI) ..................................................................................... 15
2.5.3 ADC Op Amp Analog RC Section ............................................................. 16
Appendix A. Board Layout and Schematics.............................................................. 17
A.1 Pinout ........................................................................................................... 17
A.2 dsPIC33CK Curiosity Development Board Schematics ............................... 20
A.3 dsPIC33CK Curiosity Development Board PCB Layout .............................. 28
Appendix B. Bill of Materials (BOM)........................................................................... 31
B.1 Bill of Materials – dsPIC33CK Curiosity Development Board ...................... 31
Worldwide Sales and Service .................................................................................... 36
2019 Microchip Technology Inc. DS50002859A-page 3
dsPIC33CK Curiosity Development Board User’s Guide
NOTES:
DS50002859A-page 4 2019 Microchip Technology Inc.
dsPIC33CK 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 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.
®
IDE online help.

INTRODUCTION

This chapter contains general information that will be useful to know before using the dsPIC33CK Curiosity Development Board. Items discussed in this chapter include:
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Website
Product Change Notification Service
Customer Support
Document Revision History

DOCUMENT LAYOUT

This user’s guide provides an overview of the dsPIC33CK Curiosity Development Board. The document is organized as follows:
Chapter 1. “Overview” – This chapter introduces the dsPIC33CK Curiosity
Development Board and provides a brief overview of its various features.
Chapter 2. “Hardware” – This chapter describes how to program/debug the
board using the on-board programmer and the main circuit elements of the board.
Appendix A. “Board Layout and Schematics” – This appendix provides
schematic diagrams for the dsPIC33CK Curiosity Development Board.
Appendix B. “Bill of Materials (BOM)” – This appendix provides the component
list used in assembling the board.
2019 Microchip Technology Inc. DS50002859A-page 5
dsPIC33CK 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® IDE User’s Guide
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 brackets 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) { ... }
DS50002859A-page 6 2019 Microchip Technology Inc.

RECOMMENDED READING

This user’s guide describes how to use the dsPIC33CK 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 recommended as supplemental reference resources:
MPLAB
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
This document describes the installation and implementation of the MPLAB X IDE software.
dsPIC33CK256MP508 Family Data Sheet (DS70005349)
Refer to this document for detailed information on the dsPIC33CK single 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
and are available for download from the Microchip website (www.microchip.com).
®
XC16 C Compiler User’s Guide (DS50002071)
®
X IDE User’s Guide (DS50002027)
Preface

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; and 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.
2019 Microchip Technology Inc. DS50002859A-page 7
dsPIC33CK Curiosity Development Board User’s Guide

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Corporate Application Engineer (CAE)
• Embedded Solutions Engineer (ESE)
• Field Application Engineer (FAE)
Customers should contact their distributor, representative or Embedded Solutions Engineer (ESE) 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://www.microchip.com/support.

DOCUMENT REVISION HISTORY

Revision A (April 2019)
This is the initial release of this document.
DS50002859A-page 8 2019 Microchip Technology Inc.

1.1 INTRODUCTION

2
3
3
1
9
7
10
5
6
8
4
12
11
13
14
10
The dsPIC33CK Curiosity Development Board (DM330030) is intended as a cost-effective development and demonstration platform for the dsPIC33CK256MP508 family of single core, high-performance Digital Signal Controllers (DSCs). The main hardware features of the board are highlighted in Figure 1-1.

FIGURE 1-1: dsPIC33CK CURIOSITY DEVELOPMENT BOARD

dsPIC33CK CURIOSITY
DEVELOPMENT BOARD
USER’S GUIDE

Chapter 1. Overview

1. dsPIC33CK256MP508 single core, 16-bit Digital Signal Processor (DSP) target device.
2. Integrated PICkit™ On-Board 4 (PKOB4) programmer/debugger.
3. 2x mikroBUS™ interfaces for hardware expansion, compatible with a wide range of existing click boards™ from MikroElektronika (www.mikroe.com).
4. 1x Red/Green/Blue (RGB) LED.
5. 2x general purpose orange indicator LEDs.
6. 3x general purpose push buttons.
2019 Microchip Technology Inc. DS50002859A-page 9
7. 1x MCLR
8. 10k potentiometer.
9. USB to UART interface.
10. Female, 100 mil pitch, I/O pin access headers for probing and connecting to all target microcontroller GPIO pins.
Reset push button.
dsPIC33CK Curiosity Development Board User’s Guide
11. Configurable jumper (J11) for selecting +5V USB power or +5V external power.
12. Analog input section for dedicated ADC Core 0, Core 1 and shared core.
13. ADC reference generator MCP6021 op amp.
14. dsPIC33CK LDO.
Figure 1-2 and Figure 1-3 show the block diagrams of the dsPIC33CK Curiosity
Development Board and the PKOB main system. For more detailed schematics, refer to Appendix A. “Board Layout and Schematics”.
DS50002859A-page 10 2019 Microchip Technology Inc.
2019 Microchip Technology Inc. DS50002859A-page 11
T_ICSP
dsPIC_UART
Digital
Analog
MCLR
MCPINS
Control
T_ICSP
USB_PKOB
dsPIC_UART
PICkit™ On-Board
USB
ICSP™
dsPIC_UART
USB_PKOB
MCLR
Communication
+3.3V
+5V_USB
History
Analog
Digital
MCLR
Interfaces
MCPINS
Internal_OpAmp_RC
MCLR
USB_PGD
PG_SYSTEM
USB_POWER
03-10882_2.0_PKOB_USB_Power.SchDoc
USB_PGD
VPP_ON
PG_SYSTEM
TVDD_GOOD
dsPIC_UART
DBG_ICSP
USB_PKOB
PKOB4 MICRO
03-10882_2.0_PKOB_Main_Micro.SchDoc
TVDDTVPP
DBG_ICSP
TVDD_GOOD
T_ICSP
VPP_ON
DRIVER -BUILTIN
03-10882_2.0_PKOB_PinDriver.SchDoc
TVDD_GOOD
TVDDTVPP
TVDD_GOOD
T_ICSP
To Control
USB_PKOB
To Communication
Target ICSP™ Signals
0R 0402
R80P
TVDD
+3.3V
GND_PK
0R 0603
R81P
GND_U
PG_SYSTEM
VPP_ON
dsPIC_UART

FIGURE 1-2: dsPIC33CK CURIOSITY DEVELOPMENT BOARD BLOCK DIAGRAM

FIGURE 1-3: PKOB MAIN SYSTEM INTERCONNECT

Overview
Loading...
+ 25 hidden pages