curiosity development board user guideww1.microchip.com/.../curiosity-development-board... ·...

18
2015-2019 Microchip Technology Inc. DS40001804C Curiosity Development Board User’s Guide

Upload: others

Post on 17-May-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

2015-2019 Microchip Technology Inc. DS40001804C

Curiosity Development BoardUser’s Guide

Page 2: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

2015-2019 Microchip Technology Inc. DS40001804C-page 2

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.

TrademarksThe Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, Vite, WinPath, and ZL 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, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, 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.The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks 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.

© 2015-2019, Microchip Technology Incorporated, All Rights Reserved.

ISBN: 978-1-5224-5042-9For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.

Page 3: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARDUSER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 4Introduction............................................................................................................ 4

Document Layout .................................................................................................. 4

Conventions Used in this Guide ............................................................................ 5

Recommended Reading........................................................................................ 6

The Microchip Website.......................................................................................... 6

Development Systems Customer Change Notification Service ............................ 6

Customer Support ................................................................................................. 7

Revision History .................................................................................................... 7

Chapter 1. Introduction to Curiosity1.1 Curiosity Development Board Kit Contents .................................................... 81.2 Curiosity Development Board Layout ............................................................. 91.3 Power Sources ............................................................................................. 10

1.3.1 USB Connector (J2) .................................................................................. 101.3.2 9V External Power Supply (J15) ............................................................... 101.3.3 Variable External Power Supply (TP3, TP4) ............................................. 10

Chapter 2. Getting Started2.1 Programming the Curiosity Development Board .......................................... 11

Chapter 3. Troubleshooting3.1 The Demo Application Does Not Run .......................................................... 143.2 The MCU Will Not Program Using The PKOB ............................................. 143.3 The MCU Will Not Program Using the PICKIT™ 3 ...................................... 14

Appendix A. SchematicA.1 Curiosity Development Board Schematic .................................................... 15

Appendix B. General NotesB.1 Power ........................................................................................................... 17B.2 RN4020 Bluetooth® Low Energy (BLE) Module ........................................... 17B.3 Click or RN4020 Modules ............................................................................ 17B.4 Debugging Mode .......................................................................................... 17B.5 Routing and Flexibility .................................................................................. 17

Worldwide Sales and Service .................................................................................... 18

2015-2019 Microchip Technology Inc. DS40001804C-page 3

Page 4: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARDUSER’S GUIDE

Preface

INTRODUCTION

This chapter contains general information that will be useful to know before using the Curiosity Development Board. Items 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 Curiosity Development Board as a development tool to emulate and debug firmware on a target board. The document is organized as follows:• Chapter 1. “Introduction to Curiosity” – This chapter contains general

information regarding the Curiosity Development Board kit contents, layout and power source.

• Chapter 2. “Getting Started” – This chapter offers information on how to program the Curiosity Development Board.

• Chapter 3. “Troubleshooting” – Consult this chapter for troubleshooting information.

• Appendix A. “Schematic” – This appendix lists the Curiosity Development Board schematic.

• Appendix B. “General Notes” – Refer to this appendix for general notes on power options, configuration of the RN4020 Bluetooth® low-energy module and the Click module, debugging, routing and flexibility of the board.

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

2015-2019 Microchip Technology Inc. DS40001804C-page 4

Page 5: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Preface

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:

DOCUMENT 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){ ...}

2015-2019 Microchip Technology Inc. DS40001804C-page 5

Page 6: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Preface

RECOMMENDED READING

This user’s guide describes how to use the Curiosity Development 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 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. Accessible by using your favorite Internet browser, the website contains the following information:

• Product Support – Data sheets and errata, application notes, sample programs and labs, design resources, user’s guides and hardware support documents, latest software releases and archived softwareCuriosity Development board-specific product support can be accessed via our website at www.microchip.com/curiosity.

• General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program mem-ber 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 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 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 nonproduction development programmers such as PICSTART® Plus and PICkit 2 and 3.

2015-2019 Microchip Technology Inc. DS40001804C-page 6

Page 7: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Preface

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:

• Distributor or Representative

• Local Sales Office

