Microchip Technology PIC32 USB Starter Kit II User’s Guide

PIC32 USB Starter Kit II
User’s Guide
© 2010 Microchip Technology Inc. DS61158B
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.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC, K
EELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
32
PIC
logo, rfPIC and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, WiperLock 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.
All other trademarks mentioned herein are property of their respective companies.
© 2010, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-60932-723-1
Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and T empe, 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 memo ry and analog products. In addition, Microchip’s quality system for the desig n and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
DS61158B-page 2 © 2010 Microchip Technology Inc.
PIC32 USB STARTER KIT II
USER ’S GUIDE
Table of Contents
Preface ...........................................................................................................................5
Chapter 1. Introduction
1.1 Kit Contents ..................................................................................................11
1.2 PIC32 Functionality and Features ................................................................ 12
Chapter 2. Hardware
2.1 Hardware Features .......................................................................................15
Appendix A. Board Layout and Schematics
A.1 PIC32 USB Starter Kit II Development Board Block Diagram ..................... 17
A.2 PIC32 USB Starter Kit II Board Layout ........................................................18
A.3 PIC32 USB Starter Kit II Board Schematics ................................................ 20
Appendix B. Bill of Materials
Index .............................................................................................................................29
Worldwide Sales and Service ....................................................................................30
© 2010 Microchip Technology Inc. DS61158B-page 3
PIC32 USB Starter Kit II User’s Guide
NOTES:
DS61158B-page 4 © 2010 Microchip Technology Inc.
PIC32 USB STARTER KIT II
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 “DSXXXXXA”, where “XXXXX” 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 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 PIC32 (Gen e ra l Purp os e) Starter Kit, PIC32 USB Star ter Kit II, and the PIC32 Ethernet S tar ter Kit (all also referred to as “st arter 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. “Board Layout and Schematics” provides a block diagram, board layouts, and detailed schematics of the starter kit.
© 2010 Microchip Technology Inc. DS61158B-page 5
PIC32 USB Starter Kit II 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 “Save project before build” Underlined, italic text with right
A menu path File>Save angle bracket
Bold characters A dialog button Click OK
A tab Click the Power tab Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New
Sample source code
Filenames
File paths
Keywords
Command-line options
Bit values
Constants (in source code) Italic Courier New A variable argument
#define START autoexec.bat C:\mcc18\h _asm, _endasm, static
-Opa+, -Opa­0, 1 0xFF, ‘A’
file.o, where valid filename
Square brackets [ ] Optional arguments
Curly brackets and pipe character: { | }
Choice of mutually exclusive
arguments; an OR selection Ellipses... Replaces repeated text
Represents code supplied by user
mcc18 [options] file [options]
errorlevel {0|1}
var_name [, var_name...] void main (void)
{ ... }
®
IDE User’s Guide
file can be any
DS61158B-page 6 © 2010 Microchip Technology Inc.

RECOMMENDED READING

This user’s guide describes how to use the starter kit. The following Microchip documents are available and recommended as supplemental reference resources.

PIC32MX5XX/6XX/7XX Family Data Sheet (DS61156)

Refer to this document for detailed information on PIC32 devices. 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

MPLAB® C Compiler for PIC32 User’s Guide (DS51686)

This document, formerly the “MPLAB C32 C Compiler for PIC32 User’s Guide”, details the use of Microchip’s MPLAB C Compiler for PIC32 to develop an application.

MPLAB® IDE User’s Guide (DS51519)

Refer to this document for more information pertaining to the installation and implementation of the MPLAB IDE software, as well as the MPLAB Editor and MPLAB SIM Simulator software that are included with it.

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 files and informati on easily available to customers. Accessible 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
© 2010 Microchip Technology Inc. DS61158B-page 7
PIC32 USB Starter Kit II 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 spec ified product family or development tool of interest.
To register, access the Microchip web site at http://www.microchip.com, click Customer Change Notification and follow the registration instructions.
The Development Systems product group categories are:
Compilers – The latest information on Microchip C compile rs 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 3.
MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows Integrated Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB SIM simulator, MPLAB 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.
®
C compiler; MPASM™ and MPLAB 16-bit
®

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 sa les of fices ar e also available to help cu stomers. 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.
DS61158B-page 8 © 2010 Microchip Technology Inc.

DOCUMENT REVISION HISTORY

Revision A (January 2010)

This is the initial release of the PIC32 USB Starter Kit II User’s Guide.

Revision B (December 2010)

This revision includes the following updates:
• All references to the PIC32 Starter Kit and PIC32 Ethernet Starter Kit have been removed. User information on these two starter kits can be found in their respective user’s guides, which are available from the Microchip web site.
• Formatting changes and minor text updates have been incorporated throughout the document.
© 2010 Microchip Technology Inc. DS61158B-page 9
Loading...
+ 21 hidden pages