MPLAB Xpress Evaluation Development Board User’s …€¦ · 2.4 Using an Existing MPLAB X IDE...
-
Upload
vuongkhanh -
Category
Documents
-
view
224 -
download
0
Transcript of MPLAB Xpress Evaluation Development Board User’s …€¦ · 2.4 Using an Existing MPLAB X IDE...
2016-2017 Microchip Technology Inc. DS50002479B
MPLAB® Xpress Evaluation BoardUser’s Guide
High-Performance Microcontrollerswith Integrated On-Board Programmer
DS50002479B-page 2 2016-2017 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 unless otherwise stated.
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 ourproducts. Attempts to break Microchip’s 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.
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, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KEELOQ, KEELOQ logo, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, 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.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
GestIC is a registered trademark 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.
© 2016-2017, Microchip Technology Incorporated, All Rights Reserved.
ISBN: 978-1-5224-2369-0
MPLAB® XPRESS EVALUATION
BOARD USER’S GUIDETable of Contents
Preface ........................................................................................................................... 7
Chapter 1. Introduction to the MPLAB® Xpress Evaluation Board1.1 MPLAB Xpress Evaluation Board Contents ................................................. 111.2 MPLAB Xpress Evaluation Board Layout ..................................................... 131.3 Power Sources ............................................................................................. 15
1.3.1 USB Connector ......................................................................................... 151.3.2 2.7V-16V External Power Supply (General Purpose Xpress Board Only) 15
Chapter 2. Getting Started 2.1 Programming the MPLAB Xpress Evaluation Board .................................... 172.2 Programming Xpress Board Using MPLAB X .............................................. 212.3 Navigating Xpress Examples ....................................................................... 222.4 Using an Existing MPLAB X IDE Project ...................................................... 24
Appendix A. SchematicA.1 MPLAB Xpress Evaluation Board Schematic .............................................. 27
Worldwide Sales and Service .................................................................................... 33
2016-2017 Microchip Technology Inc. DS50002479A-page 5
MPLAB® Xpress Evaluation Board User’s Guide
NOTES:
DS50002479A-page 6 2016-2017 Microchip Technology Inc.
MPLAB® XPRESS EVALUATION
BOARD USER’S GUIDEPreface
INTRODUCTION
This chapter contains general information that will be useful to know when using the Microchip MPLAB® Xpress Evaluation Board User’s Guide. Topics discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip WebSite
• Development Systems Customer Change Notification Service
• Customer Support
• Revision History
DOCUMENT LAYOUT
This document describes how to use the MPLAB® Xpress Evaluation Board User’s Guide as a development tool to emulate and debug firmware on a target board. The document is organized as follows:
• Chapter 1. “Introduction to the MPLAB® Xpress Evaluation Board” – This chapter contains general information regarding the Xpress Evaluation Board kit contents, layout and power sources.
• Chapter 2. “Getting Started” – This chapter offers information on how to program the Xpress Evaluation Board, as well as how to import an existing MPLAB X IDE project.
• Appendix A. “Schematic” – This appendix contains the Xpress Evaluation Board schematic.
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 website (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.
2016-2017 Microchip Technology Inc. DS50002479B-page 7
MPLAB® Xpress Evaluation Board User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB® 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
N‘Rnnnn A number in verilog format, where N is the total number of digits, R is the radix and n is a digit.
4‘b0010, 2‘hF1
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
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){ ...}
DS50002479B-page 8 2016-2017 Microchip Technology Inc.
Preface
RECOMMENDED READING
This user’s guide describes how to use the Xpress Evaluation Board. For the latest information on using other tools, refer to the MPLAB® X IDE home page: www.microchip.com/mplabx/. This resource page contains updated documentation, downloads and links to other MPLAB X IDE compatible tools, plug-ins and much more.
THE MICROCHIP WEBSITE
Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. Acces-sible by using your favorite Internet browser, the website contains the following infor-mation:
• 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
• MPLAB® Xpress Evaluation Board User’s Guide – Specific product support can be accessed via our website at www.microchip.com/mplab/mplab-xpress
• 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 website 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, assemblers, linkers and other language tools. These include all MPLAB C compilers; all MPLAB assemblers (including MPASM™ assembler); all MPLAB linkers (including MPLINK™ object linker); and all MPLAB librarians (including MPLIB™ object librarian).
• Emulators – The latest information on Microchip in-circuit emulators.This includes the MPLAB REAL ICE™ and MPLAB ICE 2000 in-circuit emulators.
• In-Circuit Debuggers – The latest information on the Microchip in-circuit debuggers. This includes MPLAB ICD 3 in-circuit debuggers and PICkit™ 3 debug express.
• MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the Windows® Integrated Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB IDE Project Manager, MPLAB Editor and MPLAB SIM simulator, as well as general editing and debugging features.
• Programmers – The latest information on Microchip programmers. These include production programmers, such as MPLAB REAL ICE in-circuit emulator, MPLAB ICD 3 in-circuit debugger and MPLAB PM3 device programmers. Also included are non-production development programmers, such as PICSTART® Plus and PICkit 2 and 3.
2016-2017 Microchip Technology Inc. DS50002479B-page 9
MPLAB® Xpress Evaluation Board User’s Guide
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 website at:
http://www.microchip.com/support.
REVISION HISTORY
Revision A (April 2016)
Initial release of this document.
Revision B (October 2017)
Updated Chapter 1. Added sections 2.2 and 2.3 in Chapter 2, and figures A-3, A-4, and A-5 in Appendix A. Other minor corrections.
DS50002479B-page 10 2016-2017 Microchip Technology Inc.
MPLAB® XPRESS EVALUATION
BOARD USER’S GUIDEChapter 1. Introduction to the MPLAB® Xpress Evaluation Board
®
The MPLAB Xpress Evaluation Board is a development tool designed to work in conjunction with the cloud-based MPLAB® Xpress Integrated Development Environment (IDE). The combination of the IDE and the Xpress Evaluation Board allows for quick experimentation and code development without having to download the IDE or compilers. There are three variants of Xpress Evaluation Boards:1. General Purpose MPLAB Xpress Evaluation Board
2. Device Specific MPLAB Xpress Evaluation Board (20-pin variant)
3. Device Specific MPLAB Xpress Evaluation Board (40-pin variant)
The General Purpose Xpress board contains a built-in programmer and includes an 8-bit PIC16F18855 microcontroller, allowing for easy programming without additional programming tools. It also contains a set of four indication LEDs, a potentiometer, a push button switch and a mikroBUS™ socket to accommodate a variety of plug-in MikroElektronika click boards that can be used in application development.
The Device Specific Xpress boards contain a specific PIC16 or PIC18 device the board is targeted towards in addition to the built-in programmer. They are available in 20-pin and 40-pin variants based on the device.
All the Xpress boards contain two sections: the programmer section and the application section. The programmer section contains the circuitry necessary for programming, while the application section contains the circuitry that is used by the microcontroller application.
1.1 MPLAB Xpress EVALUATION BOARD CONTENTS
The Xpress Evaluation Board kit contains the following:
• An Xpress Evaluation Board
• Quick Start Guide
2016-2017 Microchip Technology Inc. DS50002479B-page 11
MPLAB® Xpress Evaluation Board User’s Guide
FIGURE 1-1: MPLAB® Xpress EVALUATION BOARD VARIANTS
General Purpose Xpress Board
Device Specific Xpress Board (20-pin variant)
Device Specific Xpress Board (40-pin variant)
DS50002479B-page 12 2016-2017 Microchip Technology Inc.
Introduction to the MPLAB® Xpress Evaluation Board
1.2 MPLAB Xpress EVALUATION BOARD LAYOUT
Figure 1-2 and Figure 1-3 identify the major features of the MPLAB Xpress Evaluation Boards.
FIGURE 1-2: GENERAL PURPOSE MPLAB® Xpress EVALUATION BOARD LAYOUT
1. PIC® MCU Input/Output Connections
2. PIC16F18855 Microcontroller
3. mikroBUS™ Click Board Socket
4. LEDs
5. Potentiometer
6. Push Button
7. Master Clear Reset Button
8. Battery Connection
9. Micro USB Connector
10. Status LED (Green = Running, Red = Programming)
2016-2017 Microchip Technology Inc. DS50002479B-page 13
MPLAB® Xpress Evaluation Board User’s Guide
FIGURE 1-3: DEVICE SPECIFIC MPLAB® XPRESS EVALUATION BOARD LAYOUT
40-pin variant
20-pin variant
1. Micro USB Connector
2. PIC® MCU Input/Output Connections
3. PIC16 or PIC18 Microcontroller
4. Master Clear Reset Button
5. Status LED (Green = Running, Red = Programming)
1
2
3
4
1
23
4
DS50002479B-page 14 2016-2017 Microchip Technology Inc.
Introduction to the MPLAB® Xpress Evaluation Board
1.3 POWER SOURCES
The MPLAB Xpress Evaluation Boards can be powered in one of two ways, depending on its usage. It should be noted that only one power source should be connected at a time.
1.3.1 USB Connector
The USB connector will power the entire Xpress Evaluation Board. With USB power connected to J2, Status LED will always be green to indicate that +3.3V is available on the board.
1.3.2 2.7V-16V External Power Supply (General Purpose Xpress Board Only)
The external power supply (Figure 1-2) option is available on the General Purpose Xpress Board only. It will also power the entire Xpress Evaluation Board. The external power supply is connected to a Low Dropout (LDO) voltage regulator, configured to deliver 3.3V to the Xpress board. The external power supply range is from 2.7V to 16V, allowing use with two to six primary cells, 9V alkaline batteries, or one or two-cell Li-Ion batteries. LED D1 will illuminate green when the external power supply is active and supplying sufficient voltage.
2016-2017 Microchip Technology Inc. DS50002479B-page 15
MPLAB® Xpress Evaluation Board User’s Guide
NOTES:
DS50002479B-page 16 2016-2017 Microchip Technology Inc.
MPLAB® XPRESS EVALUATION
BOARD USER’S GUIDEChapter 2. Getting Started
The Xpress Evaluation Boards are designed to work with the MPLAB® Xpress IDE, but can also be used with MPLAB® X IDE. MPLAB Xpress IDE does not require any downloads and can be accessed by visiting mplabxpress.microchip.com.
The Xpress Evaluation Boards allow for rapid development of custom applications without the need to download the IDE or compilers to a computer and allows the storage of a project in the cloud. This allows a user the ability to access their project from virtually anywhere (requires Internet connection) and from any computer. Microchip also provides code examples to help get you started.
2.1 PROGRAMMING THE MPLAB Xpress EVALUATION BOARD
Programming the Xpress board is accomplished by connecting a micro USB cable to the on-board USB connector, creating the .hex file, and dragging and dropping the .hex file into the Xpress board.
To begin, connect a micro USB cable to the on-board USB connector. Next, open the MPLAB Xpress IDE.
The procedure to create a new project or open an existing MPLAB Xpress project is the same as within MPLAB X IDE. Navigate to the File tab, select Project Properties > Con-figuration > Hardware Tool > Hardware Tools and select ‘Simulator/Xpress Board’ (see Figure 2-1). This ensures that the Xpress board is chosen as the development tool. Once selected, the ‘Simulator/Xpress Board’ selection will appear under the ‘Debug Tool’ section in the Dashboard window (see Figure 2-2). Once the project is open and ready to program into the target device, simply click on the Make and Program Device button (see Figure 2-3). MPLAB Xpress will build and compile the project, and once completed, will open or save the .hex file that was created. Under the Save button, you can either hit Save and the .hex file will be stored in your downloads folder, or you can hit Save as and choose the location for the .hex file. It is important to remember where the file is stored since the .hex file is what will be programmed into the target PIC® device.
2016-2017 Microchip Technology Inc. DS50002479B-page 17
MPLAB® Xpress Evaluation Board User’s Guide
FIGURE 2-1: SELECTING THE Xpress EVALUATION BOARD IN THE MPLAB® X IDE
DS50002479B-page 18 2016-2017 Microchip Technology Inc.
Getting Started
FIGURE 2-2: SELECTING THE XPRESS EVALUATION BOARD IN THE MPLAB® XPRESS IDE (CONT)
2016-2017 Microchip Technology Inc. DS50002479B-page 19
MPLAB® Xpress Evaluation Board User’s Guide
FIGURE 2-3: MAKE AND PROGRAM DEVICE
DS50002479B-page 20 2016-2017 Microchip Technology Inc.
Getting Started
The Xpress Evaluation Board will show as a mass storage device on the computer (see Figure 2-4). To program the device, simply drag and drop the .hex file image into the Xpress drive. The process is the same for Windows, Linux or OS X.
FIGURE 2-4: MPLAB® Xpress BOARD AS MASS STORAGE
2.2 PROGRAMMING XPRESS BOARD USING MPLAB® X
Xpress Boards can be programmed using MPLAB X by following the same steps as described in Section 2.1 “Programming the MPLAB Xpress Evaluation Board” for MPLAB Xpress. In addition to drag-and-drop, MPLAB X can run a post-build script to perform this action automatically. To set this up, right click on Project Name > Proper-ties > Building and check the Execute this line after build. In the text box below it, type:
cp ${ImagePath} <Path to XPRESS>
Replace <Path to XPRESS> with the actual location where XPRESS board is mounted. For example, on Windows, if the XPRESS board is mounted at D:\, the script would look like:
cp ${ImagePath} D:\
For Mac OS X, if the XPRESS board is mounted at /Volumes/XPRESS, the script would look like:
cp ${ImagePath} /Volumes/XPRESS
2016-2017 Microchip Technology Inc. DS50002479B-page 21
MPLAB® Xpress Evaluation Board User’s Guide
For Linux, if the XPRESS board is mounted at /media/XPRESS, the script would look like:
cp ${ImagePath} /media/XPRESS
FIGURE 2-5: PROGRAMMING SETTINGS ON MPLAB® X
Click on Apply and OK. Next time when the Make and Program Device button is clicked, the .hex file will be copied over to the Xpress board automatically.
2.3 NAVIGATING XPRESS EXAMPLES
MPLAB Xpress comes with many examples that demonstrate how to use different peripherals for different devices. In order to navigate to the examples, on the top menu bar, click on the "Examples" link.
FIGURE 2-6: NAVIGATING TO XPRESS CODE EXAMPLES
DS50002479B-page 22 2016-2017 Microchip Technology Inc.
Getting Started
The next window that opens up contains many MPLAB Xpress Code Exam-ples. Filter the results based on Author, Board and Device. The code examples with the Microchip logo for author have been functionally tested and verified by Microchip Technology for that board and device. Click on the name of the example to read the description of the example. Click the red "IDE" button across the desired example to open them up in MPLAB Xpress IDE.
FIGURE 2-7: FILTERING AND OPENING CODE EXAMPLES
2016-2017 Microchip Technology Inc. DS50002479B-page 23
MPLAB® Xpress Evaluation Board User’s Guide
2.4 USING AN EXISTING MPLAB® X IDE PROJECT
To load an existing MPLAB X IDE project into MPLAB Xpress, the MPLAB X IDE project must be packaged so that it can be imported by MPLAB Xpress. In MPLAB X IDE, right click on the project that is to be imported into MPLAB Xpress and select Package. MPLAB X IDE will create a ZIP file that will be imported by MPLAB Xpress. Open MPLAB Xpress and under the File tab, select Import Project (see Figure 2-8).
FIGURE 2-8: IMPORT EXISTING MPLAB® X IDE PROJECT
DS50002479B-page 24 2016-2017 Microchip Technology Inc.
Getting Started
The Import Project window will appear (see Figure 2-9). The window also explains how to prepare your MPLAB X IDE project to import. Click Next.
FIGURE 2-9: IMPORT PROJECT WINDOW
2016-2017 Microchip Technology Inc. DS50002479B-page 25
MPLAB® Xpress Evaluation Board User’s Guide
The Import Project window will now ask for a project name and allow you to browse for your MPLAB X IDE project (see Figure 2-10). Add a name to your project and then navigate to the folder in which your ZIP file was stored. Select the ZIP file and click Finish. MPLAB Xpress will then open your ZIP file and load the necessary files.
FIGURE 2-10: NAMING AND SELECTING MPLAB® X IDE PROJECT TO IMPORT
DS50002479B-page 26 2016-2017 Microchip Technology Inc.
Schematic
Appendix A. Schematic
A.1 MPLAB® Xpress EVALUATION BOARD SCHEMATIC
FIGURE A-1: MPLAB® Xpress GENERAL PURPOSE EVALUATION BOARD SCHEMATIC (APPLICATION SECTION)
AD
DR/
THER
M1
GN
D23
V DD
SMCL
K4
ALE
RT/T
HER
M2
5SM
DAT
A6
EMC1
001-
AFZ
Q-T
R
U5
0.1
μF
C8
+3.3
V
F188
SCL
F188
SDA
+3.3
V
DN
PR2
1
ALA
RM1
ALA
RM2
20.0
KR2
0
10K
R18
10K
R19
+3.3
V
AN
1RS
T2
CS3
SCK
4M
ISO
5M
OSI
6+3
.3V
7G
ND
8
J5
GN
D8
+5V
7SD
A6
SCL
5TX
4RX
3IN
T2
PWM
1J6
F188
PWM
F188
ANA
1
+3.3
V
F188
RXM
F188
TXM
F188
INT
VUSB
F188
SDA
F188
SCL
F188
RST
F188
CSF1
88SC
KF1
88M
ISO
F188
MO
SI
1 2 3 4 5 6 7 8 9 10 11 12 13 14
DN
P
J71 2 3 4 5 6 7 8 9 10 11 12 13 14
DN
P
J8F1
88AN
A1
F188
RST
F188
CSF1
88SC
KF1
88M
ISO
F188
MO
SI
F188
PWM
F188
RXM
F188
TXM
F188
INT
F188
SDA
F188
SCL
ALA
RM1
ALA
RM2
F188
TXU
F188
RXU
RA0
RA1
RA2
RA3
RA5
RA4
Hos
t C
onne
ctor
mik
roBU
S
RA2/
AN
A2/
VRE
F-/D
AC1
OUT1
/C1I
N0+
/C2I
N0+
/IOCA
2/PP
S1
RA3/
AN
A3/
VRE
F+/C
1IN
1+/M
DCI
N1/
IOCA
3/PP
S2
RA4/
AN
A4/
MD
CIN
2/T0
CKI/C
CP5/I
OCA
4/PP
S3
RA5/
AN
A5/
SS1/
MD
MIN
/IOCA
5/PP
S4
RA7/
AN
A7/
IOCA
7/O
SC1/
CLK
IN6
RA6/
AN
A6/
IOCA
6/O
SC2/
CLK
OU
T7
PPS/
SOSC
O/IO
CC0/
SMTW
IN1/
T3G/
T3CK
I/T1C
KI/A
NC0
/RC0
8PP
S/SO
SCI/I
OCC
1/CC
P2/S
MTS
IG1/
AN
C1/R
C19
PPS/
IOCC
2/CC
P1/T
5CK
I/AN
C2/R
C210
PPS/
IOCC
3/T2
IN/S
CK1/
SCL1
/AN
C3/R
C311
PPS/
IOCC
4/SD
I1/S
DA1/
AN
C4/R
C412
PPS/
IOCC
5/T4
IN/A
NC5
/RC5
13PP
S/IO
CC6/
CK/A
NC6
/RC6
14PP
S/IO
CC7/
DT/
RX/A
NC7
/RC7
15
VSS
5 1VS
S29
6
VDD
RB0/
AN
B0/C
2IN
1+/Z
CD/S
S2/C
CP4/C
WG
1IN
/INT/I
OCB
0/PP
S18
RB1/
AN
B1/C
1IN
3-/C
2IN
3-/S
CL2/
SCK
2/CW
G2I
N/IO
CB1/
PPS
19RB
2/A
NB2
/SDA
2/SD
I2/C
WG
3IN
/IOCB
2/PP
S20
RB3/
AN
B3/C
1IN
2-/C
2IN
2-/IO
CB3
21RB
4/A
NB4
/AD
CACT
/T5G
/SM
TWIN
2/IO
CB4/
PPS
22RB
5/A
NB5
/T1G
/SM
TSIG
2/CC
P3/IO
CB5/
PPS
23RB
6/A
NB6
/CLC
IN2/
IOCB
6/IC
SPC
LK/P
PS24
RB7/
AN
B7/D
AC1
OUT2
/T6I
N/C
LCIN
3/IO
CB7/
ICSP
DAT/
PPS
25
VPP/
MC
LR/IO
CE3
/RE3
RA0/
AN
A0/
C1IN
0-/C
2IN
0-/C
LCIN
0/IO
CA0/
PPS
27RA
1/A
NA
1/C1
IN1-
/C2I
N1-
/CLC
IN1/
IOCA
1/PP
S28
EP
U4
+3.3
V
0.1
μF
C7
+3.3
V
+3.3
V
F188
TXU
F188
RX
U
F188
MCL
R
F188
MCL
R
ALA
RM1
ALA
RM2
F188
INT
F188
PWM
F188
SCL
F188
SDA
F188
ANA
1F1
88R
XM
F188
CSF1
88SC
KF1
88M
ISO
F188
MO
SI
F188
RST
F188
TXM
S2
10K
R17
+3.3
V
Red
D2 Re
d
D3 Re
d
D4 Re
d
D5
F188
CLK
F188
DAT
2
13CW CC
W10
KR1
51KR1
6
RA0
RA3
1KR11
1KR12
1KR13
1KR14
RA1
RA2
VPP/
MC
LR1 2
GN
DVD
D3
ICSP
DAT
4IC
SPC
LK5
DN
PPI
C 3
J4
RA5
RA4
10K
R22
PIC
16F1
8855
-I/M
V
2016-2017 Microchip Technology Inc. DS50002479B-page 27
MPLAB® Xpress Evaluation Board User’s Guide
FIGURE A-2: MPLAB® Xpress GENERAL PURPOSE EVALUATION BOARD SCHEMATIC (PROGRAMMER SECTION)
MPL
AB X
pres
s Ev
alua
tion
Boar
d Schematic
RA2/
C2IN
+/A
N2/
DA
COU
T/V
REF-
1RA
3/C1
IN+/
AN
3/V
REF+
2RA
4/C1
OUT/
SRQ
/T0C
KI
3RA
5/C2
OUT/
SRN
Q/S
S/HLV
DIN
/AN
44
VSS
5RA
7/CL
KI/O
SC1
6RA
6/CL
KO
/OSC
27
SOSC
0/T1
CKI/T
3G/T
3CK
I/IO
CC0/
RC0
8SO
SCI/C
CP2/I
OCC
1/RC
19
AN
14/IO
CC2/
CCP1
/P1A
/CTP
LS/R
C210
VU
SB3V
311
D-/I
OCC
412
D+/
IOCC
513
AN
18/C
K/T
X/IO
CC6/
RC6
14A
N19
/DT/
RX/IO
CC7/
SDO
/RC7
15
VSS
16
VD
D17
AN
12/S
DA/S
DI/S
RI/F
LT0/
INT0
/RB0
18A
N10
/C12
IN3-
/SCL
/SCK
/P1C
/INT1
/RB1
19A
N8/
P1B/
CTED
1/IN
T2/R
B220
AN
9/C1
2IN
2-/S
DO/C
CP2/C
TED
2/RB
321
AN
11/P
1D/IO
CB4/
RB4
22A
N13
/T1G
/T3C
KI/I
OCB
5/RB
523
PGC/
IOCB
6/RB
624
PGD
/IOCB
7/RB
725
MCL
R/V
PP/RE
326
RA0/
C12I
N0-
/AN
027
RA1/
C12I
N1-
/AN
128
EP29
PIC
18LF
25K
50-I/
ML
U2
USB
- m
icro
BV
BUS
1D
-2
D+
3ID
4G
ND
5
67
J2
+3.3
V
0.1μ
FC4
+3.3
V
1.0μ
FC1
1.0μ
FC
2
VU
SB
+3.3
V
10K
R1
S1
D_P
D_N
PGC
PGC
PGD
PGD
D_N
D_P
10K
R6
+3.3
V
F188
RXU
F188
TXU
2N70
021
23
Q1
F188
MCL
R
F188
CLK
F188
DAT
10K
R10
RESE
T F18
8
42
31
RG
LTST
-C19
5KG
JRK
T
D1
GND 1
VIN
2V
OU
T3
MCP
1703
T-33
02E
/MB
U1
1K R7
1K R8
VPP
/MCL
R1
VD
D2
GN
D3
ICSP
DAT
4IC
SPC
LK5
DN
PPI
CKIT
3
J1
100R
R5
100R
R210
0RR3
100R
R4
100RR9
1 2
DN
P
BATT
DS50002479B-page 28 2016-2017 Microchip Technology Inc.
Schematic
FIGURE A-3: MPLAB® Xpress 20-PIN DEVICE SPECIFIC EVALUATION BOARD SCHEMATIC
0��
12
��
3,
��
��
��
4�
�
2�
��0
$5�
��
�6�
�6,
���-
#
��
�7
$
�7
$
���$
��
�3�
7$
�37
8�3
��
�
��
��3 $
�9��
����
����
#
��
�$3
��7
$
��:
��
��:
��
��:
���
� � � � �
�7
$
�3
�3�
1��
1�
�
�,
�
��
1�
���
12
��1
���
1��
��
$���
�4�
0��
��
���
$���
���0
��
78��
$���
1��
��7
$�
$��
�$�
��
0��
��
��$
�9
0��
78
�$�
;
$�
�
$�
�
$�
�
$�
�
,
��,
��
���
��
�0
��#�
����
0�<=
2�
����
-#
��
4���
�.�
�>�
�12
�
���$
��
���
���
1�
�
���$
��
���$
��
���$
��
���$
��
�12
�
3,
��
10,
�1
52
��
�
����
����
���)
��
��
�12
�
�-#
��1
��
1�
�
�����
��� ���
�12
�
1�
�
$�
$�
$�
$�
$�
$�
$��
$��
$��
$�
$�
���-
#
��
�3�
��
�37
8
�3�
7$
1�
�
$��
$��
$��
$�
$�
$�
$�
$�
$�
$�
$�
�3�
7$
�3�
��
�37
8
$�
$�
$�
$�
$�
$�
�0
���
*�".
.�'
*��
?"@�
��
1�
��
$��
�
$��
�
$�
���
7$
�
$�
�
$�
�
$�
�$
�;
$�
9$
���
$�
��$
���
$�
��$
���
$�
��$
���
$��
��0
��7
8�$
��
�;0
���
���
$��
�91
����
2�
$�
$�
��
�1�
��1
��1
�
1�
�
��
��
�
���-
#��
1
��
���-
#��
1
��
$�
��1
@@��
7$
�
$�
�$
��
$�
�
$�
�
$�
�
$�
�$
�;
$�
9$
���
$�
��$
���
$�
��
$��
��$�
��0
��7
8��
$���
0��
��
���
1��
��
1�
��;
$���
5�
��9
$���
5�
���
)���
2�
�������������� ������
2016-2017 Microchip Technology Inc. DS50002479B-page 29
MPLAB® Xpress Evaluation Board User’s Guide
FIGURE A-4: MPLAB® Xpress 28-PIN DEVICE SPECIFIC EVALUATION BOARD SCHEMATIC
0��
12
��
3,
��
��
��
4�
�
2�
��0
$5�
��
�6�
�6,
���-
#
��
�7
$
�7
$
���$
��
�3�
7$
�37
8�3
��
�
��
��3 $
�9��
����
����
#
��
�$3
��7
$
��:
��
1�
�
$�
$�
$�
$�
$�
$�
$��
$��
$��
$��
$��
$��
$��
$��
$�
$�
$�
$�
$�
$�
1�
�
���-
#��
��:
��
�3�
��
�37
8
�3�
7$
1�
�
$��
$��
$��
$��
$��
$��
$��
$��
$�
$�
$�
$�
$�
$�
$�
$�
$�
$�
$�
$�
�3�
7$
�3�
��
�37
8
��:
���
$�
$�
$�
$�
� � � � �
�7
$
�3
�3�
1��
1�
�
�,
�
��
1�
���
12
��1
���
1��
��
$���
�4�
0��
��
���
$���
���0
��
78��
$���
1��
��7
$�
$��
�
$��
�
0��
��
��$
�9
0��
78
�$�
;
$�
�
$�
�
$�
�
$�
�
,
��,
��
���
��
�0
��#�
����
0�<=
2�
����
-#
��
4���
�.�
�>� ��
�$
��
���
���
1�
�
���$
��
���$
��
���$
��
���$
��
�12
�
�12
�
�-#
��1
��
�����
��� ���
�12
�
�12
�1
��
��
�1�
��1
��1
�
��
��
�
���-
#��
1
��
���-
#��
1
��
$)�
��7
$�
$��
�
$��
�
$��
�
$��
�
$��
�
$��
�
1��
;$�
�9
$��
��$
���
$�
��
$�
��
$�
��$
���
$�
��$
���
$�
�;1
���9
1�
���
$�
��$
���
$�
��$
���
$�
��$
���
$��
�3
��$
���3
��;
�;��
�0�
�0
���
*�".
.�'
*��
?"@�
��
2�
3,
��
10,
�1
52
��
��
����
����
��)�
�
��
$��
��
$��
�;
$��
�
$��
�$�
��
$��
�
$��
�
$��
�
$�
�;
$�
�9
$�
��$
���
$�
��$
���
$��
0��
78
��$
��0
���
��
��
$�
;
$�
9
$�
��$
���
$�
��$
���
$�
��
$�
��
�7
$�1
���$
)���
1��
�
1��
��
1�
���
���
�9
2�
�������������� ������
DS50002479B-page 30 2016-2017 Microchip Technology Inc.
Schematic
FIGURE A-5: MPLAB® Xpress 40-PIN DEVICE SPECIFIC EVALUATION BOARD SCHEMATIC
0��
12
��
3,
��
��
�
�4
�
�
2�
��0
$5�
��
�6�
�6,
���-
#
��
�7
$
�7
$
���$
��
�3�
7$
�37
8�3
��
�
��
��3 $
�9��
����
����
#
��
�$3
��7
$
��:
��
1�
�
$��
$��
$��
$��
$��
$��
$��
$��
$)�
$)�
$)�
$�
$�
$�
$�
$�
$�
$��
$��
$��
$��
$��
$��
$��
$��
$�
$�
$�
$�
$�
$�
1�
�
���-
#��
���-
#��
��:
��
�3�
��
�37
8
�3�
7$
1�
�1
��
$��
$��
$��
$��
$��
$��
$)�
$)�
$)�
$��
$��
$�
$�
$�
$�
$��
$��
$�
$�
$�
$�
$�
$�
$��
$��
$��
$��
$�
$�
$��
$��
�3�
7$
�3�
��
�37
8
��:
���
$�
$�
$�
$�
� � � � �
�7
$
�3
�3�
1��
1�
�
�,
�
��
$)�
��7
$�
$��
�$�
��
$��
�
$��
�
$��
�
$��
�
$)�
;
$)�
9
$)�
��
1�
���
1��
��$�
���
$��
��
$�
��
$�
��
$�
��
$�
�;
$��
�9
$��
��$�
���
$��
��$
���
$�
���C
�$�
��$C
�$�
��$�
���
$��
�;$�
��9
$��
��1
����
1�
���
$�
��$
���
$�
��$
���
$�
��$
��;
$��
�3
�9$
���3
���
�0
� ��
*�".
.�'
*��
?"@�
���$
53
$�
��
0,3
���
���
)$
2�
1�
���
12
��1
���
1��
��
$���
�4�
0��
��
���
$���
���0
��
78��
$���
1��
��7
$�
$��
�
$��
�
0��
��
��$
�9
0��
78
�$�
;
$�
�
$�
�$
��
$�
�
,
��
,
��
���
��
�0
��#�
����
0�<=
2�
����
-#
��
4���
�.�
�>� ��
�$
��
���
���
1�
�
���$
��
���$
��
���$
��
���$
��
�12
�
3,
��
10,
�1
52
��
��
����
����
��)�
�
��
�12
�
�-#
��1
��
�����
��� ���
�12
�
�12
�1
��
��
�1�
��1
��1
�
��
��
�
���-
#��
1
��
���-
#��
1
��
1�
��
$��
��
$��
�;$�
��9
$��
��$�
���
$��
��
$��
�9
$��
�;
$�
;
$�
9$
���
$�
��$
���
$�
��
$��
0��
78
��
$��
0��
��
���
$�
��$
���
$�
��
$�
��
$�
�;
$�
�9
$�
��
$�
�
�7
$�1
���$
)���
1��
�
1��
����
���
1�
���
$��
��$�
���
$��
��
$��
��
$��
�
$��
�
$��
�
$��
�
$)�
��
$)�
��
$)�
��
2�
�������������� ������
2016-2017 Microchip Technology Inc. DS50002479B-page 31
MPLAB® Xpress Evaluation Board User’s Guide
NOTES:
DS50002479B-page 32 2016-2017 Microchip Technology Inc.
2016-2017 Microchip Technology Inc. DS50002479B-page 33
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
Austin, TXTel: 512-257-3370
BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088
ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075
DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924
DetroitNovi, MI Tel: 248-848-4000
Houston, TX Tel: 281-894-5983
IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Tel: 317-536-2380
Los AngelesMission Viejo, CA Tel: 949-462-9523Fax: 949-462-9608Tel: 951-273-7800
Raleigh, NC Tel: 919-844-7510
New York, NY Tel: 631-435-6000
San Jose, CA Tel: 408-735-9110Tel: 408-436-4270
Canada - TorontoTel: 905-695-1980 Fax: 905-695-2078
ASIA/PACIFICAsia Pacific OfficeSuites 3707-14, 37th FloorTower 6, The GatewayHarbour City, Kowloon
Hong KongTel: 852-2943-5100Fax: 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 - DongguanTel: 86-769-8702-9880
China - GuangzhouTel: 86-20-8755-8029
China - HangzhouTel: 86-571-8792-8115 Fax: 86-571-8792-8116
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-3326-8000 Fax: 86-21-3326-8021
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
ASIA/PACIFICChina - XiamenTel: 86-592-2388138 Fax: 86-592-2388130
China - ZhuhaiTel: 86-756-3210040 Fax: 86-756-3210049
India - 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-3019-1500
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-7830
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-393
Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829
Finland - EspooTel: 358-9-4520-820
France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - GarchingTel: 49-8931-9700Germany - HaanTel: 49-2129-3766400
Germany - HeilbronnTel: 49-7131-67-3636
Germany - KarlsruheTel: 49-721-625370
Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44
Germany - RosenheimTel: 49-8031-354-560
Israel - Ra’anana Tel: 972-9-744-7705
Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781
Italy - PadovaTel: 39-049-7625286
Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340
Norway - TrondheimTel: 47-7289-7561
Poland - WarsawTel: 48-22-3325737
Romania - BucharestTel: 40-21-407-87-50
Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91
Sweden - GothenbergTel: 46-31-704-60-40
Sweden - StockholmTel: 46-8-5090-4654
UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820
Worldwide Sales and Service
10/10/17