• Field Application Engineer (FAE)

• Technical Support

Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers.

Technical support is available through the website at:

www.microchip.com/support.

REVISION HISTORY

Revision C (September 2019)

Updated Figures 2-1 through 2-4 and A-1.

Remove EU Declaration of Conformity.

Revision B (April 2016)

Added the EU Declaration of Conformity.

Revision A (July 2015)

Initial release of this document.

2015-2019 Microchip Technology Inc. DS40001804C-page 7

Page 8: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARD

USER’S GUIDE

Chapter 1. Introduction to Curiosity

®

The Curiosity Development Board supports Microchip’s 8-, 14- and 20-pin 8-bit PIC MCUs. Dual-row expansion headers on either side of the socket offer flexibility of connectivity to all pins on the PIC MCUs. This board provides flexibility for experimentation through an application header with ground (GND) and supply voltage (VDD) connections. It also includes a set of indication LEDs, mTouch® button and push button switches, and a variable potentiometer. Additionally, it features a Bluetooth® low-energy footprint and a mikroBUS™ footprint to accommodate a variety of plug-in Click board™ sensors that can be used in application development.

1.1 CURIOSITY DEVELOPMENT BOARD KIT CONTENTSThe Curiosity Development Board kit contains the following:

• Curiosity Development Board

• Quick Start Guide

FIGURE 1-1: CURIOSITY DEVELOPMENT BOARD KIT

mTouch®Button

2015-2019 Microchip Technology Inc. DS40001804C-page 8

Page 9: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Introduction to Curiosity

1.2 CURIOSITY DEVELOPMENT BOARD LAYOUT

Figure 1-2 identifies the major features of the Curiosity Development Board.

FIGURE 1-2: CURIOSITY DEVELOPMENT BOARD LAYOUT

mTouch®Button

21 3 5 6 7 8

910111213

1. USB mini-B connector (on back)

2. Footprint for 9V connector

3. Master Clear Reset button

4. 3.3/5V power jumper (J12)

5. Posts for external variable power supply

6. Expansion board connector

7. PIC® MCU socket for 8, 14, and 20-pin microcontrollers

8. mikroBUS™ Click board™ footprint for application development

9. RN4020 Bluetooth® module footprint

10. Potentiometer

11. LEDs

12. mTouch® button

13. Push button

4

2015-2019 Microchip Technology Inc. DS40001804C-page 9

Page 10: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Introduction to Curiosity

1.3 POWER SOURCES

The Curiosity Development Board can be powered in one of three ways, depending on its usage.

1.3.1 USB Connector (J2)

The USB connector (J2) will power the entire Curiosity Development Board. A shunt jumper must be placed onto jumper J12 (Figure 1-2). The right two pins of J12 will connect +5V from the USB connector J2. The left two pins of J12 will connect +3.3V from the USB voltage regulator on the back side of the development board. With USB power connected to J2, power LED D1 will always be ON to indicate that +3.3V is available on the board.

1.3.2 9V External Power Supply (J15)

The 9V external power supply (J15) will also power the entire Curiosity Development Board. A shunt jumper must be placed onto jumper J12 (Figure 1-2). The right two pins of J12 will connect +5V from the on-board voltage regulator circuitry connected to connector J15. The left two pins of J12 will connect +3.3V from the on-board voltage regulator circuitry. With 9V external power connected to J15, power LED D1 will always be ON to indicate that +3.3V is available on the board. Power LED D2 will only be ON when power (+3.3V or +5V) is applied to VDD via a shunt jumper placed on J12.

1.3.3 Variable External Power Supply (TP3, TP4)

A variable external power supply connected to TP3 and TP4 will power the entire Curiosity Development Board. A shunt jumper is not needed on J12, thus either +3.3V or +5V can be directly applied via a variable external power supply to VDD.

2015-2019 Microchip Technology Inc. DS40001804C-page 10

Page 11: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARD

USER’S GUIDE

Chapter 2. Getting Started

The Curiosity Development Board must be used with MPLAB X Integrated Development Environment (IDE), available free on Microchip’s website, www.microchip.com. Use version v3.05 or later.

