dsPIC33E USB Starter Kit and PIC24E USB Starter Kit User’s Guide © 2010-2011 Microchip Technology Inc. DS51936B 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, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC32 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-2011, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. ISBN: 978-1-61341-142-1 Microchip received ISO/TS-16949:2002 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. DS51936B-page 2 © 2010-2011 Microchip Technology Inc. dsPIC33E/PIC24E USB STARTER KIT USER’S GUIDE Table of Contents Chapter 1. Introduction 1.1 Starter Kit Contents ...................................................................................... 11 1.2 Starter Kit Functionality and Features .......................................................... 12 Chapter 2. Hardware 2.1 High-Level Block Diagram ............................................................................ 15 2.2 Features ....................................................................................................... 16 Appendix A. Board Layout and Schematics A.1 Starter Kit Board Layout ............................................................................... 19 A.2 Application Hardware Schematics ............................................................... 21 A.3 Starter Kit Debugger Hardware Schematics ................................................ 26 © 2010-2011 Microchip Technology Inc. DS51936B-page 3 dsPIC33E/PIC24E USB Starter Kit User’s Guide NOTES: DS51936B-page 4 © 2010-2011 Microchip Technology Inc. dsPIC33E/PIC24E USB 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 “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® IDE online help. Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before you use the dsPIC33E USB Starter Kit or the PIC24E USB Starter Kit. Items discussed in this Preface include: • • • • • • • • Document Layout Conventions Used in this Guide Warranty Registration 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 one of the starter kits as a development tool to emulate and debug firmware on a target board. The document layout is as follows: • Chapter 1. “Introduction” – This chapter provides a brief overview of each starter kit. • Chapter 2. “Hardware” – This chapter provides the hardware descriptions for each starter kit. • Appendix A. “Board Layout and Schematics” – This appendix provides a block diagram, board layouts, and detailed schematics of each starter kit. © 2010-2011 Microchip Technology Inc. DS51936B-page 5 dsPIC33E/PIC24E USB Starter Kit User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Arial font: Italic characters Represents Examples Referenced books Emphasized text A window A dialog A menu selection A field name in a window or dialog A menu path MPLAB® IDE User’s Guide ...is the only compiler... the Output window the Settings dialog select Enable Programmer “Save project before build” A dialog button A tab A key on the keyboard Click OK Click the Power tab Press <Enter>, <F1> Italic Courier New Sample source code Filenames File paths Keywords Command-line options Bit values Constants A variable argument Square brackets [ ] Optional arguments Curly brackets and pipe character: { | } Ellipses... Choice of mutually exclusive arguments; an OR selection Replaces repeated text #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, 1 0xFF, ‘A’ file.o, where file can be any valid filename mcc18 [options] file [options] errorlevel {0|1} Initial caps Quotes Underlined, italic text with right angle bracket Bold characters Text in angle brackets < > Courier New font: Plain Courier New Represents code supplied by user DS51936B-page 6 File>Save var_name [, var_name...] void main (void) { ... } © 2010-2011 Microchip Technology Inc. Preface WARRANTY REGISTRATION Please complete the enclosed Warranty Registration Card and mail it promptly. Sending in the Warranty Registration Card entitles you to receive new product updates. Interim software releases are available at the Microchip web site. RECOMMENDED READING This user’s guide describes how to use the dsPIC33E USB Starter Kit or the PIC24E USB Starter Kit. The following documents are available and recommended as supplemental reference resources. dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 Data Sheet (DS70616) Refer to this document for detailed information on dsPIC33E and PIC24E 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 dsPIC33E/PIC24E Family Reference Manual Sections Family Reference Manual sections are available, which explain the operation of the dsPIC® DSC family architecture and peripheral modules. The specifics of each device family are discussed in the individual family’s device data sheet. dsPIC33E/PIC24E Flash Programming Specification (DS70619) Refer to this document for information on instruction sets and firmware development. This document may be obtained from the Microchip web site or your local sales office. MPLAB® C Compiler for PIC24 MCUs and dsPIC® DSCs User’s Guide (DS51284) This document details the use of Microchip’s MPLAB C Compiler for PIC24 MCUs and dsPIC DSC devices to develop an application. The MPLAB C Compiler is a GNU-based language tool, based on source code from the Free Software Foundation (FSF). For more information about the FSF, visit www.fsf.org. MPLAB® IDE User’s Guide (DS51519) This document describes how to use the MPLAB IDE Integrated Development Environment (IDE), as well as the MPLAB project manager, MPLAB editor and MPLAB SIM simulator. Use these development tools to help you develop and debug application code. 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 website at: http://www.usb.org. © 2010-2011 Microchip Technology Inc. DS51936B-page 7 dsPIC33E/PIC24E USB Starter Kit User’s Guide THE MICROCHIP WEB SITE Microchip provides online support via our web site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, 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 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 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. These include the MPLAB C compiler; MPASM™ and MPLAB 16-bit 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. DS51936B-page 8 © 2010-2011 Microchip Technology Inc. Preface 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://www.microchip.com/support DOCUMENT REVISION HISTORY Revision A (November 2010) This is the initial released version of this document. Revision B (May 2011) This revision includes the following updates: • Replaced OTG with the word “device” in the last bullet item in 1.1 “Starter Kit Contents” • Removed item 10 from 1.2.1 “Top Assembly” and Figure 1-1 • Removed micro-A and USB OTG from item 3 in 1.2.2 “Bottom Assembly” • Removed USB OTG and micro-A from Figure 2-1 in 2.1 “High-Level Block Diagram” • Updated the second item in the bulleted list in 2.2.2 “Power Supply” • Removed OTG mode from the bulleted list and the corresponding paragraph in 2.2.4 “dsPIC33E/PIC24E USB Connectivity” • Replaced OTG with DEVICE in the Power Distribution/Switching schematic (Figure A-4) and added “Do not populate” in the USB Connections schematic (Figure A-8) in A.2 “Application Hardware Schematics” © 2010-2011 Microchip Technology Inc. DS51936B-page 9 dsPIC33E/PIC24E USB Starter Kit User’s Guide NOTES: DS51936B-page 10 © 2010-2011 Microchip Technology Inc. dsPIC33E/PIC24E USB STARTER KIT USER’S GUIDE Chapter 1. Introduction Thank you for purchasing a Microchip Technology dsPIC33E USB Starter Kit or PIC24E USB Starter Kit. Depending on the starter kit purchased, the board included provides a low-cost, modular development system for Microchip’s enhanced 16-bit Digital Signal Controllers (DSCs) or High-Performance Microcontrollers (MCUs). The starter kit comes preloaded with demonstration software for the user to explore the new features of the dsPIC33E DSC family (dsPIC33E USB Starter Kit) or the PIC24E MCU family (PIC24E USB Starter Kit). 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: • Starter Kit Contents • Starter Kit Functionality and Features The software for the demo application that is preprogrammed into the dsPIC33E or PIC24E device 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 dsPIC33E or PIC24E device on the starter kit to its original state (i.e., if the sample device has been reprogrammed with another program) or so you can use the demonstration code as a platform for further experimentation and evaluation. Note: 1.1 Refer to the Readme file provided with the starter kit demonstration software for instructions on how to run the demonstration application. Refer to the information sheet that is provided with the starter kit package for additional resources and instructions on how to use the starter kit for programming and debugging application software. STARTER KIT CONTENTS The starter kit contains the following items: • • • • dsPIC33E or PIC24E USB Starter Kit Development Board dsPIC33E or PIC24E USB Starter Kit Information Sheet 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 - USB cable to communicate with the dsPIC33E/PIC24E USB device port Note: If you are missing any part of a kit, contact a Microchip sales office for assistance. A list of worldwide Microchip offices for sales and service is provided on the back page of this document. © 2010-2011 Microchip Technology Inc. DS51936B-page 11 dsPIC33E/PIC24E USB Starter Kit User’s Guide 1.2 STARTER KIT FUNCTIONALITY AND FEATURES This section describes the top and bottom board layout assembly of the dsPIC33E or PIC24E USB Starter Kit. 1.2.1 Top Assembly The top assembly of the board includes these key features, as indicated in Figure 1-1: 1. dsPIC33EP512MU810 16-bit DSC device (dsPIC33E USB Starter Kit) or PIC24EP512GU810 16-bit MCU (PIC24E USB Starter Kit). 2. Green power indicator LED (D4). 3. 8 MHz crystal (Y3) for precision microcontroller clocking. 4. USB connectivity for on-board debugger communications (J2). 5. Three push button switches (SW1, SW2, SW3) for user-defined inputs. 6. Three user-defined indicator LEDs (LED1, LED2, LED3). 7. USB Type A receptacle (J6) connectivity for dsPIC33E/PIC24E USB host-based applications. 8. HOST mode power jumper (J5). 9. Regulated +3.3V power supply for powering the starter kit via USB or an expansion board. Note: FIGURE 1-1: When running USB device applications, open the jumper J5 to prevent possibly back-feeding voltage onto the VBUS from one port on the host to another (or from one host to another). STARTER KIT LAYOUT (TOP SIDE) 2 4 9 5 1 8 3 DS51936B-page 12 5 6 5 7 6 6 © 2010-2011 Microchip Technology Inc. Introduction 1.2.2 Bottom Assembly The bottom assembly of the board includes these key features, as indicated in Figure 1-2: 1. PIC24FJ256GB106 USB microcontroller (U1) for on-board debugging. 2. Connector (J3) for various expansion boards such as the Multimedia Expansion Board (MEB) or the I/O Expansion Board. 3. USB Type micro-B receptacle (J4) for USB Device connectivity for dsPIC33E/ PIC24E USB device-based applications. Note: FIGURE 1-2: Refer to Appendix A. “Board Layout and Schematics” for details on the mapping of device pins to the pins on the expansion connector. STARTER KIT LAYOUT (BOTTOM SIDE) 1 2 3 © 2010-2011 Microchip Technology Inc. DS51936B-page 13 dsPIC33E/PIC24E USB Starter Kit User’s Guide NOTES: DS51936B-page 14 © 2010-2011 Microchip Technology Inc. dsPIC33E/PIC24E USB STARTER KIT USER’S GUIDE Chapter 2. Hardware This chapter describes the hardware features of the starter kit. Topics covered include: • High-Level Block Diagram • Features 2.1 HIGH-LEVEL BLOCK DIAGRAM Figure 2-1 illustrates a high-level block diagram of the dsPIC33E/PIC24E USB starter kit. FIGURE 2-1: HIGH-LEVEL BLOCK DIAGRAM VUSB or +5V_EXT USB Device (Type micro-B) +3.3V Power Supply USB Host Power Supply Debugger (PIC24FJ256GB106) +5V_EXT ICSP™ dsPIC33EP512MU810 (dsPIC33E USB Starter Kit) or PIC24EP512GU810 (PIC24E USB Starter Kit) Application Board Connector USB Device (Type mini-B) USB Host (Type A) Switches LEDs © 2010-2011 Microchip Technology Inc. DS51936B-page 15 dsPIC33E/PIC24E USB Starter Kit User’s Guide 2.2 FEATURES This section describes the key features of the starter kit. Refer to Figure 1-1 and Figure 1-2 in Chapter 1. “Introduction” for their actual locations on the board. 2.2.1 Processor Support The dsPIC33E USB Starter Kit is designed with a permanently mounted (i.e., soldered) dsPIC33EP512MU810 DSC. Similarly, the PIC24E USB Starter Kit is designed with a permanently mounted (i.e., soldered) PIC24EP512GU810 MCU. 2.2.2 Power Supply There are two ways to supply power to the dsPIC33E or PIC24E USB Starter Kit: • Connect the USB Debug connector J2 to a PC running MPLAB using the supplied mini-B to full-sized A cable • An external application board with a regulated DC power supply that provides +5V can be connected to the application board connector (J3) that is provided on the bottom side of the board One green LED (D4) is provided to show that the dsPIC33E or PIC24E device is being powered. 2.2.3 Debug USB Connectivity The dsPIC33E or PIC24E USB Starter Kit includes a PIC24FJ256GB106 USB microcontroller that provides debugger connectivity over USB. The PIC24FJ256GB106 is hard-wired to the dsPIC33E or PIC24E device to translate the I/O pins of the PIC24FJ256GB106 device to the ICSP™ pins of the dsPIC33E or PIC24E device. The debugger circuit also includes a 25LC256 Serial EEPROM device for data storage. The programming/debugging circuit on the dsPIC33E or PIC24E USB Starter Kit is similar in functionality and feature-set to the MPLAB PICkit™ 3 debugger. 2.2.4 dsPIC33E/PIC24E USB Connectivity There are three possible ways to connect to the dsPIC33E or PIC24E USB microcontroller: • Host mode Connect the device to the type-A connector J6, located on the top side of the starter kit. If using the debug USB port to power the Host port, install jumper J5 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 for the application, an external supply must be connected to the application board and jumper J5 must be removed to prevent back-powering the debug USB port. • Device mode First, connect the debug mini-B USB cable to port J2. Next, connect the starter kit to the USB Host using a cable with a type-B micro plug to the starter kit’s micro-B port J4, located on the bottom side of the starter kit. The other end of the cable must have a type-A plug. Connect it to a USB host. Jumper J5 should be removed. DS51936B-page 16 © 2010-2011 Microchip Technology Inc. Hardware 2.2.5 Switches Push button switches (SW1, SW2 and SW3) 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 The switches do not have any debounce circuitry and require the use of software debounce techniques. When idle, the switches are pulled high (+3.3V). When pressed, they are grounded. 2.2.6 LEDs The LEDs (LED1, LED2 and LED3) are connected to PORT D of the processor: • LED1: Active-high LED connected to RD0 • LED2: Active-high LED connected to RD1 • LED3: Active-high LED connected to RD2 The corresponding PORT D pins must be configured as digital outputs and set high in order to turn on the LEDs. 2.2.7 Oscillator Options The installed DSC or MCU has an 8 MHz crystal (Y3) connected to it. This crystal is used by the microcontroller’s Primary Oscillator. Use of the external crystal is required in order to develop USB applications, as the USB specification dictates a frequency tolerance of ± 0.25% for full speed. Non-USB applications can use the internal oscillators if preferred. The starter kit also has provisions for an external Secondary Oscillator (Y2); however, the crystal for this oscillator is not populated. The PIC24FJ256GB106 device is independently clocked and has its own 12 MHz crystal (Y1). 2.2.8 120-pin Modular Expansion Connector The dsPIC33E or PIC24E USB Starter Kit includes a 120-pin modular expansion interface (Application Board Connector J3) on its bottom side. This allows the board to be optionally used in conjunction with other Microchip development boards such as the I/O Expansion Board or the Multimedia Expansion Board (MEB), thereby extending the functionality provided by the starter kit. TABLE 2-1: STARTER KIT CONNECTOR PART NUMBERS Connector HIROSE Electric P/N Starter Kit Connector FX10A-120P/12-SV1(71) Application Board Connector FX10A-120S/12-SV(71) © 2010-2011 Microchip Technology Inc. DS51936B-page 17 dsPIC33E/PIC24E USB Starter Kit User’s Guide NOTES: DS51936B-page 18 © 2010-2011 Microchip Technology Inc. dsPIC33E/PIC24E USB STARTER KIT USER’S GUIDE Appendix A. Board Layout and Schematics This appendix provides board layout diagrams and schematics of the dsPIC33E and PIC24E USB Starter Kits and includes the following sections: • Starter Kit Board Layout • Application Hardware Schematics • Starter Kit Debugger Hardware Schematics A.1 STARTER KIT BOARD LAYOUT FIGURE A-1: STARTER KIT BOARD LAYOUT (TOP) © 2010-2011 Microchip Technology Inc. DS51936B-page 19 dsPIC33E/PIC24E USB Starter Kit User’s Guide FIGURE A-2: DS51936B-page 20 STARTER KIT BOARD LAYOUT (BOTTOM) © 2010-2011 Microchip Technology Inc. Board Layout and Schematics A.2 APPLICATION HARDWARE SCHEMATICS FIGURE A-3: TARGET DEVICE (dsPIC33E/PIC24E) U5 1 2 3 4 5 6 7 8 9 R34 4.7K 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 RG15 PWML3/PMPD4/RE4 VDD PWMH2/PMPD3/RE3 PWMH3/PMPD5/RE5 PWML2/PMPD2/RE2 PWML4/PMPD6/RE6 RG13 PWMH4/PMPD7/RE7 RG12 PWML5/RC1 RG14 PWMH5/RC2 PWMH1/PMPD1/RE1 PWML6/RC3 PWML1/PMPD0/RE0 PWMH6/RC4 RPIA7 C1IND/PMPA5/RG6 RPIA6 C1INC/PMPA4/RG7 RG0 C2IND/PMPA3/RG8 RG1 MCLR RF1 C2INC/PMPA2/RG9 RF0 VSS VDD VDD VDDCAP TMS/RA0 C3INA/RD7 RE8 C3INB/RD6 RE9 PMPRD/RD5 C1INA/VBUSST/RB5 PMPWR/RD4 C1INB/USBOE/RB4 RD13 C2INA/RB3 RD12 C2INB/RB2 PMPBE/RD3 PGEC3/RB1 RD2 PGED3/RB0 VCPCON/RD1 PGEC2/RB6 VSS PGED2/RB7 PGEC1/SOSCO/RC14 VREF-/RA9 PGED1/SOSCI/RC13 VREF+/RA10 INT0/RD0 AVDD PMPCS1/RD11 AVSS ASCL1/PMPCS2/RD10 PMPA6/RB8 ASDA1/RD9 PMPA7/RB9 RTCC/RD8 CVREF/PMPA13/RB10 RA15 PMPA12/RB11 RA14 VSS VSS VDD OSCO/RC15 TCK/RA1 OSCIN/RC12 RF13 VDD RF12 TDO/RPIA5 PMPA11//RB12 TDI/RPIA4 PMPA10/RB13 ASDA2/RA3 PMPA1/RB14 ASCL2/RA2 PMPA0/RB15 D+/RG2 VSS D-/RG3 VDD VUSB RD14 VBUS RD15 NC SDA2/PMPA9/RF4 RF2 SCL2/PMPA8/RF5 USBID/RF3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 C14 83 10uF 82 81 80 79 78 77 76 75 74 73 R35 C15 0R 11pF 72 71 70 69 C16 68 67 11pF 66 65 C17 64 63 20pF 62 61 R36 1M 60 59 Y3 8 Mhz C18 58 57 20pF 56 55 54 53 52 51 dsPIC33E/24E C19 C20 C21 C22 C23 C24 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF © 2010-2011 Microchip Technology Inc. DS51936B-page 21 POWER DISTRIBUTION/SWITCHING D1 J2 R28 D2 +3.3V U3 D3 MBR0520L D4 C10 2.2uF R33 0R GND1 MCP1727 R30 200k C13 C11 C12 0.1uF 2.2uF 0.01uF R29 2.2k GREEN R31 330 R32 100K U4 100K 1 IN OUT 5 2 GND 3 ON FLAGB 4 FPF2104 400mA Limit © 2010-2011 Microchip Technology Inc. dsPIC33E/PIC24E USB Starter Kit User’s Guide DS51936B-page 22 FIGURE A-4: Board Layout and Schematics FIGURE A-5: USER LEDs R42 D5 330R RED R44 D6 330R YELLOW R46 D7 330R FIGURE A-6: © 2010-2011 Microchip Technology Inc. GREEN USER SWITCHES R39 R40 R41 10K 10K 10K DS51936B-page 23 dsPIC33E/PIC24E USB Starter Kit User’s Guide FIGURE A-7: DS51936B-page 24 STARTER KIT INTERFACE © 2010-2011 Microchip Technology Inc. © 2010-2011 Microchip Technology Inc. FIGURE A-8: USB CONNECTIONS U6 1 2 3 R38 100K IN OUT GND ON FLAGB 4 FPF2100 200mA Limit (Do not populate) R37 100K 2 1 2 3 R45 100K IN OUT J6 5 GND ON FLAGB 4 FPF2100 R43 200mA Limit 100K C25 100uF DS51936B-page 25 Board Layout and Schematics U7 J5 1 J4 5 dsPIC33E/PIC24E USB Starter Kit User’s Guide A.3 STARTER KIT DEBUGGER HARDWARE SCHEMATICS FIGURE A-9: MINI-ICSP INTERFACE +3.3V R3 10k FIGURE A-10: J1 SERIAL EEPROM +3.3V R11 10k U2 5 6 1 3 7 R18 2.2k DS51936B-page 26 8 VCC SI SO 2 SCK CS WP HOLD VSS 4 C6 1uF © 2010-2011 Microchip Technology Inc. Board Layout and Schematics FIGURE A-11: TARGET ICSP SIGNALS R1 330 R4 R2 4.7k 330 R5 330 R13 3.92k R10 10k R16 2.21k R17 2.21k R6 4.7k R9 100k Q1 MMBT3906 R14 10k Q2 MMBT3904 R20 10k R19 100 R21 DNP Q3 MMBT3904 R24 10k © 2010-2011 Microchip Technology Inc. R26 DNP DS51936B-page 27 PIC24FJ256GB106 DEBUGGER HOST +3.3V C2 C3 +3.3V C1 C4 10uF 0.1uF 0.1uF 0.1uF R7 200k +3.3V R8 10k R12 10k +3.3V U1 R15 C5 8pF PIC24FJ256GB106 330 Y1 12MHz +3.3V +3.3V +3.3V © 2010-2011 Microchip Technology Inc. R23 1K R22 100 R25 3.16K +3.3V R27 10k C8 C9 1uF 0.1uF +3.3V C7 8pF dsPIC33E/PIC24E USB Starter Kit User’s Guide DS51936B-page 28 FIGURE A-12: NOTES: © 2010-2011 Microchip Technology Inc. DS51936B-page 29 Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.com Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 India - Bangalore Tel: 91-80-3090-4444 Fax: 91-80-3090-4123 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 India - Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Japan - Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Cleveland Independence, OH Tel: 216-447-0464 Fax: 216-447-0643 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Santa Clara Santa Clara, CA Tel: 408-961-6444 Fax: 408-961-6445 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China - Beijing Tel: 86-10-8569-7000 Fax: 86-10-8528-2104 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 China - Chongqing Tel: 86-23-8980-9588 Fax: 86-23-8980-9500 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 China - Hangzhou Tel: 86-571-2819-3180 Fax: 86-571-2819-3189 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 Taiwan - Hsin Chu Tel: 886-3-6578-300 Fax: 886-3-6578-370 China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 Taiwan - Kaohsiung Tel: 886-7-213-7830 Fax: 886-7-330-9305 China - Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 UK - Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049 DS51936B-page 30 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 05/02/11 © 2010-2011 Microchip Technology Inc.