Mplab Xpress Evaluation Board User's Guide: High-Performance Microcontrollers With Integrated On-Board Programmer

You might also like

You are on page 1of 31

MPLAB® Xpress Evaluation Board

User’s Guide
High-Performance Microcontrollers
with Integrated On-Board Programmer

 2016-2017 Microchip Technology Inc. DS50002479B


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 Trademarks


applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, AnyRate, AVR,
and may be superseded by updates. It is your responsibility to AVR logo, AVR Freaks, BeaconThings, BitCloud, chipKIT, chipKIT
ensure that your application meets with your specifications. logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR,
MICROCHIP MAKES NO REPRESENTATIONS OR Heldo, JukeBlox, KEELOQ, KEELOQ logo, Kleer, LANCheck, LINK
WARRANTIES OF ANY KIND WHETHER EXPRESS OR MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST
IMPLIED, WRITTEN OR ORAL, STATUTORY OR logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32
OTHERWISE, RELATED TO THE INFORMATION, logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC,
INCLUDING BUT NOT LIMITED TO ITS CONDITION, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are
QUALITY, PERFORMANCE, MERCHANTABILITY OR registered trademarks of Microchip Technology Incorporated in
FITNESS FOR PURPOSE. Microchip disclaims all liability the U.S.A. and other countries.
arising from this information and its use. Use of Microchip ClockWorks, The Embedded Control Solutions Company,
devices in life support and/or safety applications is entirely at EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS,
the buyer’s risk, and the buyer agrees to defend, indemnify and mTouch, Precision Edge, and Quiet-Wire are registered
hold harmless Microchip from any and all damages, claims, trademarks of Microchip Technology Incorporated in the U.S.A.
suits, or expenses resulting from such use. No licenses are Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any
conveyed, implicitly or otherwise, under any Microchip Capacitor, AnyIn, AnyOut, BodyCom, CodeGuard,
intellectual property rights unless otherwise stated. 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.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and Silicon Storage Technology is a registered trademark of Microchip
Tempe, Arizona; Gresham, Oregon and design centers in California Technology Inc. in other countries.
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping GestIC is a registered trademark of Microchip Technology
devices, Serial EEPROMs, microperipherals, nonvolatile memory and Germany II GmbH & Co. KG, a subsidiary of Microchip Technology
analog products. In addition, Microchip’s quality system for the design Inc., in other countries.
and manufacture of development systems is ISO 9001:2000 certified.
All other trademarks mentioned herein are property of their
respective companies.

QUALITY MANAGEMENT SYSTEM © 2016-2017, Microchip Technology Incorporated, All Rights


Reserved.
CERTIFIED BY DNV ISBN: 978-1-5224-2369-0

== ISO/TS 16949 ==

DS50002479B-page 2  2016-2017 Microchip Technology Inc.


MPLAB® XPRESS EVALUATION
BOARD USER’S GUIDE

Table of Contents
Preface ........................................................................................................................... 7
Chapter 1. Introduction to the MPLAB® Xpress Evaluation Board
1.1 MPLAB Xpress Evaluation Board Contents ................................................. 11
1.2 MPLAB Xpress Evaluation Board Layout ..................................................... 13
1.3 Power Sources ............................................................................................. 15
1.3.1 USB Connector ......................................................................................... 15
1.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 .................................... 17
2.2 Programming Xpress Board Using MPLAB X .............................................. 21
2.3 Navigating Xpress Examples ....................................................................... 22
2.4 Using an Existing MPLAB X IDE Project ...................................................... 24
Appendix A. Schematic
A.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 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 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.

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.

 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 “Save project before build”
dialog
Underlined, italic text with A menu path File>Save
right angle bracket
Bold characters A dialog button Click OK
A tab Click the Power tab
N‘Rnnnn A number in verilog format, 4‘b0010, 2‘hF1
where N is the total number of
digits, R is the radix and n is a
digit.
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 Choice of mutually exclusive errorlevel {0|1}
character: { | } arguments; an OR selection
Ellipses... Replaces repeated text var_name [,
var_name...]
Represents code supplied by void main (void)
user { ...
}

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 GUIDE
Chapter 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 Device Specific Xpress Device Specific Xpress


Board Board (20-pin variant) 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
5HY)LJXUH



 

 

 

 


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

1
1

 

4
4
2 2
3
3

20-pin variant

40-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)

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 GUIDE

Chapter 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.


A.1

FIGURE A-1:
D2 R11 +3.3V +3.3V
RA0 +3.3V
Red 1K
C8
D3 R12
RA1 0.1μF R20 R21
Red 1K R18 R19 20.0K DNP
10K 10K U5
D4 R13 3
RA2 VDD
1
Red 1K ADDR/THERM ALARM1
4
F188SCL SMCLK
6

 2016-2017 Microchip Technology Inc.


D5 R14 F188SDA SMDATA
+3.3V 5
RA3 ALERT/THERM2 ALARM2
2
Red 1K GND

3 CW EMC1001-AFZQ -TR +3.3V


2 R16
R15 C7
10K 1K
1 CCW
0.1μF
+3.3V

U4
R17 27 R22
VDD
(APPLICATION SECTION)

RA0/ANA0/C1IN0-/C2IN0-/CLCIN0/IOCA0/PPS 10K
10K 28
RA1/ANA1/C1IN1-/C2IN1-/CLCIN1/IOCA1/PPS
1
RA2/ANA2/VREF-/DAC1OUT1/C1IN0+/C2IN0+/IOCA2/PPS
RA5 2 RA3/ANA3/VREF+/C1IN1+/MDCIN1/IOCA3/PPS VPP/MCLR/IOCE3/RE3 F188MCLR
3
RA4 RA4/ANA4/MDCIN2/T0CKI/CCP5/IOCA4/PPS
4 8
RA5/ANA5/SS1/MDMIN/IOCA5/ PPS PPS/SOSCO/IOCC0/SMTWIN1/T3G/T3CKI/T1CKI/ANC0/RC0 F188TXU
S2 ALARM2 7 RA6/ANA6/IOCA6/OSC2/CLKOUT PPS/SOSCI/IOCC1/CCP2/SMTSIG1/ANC1/RC1 9 F188RXU
6 10
ALARM1 RA7/ANA7/IOCA7/OSC1/CLKIN PPS/IOCC2/CCP1/T5CKI/ANC2/RC2 F188INT
11
PPS/IOCC3/T2IN/SCK1/SCL1/ANC3/RC3 F188SDA
F188ANA1 18 RB0/ANB0/C2IN1+/ZCD/SS2/CCP4/CWG1IN/INT/IOCB0/PPS PPS/IOCC4/SDI1/SDA1/ANC4/RC4 12 F188SCL
19 13
F188RST RB1/ANB1/C1IN3-/C2IN3-/SCL2/SCK2/CWG2IN/IOCB1/ PPS PPS/IOCC5/T4IN/ANC5/RC5 F188RXM
+3.3V 20 14
F188CS RB2/ANB2/SDA2/SDI2/CWG3IN/IOCB2/PPS PPS/IOCC6/CK/ANC6/RC6 F188TXM
F188SCK 21 RB3/ANB3/C1IN2-/C2IN2-/IOCB3 PPS/IOCC7/DT/RX/ANC7/RC7 15 F188PWM
J4 22
F188MISO RB4/ANB4/ADCACT/T5G/SMTWIN2/IOCB4/PPS
1 23 5
VPP/MCLR F188MCLR F188MOSI RB5/ANB5/T1G/SMTSIG2/CCP3/IOCB5/ PPS VSS 
2 F188CLK 24 RB6/ANB6/CLCIN2/IOCB6/ICSPC LK/PPS VSS 16
VDD 25 29
3 F188DAT RB7/ANB7/DAC1OUT2/T6IN/CLCIN3/IOCB7/ICSPDAT/PPS EP
GND
ICSPDAT 4
5 PIC16F18855-I/MV
ICSPC LK
+3.3V VUSB
DNP
Appendix A. Schematic

PICNLW70 3 J7 J5 J6 J8
MPLAB® Xpress EVALUATION BOARD SCHEMATIC