The Curiosity Development Board, through MPLAB X, is a low-voltage in-circuit debugger, as well as a low-voltage programmer, for all supported devices. In-circuit debugging allows the user to run, examine and modify programs for the supported device embedded in the Curiosity hardware. This facilitates the debugging of firmware and hardware concurrently. Use the Curiosity Development Board with MPLAB X IDE to run, stop and single-step through programs –breakpoints can be set and the processor can be reset. When the processor stops, the contents of the register are available for examination and modification.

2.1 PROGRAMMING THE CURIOSITY DEVELOPMENT BOARD

After connecting the Curiosity Development Board to the computer using the on-board USB connector (J2 on the back of the board), open the MPLAB X IDE. Then create a new project or open an existing project. Click on the Project Properties icon located in the project’s Dashboard window (Figure 2-1). Alternatively, the Project Properties window can be opened by clicking on File > Project Properties, or by right-clicking on the project name in the Projects window and clicking Properties. (Figure 2-1).

FIGURE 2-1: SELECTING THE CURIOSITY DEVELOPMENT BOARD IN THE MPLAB® X IDE

2015-2019 Microchip Technology Inc. DS40001804C-page 11

Page 12: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Getting Started

MPLAB X refers to the Curiosity Development Board as “Starter Kits (PKOB)”, with “Curiosity” listed below. Click on Curiosity, the correct device and XC8 compiler version being used, then click Apply (Figure 2-2). On the upper left hand corner of the Properties window, click on Starter Kit (PKOB) (Figure 2-3). The window will change to the Options for Starter Kit (PKOB) window (Figure 2-3).

FIGURE 2-2: CURIOSITY DEVELOPMENT BOARD CONFIGURATION

FIGURE 2-3: PROGRAM OPTIONS FOR STARTER KIT (PKOB)

2015-2019 Microchip Technology Inc. DS40001804C-page 12

Page 13: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Getting Started

Select options category “Program Options” and then “Enable Low-Voltage Programming,” if it is not already selected. Click Apply, then OK (Figure 2-3). Once the project is finished, the microcontroller is ready to be programmed. Simply click on the Make and Program Device Main Project button and the device will be programmed (Figure 2-4).

FIGURE 2-4: PROGRAMMING THE DEVICE ON THE CURIOSITY DEVELOPMENT BOARD

Note: When using the PKOB for programming, the Low-Voltage Programming (LVP) bit of the Configuration Word(s) must be set (LVP = ON or ‘1’).

2015-2019 Microchip Technology Inc. DS40001804C-page 13

Page 14: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARD

USER’S GUIDE

Chapter 3. Troubleshooting

This chapter discusses common operational issues and how to resolve them.

3.1 THE DEMO APPLICATION DOES NOT RUN

The Curiosity Development Board must be plugged into a powered USB hub, com-puter, or other USB host device. To run the application, ensure the conditions listed below are met:

1. Start by plugging it into the USB device port, J2. LEDs D1 and D2 should light when VBUS is detected.

2. If D1 is not lit, verify that the USB host side port is functional.

3. If D2 is not lit, verify that jumper J12 is connected to the proper device voltage.

3.2 THE MCU WILL NOT PROGRAM USING THE PKOB

The Curiosity Development Board’s PICkit™ On-Board (PKOB) uses low-voltage programming. The demo application code sets the Low-Voltage Programming (LVP) bit to a ‘1’, allowing low-voltage programming.

1. When using custom firmware, the LVP bit must be set to ‘1’ in the Configuration Word. MPLAB X will not allow programming using the PKOB unless the bit is properly configured.

2. When using a PIC microcontroller (one not included with the Curiosity Development Board) that has already been programmed using high-voltage programming and the LVP bit cleared (LVP = OFF or ‘0’), the device will not be recognized and cannot be programmed using the PKOB. Reprogramming the device can be achieved by one of the following two methods:

a) Connect a PICkit 3 Programmer to the Curiosity board, configuring MPLAB to use the PICkit 3 as the programmer, and ensuring the LVP bit is set to ‘1’ in the Configuration Word. Reprogram the device.

