PIC32 USB Starter Kit III User’s GuidePIC32 USB STARTER KIT III USER’S GUIDE 2013 Microchip...
Transcript of PIC32 USB Starter Kit III User’s GuidePIC32 USB STARTER KIT III USER’S GUIDE 2013 Microchip...
2013 Microchip Technology Inc. DS70005132A
PIC32 USB Starter Kit IIIUser’s Guide
DS70005132A-page 2 2013 Microchip Technology Inc.
Information contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights.
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.
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® MCUs and dsPIC® DSCs, KEELOQ® code hopping 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.
QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV
== ISO/TS 16949 ==
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC, SST, SST Logo, SuperFlash 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, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale 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.
GestIC and ULPP are registered trademarks 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.
© 2013, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 9781620773048
Object of Declaration: PIC32 USB Starter Kit III
2013 Microchip Technology Inc. DS70005132A-page 3
PIC32 USB Starter Kit III User’s Guide
NOTES:
DS70005132A-page 4 2013 Microchip Technology Inc.
PIC32 USB STARTER KIT IIIUSER’S GUIDE
Table of Contents
Chapter 1. Introduction1.1 Kit Contents .................................................................................................. 131.2 PIC32 Functionality and Features ................................................................ 14
Chapter 2. Hardware2.1 Hardware Features ....................................................................................... 17
Appendix A. Board Layout and SchematicsA.1 PIC32 USB Starter Kit III Development Board Block Diagram .................... 19A.2 PIC32 USB Starter Kit III Board Layout ....................................................... 20A.3 PIC32 USB Starter Kit III Board Schematics ............................................... 22
Appendix B. Bill of MaterialsB.1 PIC32 USB Starter Kit III Bill of Materials .................................................... 27
2013 Microchip Technology Inc. DS70005132A-page 5
PIC32 USB Starter Kit III User’s Guide
NOTES:
DS70005132A-page 6 2013 Microchip Technology Inc.
PIC32 USB STARTER KIT III
USER’S GUIDEPreface
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 USB Starter Kit III (i.e., starter kit) as a development tool to emulate and debug firmware on a target board. This user’s guide includes 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.• Appendix B. “Bill of Materials” provides the bill of material descriptions and the
reference, manufacturer, and part numbers for the components used in the starter kit hardware.
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 MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files.
2013 Microchip Technology Inc. DS70005132A-page 7
PIC32 USB Starter Kit III User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
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
“Save project before build”
Underlined, italic text with right angle bracket
A menu path File > Save
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>
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be any valid filename
Square brackets [ ] Optional arguments mcc18 [options] file [options]
Curly brackets and pipe character: { | }
Choice of mutually exclusive arguments; an OR selection
errorlevel {0|1}
Ellipses... Replaces repeated text var_name [, var_name...]
Represents code supplied by user
void main (void){ ...}
Notes 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 differences 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. Note 1: This is a note used in a
table.
Note: This is a standard note box.
CAUTION
This is a caution note.
DS70005132A-page 8 2013 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.
PIC32MX330/350/370/430/450/470 Family Data Sheet (DS60001185)
Consult 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® 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.
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 information 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
2013 Microchip Technology Inc. DS70005132A-page 9
PIC32 USB Starter Kit III 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 categories 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® Integrated Development Environment for development systems tools
• Programmers – The latest information on Microchip programmers including the PICkit™ 3 development programmer
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 web site at: http://support.microchip.com
DS70005132A-page 10 2013 Microchip Technology Inc.
DOCUMENT REVISION HISTORY
Revision A (June 2013)
This is the initial release of the PIC32 USB Starter Kit III User’s Guide.
2013 Microchip Technology Inc. DS70005132A-page 11
PIC32 USB Starter Kit III User’s Guide
NOTES:
DS70005132A-page 12 2013 Microchip Technology Inc.
PIC32 USB STARTER KIT III
USER’S GUIDEChapter 1. Introduction
Thank you for purchasing the Microchip Technology Inc. PIC32 USB Starter Kit III. This board provides a low-cost, modular development system for Microchip’s line of 32-bit microcontrollers.
The starter kit comes preloaded with demonstration software for the user to explore the new features of the PIC32. It is also expandable through a modular expansion interface, which allows the user to extend its functionality. The starter kit also supplies on-board circuitry for full debug and programming capabilities.
This chapter covers the following topics:
• Kit Contents• PIC32 Functionality and Features
The preprogrammed example code on the PIC32 MCU is available via download from the Microchip web site at http://www.microchip.com. All project files have been included so that the code may be used directly to restore the PIC32 MCU on the starter kit to its original state (i.e., if the sample device has been reprogrammed with another program).
1.1 KIT CONTENTS
The PIC32 USB Starter Kit III contains the following items:
• PIC32 USB Starter Kit III Development Board• USB mini-B to full-sized A cable – USB debug cable to debug and power the
board• USB micro-B to full-sized A cable – PIC32 USB cable to communicate with the
PIC32 USB port
Note: If you are missing any part of a kit, contact a Microchip sales office for assistance. A list of Microchip offices for sales and service is provided on the back page of this document.
2013 Microchip Technology Inc. DS70005132A-page 13
PIC32 USB Starter Kit III User’s Guide
1.2 PIC32 FUNCTIONALITY AND FEATURES
Representations of the layout of the PIC32 USB Starter Kit III are shown in Figure 1-1 and Figure 1-2.
The top assembly of the board includes these key features, as indicated in Figure 1-1:
1. PIC32MX450F256L 32-bit microcontroller (U1).
2. Green power indicator LED (D7).
3. On-board crystal (Y1) for precision microcontroller clocking (8 MHz).
4. USB connectivity for on-board debugger communications (J3).
5. Green debug indicator LED (D6).
6. Three push button switches for user-defined inputs (S1, S2, S3).
7. Three user-defined indicator LEDs (D1, D3, D5).
8. USB Type A receptacle connectivity for PIC32 host-based applications (J5).
9. HOST mode power jumper (JP1).
10. Regulated +3.3V power supply for powering the starter kit via USB or expansion board (U3).
FIGURE 1-1: PIC32 USB STARTER KIT III LAYOUT (TOP SIDE)
Note: When running USB device applications, open the jumper JP2 to prevent possibly back-feeding voltage onto the VBUS from one port on the host to another (or from one host to another).
4
5
6
6
6
7
7
7
1
3
8
2
910
DS70005132A-page 14 2013 Microchip Technology Inc.
Introduction
The bottom assembly of the board includes these key features, as indicated in Figure 1-2:
1. PIC24FJ256GB106 for on-board debugging (U2).
2. Connector for various expansion boards (J1).
3. USB Host and OTG power supply for powering PIC32 USB applications (U5).
4. USB Type Micro-AB receptacle for OTG and USB device connectivity for PIC32 OTG/device-based applications (J4).
FIGURE 1-2: PIC32 USB STARTER KIT III LAYOUT (UNDERSIDE)
2
1
3
4
2013 Microchip Technology Inc. DS70005132A-page 15
PIC32 USB Starter Kit III User’s Guide
NOTES:
DS70005132A-page 16 2013 Microchip Technology Inc.
PIC32 USB STARTER KIT III
USER’S GUIDEChapter 2. Hardware
This chapter describes the hardware features of the starter kit.
2.1 HARDWARE FEATURES
The key features of the PIC32 USB Starter Kit III are listed below. They are presented in the same order as described in Section 1.2 “PIC32 Functionality and Features”. You can refer to Figure 1-1 for their locations on the board.
2.1.1 Processor Support
The PIC32 USB Starter Kit III is designed with a permanently mounted (i.e., soldered) PIC32MX450F256L processor.
2.1.2 Power Supply
There are two ways to supply power to the PIC32 USB Starter Kit III:
• USB bus power connected to the USB debug connector, J1
• An external application board with a regulated DC power supply that provides +5V can be connected to the J2 application board connector that is provided on the bottom side of the board
One green LED (D3) is provided to show that the PIC32 microcontroller is powered.
2.1.3 Debug USB Connectivity
The PIC32 USB Starter Kit III includes a PIC24FJ256GB106 that provides debugger connectivity over USB. The PIC24FJ256GB106 is hard-wired to the PIC32 device to provide protocol translation through the I/O pins of the PIC24FJ256GB106 to the ICSP™ pins of the PIC32 device.
The PIC32 USB Starter Kit III currently uses the ICSP pins of the PIC32 device for programming and debugging.
2.1.4 PIC32 USB Connectivity
There are three possible ways to connect to the PIC32MX450F256L:
• HOST mode
Connect the device to the Type A connector J4, located on the top side of the starter kit. If using the Debug USB port to power the Host port, install jumper JP2 to short the back-power prevention diode. Note that a maximum of ~400 mA can be supplied from the Debug USB port to the Host port using this method.
If the full 500 mA supply is needed, an external supply must be connected to the application board and jumper JP2 must be removed to prevent back-powering the Debug USB port.
2013 Microchip Technology Inc. DS70005132A-page 17
PIC32 USB Starter Kit III User’s Guide
• DEVICE mode
First, connect the debug Mini-B USB cable to port J1. Next, connect the starter kit to the host using a cable with a Type-B Micro connector to the starter kit’s Micro A/B port J5, located on the bottom side of the starter kit. The other end of the cable must have a Type-A connector and be connected to a USB host. Jumper JP2 should be removed.
• OTG mode
Connect the starter kit to the OTG device using an OTG Micro A/B cable to the Micro A/B port J5, located on the bottom side of the starter kit. The starter kit pro-vides an on-board power supply capable of providing 120 mA (maximum). This supply is controlled by the PIC32MX450F256L microcontroller. Jumper JP2 should be removed.
2.1.5 Switches
Three push button switches provide the following functionality:
• SW1: Active-low switch connected to RD6
• SW2: Active-low switch connected to RD7
• SW3: Active-low switch connected to RD13
These switches do not have any debounce circuitry and require the use of internal pull-up resistors, which allows the investigation of software debounce techniques. When idle, the switches are pulled high (+3.3V). When pressed, they are grounded.
2.1.6 LEDs
The RD0 through RD2 LEDs are connected to PORTD of the processor. The PORTD pins are set high to illuminate the LEDs.
2.1.7 Oscillator Options
The installed microcontroller has an oscillator circuit connected to it. The main oscillator uses an 8 MHz crystal (Y1) and functions as the controller’s Primary Oscillator. Use of an external crystal is required to develop USB applications. The USB specification dictates a frequency tolerance of +/- 0.25% for full speed. Non-USB applications can use the internal oscillators. The starter kit also has provisions for an external Secondary Oscillator (Y2); however, this is not populated.
The PIC24FJ256GB106 is independently clocked and has its own 12 MHz crystal (Y3).
2.1.8 120-Pin Modular Expansion Connector
The PIC32 USB Starter Kit III has been designed with a 120-pin modular expansion interface, which allows the board to provide basic generic functionality now, and easy extendability to new technologies as they become available.
TABLE 2-1: STARTER KIT CONNECTOR PART NUMBERS
Connector HIROSE Electric PN
Starter Kit Connector FX10A-120P/12-SV1(71)
Application Board Connector FX10A-120S/12-SV(71)
DS70005132A-page 18 2013 Microchip Technology Inc.
PIC32 USB STARTER KIT III
USER’S GUIDEAppendix A. Board Layout and Schematics
A.1 PIC32 USB STARTER KIT III DEVELOPMENT BOARD BLOCK DIAGRAM
FIGURE A-1: HIGH-LEVEL BLOCK DIAGRAM OF THE PIC32 USB STARTER KIT III BOARD
PIC32MX450F256L
(PIC24FJ256GB106)
ICSP™
VUSB(1) or+5V_EXT
Debug USB
Ap
plic
atio
n B
oa
rd C
on
ne
cto
r
Switches
LEDs
+5V EXT
VUSB or
+5V_EXT
+3.3V
USB Host
Device/OTG(Type micro-A/B)
Host(Type A)
Note 1: From Debugger USB Port.
+3.3VPowerSupply
Power Circuit
Debugger Circuit
USB OTG
2013 Microchip Technology Inc. DS70005132A-page 19
PIC32 USB Starter Kit III User’s Guide
A.2 PIC32 USB STARTER KIT III BOARD LAYOUT
FIGURE A-2: PIC32 USB STARTER KIT III LAYOUT (TOP ASSEMBLY)
DS70005132A-page 20 2013 Microchip Technology Inc.
FIGURE A-3: PIC32 USB STARTER KIT III LAYOUT (BOTTOM ASSEMBLY)
2013 Microchip Technology Inc. DS70005132A-page 21
PIC32 USB Starter Kit III User’s Guide
A.3 PIC32 USB STARTER KIT III BOARD SCHEMATICS
FIGURE A-4: PIC32 USB STARTER KIT III SCHEMATICS (PIC32MX CPU)
PM
D4/
RE
4
PM
D3/
RE
3
PM
D2/
RE
2
TR
D0/
RG
13
TR
D1/
RG
12
TR
D2/
RG
14
PM
D1/
RE
1
PM
D0/
RE
0
TR
D3/
RA
7
TR
CL
K/R
A6
PM
D9/
RG
1
PM
P10
/RF
1
PM
D11
/RF0
PM
D15
/RD
7
PM
D14
/RD
6
PM
RD
/RD
5
PM
D13
/RD
13
PM
D12
/RD
12
RD
3
RD
2
RD
1
PM
D8/
RG
0
PM
WR
/RD
4
PM
A7/
VR
EF
-/R
A9
PM
A6/
VR
EF
+/R
A10
C1O
UT
/RB
8
C2O
UT
/RB
9
PM
A13
/CV
RE
F/A
N10
PM
A12
/RB
11
TC
K/R
A1
U2R
TS
/BC
LK
2/R
F13
U2C
TS/
RF
12
PM
A11
/AN
12/R
B12
PM
A10
/AN
13/R
B13
PM
A1/
AN
14/R
B14
PM
A0/
AN
15/O
CF
B
RD
14
RD
15
PMA
9/R
F4
PM
A8/
RF
5
SOSC0/T1CK/RC14
SOSC1/RC13
INT0/RD0
PMCS1/RD11
PMCS2/SCKI/RD10
RD9
RTCC/RD8
SDA1/RA15
SCL1/RA14
TDO/RA5
TDI/RA4
SDA2/RA3
SCL2/RA2
RF8
RF2
RF3
PMD5/RE5
PMD6/RE6
PMD7/RE7
RC1
RC2
RC3
RC4
PMA5/SCK2/RG6
PMA4/RG7
PMA3/RG8
PMA2/RG9
TMS/RA0
RE8
RE9
C1IN+/AN5/RB5
C1IN-/AN4/RB4
C2IN+/AN3/RB3
C2IN-/AN2/CN4/RB2
PGC1/AN1/RB1
PGD1/AN0/RB0
0.1uFC2
0.1uF
C4
0.1uF
C5
0.1uFC1
84 81 78
2799
3096
3393
3690
3987
42 45 48
23
20
17
14
11
8
5
2
53
56
59
62
65
68
71
74
24
25
21
18
22
19
15
12
16
13
9
6
10
7
3
4
1
82 7980
52
51
55
58
54
57
61
64
60
63
67
70
66
69
73
72
75
76
26 2928
100
9798
32 3534
94 9192
38 4140
88 8586
44 4746 50
83 77
31 37 43 49
95 89
U1
PIC32MX450F512L_TQFP100
P32_VDD
0.1uF
C3
PGC2
PGD2
Y2
Y1
8 MHzP32_VDD
P32_VDD
P32_VDD
P32_VDD
P32_VDD
11pF
C12
11pF
C11
20pF
C10
20pF
C9
0.1uFC7
P32_VDD
4.7KR1
0.1uFC6
10FC8
ICSP_MCLR_VPP_TARGET
P32_VDD
DNP
D+
D-
VBUS
RG15
P32_VDD
GND
150K
DS70005132A-page 22 2013 Microchip Technology Inc.
2
01
3 M
icroch
ip T
ech
no
log
y Inc.
DS
70
00
51
32
A-p
ag
e 2
3
FIG
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
Y_ID_0
Y_ID_1
VBUS_DEVICE
GND
GND
GND10K
R15
C22
8pF
C23
8pF
4
13
2Y3
12.0MHz
10K
R16
URE A-5: PIC32 USB STARTER KIT III SCHEMATICS (DEBUG CPU)
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
ASSEMBL
ASSEMBL
ICSP_MCLR_VPP_PICKIT3
POWER_GOOD_PICKIT3
SCK
SDI
SDO
UTIL_CS
UTIL_WP
USB_D-
USB_D+
UTIL_SCK
UTIL_SDI
UTIL_SDO
VDD_SENSE
VPP_GND
VPP_ON
VPP_SENSE
VREF_2.5V
GND
GND
GND
GNDGND
GND
PGC__PKOB
PGD_PKOB
10KR13
330R
R10
0.1uFC19
0.1uFC21
10FC24
200K
R18
100R
R14
1uFC20
R12
3.16K
1K
R11
AN
6/R
B6
17P
MP
D4/
RE
464
AV
SS20
PM
PD
1/R
E1
61
PM
A13
/AN
10/R
B10
23R
F0
58
VD
D26
RD
755
PM
A1/
AN
14/R
B14
29P
MW
R/R
D4
52
PM
A8/
SCL
2/R
F532
VC
PC
ON
/RD
149
AN0/RB016
AN3/RB313
VDD10
MCLR7
PMA5/RG64
PMD5/RE51
USBID/RF333
D-/RG336
OSC1/CLKIN/RC12 39
RTCC/RD8 42
PMCS1/RD11 45
SOSCO/RC1448
AN2/RB214
AN1/RB115
PMA2/RG98
VSS9
AN5/RB511
PMD6/SCL3/RE62
PMD7/SDA3/RE73
PMA4/RG75
AN
7/R
B7
18
AV
DD
19
AN
8/R
B8
21
PM
PD
3/R
E3
63
PM
PD
2/R
E2
62
PM
PD
0/R
E0
60
PM
A12
/AN
11/R
B11
24
VSS
25
PM
A11
/AN
12/R
B12
27
EN
VR
EG
57
Vca
p/V
DD
CO
RE
56
RD
654
PM
A0/
AN
15/R
B15
30
PM
A9/
SDA
2/R
F4
31
PMB
E/R
D3
51
DH
P/R
D2
50
Vusb35
Vbus34
VSS 41
OSC2/CLKO/RC15 40
VDD38
SOSCI/RC13 47
INT0/RD0 46
SCL1/PMCS2/RD10 44
USBOENAN4/RB412
PMA3/RG86
D+/RG237
SDA1/RD943
PM
A7/
AN
9/R
B9
22R
F1
59
PM
A10
/AN
13/R
B13
28P
MR
D/R
D5
53
AN
AA6/
RB
6P
MP
D4/
RE
4
AV
SSP
MP
D1/
RE
1
PM
A13
/AN
A10
/RB
10R
F0
VD
DR
D7
PM
A1/
AN
AA14
/RB
14P
MW
R/
RRR
D4
PM
A8/
SCL
2/R
F5V
CP
CO
N/R
D1
AN0/RB0
AN3/RB3
VDD
MCLR
PMA5/RG6
PMD5/RE5
USBID/RF3
D-/RG3
OSC1/CLKIN/RC12II
RTCC/RD8
PMCS1/RD11
SOSCO/RC14VV
AN2/RB2
AN1/RB1
PMA2/RG9
VSS
AN5/RB5
PMD6/SCL3/RE6
PMD7/SDA3/RE7
PMA4/RG7
AN
AA7/
RB
7
AV
DD
AN
AA8/
RB
8
PM
PD
3/R
E3
PM
PD
2/R
E2
PM
PD
0/R
E0
PM
A12
/AN
A11
/RB
11
VSS
PM
A11
/AN
AA12
/RB
12
EN
VR
EG
Vca
pa/V
DD
CO
RE
RD
6
PM
A0/
AN
AA15
/RB
15
PM
A9/
SDA
2/R
F4
PMB
E/R
D3
DH
P/R
D2
Vusb
Vbus
VSS
OSC2/CLKO/RC15
VDD
SOSCI/RC13
INT0/RD0II
SCL1/PMCS2/RD10
USBOEN/AN4/RB4
PMA3/RG8
D+/RG2
SDA1/RD9
PM
A7/
AN
A9/
RB
9R
F1
PM
A10
/AN
AA13
/RB
13P
MR
D/R
D5
U2
PIC24FJ256GB106
VBUS_DEVICE_SWITCHED_SENSE
TARGET_POWER_ENABLE
PIC32 USB Starter Kit III User’s Guide
FIGURE A-6: PIC32 USB STARTER KIT III SCHEMATICS (APPLICATION BOARD CONNECTOR)
GND77
GND11
127
119
113
107
101
93
87
81
73
67
61
53
47
41
35
27
21
15
7
1
GND99
GND121
P3333
GND55
129
131
117
115
125
123
111
105
103
109
91
89
95
97
75
85
79
83
71
65
63
69
51
49
59
57
45
39
37
43
31
25
29
23
9
19
13
17
3
5
78
12
128
120
114
108
102
94
88
82
74
68
62
54
48
42
36
28
22
16
8
2
100
122
34
56
130
132
118
116
126
124
112
106
104
110
92
90
96
98
76
86
80
84
72
66
64
70
52
50
60
58
46
40
38
44
32
26
30
24
10
20
14
18
4
6
J1
CO
NN
_C
L57
0-0
103
RG15
+5V_EXT
+5V_EXT
+5V_EXT
P32_VDD
P32_VDD
P32_VDD
PMP DATA [7:0]
PMP CONTROL
(5) TIMERS
COMPARATOR 2
(3) EXT_INT
SPI1
PMP ADDRESS
COMPARATOR 1
SP12
UART2
A/D REF
JTAG/GPIO
ICSP
COMPARARTOR REF
UART1
I2C1
IC2C2
(5CH) A/D
(5) OC/PWM
SECONDARY OSC
PMP DATA [15:8]
TRACE/GPIOTRD1/RG12
TRD2/RG14
PMD5/RE5
PMD6/RE6
PMD7/RE7
PMD4/RE4
PMD3/RE3
PMD2/RE2
PMD1/RE1
PMD0/RE0
PMCS1/RD11
PMCS2/SCKI/RD10
SOSC0/T1CK/RC14
RC1
RC2
RC3
RC4
PMA5/SCK2/RG6
PMA4/RG7
PMA3/RG8
PMA2/RG9
C1IN+/AN5/RB5
C1IN-/AN4/RB4
C2IN+/AN3/RB3
C2IN-/AN2/CN4/RB2
C1OUT/RB8
C2OUT/RB9
SDA1/RA15
SCL1/RA14
RE8
RE9
INT0/RD0
PMCS2/SCKI/RD10
RC4
INT0/RD0
C2IN-/AN2/CN4/RB2
PMA13/CVREF/AN10
PMA12/RB11
PMA11/AN12/RB12
PMA10/AN13/RB13
PMA9/RF4
PMA8/RF5
PMA7/VREF-/RA9
PMA6/VREF+/RA10
PMA5/SCK2/RG6
PMA4/RG7
PMA3/RG8
PMA2/RG9
PMA1/AN14/RB14
PMA0/AN15/OCFB
PGD2
PGC2
ICSP_MCLR_VPP_TARGET
TMS/RA0
TCK/RA1
TDO/RA5
TDI/RA4
PMA7/VREF-/RA9
PMA6/VREF+/RA10
PMA9/RF4
PMA8/RF5
U2RTS/BCLK2/RF13
U2CTS/RF12
RD14
RD15
RF8
RF2
SDA1/RA15
SCL1/RA14
SDA2/RA3
SCL2/RA2
PGC1/AN1/RB1
PGD1/AN0/RB0
C1IN+/AN5/RB5
C1IN-/AN4/RB4
C2IN+/AN3/RB3
C2IN-/AN2/CN4/RB2
RD9
RTCC/RD8
PMCS1/RD11
PMCS2/SCKI/RD10
PMD12/RD12
INT0/RD0
RD3
RD2
RD1
PMWR/RD4
PMD15/RD7
PMD14/RD6
PMD13/RD13
PMD12/RD12
PMD9/RG1
PMP10/RF1
PMD11/RF0
PMD8/RG0
TRD0/RG13
TRD3/RA7
TRCLK/RA6
SOSC0/T1CK/RC14
SOSC1/RC13
PMA13/CVREF/AN10
PMWR/RD4
PMA0/AN15/OCFB
PMRD/RD5
DS70005132A-page 24 2013 Microchip Technology Inc.
2
01
3 M
icroch
ip T
ech
no
log
y Inc.
DS
70
00
51
32
A-p
ag
e 2
5
FIG
FIG
D7
RN
SH
IEL
D6
D-
5
D+
VBUS
J4
TYPE MICRO A/B
DEVICE/OTG PORT
URE A-7: PIC32 USB STARTER KIT III SCHEMATICS (POWER SUPPLY)
URE A-8: PIC32 USB STARTER KIT III SCHEMATICS (USB OTG/DEVICE POWER SUPPLY)
G
P32_VDD+3.3V_PKOB
330RR46
C144.7uF
FLAGB4
OUT5
GND2
ON3
IN1
U7FPF2104
TARGET_POWER_ENABLE
100KR43
100K
R44 0R
R17
VBUS_DEVICE_SWITCHED_SENSE
C1IN+/AN5/RB5
R404.7K
1uF
C31
R41
DNP
100KR42
PGOOD 1
Vout 2
Vin 3
GND 4C-5
C+6
SHDN7
SELECT8U5
MCP1253_MSOP
RD14
VBUS
P32_VDD
P32_VDD
D+
D- 2
3
1
4RF3
USB OTG/Device Power Supply (120 mA MAX)
10FC32
10FC33
PIC
32 U
SB
Sta
rter Kit III U
ser’s G
uid
e
DS
70
00
51
32
A-p
ag
e 2
6
20
13
Micro
chip
Te
chn
olo
gy In
c.
6
-
+
BUS
5
HOST TYPE - TYPE A
1
2
3
GND
SWITCHES
FIGURE A-9: PIC32 USB STARTER KIT III SCHEMATICS (USB HOST POWER SUPPLY)
FIGURE A-10: PIC32 USB STARTER KIT III SCHEMATICS (SWITCHES AND LEDS)
D2
5
D3
V1
4
J
D+
D-C13100uF
RD14C1IN+/AN5/RB5
JP1
+5V_EXT
EN4
IN5
GND 2
OC 3
OUT 1
U6
TPS20X1B
* Install Jumper if poweringfrom Debugger Power Supply
USB HOST Power Supply
+5V_DUSB
330R
R2
330R
R4
330R
R3
GreenD5LED2
RedD3
LED1
YellowD4
LED3RD1
RD2
USER LEDs
S
S
S
USER
INT0/RD0 PMD14/RD6
PMD15/RD7
PMD13/RD13
PIC32 USB STARTER KIT III
USER’S GUIDEAppendix B. Bill of Materials
B.1 PIC32 USB STARTER KIT III BILL OF MATERIALS
TABLE B-1: PIC32 USB STARTER KIT III BILL OF MATERIALS
Reference Description Manufacturer Part No.
C1, C2, C3, C4, C5, C6, C7, C16, C19, C21, C25, C26, C27, C28, C29
CAP CER .10 µF 50V X7R 0603 TDK Corporation C1608X7R1H104M
C9, C10 CAP CER 20 PF 50V 5% NP0 0603 TDK Corporation C1608C0G1H200J
C15, C17 CAP CER 2.2 µF 16V X5R 0603 TDK Corporation C1608X5R1C225K
C18 CAP CER 10000 pF 50V X7R 0603 TDK Corporation C1608X7R1H103M
C20, C30, C31 CAP CER 1.0 µF 16V X5R 10% 0603 TDK Corporation C1608X5R1C105K
C22, C23 CAP CER 8 pF 50V NP0 0603 Murata Electronics North America
GRM1885C1H8R0DZ01D
C8, C24, C32, C33
CAP CER 10 µF 16V Y5V 0805 Murata Electronics North America
GRM21BF51C106ZE15L
C14 CAP CER 4.7 µF 10V Y5V 0603 Taiyo Yuden JMK107BJ475KA-T
C13 CAP CER 100 µF 6.3V Y5V 1206 Murata Electronics North America
GRM31CF50J107ZE01L
R1, R24, R25, R40
RES 4.7 K 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT4K70
R2, R3, R4, R9, R10, R21, R22, R23, R46
RES 330 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT330R
R5, R13, R15, R16, R19, R31, R32, R33, R34
RES 10 K 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT10K0
R6, R26, R27, R36
RES 0.0 1/10W 0603 SMD Panasonic - ECG ERJ-3GEY0R00V
R7, R18 RES 200 K 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT200K
R11 RES 1 K 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT1K00
R12 RES 3.16 K 1/10W 1% 0603 SMD Yageo RC0603FR-073K16L
R14 RES 100 1/10W 5% 0603 SMD Yageo RC0603JR-07100RL
R20, R29, R30 RES 2.21 K 1/10W 1% 0603 SMD Panasonic - ECG ERJ-3EKF2211V
R28 RES 3.92 K 1/10W 1% 0603 SMD Yageo RC0603FR-073K92L
R35, R42, R43, R44
RES 100 K 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT100K
R37 RES 100 1/4W 1% 1206 SMD Yageo RC1206FR-07100RL
D1, D2 DIODE SCHOTTKY 20V 0.5A SOD123 ON Semiconductor MBR0520LT1G
2013 Microchip Technology Inc. DS70005132A-page 27
PIC32 USB Starter Kit III User’s Guide
D3 LED, SMD, RED, 0603 package Kingbright Corp. APT1608EC
D4 LED, SMD, YEL, 0603 package Kingbright Corp. APT1608YC
D5, D6, D7 LED, SMD, GRN, 0603 package Kingbright Corp. APT1608SGC
J1 CONN_CL570-0103 Hirose Electric Co. Ltd. FX10B-120P/12-SV1(71)
J3 CONN RECEPT MINI USB 2.0 5 POS Hirose Electric Co. Ltd. UX60-MB-5ST
J4 CONN RCPT MICRO USB AB SMD R/A Hirose Electric Co. Ltd. ZX62-AB-5PA(11)
J5 CONN USB TYPE A R/A BLACK On Shore Technology Inc. USB-A1HSB6
JP1 CONN HEADER .100 SINGL STR 2 POS Sullins PBC02SAAN
Q1 TRANS SS PNP 40V 300 MW SOT23 Micro Commercial Co. MMBT3906-TP
Q2, Q3 TRANSISTOR NPN GP 40V SOT23 Micro Commercial Co. MMBT3904-TP
S1, S2, S3 SWITCH TACTILE SPST-NO 0.05A 12V C&K Electronics PTS635SK25SMTR LFS
U1 PIC32MX430F064L-I/PT Microchip Technology Inc. PIC32MX330F064L-I/PT
U2 IC PIC MCU FLASH 256K 64-pin TQFP Microchip Technology Inc. PIC24FJ256GB106-I/PT
U3 IC REG LDO 1.5A 3.3V 8DFN Microchip Technology Inc. MCP1727-3302E/MF
U4 IC EEPROM 256 kilobit 10 MHz 8 TSSOP Microchip Technology Inc. 25LC256-I/ST
U5 IC MULT CONFIG 3.3/5V .12A 8 MSOP Microchip Technology Inc. MCP1253-33X50I/MS
U6 IC PWR DIST SWITCH SNGL SOT23-5 Texas Instruments TPS2051BDBVR
U7 IC SWITCH LOAD FULL FUNC SOT23-5 Fairchild FPF2104
Y1 CRYSTAL 8 MHz 20 pF SMD Fox Electronics FQ7050B-8
Y3 CRYSTAL 12 MHz 8 PF SMD NDK NX3225SA-12.000000 MHZ
+3.3V_PKOB, GND
PC TEST POINT MINIATURE SMT Keystone Electronics 5015
“Feet” BUMPON CYLINDRICAL .375X.135 BLK 3M SJ61A8
C11, C12 (DNP)
CAP CER 11PF 50V 5% NP0 0603 TDK Corporation C1608C0G1H110J
Y2 (DNP) CRYSTAL 32 kHz 12.5 pF CYL ECS Inc. ECS-.320-12.5-13X
MH1 (DNP) 0.120 Diameter hole, unplated DNP DNP (120 mm unplated hole)
J2 (DNP) CONN HEADER .050" 6 POS PCB GOLD SULLINS GRPB061VWVN-RC
R8, R17, R38, R39, R41 (DNP)
RES0603 DNP DNP DNP (RES0603)
TABLE B-1: PIC32 USB STARTER KIT III BILL OF MATERIALS (CONTINUED)
Reference Description Manufacturer Part No.
DS70005132A-page 28 2013 Microchip Technology Inc.
PIC32 USB STARTER KIT IIIUSER’S GUIDE
Index
CCustomer Change Notification Service .................... 10Customer Support .................................................... 10
DDocumentation
Conventions........................................................ 8
HHardware Features
LEDs ............................................................17, 18Oscillator Options ............................................. 18PICtail Plus Card Edge Connectors.................. 18Power Supply.................................................... 17Processor Support ............................................ 17Switches ........................................................... 18USB Connectivity .............................................. 17
IInternet Address......................................................... 9
MMicrochip Internet Web Site ....................................... 9
PPIC32
Layout32-bit Microcontroller ................................. 14Connector for Expansion Boards............... 14Debug Indicator LED ................................. 14Expansion Board Connector...................... 15HOST mode power jumper........................ 14On-Board Crystal ....................................... 14Power Indicator LED.................................. 14Power Supply ............................................ 14Switches .................................................... 14USB Connectivity....................................... 14USB Host and OTG Power Supply ............ 15USB Microcontroller................................... 15USB Type A Receptacle ............................ 14USB Type Micro-AB Receptacle ............... 15User-Defined LEDs.................................... 14
SStarter Kit Board
Block Diagram .................................................. 19Starter Kit Layout
Bottom Assembly .........................................15, 21Top Assembly ..............................................14, 20
Starter Kit SchematicsSheet 1 of 3 .................................................22, 24Sheet 2 of 3 .................................................23, 25Sheet 3 of 3 .................................................25, 26
UUSB
Connectivity ...................................................... 17
WWWW Address........................................................... 9
2013 Microchip Technology Inc. DS70005132A-page 29
DS70005132A-page 30 2013 Microchip Technology Inc.
AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.com
AtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455
BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088
ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075
ClevelandIndependence, OH Tel: 216-447-0464 Fax: 216-447-0643
DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924
DetroitFarmington Hills, MI Tel: 248-538-2250Fax: 248-538-2260
IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453
Los AngelesMission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608
Santa ClaraSanta Clara, CA Tel: 408-961-6444Fax: 408-961-6445
TorontoMississauga, Ontario, CanadaTel: 905-673-0699 Fax: 905-673-6509
ASIA/PACIFICAsia Pacific OfficeSuites 3707-14, 37th FloorTower 6, The GatewayHarbour City, KowloonHong KongTel: 852-2401-1200Fax: 852-2401-3431
Australia - SydneyTel: 61-2-9868-6733Fax: 61-2-9868-6755
China - BeijingTel: 86-10-8569-7000 Fax: 86-10-8528-2104
China - ChengduTel: 86-28-8665-5511Fax: 86-28-8665-7889
China - ChongqingTel: 86-23-8980-9588Fax: 86-23-8980-9500
China - HangzhouTel: 86-571-2819-3187 Fax: 86-571-2819-3189
China - Hong Kong SARTel: 852-2943-5100 Fax: 852-2401-3431
China - NanjingTel: 86-25-8473-2460Fax: 86-25-8473-2470
China - QingdaoTel: 86-532-8502-7355Fax: 86-532-8502-7205
China - ShanghaiTel: 86-21-5407-5533 Fax: 86-21-5407-5066
China - ShenyangTel: 86-24-2334-2829Fax: 86-24-2334-2393
China - ShenzhenTel: 86-755-8864-2200 Fax: 86-755-8203-1760
China - WuhanTel: 86-27-5980-5300Fax: 86-27-5980-5118
China - XianTel: 86-29-8833-7252Fax: 86-29-8833-7256
China - XiamenTel: 86-592-2388138 Fax: 86-592-2388130
China - ZhuhaiTel: 86-756-3210040 Fax: 86-756-3210049
ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 Fax: 91-80-3090-4123
India - New DelhiTel: 91-11-4160-8631Fax: 91-11-4160-8632
India - PuneTel: 91-20-2566-1512Fax: 91-20-2566-1513
Japan - OsakaTel: 81-6-6152-7160 Fax: 81-6-6152-9310
Japan - TokyoTel: 81-3-6880- 3770 Fax: 81-3-6880-3771
Korea - DaeguTel: 82-53-744-4301Fax: 82-53-744-4302
Korea - SeoulTel: 82-2-554-7200Fax: 82-2-558-5932 or 82-2-558-5934
Malaysia - Kuala LumpurTel: 60-3-6201-9857Fax: 60-3-6201-9859
Malaysia - PenangTel: 60-4-227-8870Fax: 60-4-227-4068
Philippines - ManilaTel: 63-2-634-9065Fax: 63-2-634-9069
SingaporeTel: 65-6334-8870Fax: 65-6334-8850
Taiwan - Hsin ChuTel: 886-3-5778-366Fax: 886-3-5770-955
Taiwan - KaohsiungTel: 886-7-213-7828Fax: 886-7-330-9305
Taiwan - TaipeiTel: 886-2-2508-8600 Fax: 886-2-2508-0102
Thailand - BangkokTel: 66-2-694-1351Fax: 66-2-694-1350
EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829
France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44
Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781
Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340
Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91
UK - WokinghamTel: 44-118-921-5869Fax: 44-118-921-5820
Worldwide Sales and Service
11/29/12