dspic33e usb starter kit and pic24e usb starter kit user’s ... · dspic33e usb starter kit and...
Embed Size (px)
TRANSCRIPT
-
2010-2011 Microchip Technology Inc. DS51936B
dsPIC33E USB Starter Kit andPIC24E USB Starter Kit
Users Guide
-
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 Microchips 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 ourproducts. Attempts to break Microchips code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow 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 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 buyers 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.
DS51936B-page 2
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-1Microchip received ISO/TS-16949:2002 certification for its worldwide
2010-2011 Microchip Technology Inc.
headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Companys 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, Microchips quality system for the design and manufacture of development systems is ISO 9001:2000 certified.
-
dsPIC33E/PIC24E USBSTARTER KIT USERS GUIDE
Table of Contents
Chapter 1. Introduction1.1 Starter Kit Contents ...................................................................................... 111.2 Starter Kit Functionality and Features .......................................................... 12
Chapter 2. Hardware2.1 High-Level Block Diagram ............................................................................ 152.2 Features ....................................................................................................... 16
Appendix A. Board Layout and SchematicsA.1 Starter Kit Board Layout ............................................................................... 19A.2 Application Hardware Schematics ............................................................... 21A.3 Starter Kit Debugger Hardware Schematics ................................................ 26
2010-2011 Microchip Technology Inc. DS51936B-page 3
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
NOTES:
DS51936B-page 4 2010-2011 Microchip Technology Inc.
-
dsPIC33E/PIC24E USB
STARTER KIT USERS GUIDE
Preface
INTRODUCTIONThis 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 LAYOUTThis 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.
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.
2010-2011 Microchip Technology Inc. DS51936B-page 5
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
CONVENTIONS USED IN THIS GUIDEThis manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONSDescription Represents Examples
Arial font:Italic characters Referenced books MPLAB IDE Users Guide
Emphasized text ...is the only compiler...Initial caps A window the Output window
A dialog the Settings dialogA 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 OKA tab Click the Power tab
Text in angle brackets < > A key on the keyboard Press , Courier New font:Plain Courier New Sample source code #define START
Filenames autoexec.batFile paths c:\mcc18\hKeywords _asm, _endasm, staticCommand-line options -Opa+, -Opa-Bit values 0, 1Constants 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){ ...}
DS51936B-page 6 2010-2011 Microchip Technology Inc.
-
Preface
WARRANTY REGISTRATIONPlease 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 READINGThis users 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 SectionsFamily 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 familys 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 Users Guide (DS51284)This document details the use of Microchips 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 Users Guide (DS51519)This document describes how to use the MPLAB IDE Integrated Development Environ-ment (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 DocumentsThe 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
http://www.fsf.orghttp://www.usb.org
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
THE MICROCHIP WEB SITEMicrochip 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, users 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 SERVICEMicrochips 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.
http://www.microchip.comhttp://www.microchip.com
-
Preface
CUSTOMER SUPPORTUsers of Microchip products can receive assistance through several channels: Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical SupportCustomers 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
http://www.microchip.com/support
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
NOTES:
DS51936B-page 10 2010-2011 Microchip Technology Inc.
-
dsPIC33E/PIC24E USB
STARTER KIT USERS 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 Microchips 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 FeaturesThe 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.
1.1 STARTER KIT CONTENTSThe 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: Refer to the Readme file provided with the starter kit demonstration soft-ware 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.
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
http://www.microchip.comhttp://www.microchip.com
-
dsPIC33E/PIC24E USB Starter Kit Users 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 AssemblyThe 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.
FIGURE 1-1: STARTER KIT LAYOUT (TOP SIDE)
Note: 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).
1
2
3
4
5
5
5
6
6
67
8
9
DS51936B-page 12 2010-2011 Microchip Technology Inc.
-
Introduction
1.2.2 Bottom AssemblyThe 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.
FIGURE 1-2: STARTER KIT LAYOUT (BOTTOM SIDE)
Note: Refer to Appendix A. Board Layout and Schematics for details on the mapping of device pins to the pins on the expansion connector.
1
2
3
2010-2011 Microchip Technology Inc. DS51936B-page 13
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
NOTES:
DS51936B-page 14 2010-2011 Microchip Technology Inc.
-
dsPIC33E/PIC24E USB
STARTER KIT USERS 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 DIAGRAMFigure 2-1 illustrates a high-level block diagram of the dsPIC33E/PIC24E USB starter kit.
FIGURE 2-1: HIGH-LEVEL BLOCK DIAGRAM
dsPIC33EP512MU810(PIC24FJ256GB106)
ICSP
VUSB or +5V_EXT
USB Device
Appl
icat
ion
Boa
rd C
onne
ctor
Switches
LEDs
+5V_EXT
USB HostPower Supply
USB Device(Type micro-B)
USB Host(Type A)
+3.3VPowerSupply
orPIC24EP512GU810
(dsPIC33E USB Starter Kit)
(PIC24E USB Starter Kit)
(Type mini-B)Debugger
2010-2011 Microchip Technology Inc. DS51936B-page 15
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
2.2 FEATURESThis 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 SupportThe 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 SupplyThere 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 ConnectivityThe dsPIC33E or PIC24E USB Starter Kit includes a PIC24FJ256GB106 USB micro-controller 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 ConnectivityThere 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 modeFirst, 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 kits 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 SwitchesPush 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 RD13The 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 LEDsThe 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 RD2The corresponding PORT D pins must be configured as digital outputs and set high in order to turn on the LEDs.
2.2.7 Oscillator OptionsThe installed DSC or MCU has an 8 MHz crystal (Y3) connected to it. This crystal is used by the microcontrollers Primary Oscillator. Use of the external crystal is required in order to develop USB applications, as the USB specification dictates a frequency tol-erance 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 ConnectorThe 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 NUMBERSConnector 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 Users Guide
NOTES:
DS51936B-page 18 2010-2011 Microchip Technology Inc.
-
dsPIC33E/PIC24E USB
STARTER KIT USERS 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 LAYOUTFIGURE A-1: STARTER KIT BOARD LAYOUT (TOP)
2010-2011 Microchip Technology Inc. DS51936B-page 19
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
FIGURE A-2: STARTER KIT BOARD LAYOUT (BOTTOM)
DS51936B-page 20 2010-2011 Microchip Technology Inc.
-
Board Layout and Schematics
A.2 APPLICATION HARDWARE SCHEMATICS
FIGURE A-3: TARGET DEVICE (dsPIC33E/PIC24E)
R344.7K
C190.1uF
C220.1uF
1MR36
C14
10uF
Y38 Mhz
R35
0R
20pF
C18
20pF
C17
C210.1uF
C200.1uF
C230.1uF
C240.1uF
11pF
C16
11pF
C15
46 VDD
43 PMPA1/RB14
40 RF12
37 VDD
31 AVSS
28 VREF-/RA9
24 PGEC3/RB1
18 RE8
15 VSS
9 PWMH6/RC4
6 PWML5/RC1
52RF2
55VUSB
58ASCL2/RA2
61TDO/RPIA5
64OSCO/RC15
67RA15
77RD2
80RD13
83C3INB/RD6
86VDD
89RG1
92RPIA7
95RG14
48 RD15
45 VSS
44 PMPA0/RB15
42 PMPA10/RB13
36 VSS
38 TCK/RA139 RF13
30 AVDD
32 PMPA6/RB833 PMPA7/RB9
25 PGED3/RB0
26 PGEC2/RB627 PGED2/RB7
22 C2INA/RB3
19 RE9
23 C2INB/RB2
16 VDD
13 MCLR
17 TMS/RA0
7 PWMH5/RC28 PWML6/RC3
1 RG152 VDD
51USBID/RF3
53NC
57D+/RG256D-/RG3
59ASDA2/RA3
63OSCIN/RC1262VDD
65VSS
69ASDA1/RD968RTCC/RD8
71PMPCS1/RD11
75VSS
76VCPCON/RD1
82PMPRD/RD581PMPWR/RD4
78PMPBE/RD3
79RD12
88RF187RF0
84C3INA/RD7
85VDDCAP
90RG0
91RPIA6
96RG12
97RG13
47 RD14
35 PMPA12/RB11
41 PMPA11//RB12
29 VREF+/RA10
54VBUS
60TDI/RPIA4
66RA14
72INT0/RD0
70ASCL1/PMPCS2/RD10
73PGED1/SOSCI/RC13
98PWML2/PMPD2/RE2
74PGEC1/SOSCO/RC14
94PWMH1/PMPD1/RE193PWML1/PMPD0/RE0
100PWML3/PMPD4/RE499PWMH2/PMPD3/RE3
49 SDA2/PMPA9/RF4
34 CVREF/PMPA13/RB10
21 C1INB/USBOE/RB4
12 C2IND/PMPA3/RG8
3 PWMH3/PMPD5/RE5
50 SCL2/PMPA8/RF5
20 C1INA/VBUSST/RB5
14 C2INC/PMPA2/RG9
10 C1IND/PMPA5/RG611 C1INC/PMPA4/RG7
4 PWML4/PMPD6/RE65 PWMH4/PMPD7/RE7
U5
dsPIC33E/24E
2010-2011 Microchip Technology Inc. DS51936B-page 21
-
dsPIC33E/PIC
24E USB
Starter Kit U
sers Guide
DS
51936B-page 22
2010-2011 M
icrochip Technology Inc.
R32100K
R28
100K
400mA Limit
1 IN 5OUT
4FLAGB3 ON2 GND
U4
FPF2104
FIGURE A-4: POWER DISTRIBUTION/SWITCHING
GND1
D2
R30200k
C110.1uF
C13
0.01uF
D4
GREEN
+3.3V
R31330
0R
R33
C102.2uF
D1
C12
2.2uF
R292.2k
D3
MBR0520L
MCP1727
U3J2
-
Board Layout and Schematics
FIGURE A-5: USER LEDs
FIGURE A-6: USER SWITCHES
330R
R44
330R
R46
330R
R42
GREEN
D7YELLOW
D6RED
D5
R3910K
R4110K
R4010K
2010-2011 Microchip Technology Inc. DS51936B-page 23
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
FIGURE A-7: STARTER KIT INTERFACE
DS51936B-page 24 2010-2011 Microchip Technology Inc.
-
Board Layout and Schem
atics
2010-2011 M
icrochip Technology Inc.D
S51936B
-page 25
FIG
J6
J4
URE A-8: USB CONNECTIONS
R43
100K
R38100K
R37
100K
1 2J5
200mA Limit
R45100K
200mA Limit
C25
100uF
1 IN 5OUT
4FLAGB3 ON
2 GND
U6
FPF2100
1 IN 5OUT
4FLAGB3 ON
2 GND
U7
FPF2100
(Do not populate)
-
dsPIC33E/PIC24E USB Starter Kit Users Guide
A.3 STARTER KIT DEBUGGER HARDWARE SCHEMATICS
FIGURE A-9: MINI-ICSP INTERFACE
FIGURE A-10: SERIAL EEPROM
R310k
+3.3V
J1
R1110k
+3.3V
C61uF
R182.2k
6 SCK
5 SI
1 CS3 WP
4VSS
2SO
8VCC
7 HOLD
U2
DS51936B-page 26 2010-2011 Microchip Technology Inc.
-
Board Layout and Schematics
FIGURE A-11: TARGET ICSP SIGNALS
3.92kR13
R21DNP
R1010k
R9100k
R162.21k
R172.21k
R26DNP
R1410k
R64.7k
4.7kR2
R19100
330
R5
330
R1
R24
10k
10k
R20
330
R4
Q3MMBT3904
Q1MMBT3906
Q2MMBT3904
2010-2011 Microchip Technology Inc. DS51936B-page 27
-
dsPIC33E/PIC
24E USB
Starter Kit U
sers Guide
DS
51936B-page 28
2010-2011 M
icrochip Technology Inc.
+3.3V
C7 8pF
R1210k
+3.3V
V
C5 8pF
Y112MHz
R810k
FIGURE A-12: PIC24FJ256GB106 DEBUGGER HOST
+3.3V
+3.3V
+3.3V
+3.3V
R7200k
C3
0.1uF
R2710k
R15330
C8
1uF
C1
10uF
+3.3
3.16KR25
R22100
+3.3V
C9
0.1uF
1KR23
C2
0.1uF
C4
0.1uF
+3.3V
U1
PIC24FJ256GB106
-
2010-2011 Microchip Technology Inc. DS51936B-page 29
NOTES:
-
DS51936B-page 30 2010-2011 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.comAtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075ClevelandIndependence, OH Tel: 216-447-0464 Fax: 216-447-0643DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924DetroitFarmington Hills, MI Tel: 248-538-2250Fax: 248-538-2260IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Los AngelesMission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608Santa ClaraSanta Clara, CA Tel: 408-961-6444Fax: 408-961-6445TorontoMississauga, 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-3431Australia - SydneyTel: 61-2-9868-6733Fax: 61-2-9868-6755China - BeijingTel: 86-10-8569-7000 Fax: 86-10-8528-2104China - ChengduTel: 86-28-8665-5511Fax: 86-28-8665-7889China - ChongqingTel: 86-23-8980-9588Fax: 86-23-8980-9500China - HangzhouTel: 86-571-2819-3180 Fax: 86-571-2819-3189China - Hong Kong SARTel: 852-2401-1200 Fax: 852-2401-3431China - NanjingTel: 86-25-8473-2460Fax: 86-25-8473-2470China - QingdaoTel: 86-532-8502-7355Fax: 86-532-8502-7205China - ShanghaiTel: 86-21-5407-5533 Fax: 86-21-5407-5066China - ShenyangTel: 86-24-2334-2829Fax: 86-24-2334-2393China - ShenzhenTel: 86-755-8203-2660 Fax: 86-755-8203-1760China - WuhanTel: 86-27-5980-5300Fax: 86-27-5980-5118China - XianTel: 86-29-8833-7252Fax: 86-29-8833-7256China - XiamenTel: 86-592-2388138 Fax: 86-592-2388130China - ZhuhaiTel: 86-756-3210040 Fax: 86-756-3210049
ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 Fax: 91-80-3090-4123India - New DelhiTel: 91-11-4160-8631Fax: 91-11-4160-8632India - PuneTel: 91-20-2566-1512Fax: 91-20-2566-1513Japan - YokohamaTel: 81-45-471- 6166 Fax: 81-45-471-6122Korea - DaeguTel: 82-53-744-4301Fax: 82-53-744-4302Korea - SeoulTel: 82-2-554-7200Fax: 82-2-558-5932 or 82-2-558-5934Malaysia - Kuala LumpurTel: 60-3-6201-9857Fax: 60-3-6201-9859Malaysia - PenangTel: 60-4-227-8870Fax: 60-4-227-4068Philippines - ManilaTel: 63-2-634-9065Fax: 63-2-634-9069SingaporeTel: 65-6334-8870Fax: 65-6334-8850Taiwan - Hsin ChuTel: 886-3-6578-300Fax: 886-3-6578-370Taiwan - KaohsiungTel: 886-7-213-7830Fax: 886-7-330-9305Taiwan - TaipeiTel: 886-2-2500-6610 Fax: 886-2-2508-0102Thailand - 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-2829France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91UK - WokinghamTel: 44-118-921-5869Fax: 44-118-921-5820
Worldwide Sales and Service
05/02/11
http://support.microchip.comhttp://www.microchip.com
PrefaceChapter 1. Introduction1.1 Starter Kit Contents1.2 Starter Kit Functionality and Features1.2.1 Top AssemblyFigure 1-1: STARTER KIT LAYOUT (TOP SIDE)
1.2.2 Bottom AssemblyFigure 1-2: STARTER KIT LAYOUT (BOTTOM SIDE)
Chapter 2. Hardware2.1 High-Level Block DiagramFigure 2-1: HIGH-LEVEL BLOCK DIAGRAM
2.2 Features2.2.1 Processor Support2.2.2 Power Supply2.2.3 Debug USB Connectivity2.2.4 dsPIC33E/PIC24E USB Connectivity2.2.5 Switches2.2.6 LEDs2.2.7 Oscillator Options2.2.8 120-pin Modular Expansion ConnectorTable 2-1: STARTER KIT CONNECTOR PART NUMBERS
Appendix A. Board Layout and SchematicsA.1 Starter Kit Board LayoutFigure A-1: Starter Kit Board Layout (Top)Figure A-2: Starter Kit Board Layout (Bottom)
A.2 Application Hardware SchematicsFigure A-3: Target Device (dsPIC33E/PIC24E)Figure A-4: Power Distribution/SwitchingFigure A-5: User LEDsFigure A-6: User SwitchesFigure A-7: Starter Kit InterfaceFigure A-8: USB Connections
A.3 Starter Kit Debugger Hardware SchematicsFigure A-9: Mini-ICSP InterfaceFigure A-10: Serial EEPROMFigure A-11: Target ICSP SignalsFigure A-12: PIC24FJ256GB106 Debugger Host
Worldwide Sales and Service
/ColorImageDict > /JPEG2000ColorACSImageDict > /JPEG2000ColorImageDict > /AntiAliasGrayImages false /CropGrayImages true /GrayImageMinResolution 300 /GrayImageMinResolutionPolicy /OK /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth -1 /GrayImageMinDownsampleDepth 2 /GrayImageDownsampleThreshold 1.50000 /EncodeGrayImages true /GrayImageFilter /DCTEncode /AutoFilterGrayImages true /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict > /GrayImageDict > /JPEG2000GrayACSImageDict > /JPEG2000GrayImageDict > /AntiAliasMonoImages false /CropMonoImages true /MonoImageMinResolution 1200 /MonoImageMinResolutionPolicy /OK /DownsampleMonoImages true /MonoImageDownsampleType /Bicubic /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict > /AllowPSXObjects false /CheckCompliance [ /None ] /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile () /PDFXOutputConditionIdentifier () /PDFXOutputCondition () /PDFXRegistryName () /PDFXTrapped /False
/CreateJDFFile false /Description > /Namespace [ (Adobe) (Common) (1.0) ] /OtherNamespaces [ > /FormElements false /GenerateStructure false /IncludeBookmarks false /IncludeHyperlinks false /IncludeInteractive false /IncludeLayers false /IncludeProfiles false /MultimediaHandling /UseObjectSettings /Namespace [ (Adobe) (CreativeSuite) (2.0) ] /PDFXOutputIntentProfileSelector /DocumentCMYK /PreserveEditing true /UntaggedCMYKHandling /LeaveUntagged /UntaggedRGBHandling /UseDocumentProfile /UseDocumentBleed false >> ]>> setdistillerparams> setpagedevice