b) Use an unprogrammed (blank) device and ensure the LVP bit is set to ‘1’ in the Configuration Word.

3.3 THE MCU WILL NOT PROGRAM USING THE PICkit™ 3

If the PIC device will not program using the PICkit 3, ensure that the 3.3/5V jumper (J12) is removed.

2015-2019 Microchip Technology Inc. DS40001804C-page 14

Page 15: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARD

USER’S GUIDE

Appendix A. Schematic

A.1 CURIOSITY DEVELOPMENT BOARD SCHEMATIC

FIGURE A-1: CURIOSITY DEVELOPMENT BOARD SCHEMATIC

11

22

33

44

55

66

DD

CC

BB

AA

1 o

f 1

Cur

iosi

ty

8/8

/20

18

9:1

1:2

5 A

M

03

-10

32

7 s

hee

t 1

.Sch

Do

c

Pro

ject

Tit

le

Sch

#:

Dat

e:

Fil

e:R

evis

ion:

Shee

t

Des

igne

d wi

th

Dra

wn

By

:Ja

mu

s G

rieg

o

Sh

eet

Tit

le

**

En

gin

eer:

Joh

n M

ou

ton

03-1

0327

2.2

Siz

eB

10

32

7P

artN

um

ber

:

Alt

ium

.co

m

TA

CT

SP

ST

S2

TA

CT

SP

ST

S1

RE

DD4

HD

R-2

.54

Fem

ale

2x

10

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

J11

1kR40

1kR41

10k

R38

10k

R29

470R

R39

470R

R31

VD

D

VD

D

GN

DG

ND

GN

DG

ND

GN

D

GN

D

GN

D

VD

D

HD

R-2

.54

Mal

e 2

x4

11 23 45 67 8

J13

PJ-

002B

H-S

MT231

J15

0.1

uF

25

V

C16

GN

D

LM

34

0M

P-5

.0

GN

D

2

VIN

1V

OU

T3

U5

US

1M

D3

0.2

2u

FC17

GN

D

VD

D

RB

5

HD

R-2

.54

Mal

e 1

x2

12

J4

TP2

TP1

GR

EE

ND2

470R

R35

GN

D

VD

D

HD

R-2

.54

Fem

ale

2x

10

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

J9

HD

R-2

.54

Mal

e 1

x2

1 2

J3

470R

R32

11

0-9

1-3

20

-41

-00

1

4 5 6 7 8 910

16

15

14

13

12

11

17

1 2 319

18

20

U4

0.1

uF

25

V

C15

RE

DD5

RE

DD6

RE

DD7

PG

ED

PG

EC

1kR42

1kR43

HD

R-2

.54

Mal

e 1

X6

ST

AG

GE

RD

1 2 3 4 5 6

P1

HD

R-2

.54

Mal

e 1

x3

12

3J12

mik

roB

US

AN

1A

NR

ST

2

CS

3

SC

K4

MIS

O5

MO

SI

6

+3

.3V

7

GN

D8

PW

M16

INT

15

RX

14

TX

13

SC

L12

SD

A11

+5

V10

GN

D9

J35

HDR-2.54Female1x8

12345678J34

HDR-2.54Female1x8

12345678J33

0R

0402

R33

mT

ou

chS

3

HD

R-2

.54

Mal

e 1

x2

12

J5

0R

0402

R44

10k

R37

RC

0R

C1

GN

D

0RR46

0R 0402

R34

+5

V

+5

V

PO

WE

R

0RR47

0RR48

0RR49

0RR50

RC

7R

C7

RB

7R

B7

RC

3R

C4

RC

5

RC

6

RA

4R

A5

nM

CL

R

RC

3R

C4

RC

5

RC

6

RA

4R

A5

nM

CL

R

VD

D

RC

0R

C1

RC

2R

B4

RB

5R

B6

RB

4R

B5

RB

6

RC

0R

C1

RC

2

RA

2R

A2

PG

ED

PG

EC

PG

ED

PG

EC

RC

4

nM

CL

R

PG

EC

PG

ED

ICS

P_V

DD

ICS

P_V

