Microchip Technology PIC32MZ User Manual

PIC32MZ DA Family Starter Kit
User’s Guide
2017 Microchip Technology Inc. DS70005311A
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 su perseded by updat es . I t is your responsibilit y 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 supp ort and/or safety ap plications is entir ely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless M icrochip from any and all dama ges, claims, suits, or expenses resulting from such use. No licens es 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, KEEL
®
OQ
code hopping
QUALITY MANAGEMENT S
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate, A VR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF , dsPIC, FlashFlex, flexPWR, Held o, 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-Digit al Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, EC A N , Et he r GREEN, In-Circuit Ser i al Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBenc h, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generatio n, 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, V ariSense, ViewSp an, WiperLock, Wireless DNA , and ZENA are t rademarks of Micr ochip Technology Incorporated in the U.S.A. and other countr ies.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
Silicon Storage Technology is a registered tr ademark of Microc hip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a s ubsidiary of Microchip T echnology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.
© 2017, Microchip Technology Incorporated, All Rights Re served. ISBN: 978-1-5224-1679-1
EELOQ
,
DS70005311A-page 2 2017 Microchip Technology Inc.
EU Declaration of Conformity
This declaration of conformity is issued by the manufacturer. The development/evaluation tool is designed to be used for research and development in a laboratory environment. This development/evaluation tool is not a Finished Appliance, nor is it intended for incorporation into Finished Appliances that are made commercially available as single functional units to end users under EU EMC Directive 2004/108/EC and as supported by the European Commission's Guide for the EMC Directive 2004/108/EC (8th February 2010). This development/evaluation tool complies with EU RoHS2 Directive 2011/65/EU. This development/evaluation tool, when incorporating wireless and radio-telecom functionality, is in compliance with the essential requirement and other relevant provisions of the R&TTE Directive 1999/5/EC and the FCC rules as stated in the declaration of conformity provided in the module datasheet and the module product page available at www.microchip.com.
For information regarding the exclusive, limited warranties applicable to Microchip products, please see Microchip’s standard terms and
conditions of sale, which are printed on our sales documentation and available at www.microchip.com. Signed for and on behalf of Microchip Technology Inc. at Chandler, Arizona, USA.
Object of Declaration: PIC32MZ DA Family Starter Kit User’s Guide
2017 Microchip Technology Inc. DS70005311A-page 3
PIC32MZ DA Family Starter Kit User’s Guide
NOTES:
DS70005311A-page 4 2017 Mic rochip Technology Inc.
PIC32MZ DA FAMILY
STARTER KIT USER’S GUIDE

Table of Contents

