background image

2. 

Getting Started

2.1 

Curiosity Nano Quick Start MPLAB

®

 Xpress

Steps to start exploring the Curiosity Nano platform with MPLAB Xpress:

1.

Go to https://mplabxpress.microchip.com, and open MPLAB Xpress.

2.

Create a new stand-alone project for PIC18F47K42.

3.

Use the MPLAB Xpress Code Configurator, or write your own code.

4.

Compile and download your application HEX file.

5.

Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the
kit.

6.

Copy the application HEX file into the 

CURIOSITY

 mass storage drive to program the application into the

PIC18F47K42.

To use advanced debug features of the Curiosity Nano kit, package the MPLAB Xpress project for MPLAB X IDE,
and follow the quick start guide in the next section.

2.2 

Curiosity Nano Quick Start

Steps to start exploring the Curiosity Nano platform:

1.

Download Microchip MPLAB

®

 X IDE.

2.

Launch Microchip MPLAB

®

 X IDE.

3.

Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the
kit.

When the Curiosity Nano kit is connected to your computer for the first time, the operating system will perform a
driver software installation. The driver file supports both 32- and 64-bit versions of Microsoft

®

 Windows

®

 XP,

Windows Vista

®

, Windows 7, Windows 8, and Windows 10. The drivers for the kit are included with Microchip

MPLAB

®

 X IDE.

Once the Curiosity Nano board is powered, the green status LED will be lit and Microchip MPLAB

®

 X IDE will auto-

detect which Curiosity Nano board is connected. Microchip MPLAB

®

 X IDE will present relevant information like data

sheets and kit documentation. The PIC18F47K42 device is programmed and debugged by the on-board debugger
and therefore no external programmer or debugger tool is required.

2.3 

Design Documentation and Relevant Links

The following list contains links to the most relevant documents and software for the PIC18F47K42 Curiosity Nano:

MPLAB

®

 X IDE

 - MPLAB

®

 X IDE is a software program that runs on a PC (Windows

®

, Mac OS

®

, Linux

®

) to

develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated
Development Environment (IDE) because it provides a single integrated “environment” to develop code for
embedded microcontrollers.

MPLAB

®

 Xpress Cloud-based IDE

 - MPLAB

®

 Xpress Cloud-Based IDE is an online development environment

that contains the most popular features of our award-winning MPLAB X IDE. This simplified and distilled
application is a faithful reproduction of our desktop-based program, which allows users to easily transition
between the two environments.

MPLAB

®

 Code Configurator

 - MPLAB

®

 Code Configurator (MCC) is a free software plug-in that provides a

graphical interface to configure peripherals and functions specific to your application.

Microchip Sample Store

 - Microchip sample store where you can order samples of devices.

Data Visualizer

 - Data Visualizer is a program used for processing and visualizing data. The Data Visualizer

can receive data from various sources such as the EDBG Data Gateway Interface found on Curiosity Nano and
Xplained Pro boards and COM Ports.

 PIC18F47K42 Curiosity Nano

Getting Started

©

 2019 Microchip Technology Inc.

 User Guide

DS50002899B-page 4

Summary of Contents for PIC18F47K42 Curiosity Nano

Page 1: ...Supported by Microchip MPLAB X Integrated Development Environment IDE the kit provides easy access to the features of the PIC18F47K42 to explore how to integrate the device into a custom design The C...

Page 2: ...nnectors 15 4 2 Peripherals 16 5 Hardware Revision History and Known Issues 18 5 1 Identifying Product ID and Revision 18 5 2 Revision 2 18 5 3 Revision 1 18 6 Document Revision History 19 7 Appendix...

Page 3: ...wered Adjustable Target Voltage MIC5353 LDO regulator controlled by the on board debugger 2 3 5 1V output voltage limited by USB input voltage 500 mA maximum output current limited by ambient temperat...

Page 4: ...nected Microchip MPLAB X IDE will present relevant information like data sheets and kit documentation The PIC18F47K42 device is programmed and debugged by the on board debugger and therefore no extern...

Page 5: ...information latest user guide and design documentation PIC18F47K42 Curiosity Nano on microchipDIRECT Purchase this kit on microchipDIRECT PIC18F47K42 Curiosity Nano Getting Started 2019 Microchip Tech...

Page 6: ...shows how the LED is controlled in different operation modes Table 3 1 On Board Debugger LED Control Operation Mode Status LED Boot Loader mode LED blink at 1 Hz during power up Power up LED is ON No...

Page 7: ...ding to the target will continue to be sent out but no further data will be accepted Remember Enable to set up your terminal emulator to assert the DTR signal Without it the on board debugger will not...

Page 8: ...ded in ASCII with metadata providing a large overhead so one MB is a trivially chosen value for disk size It is not possible to format the CURIOSITY drive When programming a file to the target the fil...