DD

nM

CL

R

HD

R-2

.54

Mal

e 1

x2

12

J6

VD

D

RA5

PGEC

RA2

RC5

VD

D

GN

D

GN

D

0R

R51

0R

R53

0R

R55

0R

R57

RB

4

RC

6

RB

6R

C7

1

2

3

4

5

6

7

8

HD

R-2

.54

Mal

e 2

x4

J39

SC

K

SC

K

MIS

O

MIS

O

MO

SI

MO

SI

CS

CS

SC

KM

ISO

MO

SI

CS

RB

4

RC

6

RB

6R

C7

0R

R52

0R

R54

0R

R56

0R

R58

RB

6R

B4

RB

5

RB

7

1

2

3

4

5

6

7

8

HD

R-2

.54

Mal

e 2

x4

J40

RX

TX

SC

LS

DA

RB

6R

B4

RB

5

RB

7

RX

TX

SC

LS

DA

RX

TX

SC

LS

DA

DN

PD

NP

DN

P

DN

P

DN

P

DN

P

VD

D

D_V

BU

S+

5V

VC

MP

GN

D

MC

P6561

+A

3

-A4

OU

TA

1

VS

S

2

VD

D

5

+A

-A

OU

TA

VS

S

VD

D

AA AA

ASD

U16

VR

EF

_2

.5V

TP4

TP3

10k

R61

RC

2R

A4

RC

5R

A2

+5

V+

3.3

V

GN

DG

ND

2k

0603

R59

VC

MP

+9

V

+5

V

+3

.3V

10k

213

POT1

GN

D1

AIO

22

AIO

13

AIO

04

UA

RT

_T

X5

UA

RT

_R

X6

WA

KE

_S

W7

CM

D/M

LD

P8

GN

D9

LE

D/P

IO1/S

CK

10

ML

DP

_E

V/P

IO2/C

S11

WS

/PIO

3/M

OS

I12

PIO

4/M

ISO

13

CT

S/P

IO5

14

WA

KE

_H

W15

GN

D16

SP

I/P

IO17

RT

S/P

IO6

18

PIO

719

RS

VD

20

RS

VD

21

RS

VD

22

VD

D23

GN

D24

GN

D

AIO

2A

IO1

AIO

0

UA

RT

_T

XU

AR

T_R

X

WA

KE

_S

W

CM

D/M

LD

P

GN

D

LE

D/P

IO1/S

CK

ML

DP

_E

V/P

IO2/C

SW

S/P

IO3/M

OS

IP

IO4/M

ISO

CT

S/P

IO5

WA

KE

_H

WG

ND

SP

I/P

IO

RT

S/P

IO6

PIO

7

RS

VD

RS

VD

RS

VD

VD

D

GN

D

RN

4020

U6

+3

.3V

GN

D

RX

TX

4.7

uF

C18

RC

0

DN

PD

NP

DN

P

DN

P

DN

P

0R

0603

R45

DN

P

DN

P

DN

P

DN

P

DN

P

VIN

HD

R-2

.54

Fem

ale

1x

6

123456

J7D

NP

VIN

GN

D

+3

.3V

+5

V

Butt

on

TM

1kR26

1uF

16

V

C11

GN

D

2

VIN

1V

OU

T3

MC

P1703-3

302E

/DB

Q2

10k

R27

0.0

1u

F1

6V

C14

+3

.3V

PO

WE

R_

GO

OD

_P

ICK

IT3

GR

EE

ND1

0.1

uF

25

V

C13

0.2

2u

F1

6V

C10

1uF

16

V

C12

+5

V

+3

.3V

US

B_D

_P

US

B_D

_N

VB

US

054B

-HS

3-G

S08

123

56

V

4

U3

500m

A

+t

1210

PT

C3

D_V

BU

S

US

B M

INI-

B F

emal

e

ID4

VB

US

1

GN

D5

D-

2

D+

3

0J2

USBINTERFACE

(BUSPOWERED)

X1

X2

X3

X4

X5

DN

P

213

PIC

16F

18346-I

/P

RA

3/V

pp/M

CL

R4

RC

55