Preface ...........................................................................................................................7
Chapter 1. Introduction
1.1 Kit Contents ........... ... .. ............... ................ .. ............... ... ............... .. .............. 14
1.2 Block Diagram ....... ... ............... ............... ... ............... ................ .. ............... ...14
1.3 Starter Kit Functionality and Features ..........................................................15
Chapter 2. Hardware
2.1 Hardware F e a tu re s ......................... .. ............... .. ................ ............... ... ......... 23
Appendix A. Schematics
A.1 Schematic s .............. .. ............... .. ................ .. ................ ............... .. .............. 27
Appendix B. Bill of Materials
B.1 PIC32MZ2064DAx288 Daughter Card Bill of Materials................................41
B.2 PIC32MZ2064DAx169 Daughter Card Bill of Materials................................43
B.3 PIC32MZ DA SK Base Board Bill of Materials.............................................. 44
B.4 LAN8740A P HY D a u ghter Board Bill of Mate r ia l s ............ .. ................ .. ....... 47
Worldwide Sales and Service ....................................................................................48
2017 Microchip Technology Inc. DS70005311A-page 5
PIC32MZ DA Family Starter Kit User’s Guide
NOTES:
DS70005311A-page 6 2017 Mic rochip Technology Inc.
PIC32MZ DA FA MILY STARTER
KIT 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 web site (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 M PLAB Select the Help menu, and then Topics to open a list of available online help files.
®
X IDE online help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the PIC32MZ DA Family Starter Kit. Items discussed in this chapter include:
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Web Site
Development Systems Customer Change Notification Service
Customer Support
Document Revision History
DOCUMENT LAYOUT
This document describes how to use the PIC32MZ DA Family Starter Kit (also referred to as “starter kit”) as a development tool to emulate and debug firmware on a target board. This user’s guide is composed of the following chapters:
Chapter 1. “Introduction” provides a brief overview of the starter kit, highlighting its features and uses.
Chapter 2. “Hardware” provides the hardware descriptions of the starter kit.
Appendix A. “Schematics” provides a block diagram, board layouts, and detailed schematics of the starter kit.
Appendix B. “Bill of Materials” provides the bill of materials for the components used in the design and manufacture of the starter kit.
2017 Microchip Technology Inc. DS70005311A-page 7
PIC32MZ DA Family Starter Kit User’s Guide
Note 1: This is a note used in a
table.
Note: This is a standard
note box.
CAUTION
This is a caution note.
CONVENTIONS USED IN THIS GUIDE
This manual uses the following docum enta t io n conven tio ns :
DOCUMENTATION CONVENTIONS
Description Represents Examples
Italic characters Referenced books MPLAB X IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Setti ngs dialog A menu selection select Enable Program mer
Quotes A field name in a window or
dialog
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1> Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be any
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces repeated text var_name [, var_name...]
Notes
A menu path File > Save
A tab Click the Power tab
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
A Note presents information that we want to re-emphasize, either to help you avoid a common pitfall or to make you aware of operating di fferences between some device family members. A Note can be in a box, or when used in a table or figure, it is located at the bottom of the table or figure.
“Save project before build”
valid filename
[options] errorlevel {0|1}
void main (void) { ... }
DS70005311A-page 8 2017 Mic rochip Technology Inc.
RECOMMENDED READING
This user’s guide describes how to use the PIC32MZ DA Family Starter Kit. The following Microchip documents are available and recommended as supplemental reference resources.
PIC32MZ Graphics DA Family Data Sheet (DS60001361)
Refer to this document for detailed information on PIC32MZ DA family of devices. Reference information found in this data sheet includes:
• Device memory maps
• Device pinout and packaging deta ils
• Device electrical specifications
• List of peripherals included on the devices
MPLAB® XC32 C/C++ Compiler User’s Guide (DS50001686)
This document details the use of Microchip’s MPLAB XC32 C/C++ compiler to develop an application.
MPLAB® X IDE User’s Guide (DS50002027)
Refer to this document for more information pertaining to the installation and implementation of the MPLAB X IDE software, as well as the MPLAB SIM Simulator software that is included with it.
Preface
Universal Serial Bus Specification and Associated Documents
The Universal Serial Bus is defined by the USB 2.0 specification and its associated supplements and class-specific documents. These documents are available from the USB Implementers Forum, see their web site at: http://www.usb.org.
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at http://www.microchip.com. This web site makes file s and informati on easily ava ilable to custome rs. A ccessible by most Internet browsers, the web site 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 listings
Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listings of seminars and events; and listings of Microchip sales offices, distributors and factory representatives
2017 Microchip Technology Inc. DS70005311A-page 9
PIC32MZ DA Family Starter Kit User’s Guide
DEVELOPMENT SYSTEMS CUSTOMER 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 web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions.
The Development Systems product group categori es are:
Compilers – The latest information on Microchip C compilers and other language tools
Emulators – The latest information on the Microchip in-circuit emulator, MPLAB REAL ICE™
In-Circuit Debuggers – The latest information on the Microchip in-circuit debugger, MPLAB ICD 3
MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the Windows
Programmers – The latest information on Microchip programmers including the PICkit™ 3 development programmer
®
Integrated Development Environment for development systems tools
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 sh ould con tac t the ir di stri but or, representative or f iel d ap pli cati on e ngi nee r (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 web site at: http://support.microchip.com.
DS70005311A-page 10 2017 Microchip Technology Inc.
DOCUMENT REVISION HISTORY
Revision A (May 2017)
This is the initial released version of this user’s guide.
Preface
2017 Microchip Technology Inc. DS70005311A-page 11
PIC32MZ DA Family Starter Kit User’s Guide
NOTES:
DS70005311A-page 12 2017 Microchip Technology Inc.
PIC32MZ DA FA MILY STARTER
KIT USER’S GUIDE

Chapter 1. Introduction

Thank you for purchasing a Microchip Technology PIC32MZ DA Family Starter Kit. This starter kit provides a low-cost modular development system for Microchip’s line of 32-bit microcontrollers.
The starter kit is available in four versions:
• PIC32MZ Embedded Graphics with External DRAM (DA) Starter Kit (P/N: DM320008)
• PIC32MZ Embedded Graphics with External DRAM (DA) Starter Kit (Crypto) (P/N: DM320008-C)
• PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit (P/N: DM320010)
• PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit (Crypto) (P/N: DM320010-C)
The four versions of the starter kit which are facilitated through a common base board (referred to as PIC32MZ DA SK Base Board) and four different CPU Daughter Cards (referred to as PIC32MZ2064DAx288 Daughter Card and PIC32MZ2064DAx169 Daughter Card) are given below:
• DM320008 comes with PIC32MZ2064DAA288 Daughter Card
• DM320008-C comes with PIC32MZ2064DAB288 Daughter Card
• DM320010 comes with PIC32MZ2064DAG169 Daughter Card
• DM320010-C has PIC32MZ2064 DAH1 69 Daug hter Card
Any configur ation o f the PIC32 Em bedded Gr aphics Starte r Kit ca n be us ed in con junc­tion with Multimedia Expansion Board II (MEB-II) at http://www.microchip.com/meb2 to exercise the embedded graphics features.
For a free Microchip demonstration code and additional information, please visit the MPLAB Harmony page at: http://www.microchip.com/MPLABHarmony.
The MPLAB Harmony Integrated Software Framework includes several demonstrations that have configurations for the PIC32MZ DA Starter Kit. These demonstrations are available in the <install-dir>/apps folder of the MPLAB Harmony installation, where <install-dir> is either
C:/microchip/harmony/<version> (for Windows OS) or ~/microchip/harmony/<version> (for MAC or Linux OS).
For additional information on demonstrations and building/running steps, refer to the documents available in the <install-dir>/doc folder.
This chapter covers the following topics:
Kit Contents
Starter Kit Functionality and Features
2017 Microchip Technology Inc. DS70005311A-page 13
PIC32MZ DA Family Starter Kit User’s Guide
+3.3V Power
Supply
(U2)
+5V_EXT (J3)
+5V_CPU (J4)
VBUS_PKOB (J19)
VBUS_ OTG (J6)
+1.8V Power
Supply
(U4)
PIC32MZ2064DAG169
(non -Cry pto an d inter nal DDR)
PIC32 MZ20 64D AH16 9
(Cry pto an d inter nal DD R)
PIC32 MZ20 64D AA28 8
(non-Crypto and ex ter nal DDR)
PIC32 MZ20 64D AB28 8
(non-Crypto and ex ter nal DDR)
USB OT G
(J6)
USB Host
(J7)
Application Board Connector
(J3)
Ether net
PHY
Daug hter
Board
PIC32MZ2064DAxNNN
(1)
Daugh ter Card
10/100 Jack
ME B II fo r Gr ap hic s,
Aud io etc. ,
USB-to-UART/I2C Circuit
(MC P2221 -I/M Q)
Debu gger Circuit
(PIC24FJ256GB 106)
Device
(Type micro-A/B)
Switches
(SW1 , SW 2 and SW3 )
LEDs
(D6, D7 an d D8)
Note 1: NNN=169/288
2: Only applicable to external DRAM version (DM320008 and DM320008-C) of the PIC32MZ DA Starter Kit
40-pi n Ex pansion Conne ctor
(J15)
DDR2-SDRAM
(2)
+5V_EXT
V
DDIO, AVDD
Micro-SD
Slot
(J10)
Device/OT G
(Type micro-A/B)
Host
(Type- A)
Debu g
(Type micro-A/B)
SQI-Flash
(U5)
VDDCORE, VDDR1V8
+3.3V
+3.3V
+5V
+3.3V
+1.8V
+1.8V

1.1 KIT CONTENTS

The PIC32MZ DA Starter Kit contains the following items:
• One PIC32MZ Embedded Graphics (DA) Starter Kit
• One LAN8740A Ethernet PHY Daughter Board
• One Type-A male to Micro-B USB cable (to communicate with the PIC32 DEBUG port)
• One ETH cable
• Information sheet
Note: If you are missing any part of the kit, contact a Microchip sales office for
assistance. A list of Microchip offices for sales and service is provided on the last page of this document.

1.2 BLOCK DIAGRAM

Figure 1-1 illustrates the high-level block diagram of the PIC32MZ DA Starter Kit.

FIGURE 1-1: HIGH-LEVEL BLOCK DIAGRAM OF THE PIC32MZ DA STARTER KIT

DS70005311A-page 14 2017 Microchip Technology Inc.

1.3 STARTER KIT FUNCTIONALITY AND FEATURES

1
2
2
3
4
4
5
6
7
8
9
10
11

1.3.1 Development Board

Representations of the layout of the developme nt board incl uded in the PIC32MZ DA Family Starter Kit are shown in Figure 1-2 through Figure 1-7.
The top asse mbl y of t he P IC32 MZ DA SK Base Board includes thes e key fea ture s, as indicated in Figure 1-2.
1. USB Micro-B power supply connector (J4).
2. Headers to connect PIC32MZ2064DAx288/PIC32MZ2064DAx169 CPU Daugh­ter Cards (J2, J3).
3. Micro-SD slot (J10).
4. Headers for flexible Ethernet PHY options (J9).
5. USB Type-A connector for PIC32 USB host based applications (J7).
6. USB Micro-B connector for USB-to-UART communication (J5).
7. Three push button switches for user-defined inputs (S1, S2, and S3).
8. T hree use r -d efined ind ic ato r LED s (D3, D4, and D5).
9. Jumper for using or disconnecting the on-board debugger (J17).
10. Connector for an external debugger, such as MPLAB® REAL ICE or MPLAB ICD 3 (J12).
11. 40-pin expansion connector for adding external boards (J15).
Introduction
Note: When running self-powered USB device applications, open the jumper JP1
to prevent possibly back-feeding voltage onto the V the host to another (or from one host to another).
For details on these features, refer to Chapter 2. “Hardware”.
FIGURE 1-2: PIC32MZ DA SK BASE BOARD LAYOUT (TOP VIEW)
BUS
from one port on
2017 Microchip Technology Inc. DS70005311A-page 15
Loading...
+ 34 hidden pages