21
2015-2020 Microchip Technology Inc. DS40001804D Curiosity Low Pin Count (LPC) Development Board User’s Guide

Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

2015-2020 Microchip Technology Inc. DS40001804D

Curiosity Low Pin Count (LPC)Development Board

User’s Guide

Page 2: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

DS40001804D-page 2 2015-2020 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.

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-2020, Microchip Technology Incorporated, All Rights Reserved.

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

Page 3: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 4

Chapter 1. Introduction to Curiosity Low Pin Count (LPC)1.1 Curiosity Low Pin Count (LPC) Development Board Kit Contents ................. 8

Chapter 2. Getting Started2.1 Programming the Curiosity Low Pin Count (LPC) Development Board ....... 10

2.1.1 Programming Using MPLAB® X IDE ........................................................ 10

Chapter 3. Troubleshooting3.1 The MCU Will Not Program Using The PKOB ............................................. 143.2 The MPLAB PICkit™ 4 On-Board (PKOB4) Does Not Perform ................... 14

Appendix A. SchematicA.1 Curiosity LPC Development Board Schematics ........................................... 15

Appendix B. General NotesB.1 mikroBus™ Clicks ........................................................................................ 20B.2 Solder Blob Jumper ..................................................................................... 20

Worldwide Sales and Service .................................................................................... 21

2015-2020 Microchip Technology Inc. DS40001804D-page 3

Page 4: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Preface

INTRODUCTION

This chapter contains general information that will be useful to know before using the Curiosity LPC 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 LPC 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 Low Pin Count (LPC)” – This chapter

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

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

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

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

• Appendix B. “General Notes” – Refer to this appendix for general notes on using the Click module sockets and the solder blob jumpers.

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-2020 Microchip Technology Inc. DS40001804D-page 4

Page 5: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Curiosity Low Pin Count Development Board User’s Guide

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

DS40001804D-page 5 2015-2020 Microchip Technology Inc.

Page 6: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Preface

RECOMMENDED READING

This user’s guide describes how to use the Curiosity LPC Development Board. For the latest information on using other tools, refer to the MPLAB® X IDE home page: www.microchip.com/mplab/mplab-x-ide. 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/promo/curiosity-development-boards.

• 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 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-2020 Microchip Technology Inc. DS40001804D-page 6

Page 7: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Curiosity Low Pin Count Development 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.

Technical support is available through the website at:

www.microchip.com/support.

REVISION HISTORY

Revision D (March 2020)

Added new layout revision and content updates.

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.

DS40001804D-page 7 2015-2020 Microchip Technology Inc.

Page 8: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Chapter 1. Introduction to Curiosity Low Pin Count (LPC)

The Curiosity Low Pin Count (LPC) 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. Programming/debugging is accomplished through the PICkit™ On-Board (PKOB), eliminating the need for an external programming/debugging tool. This board provides flexibility for experimentation through an application header with a ground (GND) and supply voltage (VSS) connections. It is also a set of indication LEDs, mTouch® button and push button switches, and a variable potentiometer. Additionally, the Curiosity LPC Board integrates a MikroElektronika mikroBUS™ socket, which can accommodate a variety of plug-in Click™ Board modules that can be used for application development.

1.1 CURIOSITY LOW PIN COUNT (LPC) DEVELOPMENT BOARD KIT CONTENTS

The Curiosity Low Pin Count (LPC) Development Board kit contains the following:

• Curiosity Low Pin Count (LPC) Development Board

• Quick Start Guide

• PIC16F18446 MCU

FIGURE 1-1: CURIOSITY LOW PIN COUNT (LPC) DEVELOPMENT BOARD REV 2

mTouch®Button

2015-2020 Microchip Technology Inc. DS40001804D-page 8

Page 9: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

FIGURE 1-2: CURIOSITY LOW PIN COUNT (LPC) DEVELOPMENT BOARD REV 4

2015-2020 Microchip Technology Inc. DS40001804D-page 9

Page 10: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Chapter 2. Getting Started

The Curiosity Low Pin Count (LPC) Development Board contains a PICkit On-Board (PKOB) which allows for both low-voltage programming and low-voltage in-circuit debugging for all supported devices. When used with the MPLAB IDE, in-circuit debugging allows the user to run, modify, and troubleshoot their custom software and hardware quickly, without the need for additional debugging tools.