1 1 1 1
F188ANA1 F188ANA1 AN PWM F188PWM F188PWM
2 2 2 2
F188RST F188RST RST INT F188INT F188INT
3 3 3 3
4 F188CS F188CS 4 CS RX 4 F188TXM F188TXM 4
F188SCK F188SCK SCK TX F188RXM F188RXM
5 5 5 5
F188MISO F188MISO MISO SCL F188SCL F188SCL
6 6 6 6
7 F188MOSI F188MOSI 7 MOSI SDA 7 F188SDA F188SDA 7
+3.3V +5V
8 8 8 8
GND GND
9 9
10 RA0 F188TXU 10
RA1 mikroBUS70 Host F188RXU
11 11
RA2 Connector ALARM1
12 12
RA3 ALARM2
13 13
RA4
14 14
RA5
DNP DNP
MPLAB® Xpress GENERAL PURPOSE EVALUATION BOARD SCHEMATIC

DS50002479B-page 27
Schematic
FIGURE A-2:

DS50002479B-page 28
VUSB +3.3V
MCP1703T- 3302E / MB

1 2 3
VIN VOUT
BATT 2

GND
+3.3V
C1 C2
DNP

1
1.0μF U1 1.0μF

R1
USB - micro B 10K
1 J1
VBUS
2 D_N +3.3V 1
D- VPP/ MCLR
3 D_P 2
D+ VDD
4 3
ID GND
5 PGD 4
GND ICSPDAT
J2 C4 PGC 5
ICSPC LK

7
6
0.1μF
U2 DNP
11 PICKIT 3
VUSB3V3
17
VDD
(PROGRAMMER SECTION)

26
MCLR/VPP/RE3
D_N 12
D-/IOCC4
D_P 13 8 +3.3V
D+/IOCC5 SOSC0/T1CKI/T3G/T3CKI/IOCC0/RC0
9
SOSCI/CCP2/IOCC1/RC1
27 10
RA0/C12IN0-/AN0 AN14/IOCC2/CCP1/P1A/CTPLS/RC2 R6
28 14 R2 100R
RA1/C12IN1-/AN1 AN18/CK/TX/IOCC6/RC6 F188RXU 10K
1 15 R3 100R
RA2/C2IN+/AN2/DACOUT/VREF- AN19/DT/RX/IOCC7/SDO/RC7 F188TXU

1K
1K
2 S1
RA3/C1IN+/AN3/VREF+
3 18
RA4/C1OUT/SRQ/T0CKI AN12/SDA/SDI/SRI/FLT0/INT0/RB0
4 19
RA5/C2OUT/SRNQ/SS/HLVDIN/AN4 AN10/C12IN3-/SCL/SCK/P1C/INT1/RB1
7 20 R4 100R RESET F188

R7
R8
RA6/CLKO/OSC2 AN8/P1B/CTED1/INT2/RB2 F188C LK
6 21 R5 100R
RA7/CLKI/OSC1 AN9/C12IN2-/SDO/CCP2/CTED2/RB3 F188DAT
22

2
1
D1 AN11/P1D/IOCB4/RB4
5 23
R G VSS AN13/T1G/T3CKI/IOCB5/RB5
16 24 PGC
VSS PGC/IOCB6/RB6
29 25 PGD
EP PGD/IOCB7/RB7

4
3
LTST-C195KGJRKT PIC 18L F25K50-I/ ML R9
F188MCLR
100R
3

Q1
1 2N7002
2

MPLAB Xpress R10


10K
Evaluation Board
MPLAB® Xpress Evaluation Board User’s Guide

Schematic
MPLAB® Xpress GENERAL PURPOSE EVALUATION BOARD SCHEMATIC

 2016-2017 Microchip Technology Inc.


FIGURE A-3:

986% 9'' 9


9
9  
 

32:(5
',6&211(&7 &
X)
9

 2016-2017 Microchip Technology Inc.


8 9''
0&37('%
7+
  8
9,1 9287
W  
*1' 9'' 966
P$  
5$ 5$ ,&63'$75$ 7*'$7
&  &  
5$ 5$ ,&63&/.5$ 7*&/.
X) X)  
7*0&/5 5$0&/5 5$ 5$
9 9  
5& 5& 5& 5&
 
5& 5& 5& 5&
 
5& 5& 5& 5&
 
5& 5& 5% 5%
986%  
5& 5& 5% 5%
 
5% 5% 5% 5%
986% 3,&Š3URJUDPPLQJ$GDSWHU
&
5
N
86%0,&52% X) -
 &  9''
9%86 0&/5 0&/5
 'B1  &
' 9''
86%  'B3 8 
' X) 966
   
,' 9'' ,&63'$75& 3*' X)
   
*1' 986%9 ,&63&/.5& 3*&

5&


  '13 8
5$',&63'$7 5&
  
5$',&63&/. 5& 9''
 
0&/5 5$9330&/5 5&
  
5$ 7*'$7 5$,&63'$7 5& 5&
   
5$ 1& 7*&/. 5$,&63&/. 5& 5&
  
1& ' 5$ 5$ 5& 5&
  
966 7*0&/5 5$9SS0&/5 5& 5&
9'' 9''  5 5  *
  
3$' 5$ 5$26& 5& 5&
 
5$ 5$26& 5& 5&
3,&),-4 5 5  5
 
5& 5&
5 '  
) 5% 5% 5& 5&
N %$7 
5% 5%

5% 5%
5 5 
5 5 7*'$7 5% 5%
5 5
7*0&/5 7*&/.

5 5 966

(3
986%
3,&))3,1'(9,&(6

5
N

 6 

 
35*0&/5
MPLAB® Xpress 20-PIN DEVICE SPECIFIC EVALUATION BOARD SCHEMATIC

DS50002479B-page 29
Schematic
FIGURE A-4:

DS50002479B-page 30
986% 9'' 9
9
  9''
9
 
8
 
32:(5 7*0&/5 5(0&/5 5%3*' 7*'$7
',6&211(&7 &  
5$ 5$ 5%3*& 7*&/.
X)  
9 5$ 5$ 5% 5%
 
5$ 5$ 5% 5%
 
5$ 5$ 5% 5%
 
5$ 5$ 5% 5%
 
5$ 5$ 5% 5%
 
8 966 5% 5%
 
0&37('% 5$ 5$ 9''
7+  
5$ 5$ 966
   
9,1 9287 5& 5& 5& 5&
W  
*1' 5& 5& 5& 5&
P$  
5& 5& 5& 5&
&  &  
5& 5& 5& 5&
X) X)
9 9 3',3
3,&Š3URJUDPPLQJ$GDSWHU
986%

986%
&
5
N 9''
86%0,&52% X) -
 & 
9%86 0&/5 0&/5
 'B1 
' 9''
86%  'B3 8 
' X) 966 &
   
,' 9'' ,&63'$75& 3*' X)
   
*1' 986%9 ,&63&/.5& 3*&
 8
5&


  '13  
5$',&63'$7 5& 9'' 0&/59335( 7*0&/5
 
5$',&63&/. 5&
   
0&/5 5$9330&/5 5& 5$ 5$ 5& 5&
  
5$ 5$ 5$ 5& 5&
   
5$ 1& 5$ 5$ 5& 5&
  
1& ' 5$ 5$ 5& 5&
  
966 5$ 5$ 5& 5&
9'' 9''  5 5  *
  
3$' 5$ 5$ 5& 5&
 
5$ 5$ 5& 5&
3,&),-4 5 5  5
  
5$ 5$ 5& 5&
5 '
N %$7 )  
5% 5% 5%,&63'$7 7*'$7
 
5% 5% 5%,&63&/. 7*&/.
5 5  
5 5 7*'$7 5% 5% 5% 5%
5 5  
7*0&/5 7*&/. 5% 5% 5% 5%
5 5

966
 
966 3$'
986%
3,&))3,1'(9,&(6
5
N

 6 
MPLAB® Xpress Evaluation Board User’s Guide

 
35*0&/5
MPLAB® Xpress 28-PIN DEVICE SPECIFIC EVALUATION BOARD SCHEMATIC

 2016-2017 Microchip Technology Inc.


FIGURE A-5:

986% 9'' 9


9
 
9
 

9'' 9''
32:(5
',6&211(&7 &
X) 8
9  
7*0&/5 5(0&/5 5%3*' 7*'$7
 
5$ 5$ 5%3*& 7*&/.
 
5$ 5$ 5% 5%
 
5$ 5$ 5% 5%
 

 2016-2017 Microchip Technology Inc.


5$ 5$ 5% 5%
8  
0&37('% 5$ 5$ 5% 5%
7+  
5$ 5$ 5% 5%
   
9,1 9287 5( 5( 5% 5%
W  
*1' 5( 5( 9''
P$  
5( 5( 966
&  &  
9'' 5' 5'
X) X)  
966 5' 5'
9 9  
5$ 5$ 5' 5'
 
5$ 5$ 5' 5'
986%  
5& 5& 5;5& 5&
 
5& 5& 7;5& 5&
 
5& 5& 5& 5&
986%  
5& 5& 5& 5&
&  
5' 5' 5' 5'
5  
5' 5' 5' 5'
N
86%0,&52% X) - 3,&Š3URJUDPPLQJ$GDSWHU
 & 
9%86 0&/5 0&/5 352*5$00,1*$'$37(5
 'B1 
' 9''
86%  'B3 8 
' X) 966
   
,' 9'' ,&63'$75& 3*'
    9''
*1' 986%9 ,&63&/.5& 3*&

5&


  '13
5$',&63'$7 5&
 
5$',&63&/. 5&
 
0&/5 5$9330&/5 5&

5$ & &
 
5$ 1& X) X)
 8
1& '
  
966 9'' 5( 5(
9'' 9''  5 5  *
  
3$' 9'' 5( 5(

5( 5(
3,&),-4 5 5  5
  
5$ 5$ 0&/59335( 7*0&/5
5 ' 
) 5$ 5$
N %$7  
5$ 5$ 5' 5'
 
5$ 5$ 5' 5'
5 5  
5 5 7*'$7 5$ 5$ 5' 5'
5 5  
7*0&/5 7*&/. 5$ 5$ 5' 5'
 
5 5 5$ 5$ 5' 5'
 
5$ 5$ 5' 5'

5' 5'
986%  
5% 5% 5' 5'

5% 5%
 
5% 5% 5& 5&
5  
5% 5% 5& 5&
N  
5% 5% 5& 5&
 
6 5% 5% 5& 5&
   
7*&/. 5%,&63&/. 5& 5&
 
7*'$7 5%,&63'$7 5& 5&
  
5& 5&
 
35*0&/5 966 5& 5&

966

3$'

3,&))3,1'(9,&(6
MPLAB® Xpress 40-PIN DEVICE SPECIFIC EVALUATION BOARD SCHEMATIC

DS50002479B-page 31
Schematic
MPLAB® Xpress Evaluation Board User’s Guide
NOTES:

DS50002479B-page 32  2016-2017 Microchip Technology Inc.


Worldwide Sales and Service
AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE
Corporate Office Asia Pacific Office China - Xiamen Austria - Wels
2355 West Chandler Blvd. Suites 3707-14, 37th Floor Tel: 86-592-2388138 Tel: 43-7242-2244-39
Chandler, AZ 85224-6199 Tower 6, The Gateway Fax: 86-592-2388130 Fax: 43-7242-2244-393
Tel: 480-792-7200 Harbour City, Kowloon China - Zhuhai Denmark - Copenhagen
Fax: 480-792-7277 Hong Kong Tel: 86-756-3210040 Tel: 45-4450-2828
Technical Support: Tel: 852-2943-5100 Fax: 86-756-3210049 Fax: 45-4485-2829
http://www.microchip.com/ Fax: 852-2401-3431 India - Bangalore Finland - Espoo
support
Australia - Sydney Tel: 91-80-3090-4444 Tel: 358-9-4520-820
Web Address:
Tel: 61-2-9868-6733 Fax: 91-80-3090-4123 France - Paris
www.microchip.com Fax: 61-2-9868-6755 India - New Delhi Tel: 33-1-69-53-63-20
Atlanta Tel: 91-11-4160-8631 Fax: 33-1-69-30-90-79
China - Beijing
Duluth, GA
Tel: 86-10-8569-7000 Fax: 91-11-4160-8632 Germany - Garching
Tel: 678-957-9614
Fax: 86-10-8528-2104 India - Pune Tel: 49-8931-9700
Fax: 678-957-1455
China - Chengdu Tel: 91-20-3019-1500 Germany - Haan
Austin, TX Tel: 86-28-8665-5511 Tel: 49-2129-3766400
Tel: 512-257-3370 Japan - Osaka
Fax: 86-28-8665-7889 Tel: 81-6-6152-7160 Germany - Heilbronn
Boston Fax: 81-6-6152-9310 Tel: 49-7131-67-3636
China - Chongqing
Westborough, MA
Tel: 86-23-8980-9588 Japan - Tokyo Germany - Karlsruhe
Tel: 774-760-0087 Fax: 86-23-8980-9500
Fax: 774-760-0088 Tel: 81-3-6880- 3770 Tel: 49-721-625370
China - Dongguan Fax: 81-3-6880-3771 Germany - Munich
Chicago Tel: 86-769-8702-9880 Korea - Daegu Tel: 49-89-627-144-0
Itasca, IL
China - Guangzhou Tel: 82-53-744-4301 Fax: 49-89-627-144-44
Tel: 630-285-0071
Fax: 630-285-0075 Tel: 86-20-8755-8029 Fax: 82-53-744-4302 Germany - Rosenheim
China - Hangzhou Korea - Seoul Tel: 49-8031-354-560
Dallas
Tel: 86-571-8792-8115 Tel: 82-2-554-7200 Israel - Ra’anana
Addison, TX
Fax: 86-571-8792-8116 Fax: 82-2-558-5932 or Tel: 972-9-744-7705
Tel: 972-818-7423
Fax: 972-818-2924 China - Hong Kong SAR 82-2-558-5934
Italy - Milan
Tel: 852-2943-5100 Malaysia - Kuala Lumpur Tel: 39-0331-742611
Detroit
Fax: 852-2401-3431 Tel: 60-3-6201-9857 Fax: 39-0331-466781
Novi, MI
China - Nanjing Fax: 60-3-6201-9859
Tel: 248-848-4000 Italy - Padova
Tel: 86-25-8473-2460 Malaysia - Penang Tel: 39-049-7625286
Houston, TX
Tel: 281-894-5983 Fax: 86-25-8473-2470 Tel: 60-4-227-8870
Netherlands - Drunen
China - Qingdao Fax: 60-4-227-4068
Indianapolis Tel: 31-416-690399
Tel: 86-532-8502-7355 Philippines - Manila Fax: 31-416-690340
Noblesville, IN
Fax: 86-532-8502-7205 Tel: 63-2-634-9065
Tel: 317-773-8323 Norway - Trondheim
Fax: 317-773-5453 China - Shanghai Fax: 63-2-634-9069 Tel: 47-7289-7561
Tel: 317-536-2380 Tel: 86-21-3326-8000 Singapore
Poland - Warsaw
Fax: 86-21-3326-8021 Tel: 65-6334-8870
Los Angeles Tel: 48-22-3325737
China - Shenyang Fax: 65-6334-8850
Mission Viejo, CA Romania - Bucharest
Tel: 949-462-9523 Tel: 86-24-2334-2829 Taiwan - Hsin Chu
Tel: 40-21-407-87-50
Fax: 949-462-9608 Fax: 86-24-2334-2393 Tel: 886-3-5778-366
Tel: 951-273-7800 Fax: 886-3-5770-955 Spain - Madrid
China - Shenzhen
Tel: 34-91-708-08-90
Raleigh, NC Tel: 86-755-8864-2200 Taiwan - Kaohsiung
Fax: 86-755-8203-1760 Tel: 886-7-213-7830 Fax: 34-91-708-08-91
Tel: 919-844-7510
Sweden - Gothenberg
New York, NY China - Wuhan Taiwan - Taipei
Tel: 46-31-704-60-40
Tel: 631-435-6000 Tel: 86-27-5980-5300 Tel: 886-2-2508-8600
Fax: 86-27-5980-5118 Fax: 886-2-2508-0102 Sweden - Stockholm
San Jose, CA
China - Xian Thailand - Bangkok Tel: 46-8-5090-4654
Tel: 408-735-9110
Tel: 408-436-4270 Tel: 86-29-8833-7252 Tel: 66-2-694-1351 UK - Wokingham
Fax: 86-29-8833-7256 Fax: 66-2-694-1350 Tel: 44-118-921-5800
Canada - Toronto
Fax: 44-118-921-5820
Tel: 905-695-1980
Fax: 905-695-2078

 2016-2017 Microchip Technology Inc. DS50002479B-page 33

10/10/17

You might also like