RC

46

RC

37

RC

68

RC

79

RB

710

RB

611

RB

512

RB

413

RC

214

RC

115

RC

016

RA

217

RA

1/I

CS

PC

LK

18

RA

0/I

CS

PD

AT

19

VS

S20

VD

D1

RA

5/O

SC

12

RA

4/O

SC

23

@U

4

10k

R60

GN

D

1 2 3 4 5 6 7 8

HD

R-2

.54

Mal

e 1

x8

J8

12

34

56

78

HD

R-2

.54

Mal

e 1

x8

J14

12345678

HD

R-2

.54

Mal

e 1

x8

J10

GN

D

RX

TX

RC0

GN

DG

ND

AIO

0A

IO1

AIO

2

AIO

0A

IO1

AIO

2

WA

KE

_S

W

WA

KE

_S

W

CM

D/M

LD

P

CM

D/M

LD

P

LE

D/P

IO1/S

CK

LED/PIO1/SCK

WS/PIO3/MOSI

WS

/PIO

3/M

OS

IM

LD

P_E

V/P

IO2/C

S

MLDP_EV/PIO2/CS

PIO4/MISO

PIO

4/M

ISO

CT

S/P

IO5

CTS/PIO5

SP

I/P

IO

SP

I/P

IO

RT

S/P

IO6

RT

S/P

IO6

PIO

7

PIO

7

RS

VD

0R

SV

D1

RS

VD

2

RS

VD

0R

SV

D1

RS

VD

2+

3.3

V

DN

PD

NP

DN

P

FD

N340P

2

1

3Q5

REV

ECO#

DESCRIPTION

DATE

2M

ov

e S

ilk

scre

en o

f R

14

so

it

can

be

read

. S

wap

RB

4 a

nd

RC

7 c

on

nec

tio

ns.

Ch

ang

e @

U4

to

PIC

16

F1

61

9-I

/P

3-3

1-2

01

5

DN

P

Ph

illi

ps

Scr

ew 1

/4"

SCR1

Ph

illi

ps

Scr

ew 1

/4"

SCR2

Ph

illi

ps

Scr

ew 1

/4"

SCR3

Ph

illi

ps

Scr

ew 1

/4"

SCR4

2.2

8-2

-20

18

Ch

ang

e @

U4

to

PIC

16

F1

83

46

-I/P

1/4

" S

tan

do

ff N

ylo

n

STANDOFF1

1/4

" S

tan

do

ff N

ylo

n

STANDOFF2

1/4

" S

tan

do

ff N

ylo

n

STANDOFF3

1/4

" S

tan

do

ff N

ylo

n

STANDOFF4

2015-2019 Microchip Technology Inc. DS40001804C-page 15

Page 16: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

Schematic

Table A-1 lists the parts that are not included with the Curiosity Development Board.

TABLE A-1: PARTS NOT INCLUDED WITH THE CURIOSITY DEVELOPMENT BOARD

ItemManufacturing Part

NumberManufacturer Digi-Key Part Number Description

J15 PJ-002BH-SMT CUI Inc. CP-002BHPJDTR-ND CONN POWER JACK 2.5X5.5 mm HI CUR

U5 LM340MP-5.0/NOPB TI LM340MP-5.0/NOPBTR-ND IC REG LDO 5V 1A SOT223

J33, J34 PPTC081LFBN-RC Sullins Connector Solutions

S7006-ND CONN HEADER FEMALE 8POS .1" TIN

J7 PPTC061LFBN-RC Sullins Connector Solutions

S7004-ND CONN HEADER FEMALE 6POS .1" TIN

J8, J10, J14 PRPC008SAAN-RC Sullins Connector Solutions

S1011EC-08-ND CONN HEADER .100" SNGL STR 8POS

J13, J39, J40 PRPC004DAAN-RC Sullins Connector Solutions

S2011EC-04-ND CONN HEADER .100" DUAL STR 8POS

J3, J4, J5, J6 PREC002SAAN-RC Sullins Connector Solutions

S1012EC-02-ND CONN HEADER .100" SNGL STR 2POS

2015-2019 Microchip Technology Inc. DS40001804C-page 16

Page 17: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

CURIOSITY DEVELOPMENT BOARD

USER’S GUIDE

Appendix B. General Notes

B.1 POWER

When the Curiosity board is USB-powered through a 5V supply rather than a USB port on a computer, MCLR is held in Reset for approximately five seconds.

B.2 RN4020 BLUETOOTH® LOW ENERGY (BLE) MODULE

1. The RN4020 Bluetooth Low Energy (BLE) module must be configured before use. This can be achieved by either of the following methods:

a) Connecting the UART TX and RX lines to an external UART-to-USB bridge, such as the MCP2200, and using a terminal program to communicate with and program the BLE module

b) Writing custom firmware and programming the BLE module through the PIC MCU.

2. The Wake_HW line (pin 15 of the RN4020) was not connected, but is now recommended. This line must be connected for proper BLE functionality. See the RN4020 Bluetooth® Low Energy Module Command Reference User’s Guide (DS70005191) for more information.

B.3 CLICK OR RN4020 MODULES

Shared UART TX and RX lines supply connection to either the RN4020 BLE module or a Click module (which uses UART for communication with the PIC MCU), but not both.

B.4 DEBUGGING MODE

During Debug mode, LED D5 is not available to the user. This was done to provide out-of-the-box LED access to Microchip’s 8-pin MCUs. There are zero-ohm-resistors in series that can be removed to allow connection to another pin, if desired.

B.5 ROUTING AND FLEXIBILITY

Pinouts to the various connections provide connectivity to many devices. With zero-ohm resistors in series to all connections (i.e., the mikroBUS™, TouchPad, and LEDs), the board can be modified for many situations without cutting the printed circuit board (PCB) traces.

2015-2019 Microchip Technology Inc. DS40001804C-page 17

Page 18: Curiosity Development Board User Guideww1.microchip.com/.../Curiosity-Development-Board... · CURIOSITY DEVELOPMENT BOARD USER’S GUIDE 2015-2019 Microchip Technology Inc. DS40001804C-page

2015-2019 Microchip Technology Inc. DS40001804C-page 18

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/PACIFICAustralia - SydneyTel: 61-2-9868-6733

China - BeijingTel: 86-10-8569-7000

China - ChengduTel: 86-28-8665-5511

China - ChongqingTel: 86-23-8980-9588

China - DongguanTel: 86-769-8702-9880

China - GuangzhouTel: 86-20-8755-8029

China - HangzhouTel: 86-571-8792-8115

China - Hong Kong SARTel: 852-2943-5100

China - NanjingTel: 86-25-8473-2460

China - QingdaoTel: 86-532-8502-7355

China - ShanghaiTel: 86-21-3326-8000

China - ShenyangTel: 86-24-2334-2829

China - ShenzhenTel: 86-755-8864-2200

China - SuzhouTel: 86-186-6233-1526

China - WuhanTel: 86-27-5980-5300

China - XianTel: 86-29-8833-7252

China - XiamenTel: 86-592-2388138

China - ZhuhaiTel: 86-756-3210040

ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444

India - New DelhiTel: 91-11-4160-8631

India - PuneTel: 91-20-4121-0141

Japan - OsakaTel: 81-6-6152-7160

Japan - TokyoTel: 81-3-6880- 3770

Korea - DaeguTel: 82-53-744-4301

Korea - SeoulTel: 82-2-554-7200

Malaysia - Kuala LumpurTel: 60-3-7651-7906

Malaysia - PenangTel: 60-4-227-8870

Philippines - ManilaTel: 63-2-634-9065

SingaporeTel: 65-6334-8870

Taiwan - Hsin ChuTel: 886-3-577-8366

Taiwan - KaohsiungTel: 886-7-213-7830

Taiwan - TaipeiTel: 886-2-2508-8600

Thailand - BangkokTel: 66-2-694-1351

Vietnam - Ho Chi MinhTel: 84-28-5448-2100

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-9700

Germany - HaanTel: 49-2129-3766400

Germany - HeilbronnTel: 49-7131-72400

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-7288-4388

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

05/14/19