2.1 PROGRAMMING THE CURIOSITY LOW PIN COUNT (LPC) DEVELOPMENT BOARD

Programming the Curiosity LPC Development Board can be accomplished through MPLAB X IDE (version 3.30 or higher for Rev 2 and version 5.20 or higher for Rev 4).

2.1.1 Programming Using MPLAB® X IDE

1. Connect the Curiosity LPC Board to the computer using the on-board micro-USB connector.

2. Open MPLAB X IDE and either create a new project or open an existing one.

3. Click on the Project Properties icon located in the project’s Dashboard window (as seen in 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.

Note: The Curiosity LPC Board must be programmed using Low-Voltage Programming (LVP). The LVP bit of the Configuration Word(s) must be set (LVP = ON or ‘1’).

2015-2020 Microchip Technology Inc. DS40001804D-page 10

Page 11: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

FIGURE 2-1: PROJECT PROPERTIES BUTTON

4. The Project Properties window will open. This window allows for the selection of the programming tool, compiler and PIC MCU. MPLAB X IDE refers to the Curiosity LPC Board as “Starter Kits” in the Hardware Tool selection window, as seen in Figure 2-2.

FIGURE 2-2: SELECTING THE CURIOSITY LPC DEVELOPMENT BOARD

5. In the upper left-hand corner of the Project Properties window, click on Starter Kits (PKOB). The window will now show the configuration options for the PKOB programmer, as shown in Figure 2-3.

2015-2020 Microchip Technology Inc. DS40001804D-page 11

Page 12: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

FIGURE 2-3: PROGRAM OPTIONS FOR THE PICkit™ ON-BOARD (PKOB)

6. In the Option categories drop-down menu, select Program Options; ensure that the Low Voltage Programming mode is selected for Programming mode entry (Figure 2-4). The Curiosity LPC Board is now ready to be programmed.

FIGURE 2-4: ENSURE LOW-VOLTAGE PROGRAMMING IS ENABLED

2015-2020 Microchip Technology Inc. DS40001804D-page 12

Page 13: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

7. Once the project is ready to be programmed, simply click on the Make and Program Device button, and MPLAB X IDE will build and compile the code and program the PIC device, as displayed in Figure 2-5.

FIGURE 2-5: DEVICE PROGRAMMING

2015-2020 Microchip Technology Inc. DS40001804D-page 13

Page 14: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Chapter 3. Troubleshooting

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

3.1 THE MCU WILL NOT PROGRAM USING THE PKOB

The Curiosity LPC Development Board’s PICkit On-Board (PKOB) uses low-voltage programming. Both MPLAB X IDE and MPLAB Xpress set 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 IDE 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 is 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 PIC device dual-row expansion headers, ensuring the appropriate ICSP™, GND, and VDD connections are made. Configure MPLAB IDE to use the PICkit 3 as the programmer, and ensure 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.2 THE MPLAB PICKIT™ 4 ON-BOARD (PKOB4) DOES NOT PERFORM

Use the Hardware Tool Emergency Boot Firmware Recovery Utility to restore hard-ware tool boot firmware to its factory state. The recovery utility window can be opened by clicking on Debug > Hardware Tool Emergency Boot Firmware Recovery Utility in MPLAB X IDE.The Curiosity LPC Development Board’s PICkit On-Board (PKOB) uses low-voltage programming. Both MPLAB X IDE and MPLAB Xpress sets the Low-Volt-age Programming (LVP) bit to a ‘1’, allowing low-voltage programming.

2015-2020 Microchip Technology Inc. DS40001804D-page 14

Page 15: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Appendix A. Schematic

A.1 CURIOSITY LPC DEVELOPMENT BOARD SCHEMATICS

FIGURE A-1: CURIOSITY LPC DEVELOPMENT BOARD SCHEMATIC REV 2 (1 OF 1)

1

1

2

2

3

3

4

4

5

5

6

6

D D

C C

B B

A A

1 of 1

Curiosity

8/8/2018 9:11:25 AM

03-10327 sheet 1.SchDoc

Project Title

Sch #: Date:

File:Revision: Sheet

Designed with

Drawn By:Jamus Griego

Sheet Title

**

Engineer:John Mouton

03-103272.2

SizeB

10327PartNumber:

Altium.com

TACT SPST

S2

TACT SPST

S1

REDD4

HDR-2.54 Female 2x10

1 2

3 4

5 6

7 8

9 10

11

12

13

14

15

16

17

18

19

20

J11

1kR40

1kR41

10kR38

10kR29

470R

R39

470R

R31

VDD

VDD

GND GND GND GND

GND

GND

GND

VDD

HDR-2.54 Male 2x4

112

34

56

78

J13

PJ-002BH-SMT

231J15

0.1uF25V

C16

GND

LM340MP-5.0

GND

2

VIN1

VOUT3

U5US1M

D3

0.22uFC17

GND

VDD

RB5

HDR-2.54 Male 1x2

1 2

J4

TP2

TP1

GREEND2

470RR35

GND

VDD

HDR-2.54 Female 2x10

1 2

3 4

5 6

7 8

9 10

11

12

13

14

15

16

17

18

19

20

J9

HDR-2.54 Male 1x2

12

J3

470R

R32

110-91-320-41-001

456789

10

161514131211

17

123

1918

20

U4

0.1uF25V

C15

REDD5

REDD6

REDD7

PGEDPGEC

1kR42

1kR43

HDR-2.54 Male 1X6 STAGGERD

123456

P1

HDR-2.54 Male 1x3

123

J12

mikroBUS

AN1

ANRST

2

CS3

SCK4

MISO5

MOSI6

+3.3V7

GND8

PWM16

INT15

RX14

TX13

SCL12

SDA11

+5V10

GND9

J35

HD

R-2

.54

Fem

ale

1x

8

12345678

J34

HD

R-2

.54

Fem

ale

1x

8

12345678

J33

0R0402

R33

mTouchS3

HDR-2.54 Male 1x2

12

J5

0R0402

R44

10k

R37 RC0RC1

GND

0R

R46

0R0402

R34

+5V

+5V

POWER

0R R47

0R

R48

0R

R49

0R

R50

RC7 RC7RB7 RB7

RC3RC4RC5

RC6

RA4RA5

nMCLR

RC3RC4RC5

RC6

RA4RA5

nMCLR

VDD

RC0RC1RC2RB4RB5RB6

RB4RB5RB6

RC0RC1RC2

RA2 RA2

PGEDPGEC

PGEDPGEC

RC4

nMCLR

PGECPGED

ICSP_VDD

ICSP_VDDnMCLR

HDR-2.54 Male 1x2

1 2

J6

VDD

RA

5

PG

EC

RA

2

RC

5

VDD

GND

GND

0R R51

0R R530R R55

0R R57RB4

RC6

RB6RC7

1 2

3 4

5 6

7 8

HDR-2.54 Male 2x4J39

SCK

SCK

MISO

MISO

MOSI

MOSI

CS

CS

SCKMISO

MOSICS

RB4

RC6

RB6RC7

0RR52

0RR54

0RR560RR58 RB6

RB4

RB5

RB7

12

34

56

78

HDR-2.54 Male 2x4J40

RX

TX

SCLSDA

RB6RB4

RB5

RB7

RX

TX

SCLSDA

RXTX

SCLSDA

DNP DNP

DNP

DNP

DNP

DNP

VDD

D_VBUS +5V

VCMP

GND

MCP6561

+A3

-A4

OUTA1

VSS

2

VDD

5

+A

-A

OUTAVSS

VDD

A

A

A

A

AS

D

U16VREF_2.5V

TP4

TP3

10kR61

RC2RA4

RC5RA2

+5V+3.3V

GND GND

2k0603

R59

VCMP

+9V

+5V

+3.3V

10k

21

3

POT1

GND1

AIO22

AIO13

AIO04

UART_TX5

UART_RX6

WAKE_SW7

CMD/MLDP8

GND9

LED/PIO1/SCK10

MLDP_EV/PIO2/CS11

WS/PIO3/MOSI12

PIO4/MISO13

CTS/PIO514

WAKE_HW15

GND16

SPI/PIO17

RTS/PIO618

PIO719

RSVD20

RSVD21

RSVD22

VDD23

GND24

GND

AIO2AIO1AIO0

UART_TXUART_RX

WAKE_SW

CMD/MLDP

GND

LED/PIO1/SCKMLDP_EV/PIO2/CS

WS/PIO3/MOSIPIO4/MISO

CTS/PIO5

WAKE_HWGND

SPI/PIO

RTS/PIO6

PIO7

RSVDRSVDRSVD

VDD

GND

RN4020

U6+3.3V

GND

RXTX

4.7uFC18

RC0

DNPDNP

DNP

DNP

DNP

0R0603

R45DNP

DNP

DNP

DNP

DNP

VIN

HDR-2.54 Female 1x6

1 2 3 4 5 6

J7DNP

VIN

GND

+3.3V

+5V

Button

TM

1kR26

1uF16V

C11GND

2

VIN1

VOUT3

MCP1703-3302E/DB

Q2

10kR27

0.01uF16V

C14

+3.3V

POWER_GOOD_PICKIT3GREEND1

0.1uF25V

C130.22uF16V

C101uF16V

C12

+5V

+3.3V

USB_D_PUSB_D_N

VBUS054B-HS3-GS08

1 2 356

V

4

U3

500mA

+t

1210

PTC3

D_VBUS

USB MINI-B Female

ID4

VBUS1

GND5

D-2

D+3

0

J2

US

BIN

TE

RF

AC

E

(BU

SP

OW

ER

ED

)

X1 X2 X3 X4 X5

DNP

21

3

PIC16F18346-I/P

RA3/Vpp/MCLR4

RC55

RC46

RC37

RC68

RC79

RB710

RB611

RB512

RB413

RC214

RC115

RC016

RA217

RA1/ICSPCLK18

RA0/ICSPDAT19

VSS20

VDD1

RA5/OSC12

RA4/OSC23

@U4

10kR60

GND

12

34

56

78

HDR-2.54 Male 1x8

J8

1 2 3 4 5 6 7 8

HDR-2.54 Male 1x8J14

12

34

56

78

HDR-2.54 Male 1x8

J10

GND

RXTX

RC

0

GND GND

AIO0AIO1AIO2

AIO0AIO1AIO2

WAKE_SW

WAKE_SW

CMD/MLDP

CMD/MLDP

LED/PIO1/SCK

LE

D/P

IO1/S

CK

WS

/PIO

3/M

OS

I

WS/PIO3/MOSIMLDP_EV/PIO2/CS

ML

DP

_E

V/P

IO2/C

S

PIO

4/M

ISO

PIO4/MISO

CTS/PIO5

CT

S/P

IO5

SPI/PIO

SPI/PIO

RTS/PIO6

RTS/PIO6

PIO7

PIO7

RSVD0RSVD1RSVD2

RSVD0RSVD1RSVD2+3.3V

DNP DNP

DNP

FDN340P

2

1

3

Q5

REV ECO# DESCRIPTION DATE

2Move Silkscreen of R14 so it can be read. Swap RB4 and

RC7 connections. Change @U4 to PIC16F1619-I/P

3-31-2015

DNP

Phillips Screw 1/4"

SCR1

Phillips Screw 1/4"

SCR2

Phillips Screw 1/4"

SCR3

Phillips Screw 1/4"

SCR4

2.2 8-2-2018Change @U4 to PIC16F18346-I/P

1/4" Standoff Nylon

STANDOFF1

1/4" Standoff Nylon

STANDOFF2

1/4" Standoff Nylon

STANDOFF3

1/4" Standoff Nylon

STANDOFF4

2015-2020 Microchip Technology Inc. DS40001804D-page 15

Page 16: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Schematic

FIGURE A-2: CURIOSITY LPC DEVELOPMENT BOARD SCHEMATIC REV 4 (1 OF 4)

Curiosity LPCDesigned with

D_PD_N

C2

FB1

C6

D1 D8

U1

R5

5V0_USBGOOD

5V0_nUSBFLT

C1

C4

R21

R8

R2R3

C3

R400

R6

J1

R7

R9

D_PD_N

5V0_USBGOOD5V0_nUSBFLT

USB2_HS

VBUS_DETECT

USB High Speed

C5 R11 U2

C8C7

PG_SYSTEM

R12

R10

3.3V LDOPIC VDD

Curiosity LPCDesigned with

UTIL_SDAUTIL_SCL

ERASE

VPP_ON

VPP_GND

R13 R14

PKOB4_SWDIOPKOB4_SWCLK

PKOB4_TDO

DATA_ENCLK_EN

TX0RX0

D_PD_N

5V0_USBGOOD5V0_nUSBFLT

USB2_HS

VBUS_DETECT

((U)PDI_RXD1)

PDI_SCK1

((U)PDI_TXD1)

(TAUX_TAR)

(SPI0_NPCS0)

D_PD_N

PKOB4_nRST

ICSP_SPI0_SPCKICSP_SPI0_MOSIICSP_SPI0_MISO

(ICSP_SDO)(ICSP_SDI)

(ICSP_SCK)

(TDI_IN)(TMS_IN)(TAUX_IN)

ICSP

ICSP

ISP_SPI1_MOSI (TDI_TAR)

ISP_SPI1_SPCK (SCK_IN)

SPI1_NPCS0 (TMS_TAR)

R20

Main Micro

USB_VBIAS

STATUSACTIVE

TP8

TVDD_GOOD

ICSP_FORCE_SPI_SS

CTS0_SPI1_SS

ISP_SPI_SS

C9

5V0_nUSBFLT

5V0_USBGOOD

TAUX_DIR

TDI_DIRTMS_DIR

DW_TXDW_RX

(DW_RX)

STRONG_PULLUP_EN

TP11

XIN

74LVC1G3157

ICSP_FORCE_SPI_SS

SPI1_NPCS0

CTS0_SPI1_SS

ISP_SPI_SSUTIL_SDAUTIL_SCL

ISP_SPI1_MISO

PDI_RXD1

PDI_TXD1

TIOA0

DATA_ENDGI_I2C_SCLDGI_I2C_SDA

DGI_IO1DGI_IO0

DGI_IO2DGI_IO3

ISP_SPI1_SPCK

SYS_ID1

SYS_ID2

SYS_ID4SYS_ID3

ACTIVESTATUS

PKOB4_TDOPKOB4_SWDIO

XIN

ERASE

PKOB4_nRSTPKOB4_SWCLK

DGI_IO3_DIRDGI_IO2_DIRDGI_IO1_DIR

DGI_IO0_DIR

CLK_EN

ICSP_SPI0_SPCKICSP_SPI0_MOSIICSP_SPI0_MISO

STREAM_TXD2STREAM_RXD2

STREAM_SCK2VBUS_DETECT

VCP

2015-2020 Microchip Technology Inc. DS40001804D-page 16

Page 17: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Schematic

FIGURE A-3: CURIOSITY LPC DEVELOPMENT BOARD SCHEMATIC REV 4 (2 OF 4)

Curiosity LPCDesigned with

C30 C32 C34 C23 C24 C25

VDDIO Bypass Caps VDDCORE Bypass Caps

U9

C13

C14

FB2

C19

C20 C35

FB3

C31 C33

Main Micro Misc.

C11 C12

D9

D10

R15

R16

C10

J2

J44

R17 R18 R19

Curiosity LPCDesigned with

Power

R22

VDD_GND

R25

Q1

R24

R23

@J12

J12

2015-2020 Microchip Technology Inc. DS40001804D-page 17

Page 18: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Schematic

FIGURE A-4: CURIOSITY LPC DEVELOPMENT BOARD SCHEMATIC REV 4 (3 OF 4)

Curiosity LPCDesigned with

R62

R63

R64

CLK_EN

DATA_EN

C29

C28

R65

R69

R68

ICSP

ICSPICSP_SPI0_SPCK

ICSP_SPI0_MOSIICSP_SPI0_MISO

ISP_SPI1_SPCK

ICSP_SPI0_MOSI

ICSP_SPI0_MISO

ICSP_SPI0_SPCK (ICSP_SCK)

(SCK_IN)

(ICSP_SDO)

(ICSP_SDI)

ICSP

ISP_SPI1_SPCK

R66

R67

Q2

VPP_ON

VPP_GND

VPP Switch

R30

R27

R26

Q3

Q4

C26 C27

DATA_ENCLK_EN

R28

R36

R46

MCLR

PGD

PGC

Curiosity LPCDesigned with

Virtual Comm Port

C21

R70

C22

R71

VCPVCOM

(From Target TX)(To Target RX)

2015-2020 Microchip Technology Inc. DS40001804D-page 18

Page 19: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

Schematic

FIGURE A-5: CURIOSITY LPC DEVELOPMENT BOARD SCHEMATIC REV 4 (4 OF 4)

Curiosity LPCDesigned with

J34J33

R51

R53R55

R57

J39

R52

R54

R56R58

J40

C18

J8

J14

J10

U16

R45

J7

R60

Q5

C16

U5D3

C17

TP2

TP1

R61

R59

S1R29

R31

R32R33

R34

POT1

D4

R40 R41

D5 D6 D7

R42 R43R44R37

R47

R48

R49

R50

@U4 J11

D2

R35 J9

U4C15

S2

R38

R39

PGEDPGEC

nMCLR

HDR-2.54 Male 1X8 STAGGERED

P1

VIN VIN+9V

RC0RC1RC2RC3

RC4RC5

RC6RC7

RA2RA4RA5

RB4RB5RB6RB7

nMCLR

PGEDPGEC

PGEDPGEC

RC0RC1RC2

RA2

RB4RB5RB6

RC3RC4RC5

RC6RC7

RA4RA5

RB7

nMCLR

J3

J4

J6

J13

VCMP

VCMP

VREF_2.5V

R1

R4

RA4RC2 RC5

RA2

J35

CSSCK

MISOMOSI

RXTXSCLSDA

RB4RB6

RC6RC7

RB4RB6

RC6RC7

RB4RB6RB5

RB7

RB4RB6RB5

RB7

CS

SCKMISO

MOSI

CS

SCKMISO

MOSI

RX

TX

SCLSDA

RX

TX

SCLSDA

RC1

RC4

RC0

nMCLR

RA2

RC

5

RA5

RA5

PGEC

RXTX

RC0

CTS/PIO5RTS/PIO6

WAKE_SW

CMD/MLDP

LED/PIO1/SCKMLDP_EV/PIO2/CSWS/PIO3/MOSIPIO4/MISOSPI/PIO

AIO2AIO1AIO0PIO7

RSVD0RSVD1RSVD2

RSVD2RSVD1RSVD0

PIO7RTS/PIO6

SPI/PIO

AIO2AIO1AIO0RXTXWAKE_SWCMD/MLDP

RC

0C

TS/P

IO5

PIO

4/M

ISO

WS/

PIO

3/M

OSI

MLD

P_EV

/PIO

2/C

SLE

D/P

IO1/

SCK

J49

J50

J51

PGD

PGC

MCLR

J48

PGED

PGEC

nMCLR

TP4

TP3

POT1_ALT

2015-2020 Microchip Technology Inc. DS40001804D-page 19

Page 20: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

CURIOSITY LOW PIN COUNT DEVELOPMENTBOARD USER’S GUIDE

Appendix B. General Notes

B.1 mikroBUS™ CLICKS

Module 1 is the main click socket, and Module 2 is the secondary socket. Both sockets are fully compatible with a 40-pin PIC device; however, when using 28-pin devices, not all pins are available.

All pins in Module 1 are available for use with the exception of the mikroBUS's Reset (RST) signal, which is tied to pin RD0. PORT D is not available on 28-pin devices. If the RST signal is needed, remove the solder blob jumper associated with the mikroBUS RST connection, and place a jumper wire between the via next to the solder blob jumper and the desired pin connection found in the J8 or J11 dual-row expansion headers (see Figure 1-1).

All pins in Module 2 are available for use with the exception of the mikroBUS's Reset (RST) signal (RD2), SPI Chip Select (CS) signal (RD3), and the PWM (RD1) signal. These signals are routed to the PORT D pins, which are not available on 28-pin PIC devices. If these signals are needed, remove the solder blob jumpers associated with the mikroBUS connection pins, and place jumper wires from the vias located next to the associated solder blob jumpers to the desired pin connections found in the J8 or J11 dual-row expansion headers (see Figure 1-1).

B.2 SOLDER BLOB JUMPER

Solder blob jumpers can be found on each Click module, push-button switch, LED, or potentiometer connection. This allows the user to utilize those pin connections for other applications.

2015-2020 Microchip Technology Inc. DS40001804D-page 20

Page 21: Curiosity Low Pin Count Development Board User's Guideww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Low-Pin-Cou… · • Document Layout • Conventions Used in this Guide •

DS40001804D-page 21 2015-2020 Microchip Technology Inc.

AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.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-4485-5910 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

02/28/20