Page 9: ...age Off input VTG Target voltage GND Common ground Figure 3 1 Curiosity Nano Standard Pinout USB DEBUGGER PS LED NC NC ID ID CDC RX CDCRX CDC TX CDCTX DBG1 DBG1 DBG2 DBG2 VBUS VBUS VOFF VOFF DBG3 DBG3...

Page 10: ...output voltage never exceeds the hardware limits of the PIC18F47K42 microcontroller The voltage limits configured in the on board debugger on PIC18F47K42 Curiosity Nano are 2 3 5 1V Info The target vo...

Page 11: ...V Applying a higher voltage may cause permanent damage to the kit Programming debugging and data streaming are still possible with an external power supply The debugger and signal level shifters will...

Page 12: ...he PIC18F47K42 and other peripherals connected to the board cut the Target Power strap and connect an ammeter over the strap Figure 3 5 Target Power Strap Target Power strap top side Tip A 100 mil pin...

Page 13: ...tions to the PIC18F47K42 DEBUGGER TARGET Level Shift PA04 PA06 PA07 PA08 PA16 PA00 PA01 USB DIR x 5 VCC_P3V3 VBUS VCC_LEVEL VCC_TARGET DBG0 DBG1 DBG2 DBG3 CDC TX CDC RX CDC RX CDC TX DBG3 DBG2 DBG1 DB...

Page 14: ...Figure 3 7 Kit Modifications GPIO straps bottom side Power Supply strap top side PIC18F47K42 Curiosity Nano Curiosity Nano 2019 Microchip Technology Inc User Guide DS50002899B page 14...

Page 15: ...RD6 RD5 RD5 RB5 RB5 RC1 RC1 SOSCI RC0 RC0 SOSCO RE1 RE1 RE0 RE0 LED0 GND GND PIC18F47K42 CURIOSITY NANO Analog Debug I2C SPI UART Shared pinout Peripheral Port PWM Power Ground Info Peripheral signals...

Page 16: ...pressed it will drive the I O line to ground GND Tip There is no externally connected pull up resistor on the switch To use the switch make sure that an internal pull up resistor is enabled on pin RE2...

Page 17: ...shows the connections between the target and the debugger section All connections between the target and the debugger are tri stated as long as the debugger is not actively using the interface Hence t...

Page 18: ...vision The boards with limited space have a sticker with only a QR code containing the product identifier revision and the serial number The serial number string has the following format nnnnrrsssssss...

Page 19: ...ion History Doc rev Date Comment B 10 2019 Updated for rev 2 of kit A 06 2019 Initial document release PIC18F47K42 Curiosity Nano Document Revision History 2019 Microchip Technology Inc User Guide DS5...

Page 20: ...C 1 36 ADC 0 35 GND 34 4 30 4 26 GND 25 ADC 7 42 ADC 6 41 ADC 5 40 PWM 4 39 DEBUGGER TARGET ID 2 VOFF 47 1 21 2 22 3 23 5 27 6 28 7 29 5 31 6 32 7 33 RESERVED 1 VBUS 48 CNANO48 pin edge connector J200...

Page 21: ...SWCLK GND 47k 47k R100 GND DBG2 S0_0_RX DBG1_CTRL DBG0_CTRL GND DBG3 OPEN DRAIN TARGET ADJUSTABLE REGULATOR SRST 100n C104 GND SRST VCC_P3V3 GND Testpoint Array 1 2 3 4 5 6 7 8 9 10 TCK TDO TMS Vsup...

Page 22: ...5 0 7 P A J 1 0 5 0 6 P A J 1 0 5 0 1 P A J 1 0 5 0 2 P A J 1 0 5 0 3 P A J 1 0 5 0 4 P A J 1 0 5 0 5 P A J 1 0 5 0 0 COJ105 PAJ200048 PAJ200047 PAJ200024 P A J 2 0 0 0 2 P A J 2 0 0 0 1 P A J 2 0 0 0...

Page 23: ...6 RD6 RD5 RD5 RB5 RB5 RC1 RC1 SOSCI RC0 RC0 SOSCO RE1 RE1 RE0 RE0 LED0 GND GND PIC18F47K42 CURIOSITY NANO Analog Debug I2C SPI UART Shared pinout Peripheral Port PWM Power Ground 1 AN PWM RST INT CS R...

Page 24: ...8 Unused 2 VDD 1 MCLR MPLAB PICkit 4 USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURIOSITY NANO CAUTION The MPLAB PICkit 4 In circuit Debugger Programmer is capable o...

Page 25: ...able through the website at http www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip products m...

Page 26: ...SIC 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...

Page 27: ...7252 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7...

Page 28: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip DM182028...

Reviews: